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
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
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>
|
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];
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];
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];
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];
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];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchCloudLocationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchCloudLocationsResponse build()
buildPartial()
public SearchCloudLocationsResponse buildPartial()
clear()
public SearchCloudLocationsResponse.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public SearchCloudLocationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchCloudLocationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchCloudLocationsResponse.Builder clone()
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
|
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
|
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];
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];
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchCloudLocationsResponse other)
public SearchCloudLocationsResponse.Builder mergeFrom(SearchCloudLocationsResponse other)
public SearchCloudLocationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchCloudLocationsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchCloudLocationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public SearchCloudLocationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchCloudLocationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchCloudLocationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides