Class ListAutomationRunsResponse.Builder

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

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

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

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

      public ListAutomationRunsResponse.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<ListAutomationRunsResponse.Builder>
      Throws:
      IOException
    • getAutomationRunsList

      public List<AutomationRun> getAutomationRunsList()
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
      Specified by:
      getAutomationRunsList in interface ListAutomationRunsResponseOrBuilder
    • getAutomationRunsCount

      public int getAutomationRunsCount()
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
      Specified by:
      getAutomationRunsCount in interface ListAutomationRunsResponseOrBuilder
    • getAutomationRuns

      public AutomationRun getAutomationRuns(int index)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
      Specified by:
      getAutomationRuns in interface ListAutomationRunsResponseOrBuilder
    • setAutomationRuns

      public ListAutomationRunsResponse.Builder setAutomationRuns(int index, AutomationRun value)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • setAutomationRuns

      public ListAutomationRunsResponse.Builder setAutomationRuns(int index, AutomationRun.Builder builderForValue)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • addAutomationRuns

      public ListAutomationRunsResponse.Builder addAutomationRuns(AutomationRun value)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • addAutomationRuns

      public ListAutomationRunsResponse.Builder addAutomationRuns(int index, AutomationRun value)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • addAutomationRuns

      public ListAutomationRunsResponse.Builder addAutomationRuns(AutomationRun.Builder builderForValue)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • addAutomationRuns

      public ListAutomationRunsResponse.Builder addAutomationRuns(int index, AutomationRun.Builder builderForValue)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • addAllAutomationRuns

      public ListAutomationRunsResponse.Builder addAllAutomationRuns(Iterable<? extends AutomationRun> values)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • clearAutomationRuns

      public ListAutomationRunsResponse.Builder clearAutomationRuns()
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • removeAutomationRuns

      public ListAutomationRunsResponse.Builder removeAutomationRuns(int index)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • getAutomationRunsBuilder

      public AutomationRun.Builder getAutomationRunsBuilder(int index)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • getAutomationRunsOrBuilder

      public AutomationRunOrBuilder getAutomationRunsOrBuilder(int index)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
      Specified by:
      getAutomationRunsOrBuilder in interface ListAutomationRunsResponseOrBuilder
    • getAutomationRunsOrBuilderList

      public List<? extends AutomationRunOrBuilder> getAutomationRunsOrBuilderList()
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
      Specified by:
      getAutomationRunsOrBuilderList in interface ListAutomationRunsResponseOrBuilder
    • addAutomationRunsBuilder

      public AutomationRun.Builder addAutomationRunsBuilder()
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • addAutomationRunsBuilder

      public AutomationRun.Builder addAutomationRunsBuilder(int index)
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;
    • getAutomationRunsBuilderList

      public List<AutomationRun.Builder> getAutomationRunsBuilderList()
       The `AutomationRuns` objects.
       
      repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 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 ListAutomationRunsResponseOrBuilder
      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 ListAutomationRunsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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

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

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