Class ListCloudLocationsResponse.Builder (0.1.0)

public static final class ListCloudLocationsResponse.Builder extends GeneratedMessageV3.Builder<ListCloudLocationsResponse.Builder> implements ListCloudLocationsResponseOrBuilder

Message for response to listing cloud locations.

Protobuf type google.cloud.locationfinder.v1.ListCloudLocationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCloudLocations(Iterable<? extends CloudLocation> values)

public ListCloudLocationsResponse.Builder addAllCloudLocations(Iterable<? extends CloudLocation> values)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.locationfinder.v1.CloudLocation>
Returns
Type Description
ListCloudLocationsResponse.Builder

addCloudLocations(CloudLocation value)

public ListCloudLocationsResponse.Builder addCloudLocations(CloudLocation value)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CloudLocation
Returns
Type Description
ListCloudLocationsResponse.Builder

addCloudLocations(CloudLocation.Builder builderForValue)

public ListCloudLocationsResponse.Builder addCloudLocations(CloudLocation.Builder builderForValue)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CloudLocation.Builder
Returns
Type Description
ListCloudLocationsResponse.Builder

addCloudLocations(int index, CloudLocation value)

public ListCloudLocationsResponse.Builder addCloudLocations(int index, CloudLocation value)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CloudLocation
Returns
Type Description
ListCloudLocationsResponse.Builder

addCloudLocations(int index, CloudLocation.Builder builderForValue)

public ListCloudLocationsResponse.Builder addCloudLocations(int index, CloudLocation.Builder builderForValue)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CloudLocation.Builder
Returns
Type Description
ListCloudLocationsResponse.Builder

addCloudLocationsBuilder()

public CloudLocation.Builder addCloudLocationsBuilder()

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudLocation.Builder

addCloudLocationsBuilder(int index)

public CloudLocation.Builder addCloudLocationsBuilder(int index)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CloudLocation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListCloudLocationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides

build()

public ListCloudLocationsResponse build()
Returns
Type Description
ListCloudLocationsResponse

buildPartial()

public ListCloudLocationsResponse buildPartial()
Returns
Type Description
ListCloudLocationsResponse

clear()

public ListCloudLocationsResponse.Builder clear()
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides

clearCloudLocations()

public ListCloudLocationsResponse.Builder clearCloudLocations()

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListCloudLocationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListCloudLocationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides

clearNextPageToken()

public ListCloudLocationsResponse.Builder clearNextPageToken()

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListCloudLocationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListCloudLocationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides

clone()

public ListCloudLocationsResponse.Builder clone()
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides

getCloudLocations(int index)

public CloudLocation getCloudLocations(int index)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CloudLocation

getCloudLocationsBuilder(int index)

public CloudLocation.Builder getCloudLocationsBuilder(int index)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CloudLocation.Builder

getCloudLocationsBuilderList()

public List<CloudLocation.Builder> getCloudLocationsBuilderList()

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getCloudLocationsCount()

public int getCloudLocationsCount()

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getCloudLocationsList()

public List<CloudLocation> getCloudLocationsList()

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<CloudLocation>

getCloudLocationsOrBuilder(int index)

public CloudLocationOrBuilder getCloudLocationsOrBuilder(int index)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CloudLocationOrBuilder

getCloudLocationsOrBuilderList()

public List<? extends CloudLocationOrBuilder> getCloudLocationsOrBuilderList()

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.locationfinder.v1.CloudLocationOrBuilder>

getDefaultInstanceForType()

public ListCloudLocationsResponse getDefaultInstanceForType()
Returns
Type Description
ListCloudLocationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCloudLocationsResponse other)

public ListCloudLocationsResponse.Builder mergeFrom(ListCloudLocationsResponse other)
Parameter
Name Description
other ListCloudLocationsResponse
Returns
Type Description
ListCloudLocationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListCloudLocationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListCloudLocationsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudLocationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides

removeCloudLocations(int index)

public ListCloudLocationsResponse.Builder removeCloudLocations(int index)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ListCloudLocationsResponse.Builder

setCloudLocations(int index, CloudLocation value)

public ListCloudLocationsResponse.Builder setCloudLocations(int index, CloudLocation value)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CloudLocation
Returns
Type Description
ListCloudLocationsResponse.Builder

setCloudLocations(int index, CloudLocation.Builder builderForValue)

public ListCloudLocationsResponse.Builder setCloudLocations(int index, CloudLocation.Builder builderForValue)

Output only. List of cloud locations.

repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CloudLocation.Builder
Returns
Type Description
ListCloudLocationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListCloudLocationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides

setNextPageToken(String value)

public ListCloudLocationsResponse.Builder setNextPageToken(String value)

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListCloudLocationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCloudLocationsResponse.Builder setNextPageTokenBytes(ByteString value)

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListCloudLocationsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListCloudLocationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudLocationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListCloudLocationsResponse.Builder
Overrides