Class ListDeploymentGroupRevisionsResponse.Builder

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

public static final class ListDeploymentGroupRevisionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDeploymentGroupRevisionsResponse.Builder> implements ListDeploymentGroupRevisionsResponseOrBuilder
 The response message for the ListDeploymentGroupRevisions method.
 
Protobuf type google.cloud.config.v1.ListDeploymentGroupRevisionsResponse
  • 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<ListDeploymentGroupRevisionsResponse.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<ListDeploymentGroupRevisionsResponse.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<ListDeploymentGroupRevisionsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListDeploymentGroupRevisionsResponse.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<ListDeploymentGroupRevisionsResponse.Builder>
      Throws:
      IOException
    • getDeploymentGroupRevisionsList

      public List<DeploymentGroupRevision> getDeploymentGroupRevisionsList()
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
      Specified by:
      getDeploymentGroupRevisionsList in interface ListDeploymentGroupRevisionsResponseOrBuilder
    • getDeploymentGroupRevisionsCount

      public int getDeploymentGroupRevisionsCount()
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
      Specified by:
      getDeploymentGroupRevisionsCount in interface ListDeploymentGroupRevisionsResponseOrBuilder
    • getDeploymentGroupRevisions

      public DeploymentGroupRevision getDeploymentGroupRevisions(int index)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
      Specified by:
      getDeploymentGroupRevisions in interface ListDeploymentGroupRevisionsResponseOrBuilder
    • setDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse.Builder setDeploymentGroupRevisions(int index, DeploymentGroupRevision value)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • setDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse.Builder setDeploymentGroupRevisions(int index, DeploymentGroupRevision.Builder builderForValue)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • addDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse.Builder addDeploymentGroupRevisions(DeploymentGroupRevision value)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • addDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse.Builder addDeploymentGroupRevisions(int index, DeploymentGroupRevision value)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • addDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse.Builder addDeploymentGroupRevisions(DeploymentGroupRevision.Builder builderForValue)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • addDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse.Builder addDeploymentGroupRevisions(int index, DeploymentGroupRevision.Builder builderForValue)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • addAllDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse.Builder addAllDeploymentGroupRevisions(Iterable<? extends DeploymentGroupRevision> values)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • clearDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse.Builder clearDeploymentGroupRevisions()
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • removeDeploymentGroupRevisions

      public ListDeploymentGroupRevisionsResponse.Builder removeDeploymentGroupRevisions(int index)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • getDeploymentGroupRevisionsBuilder

      public DeploymentGroupRevision.Builder getDeploymentGroupRevisionsBuilder(int index)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • getDeploymentGroupRevisionsOrBuilder

      public DeploymentGroupRevisionOrBuilder getDeploymentGroupRevisionsOrBuilder(int index)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
      Specified by:
      getDeploymentGroupRevisionsOrBuilder in interface ListDeploymentGroupRevisionsResponseOrBuilder
    • getDeploymentGroupRevisionsOrBuilderList

      public List<? extends DeploymentGroupRevisionOrBuilder> getDeploymentGroupRevisionsOrBuilderList()
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
      Specified by:
      getDeploymentGroupRevisionsOrBuilderList in interface ListDeploymentGroupRevisionsResponseOrBuilder
    • addDeploymentGroupRevisionsBuilder

      public DeploymentGroupRevision.Builder addDeploymentGroupRevisionsBuilder()
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • addDeploymentGroupRevisionsBuilder

      public DeploymentGroupRevision.Builder addDeploymentGroupRevisionsBuilder(int index)
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • getDeploymentGroupRevisionsBuilderList

      public List<DeploymentGroupRevision.Builder> getDeploymentGroupRevisionsBuilderList()
       The deployment group revisions from the specified collection.
       
      repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token to be supplied to the next ListDeploymentGroupRevisions request via
       `page_token` to obtain the next set of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDeploymentGroupRevisionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to be supplied to the next ListDeploymentGroupRevisions request via
       `page_token` to obtain the next set of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDeploymentGroupRevisionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDeploymentGroupRevisionsResponse.Builder setNextPageToken(String value)
       Token to be supplied to the next ListDeploymentGroupRevisions request via
       `page_token` to obtain the next set of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDeploymentGroupRevisionsResponse.Builder clearNextPageToken()
       Token to be supplied to the next ListDeploymentGroupRevisions request via
       `page_token` to obtain the next set of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDeploymentGroupRevisionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to be supplied to the next ListDeploymentGroupRevisions request via
       `page_token` to obtain the next set of results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableList in interface ListDeploymentGroupRevisionsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableCount in interface ListDeploymentGroupRevisionsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachable in interface ListDeploymentGroupRevisionsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableBytes in interface ListDeploymentGroupRevisionsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListDeploymentGroupRevisionsResponse.Builder setUnreachable(int index, String value)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListDeploymentGroupRevisionsResponse.Builder addAllUnreachable(Iterable<String> values)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListDeploymentGroupRevisionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.