Class SearchCloudLocationsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder>
com.google.cloud.locationfinder.v1.SearchCloudLocationsResponse.Builder
- All Implemented Interfaces:
SearchCloudLocationsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchCloudLocationsResponse
public static final class SearchCloudLocationsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder>
implements SearchCloudLocationsResponseOrBuilder
Message for response to searching cloud locations.Protobuf type
google.cloud.locationfinder.v1.SearchCloudLocationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllCloudLocations(Iterable<? extends CloudLocation> values) Output only.addCloudLocations(int index, CloudLocation value) Output only.addCloudLocations(int index, CloudLocation.Builder builderForValue) Output only.addCloudLocations(CloudLocation value) Output only.addCloudLocations(CloudLocation.Builder builderForValue) Output only.Output only.addCloudLocationsBuilder(int index) Output only.build()clear()Output only.Output only.getCloudLocations(int index) Output only.getCloudLocationsBuilder(int index) Output only.Output only.intOutput only.Output only.getCloudLocationsOrBuilder(int index) Output only.List<? extends CloudLocationOrBuilder>Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeCloudLocations(int index) Output only.setCloudLocations(int index, CloudLocation value) Output only.setCloudLocations(int index, CloudLocation.Builder builderForValue) Output only.setNextPageToken(String value) Output only.setNextPageTokenBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchCloudLocationsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder>
-
mergeFrom
public SearchCloudLocationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchCloudLocationsResponse.Builder>- Throws:
IOException
-
getCloudLocationsList
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudLocationsListin interfaceSearchCloudLocationsResponseOrBuilder
-
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];- Specified by:
getCloudLocationsCountin interfaceSearchCloudLocationsResponseOrBuilder
-
getCloudLocations
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudLocationsin interfaceSearchCloudLocationsResponseOrBuilder
-
setCloudLocations
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCloudLocations
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]; -
addCloudLocations
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addCloudLocations
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addCloudLocations
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
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]; -
addAllCloudLocations
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]; -
clearCloudLocations
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeCloudLocations
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCloudLocationsBuilder
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCloudLocationsOrBuilder
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudLocationsOrBuilderin interfaceSearchCloudLocationsResponseOrBuilder
-
getCloudLocationsOrBuilderList
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudLocationsOrBuilderListin interfaceSearchCloudLocationsResponseOrBuilder
-
addCloudLocationsBuilder
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addCloudLocationsBuilder
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCloudLocationsBuilderList
Output only. List of cloud locations.
repeated .google.cloud.locationfinder.v1.CloudLocation cloud_locations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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];- Specified by:
getNextPageTokenin interfaceSearchCloudLocationsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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];- Specified by:
getNextPageTokenBytesin interfaceSearchCloudLocationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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];- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public SearchCloudLocationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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];- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-