Class Location.Builder (2.4.0)

public static final class Location.Builder extends GeneratedMessageV3.Builder<Location.Builder> implements LocationOrBuilder

Implements

LocationOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)

public Location.Builder addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
NameDescription
arg0FieldDescriptor
arg1Object
Returns
TypeDescription
Location.Builder
Overrides

build()

public Location build()
Returns
TypeDescription
Location

buildPartial()

public Location buildPartial()
Returns
TypeDescription
Location

clear()

public Location.Builder clear()
Returns
TypeDescription
Location.Builder
Overrides

clearDisplayName()

public Location.Builder clearDisplayName()
Returns
TypeDescription
Location.Builder

clearField(Descriptors.FieldDescriptor arg0)

public Location.Builder clearField(Descriptors.FieldDescriptor arg0)
Parameter
NameDescription
arg0FieldDescriptor
Returns
TypeDescription
Location.Builder
Overrides

clearLabels()

public Location.Builder clearLabels()
Returns
TypeDescription
Location.Builder

clearLocationId()

public Location.Builder clearLocationId()
Returns
TypeDescription
Location.Builder

clearMetadata()

public Location.Builder clearMetadata()
Returns
TypeDescription
Location.Builder

clearName()

public Location.Builder clearName()
Returns
TypeDescription
Location.Builder

clearOneof(Descriptors.OneofDescriptor arg0)

public Location.Builder clearOneof(Descriptors.OneofDescriptor arg0)
Parameter
NameDescription
arg0OneofDescriptor
Returns
TypeDescription
Location.Builder
Overrides

clone()

public Location.Builder clone()
Returns
TypeDescription
Location.Builder
Overrides

containsLabels(String arg0)

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

getDefaultInstanceForType()

public Location getDefaultInstanceForType()
Returns
TypeDescription
Location

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getMetadataBuilder()

public Any.Builder getMetadataBuilder()
Returns
TypeDescription
Builder

getMetadataOrBuilder()

public AnyOrBuilder getMetadataOrBuilder()
Returns
TypeDescription
AnyOrBuilder

getMutableLabels()

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

getName()

public String getName()
Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()
Returns
TypeDescription
ByteString

hasMetadata()

public boolean hasMetadata()
Returns
TypeDescription
boolean

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int arg0)

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

internalGetMutableMapField(int arg0)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Location arg0)

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

mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public Location.Builder mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0CodedInputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Location.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message arg0)

public Location.Builder mergeFrom(Message arg0)
Parameter
NameDescription
arg0Message
Returns
TypeDescription
Location.Builder
Overrides

mergeMetadata(Any arg0)

public Location.Builder mergeMetadata(Any arg0)
Parameter
NameDescription
arg0Any
Returns
TypeDescription
Location.Builder

mergeUnknownFields(UnknownFieldSet arg0)

public final Location.Builder mergeUnknownFields(UnknownFieldSet arg0)
Parameter
NameDescription
arg0UnknownFieldSet
Returns
TypeDescription
Location.Builder
Overrides

putAllLabels(Map<String,String> arg0)

public Location.Builder putAllLabels(Map<String,String> arg0)
Parameter
NameDescription
arg0Map<String,String>
Returns
TypeDescription
Location.Builder

putLabels(String arg0, String arg1)

public Location.Builder putLabels(String arg0, String arg1)
Parameters
NameDescription
arg0String
arg1String
Returns
TypeDescription
Location.Builder

removeLabels(String arg0)

public Location.Builder removeLabels(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Location.Builder

setDisplayName(String arg0)

public Location.Builder setDisplayName(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Location.Builder

setDisplayNameBytes(ByteString arg0)

public Location.Builder setDisplayNameBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Location.Builder

setField(Descriptors.FieldDescriptor arg0, Object arg1)

public Location.Builder setField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
NameDescription
arg0FieldDescriptor
arg1Object
Returns
TypeDescription
Location.Builder
Overrides

setLocationId(String arg0)

public Location.Builder setLocationId(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Location.Builder

setLocationIdBytes(ByteString arg0)

public Location.Builder setLocationIdBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Location.Builder

setMetadata(Any arg0)

public Location.Builder setMetadata(Any arg0)
Parameter
NameDescription
arg0Any
Returns
TypeDescription
Location.Builder

setMetadata(Any.Builder arg0)

public Location.Builder setMetadata(Any.Builder arg0)
Parameter
NameDescription
arg0Builder
Returns
TypeDescription
Location.Builder

setName(String arg0)

public Location.Builder setName(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Location.Builder

setNameBytes(ByteString arg0)

public Location.Builder setNameBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Location.Builder

setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)

public Location.Builder setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
Parameters
NameDescription
arg0FieldDescriptor
arg1int
arg2Object
Returns
TypeDescription
Location.Builder
Overrides

setUnknownFields(UnknownFieldSet arg0)

public final Location.Builder setUnknownFields(UnknownFieldSet arg0)
Parameter
NameDescription
arg0UnknownFieldSet
Returns
TypeDescription
Location.Builder
Overrides