Class SearchCloudLocationsResponse.Builder (0.1.0)

public static final class SearchCloudLocationsResponse.Builder extends GeneratedMessageV3.Builder<SearchCloudLocationsResponse.Builder> implements SearchCloudLocationsResponseOrBuilder

Message for response to searching cloud locations.

Protobuf type google.cloud.locationfinder.v1.SearchCloudLocationsResponse

Static Methods

getDescriptor()

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

Methods

addAllCloudLocations(Iterable<? extends CloudLocation> values)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

addCloudLocations(CloudLocation value)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

addCloudLocations(CloudLocation.Builder builderForValue)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

addCloudLocations(int index, CloudLocation value)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

addCloudLocations(int index, CloudLocation.Builder builderForValue)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.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 SearchCloudLocationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchCloudLocationsResponse.Builder
Overrides

build()

public SearchCloudLocationsResponse build()
Returns
Type Description
SearchCloudLocationsResponse

buildPartial()

public SearchCloudLocationsResponse buildPartial()
Returns
Type Description
SearchCloudLocationsResponse

clear()

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

clearCloudLocations()

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SearchCloudLocationsResponse.Builder clone()
Returns
Type Description
SearchCloudLocationsResponse.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 SearchCloudLocationsResponse getDefaultInstanceForType()
Returns
Type Description
SearchCloudLocationsResponse

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(SearchCloudLocationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCloudLocations(int index)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

setCloudLocations(int index, CloudLocation value)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

setCloudLocations(int index, CloudLocation.Builder builderForValue)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchCloudLocationsResponse.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
SearchCloudLocationsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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