Class ListLocationsResponse.Builder (2.13.0)

public static final class ListLocationsResponse.Builder extends GeneratedMessageV3.Builder<ListLocationsResponse.Builder> implements ListLocationsResponseOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllLocations(Iterable<? extends Location> arg0)

public ListLocationsResponse.Builder addAllLocations(Iterable<? extends Location> arg0)
Parameter
NameDescription
arg0Iterable<? extends com.google.cloud.location.Location>
Returns
TypeDescription
ListLocationsResponse.Builder

addLocations(Location arg0)

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

addLocations(Location.Builder arg0)

public ListLocationsResponse.Builder addLocations(Location.Builder arg0)
Parameter
NameDescription
arg0Builder
Returns
TypeDescription
ListLocationsResponse.Builder

addLocations(int arg0, Location arg1)

public ListLocationsResponse.Builder addLocations(int arg0, Location arg1)
Parameters
NameDescription
arg0int
arg1Location
Returns
TypeDescription
ListLocationsResponse.Builder

addLocations(int arg0, Location.Builder arg1)

public ListLocationsResponse.Builder addLocations(int arg0, Location.Builder arg1)
Parameters
NameDescription
arg0int
arg1Builder
Returns
TypeDescription
ListLocationsResponse.Builder

addLocationsBuilder()

public Location.Builder addLocationsBuilder()
Returns
TypeDescription
Builder

addLocationsBuilder(int arg0)

public Location.Builder addLocationsBuilder(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
Builder

addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)

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

build()

public ListLocationsResponse build()
Returns
TypeDescription
ListLocationsResponse

buildPartial()

public ListLocationsResponse buildPartial()
Returns
TypeDescription
ListLocationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor arg0)

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

clearLocations()

public ListLocationsResponse.Builder clearLocations()
Returns
TypeDescription
ListLocationsResponse.Builder

clearNextPageToken()

public ListLocationsResponse.Builder clearNextPageToken()
Returns
TypeDescription
ListLocationsResponse.Builder

clearOneof(Descriptors.OneofDescriptor arg0)

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

clone()

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

getDefaultInstanceForType()

public ListLocationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListLocationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocations(int arg0)

public Location getLocations(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
Location

getLocationsBuilder(int arg0)

public Location.Builder getLocationsBuilder(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
Builder

getLocationsBuilderList()

public List<Location.Builder> getLocationsBuilderList()
Returns
TypeDescription
List<Builder>

getLocationsCount()

public int getLocationsCount()
Returns
TypeDescription
int

getLocationsList()

public List<Location> getLocationsList()
Returns
TypeDescription
List<Location>

getLocationsOrBuilder(int arg0)

public LocationOrBuilder getLocationsOrBuilder(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
LocationOrBuilder

getLocationsOrBuilderList()

public List<? extends LocationOrBuilder> getLocationsOrBuilderList()
Returns
TypeDescription
List<? extends com.google.cloud.location.LocationOrBuilder>

getNextPageToken()

public String getNextPageToken()
Returns
TypeDescription
String

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()
Returns
TypeDescription
ByteString

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListLocationsResponse arg0)

public ListLocationsResponse.Builder mergeFrom(ListLocationsResponse arg0)
Parameter
NameDescription
arg0ListLocationsResponse
Returns
TypeDescription
ListLocationsResponse.Builder

mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

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

mergeFrom(Message arg0)

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

mergeUnknownFields(UnknownFieldSet arg0)

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

removeLocations(int arg0)

public ListLocationsResponse.Builder removeLocations(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
ListLocationsResponse.Builder

setField(Descriptors.FieldDescriptor arg0, Object arg1)

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

setLocations(int arg0, Location arg1)

public ListLocationsResponse.Builder setLocations(int arg0, Location arg1)
Parameters
NameDescription
arg0int
arg1Location
Returns
TypeDescription
ListLocationsResponse.Builder

setLocations(int arg0, Location.Builder arg1)

public ListLocationsResponse.Builder setLocations(int arg0, Location.Builder arg1)
Parameters
NameDescription
arg0int
arg1Builder
Returns
TypeDescription
ListLocationsResponse.Builder

setNextPageToken(String arg0)

public ListLocationsResponse.Builder setNextPageToken(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
ListLocationsResponse.Builder

setNextPageTokenBytes(ByteString arg0)

public ListLocationsResponse.Builder setNextPageTokenBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
ListLocationsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet arg0)

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