Class Location (2.18.0)

public final class Location extends GeneratedMessageV3 implements LocationOrBuilder

Implements

LocationOrBuilder

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_ID_FIELD_NUMBER

public static final int LOCATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Location getDefaultInstance()
Returns
TypeDescription
Location

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Location.Builder newBuilder()
Returns
TypeDescription
Builder

newBuilder(Location arg0)

public static Location.Builder newBuilder(Location arg0)
Parameter
NameDescription
arg0Location
Returns
TypeDescription
Builder

parseDelimitedFrom(InputStream arg0)

public static Location parseDelimitedFrom(InputStream arg0)
Parameter
NameDescription
arg0InputStream
Returns
TypeDescription
Location
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static Location parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0InputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Location
Exceptions
TypeDescription
IOException

parseFrom(byte[] arg0)

public static Location parseFrom(byte[] arg0)
Parameter
NameDescription
arg0byte[]
Returns
TypeDescription
Location
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] arg0, ExtensionRegistryLite arg1)

public static Location parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0byte[]
arg1ExtensionRegistryLite
Returns
TypeDescription
Location
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString arg0)

public static Location parseFrom(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Location
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString arg0, ExtensionRegistryLite arg1)

public static Location parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0ByteString
arg1ExtensionRegistryLite
Returns
TypeDescription
Location
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream arg0)

public static Location parseFrom(CodedInputStream arg0)
Parameter
NameDescription
arg0CodedInputStream
Returns
TypeDescription
Location
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public static Location parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0CodedInputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Location
Exceptions
TypeDescription
IOException

parseFrom(InputStream arg0)

public static Location parseFrom(InputStream arg0)
Parameter
NameDescription
arg0InputStream
Returns
TypeDescription
Location
Exceptions
TypeDescription
IOException

parseFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static Location parseFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0InputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Location
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer arg0)

public static Location parseFrom(ByteBuffer arg0)
Parameter
NameDescription
arg0ByteBuffer
Returns
TypeDescription
Location
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)

public static Location parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0ByteBuffer
arg1ExtensionRegistryLite
Returns
TypeDescription
Location
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Location> parser()
Returns
TypeDescription
Parser<Location>

Methods

containsLabels(String arg0)

public boolean containsLabels(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
boolean

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
NameDescription
arg0Object
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Location getDefaultInstanceForType()
Returns
TypeDescription
Location

getDisplayName()

public String getDisplayName()
Returns
TypeDescription
String

getDisplayNameBytes()

public ByteString getDisplayNameBytes()
Returns
TypeDescription
ByteString

getLabels()

public Map<String,String> getLabels()
Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()
Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()
Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String arg0, String arg1)

public String getLabelsOrDefault(String arg0, String arg1)
Parameters
NameDescription
arg0String
arg1String
Returns
TypeDescription
String

getLabelsOrThrow(String arg0)

public String getLabelsOrThrow(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
String

getLocationId()

public String getLocationId()
Returns
TypeDescription
String

getLocationIdBytes()

public ByteString getLocationIdBytes()
Returns
TypeDescription
ByteString

getMetadata()

public Any getMetadata()
Returns
TypeDescription
Any

getMetadataOrBuilder()

public AnyOrBuilder getMetadataOrBuilder()
Returns
TypeDescription
AnyOrBuilder

getName()

public String getName()
Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()
Returns
TypeDescription
ByteString

getParserForType()

public Parser<Location> getParserForType()
Returns
TypeDescription
Parser<Location>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasMetadata()

public boolean hasMetadata()
Returns
TypeDescription
boolean

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int arg0)

protected MapField internalGetMapField(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Location.Builder newBuilderForType()
Returns
TypeDescription
Builder

newBuilderForType(GeneratedMessageV3.BuilderParent arg0)

protected Location.Builder newBuilderForType(GeneratedMessageV3.BuilderParent arg0)
Parameter
NameDescription
arg0BuilderParent
Returns
TypeDescription
Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)
Parameter
NameDescription
arg0UnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Location.Builder toBuilder()
Returns
TypeDescription
Builder

writeTo(CodedOutputStream arg0)

public void writeTo(CodedOutputStream arg0)
Parameter
NameDescription
arg0CodedOutputStream
Overrides
Exceptions
TypeDescription
IOException