public final class

S2TileProto.Builder

extends <any>

implements S2TileProtoOrBuilder

 java.lang.Object

↳<any>

↳androidx.core.location.altitude.impl.proto.S2TileProto.Builder

Overview

 A single tile associating values in the unit interval [0, 1] to map cells.
 
Protobuf type androidx.core.location.altitude.impl.proto.S2TileProto

Summary

Methods
public S2TileProto.BuilderclearByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.

public S2TileProto.BuilderclearByteJpeg()

optional bytes byte_jpeg = 3;

public S2TileProto.BuilderclearBytePng()

optional bytes byte_png = 4;

public S2TileProto.BuilderclearTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.

public com.google.protobuf.ByteStringgetByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.

public com.google.protobuf.ByteStringgetByteJpeg()

optional bytes byte_jpeg = 3;

public com.google.protobuf.ByteStringgetBytePng()

optional bytes byte_png = 4;

public java.lang.StringgetTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.

public com.google.protobuf.ByteStringgetTileKeyBytes()

 The S2 token associated with the common parent of all map cells in this
 tile.

public booleanhasByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.

public booleanhasByteJpeg()

optional bytes byte_jpeg = 3;

public booleanhasBytePng()

optional bytes byte_png = 4;

public booleanhasTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.

public S2TileProto.BuildersetByteBuffer(com.google.protobuf.ByteString value)

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.

public S2TileProto.BuildersetByteJpeg(com.google.protobuf.ByteString value)

optional bytes byte_jpeg = 3;

public S2TileProto.BuildersetBytePng(com.google.protobuf.ByteString value)

optional bytes byte_png = 4;

public S2TileProto.BuildersetTileKey(java.lang.String value)

 The S2 token associated with the common parent of all map cells in this
 tile.

public S2TileProto.BuildersetTileKeyBytes(com.google.protobuf.ByteString value)

 The S2 token associated with the common parent of all map cells in this
 tile.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public boolean hasTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.
 
optional string tile_key = 1;

Returns:

Whether the tileKey field is set.

public java.lang.String getTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.
 
optional string tile_key = 1;

Returns:

The tileKey.

public com.google.protobuf.ByteString getTileKeyBytes()

 The S2 token associated with the common parent of all map cells in this
 tile.
 
optional string tile_key = 1;

Returns:

The bytes for tileKey.

public S2TileProto.Builder setTileKey(java.lang.String value)

 The S2 token associated with the common parent of all map cells in this
 tile.
 
optional string tile_key = 1;

Parameters:

value: The tileKey to set.

Returns:

This builder for chaining.

public S2TileProto.Builder clearTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.
 
optional string tile_key = 1;

Returns:

This builder for chaining.

public S2TileProto.Builder setTileKeyBytes(com.google.protobuf.ByteString value)

 The S2 token associated with the common parent of all map cells in this
 tile.
 
optional string tile_key = 1;

Parameters:

value: The bytes for tileKey to set.

Returns:

This builder for chaining.

public boolean hasByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.
 
optional bytes byte_buffer = 2;

Returns:

Whether the byteBuffer field is set.

public com.google.protobuf.ByteString getByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.
 
optional bytes byte_buffer = 2;

Returns:

The byteBuffer.

public S2TileProto.Builder setByteBuffer(com.google.protobuf.ByteString value)

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.
 
optional bytes byte_buffer = 2;

Parameters:

value: The byteBuffer to set.

Returns:

This builder for chaining.

public S2TileProto.Builder clearByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.
 
optional bytes byte_buffer = 2;

Returns:

This builder for chaining.

public boolean hasByteJpeg()

optional bytes byte_jpeg = 3;

Returns:

Whether the byteJpeg field is set.

public com.google.protobuf.ByteString getByteJpeg()

optional bytes byte_jpeg = 3;

Returns:

The byteJpeg.

public S2TileProto.Builder setByteJpeg(com.google.protobuf.ByteString value)

optional bytes byte_jpeg = 3;

Parameters:

value: The byteJpeg to set.

Returns:

This builder for chaining.

public S2TileProto.Builder clearByteJpeg()

optional bytes byte_jpeg = 3;

Returns:

This builder for chaining.

public boolean hasBytePng()

optional bytes byte_png = 4;

Returns:

Whether the bytePng field is set.

public com.google.protobuf.ByteString getBytePng()

optional bytes byte_png = 4;

Returns:

The bytePng.

public S2TileProto.Builder setBytePng(com.google.protobuf.ByteString value)

optional bytes byte_png = 4;

Parameters:

value: The bytePng to set.

Returns:

This builder for chaining.

public S2TileProto.Builder clearBytePng()

optional bytes byte_png = 4;

Returns:

This builder for chaining.