public static final class SearchCloudLocationsResponse.Builder extends GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder> implements SearchCloudLocationsResponseOrBuilderMessage for response to searching cloud locations.
Protobuf type google.cloud.locationfinder.v1.SearchCloudLocationsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchCloudLocationsResponse.BuilderImplements
SearchCloudLocationsResponseOrBuilderStatic 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 |
|
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 |
|
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchCloudLocationsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchCloudLocationsResponse.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
SearchCloudLocationsResponse.Builder |
This builder for chaining. |