Class ListAutomationsResponse.Builder

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

public static final class ListAutomationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAutomationsResponse.Builder> implements ListAutomationsResponseOrBuilder
 The response object from `ListAutomations`.
 
Protobuf type google.cloud.deploy.v1.ListAutomationsResponse
  • 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<ListAutomationsResponse.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<ListAutomationsResponse.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<ListAutomationsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListAutomationsResponse.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<ListAutomationsResponse.Builder>
      Throws:
      IOException
    • getAutomationsList

      public List<Automation> getAutomationsList()
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
      Specified by:
      getAutomationsList in interface ListAutomationsResponseOrBuilder
    • getAutomationsCount

      public int getAutomationsCount()
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
      Specified by:
      getAutomationsCount in interface ListAutomationsResponseOrBuilder
    • getAutomations

      public Automation getAutomations(int index)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
      Specified by:
      getAutomations in interface ListAutomationsResponseOrBuilder
    • setAutomations

      public ListAutomationsResponse.Builder setAutomations(int index, Automation value)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • setAutomations

      public ListAutomationsResponse.Builder setAutomations(int index, Automation.Builder builderForValue)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • addAutomations

      public ListAutomationsResponse.Builder addAutomations(Automation value)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • addAutomations

      public ListAutomationsResponse.Builder addAutomations(int index, Automation value)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • addAutomations

      public ListAutomationsResponse.Builder addAutomations(Automation.Builder builderForValue)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • addAutomations

      public ListAutomationsResponse.Builder addAutomations(int index, Automation.Builder builderForValue)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • addAllAutomations

      public ListAutomationsResponse.Builder addAllAutomations(Iterable<? extends Automation> values)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • clearAutomations

      public ListAutomationsResponse.Builder clearAutomations()
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • removeAutomations

      public ListAutomationsResponse.Builder removeAutomations(int index)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • getAutomationsBuilder

      public Automation.Builder getAutomationsBuilder(int index)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • getAutomationsOrBuilder

      public AutomationOrBuilder getAutomationsOrBuilder(int index)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
      Specified by:
      getAutomationsOrBuilder in interface ListAutomationsResponseOrBuilder
    • getAutomationsOrBuilderList

      public List<? extends AutomationOrBuilder> getAutomationsOrBuilderList()
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
      Specified by:
      getAutomationsOrBuilderList in interface ListAutomationsResponseOrBuilder
    • addAutomationsBuilder

      public Automation.Builder addAutomationsBuilder()
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • addAutomationsBuilder

      public Automation.Builder addAutomationsBuilder(int index)
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 1;
    • getAutomationsBuilderList

      public List<Automation.Builder> getAutomationsBuilderList()
       The `Automation` objects.
       
      repeated .google.cloud.deploy.v1.Automation automations = 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 ListAutomationsResponseOrBuilder
      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 ListAutomationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListAutomationsResponse.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 ListAutomationsResponse.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 ListAutomationsResponse.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 ListAutomationsResponseOrBuilder
      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 ListAutomationsResponseOrBuilder
      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 ListAutomationsResponseOrBuilder
      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 ListAutomationsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListAutomationsResponse.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 ListAutomationsResponse.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 ListAutomationsResponse.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 ListAutomationsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListAutomationsResponse.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.