public static final class ListLocationsResponse.Builder extends GeneratedMessageV3.Builder<ListLocationsResponse.Builder> implements ListLocationsResponseOrBuilder
The response message for Locations.ListLocations.
Protobuf type google.cloud.location.ListLocationsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllLocations(Iterable<? extends Location> values)
public ListLocationsResponse.Builder addAllLocations(Iterable<? extends Location> values)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.location.Location>
|
addLocations(Location value)
public ListLocationsResponse.Builder addLocations(Location value)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
addLocations(Location.Builder builderForValue)
public ListLocationsResponse.Builder addLocations(Location.Builder builderForValue)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
addLocations(int index, Location value)
public ListLocationsResponse.Builder addLocations(int index, Location value)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
addLocations(int index, Location.Builder builderForValue)
public ListLocationsResponse.Builder addLocations(int index, Location.Builder builderForValue)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
addLocationsBuilder()
public Location.Builder addLocationsBuilder()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
addLocationsBuilder(int index)
public Location.Builder addLocationsBuilder(int index)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListLocationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListLocationsResponse build()
buildPartial()
public ListLocationsResponse buildPartial()
clear()
public ListLocationsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListLocationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLocations()
public ListLocationsResponse.Builder clearLocations()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
clearNextPageToken()
public ListLocationsResponse.Builder clearNextPageToken()
The standard List next-page token.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListLocationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListLocationsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListLocationsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLocations(int index)
public Location getLocations(int index)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
Parameter |
---|
Name | Description |
index | int
|
getLocationsBuilder(int index)
public Location.Builder getLocationsBuilder(int index)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
Parameter |
---|
Name | Description |
index | int
|
getLocationsBuilderList()
public List<Location.Builder> getLocationsBuilderList()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
getLocationsCount()
public int getLocationsCount()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
Returns |
---|
Type | Description |
int | |
getLocationsList()
public List<Location> getLocationsList()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
getLocationsOrBuilder(int index)
public LocationOrBuilder getLocationsOrBuilder(int index)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
Parameter |
---|
Name | Description |
index | int
|
getLocationsOrBuilderList()
public List<? extends LocationOrBuilder> getLocationsOrBuilderList()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.location.LocationOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
The standard List next-page token.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The standard List next-page token.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListLocationsResponse other)
public ListLocationsResponse.Builder mergeFrom(ListLocationsResponse other)
public ListLocationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListLocationsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListLocationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeLocations(int index)
public ListLocationsResponse.Builder removeLocations(int index)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListLocationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLocations(int index, Location value)
public ListLocationsResponse.Builder setLocations(int index, Location value)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
setLocations(int index, Location.Builder builderForValue)
public ListLocationsResponse.Builder setLocations(int index, Location.Builder builderForValue)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
setNextPageToken(String value)
public ListLocationsResponse.Builder setNextPageToken(String value)
The standard List next-page token.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListLocationsResponse.Builder setNextPageTokenBytes(ByteString value)
The standard List next-page token.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListLocationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListLocationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides