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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SearchCloudLocationsResponse.Builder>
    • getDefaultInstanceForType

      public SearchCloudLocationsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SearchCloudLocationsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchCloudLocationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchCloudLocationsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchCloudLocationsResponse.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getCloudLocationsList in interface SearchCloudLocationsResponseOrBuilder
    • 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:
      getCloudLocationsCount in interface SearchCloudLocationsResponseOrBuilder
    • getCloudLocations

      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];
      Specified by:
      getCloudLocations in interface SearchCloudLocationsResponseOrBuilder
    • setCloudLocations

      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

      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

      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

      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

      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

      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];
    • removeCloudLocations

      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];
    • getCloudLocationsBuilder

      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];
    • getCloudLocationsOrBuilder

      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];
      Specified by:
      getCloudLocationsOrBuilder in interface SearchCloudLocationsResponseOrBuilder
    • 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];
      Specified by:
      getCloudLocationsOrBuilderList in interface SearchCloudLocationsResponseOrBuilder
    • 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

      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];
    • 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];
    • 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];
      Specified by:
      getNextPageToken in interface SearchCloudLocationsResponseOrBuilder
      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:
      getNextPageTokenBytes in interface SearchCloudLocationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      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];
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • 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:
      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.