Class ListRolloutsResponse.Builder

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

public static final class ListRolloutsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListRolloutsResponse.Builder> implements ListRolloutsResponseOrBuilder
 ListRolloutsResponse is the response object returned by `ListRollouts`.
 
Protobuf type google.cloud.deploy.v1.ListRolloutsResponse
  • 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<ListRolloutsResponse.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<ListRolloutsResponse.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<ListRolloutsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListRolloutsResponse.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<ListRolloutsResponse.Builder>
      Throws:
      IOException
    • getRolloutsList

      public List<Rollout> getRolloutsList()
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
      Specified by:
      getRolloutsList in interface ListRolloutsResponseOrBuilder
    • getRolloutsCount

      public int getRolloutsCount()
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
      Specified by:
      getRolloutsCount in interface ListRolloutsResponseOrBuilder
    • getRollouts

      public Rollout getRollouts(int index)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
      Specified by:
      getRollouts in interface ListRolloutsResponseOrBuilder
    • setRollouts

      public ListRolloutsResponse.Builder setRollouts(int index, Rollout value)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • setRollouts

      public ListRolloutsResponse.Builder setRollouts(int index, Rollout.Builder builderForValue)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • addRollouts

      public ListRolloutsResponse.Builder addRollouts(Rollout value)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • addRollouts

      public ListRolloutsResponse.Builder addRollouts(int index, Rollout value)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • addRollouts

      public ListRolloutsResponse.Builder addRollouts(Rollout.Builder builderForValue)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • addRollouts

      public ListRolloutsResponse.Builder addRollouts(int index, Rollout.Builder builderForValue)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • addAllRollouts

      public ListRolloutsResponse.Builder addAllRollouts(Iterable<? extends Rollout> values)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • clearRollouts

      public ListRolloutsResponse.Builder clearRollouts()
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • removeRollouts

      public ListRolloutsResponse.Builder removeRollouts(int index)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • getRolloutsBuilder

      public Rollout.Builder getRolloutsBuilder(int index)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • getRolloutsOrBuilder

      public RolloutOrBuilder getRolloutsOrBuilder(int index)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
      Specified by:
      getRolloutsOrBuilder in interface ListRolloutsResponseOrBuilder
    • getRolloutsOrBuilderList

      public List<? extends RolloutOrBuilder> getRolloutsOrBuilderList()
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
      Specified by:
      getRolloutsOrBuilderList in interface ListRolloutsResponseOrBuilder
    • addRolloutsBuilder

      public Rollout.Builder addRolloutsBuilder()
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • addRolloutsBuilder

      public Rollout.Builder addRolloutsBuilder(int index)
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • getRolloutsBuilderList

      public List<Rollout.Builder> getRolloutsBuilderList()
       The `Rollout` objects.
       
      repeated .google.cloud.deploy.v1.Rollout rollouts = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which 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 ListRolloutsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which 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 ListRolloutsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListRolloutsResponse.Builder setNextPageToken(String value)
       A token, which 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 ListRolloutsResponse.Builder clearNextPageToken()
       A token, which 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 ListRolloutsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which 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.
    • getUnreachableList

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

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListRolloutsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListRolloutsResponseOrBuilder
      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)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListRolloutsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListRolloutsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListRolloutsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListRolloutsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListRolloutsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

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