Class SearchDeploymentRevisionsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchDeploymentRevisionsResponse.Builder>
com.google.cloud.telcoautomation.v1.SearchDeploymentRevisionsResponse.Builder
All Implemented Interfaces:
SearchDeploymentRevisionsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SearchDeploymentRevisionsResponse

public static final class SearchDeploymentRevisionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchDeploymentRevisionsResponse.Builder> implements SearchDeploymentRevisionsResponseOrBuilder
 Response object for `SearchDeploymentRevisions`.
 
Protobuf type google.cloud.telcoautomation.v1.SearchDeploymentRevisionsResponse
  • 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<SearchDeploymentRevisionsResponse.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<SearchDeploymentRevisionsResponse.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<SearchDeploymentRevisionsResponse.Builder>
    • getDefaultInstanceForType

      public SearchDeploymentRevisionsResponse 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 SearchDeploymentRevisionsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchDeploymentRevisionsResponse.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<SearchDeploymentRevisionsResponse.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<SearchDeploymentRevisionsResponse.Builder>
    • mergeFrom

      public SearchDeploymentRevisionsResponse.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<SearchDeploymentRevisionsResponse.Builder>
      Throws:
      IOException
    • getDeploymentsList

      public List<Deployment> getDeploymentsList()
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
      Specified by:
      getDeploymentsList in interface SearchDeploymentRevisionsResponseOrBuilder
    • getDeploymentsCount

      public int getDeploymentsCount()
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
      Specified by:
      getDeploymentsCount in interface SearchDeploymentRevisionsResponseOrBuilder
    • getDeployments

      public Deployment getDeployments(int index)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
      Specified by:
      getDeployments in interface SearchDeploymentRevisionsResponseOrBuilder
    • setDeployments

      public SearchDeploymentRevisionsResponse.Builder setDeployments(int index, Deployment value)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • setDeployments

      public SearchDeploymentRevisionsResponse.Builder setDeployments(int index, Deployment.Builder builderForValue)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • addDeployments

       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • addDeployments

      public SearchDeploymentRevisionsResponse.Builder addDeployments(int index, Deployment value)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • addDeployments

      public SearchDeploymentRevisionsResponse.Builder addDeployments(Deployment.Builder builderForValue)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • addDeployments

      public SearchDeploymentRevisionsResponse.Builder addDeployments(int index, Deployment.Builder builderForValue)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • addAllDeployments

      public SearchDeploymentRevisionsResponse.Builder addAllDeployments(Iterable<? extends Deployment> values)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • clearDeployments

      public SearchDeploymentRevisionsResponse.Builder clearDeployments()
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • removeDeployments

      public SearchDeploymentRevisionsResponse.Builder removeDeployments(int index)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • getDeploymentsBuilder

      public Deployment.Builder getDeploymentsBuilder(int index)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • getDeploymentsOrBuilder

      public DeploymentOrBuilder getDeploymentsOrBuilder(int index)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
      Specified by:
      getDeploymentsOrBuilder in interface SearchDeploymentRevisionsResponseOrBuilder
    • getDeploymentsOrBuilderList

      public List<? extends DeploymentOrBuilder> getDeploymentsOrBuilderList()
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
      Specified by:
      getDeploymentsOrBuilderList in interface SearchDeploymentRevisionsResponseOrBuilder
    • addDeploymentsBuilder

      public Deployment.Builder addDeploymentsBuilder()
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • addDeploymentsBuilder

      public Deployment.Builder addDeploymentsBuilder(int index)
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • getDeploymentsBuilderList

      public List<Deployment.Builder> getDeploymentsBuilderList()
       The list of requested deployment revisions.
       
      repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface SearchDeploymentRevisionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface SearchDeploymentRevisionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public SearchDeploymentRevisionsResponse.Builder setNextPageToken(String value)
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public SearchDeploymentRevisionsResponse.Builder clearNextPageToken()
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public SearchDeploymentRevisionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.