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