Class ListJobRunsResponse.Builder

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

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

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

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

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

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

      public ListJobRunsResponse.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<ListJobRunsResponse.Builder>
      Throws:
      IOException
    • getJobRunsList

      public List<JobRun> getJobRunsList()
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
      Specified by:
      getJobRunsList in interface ListJobRunsResponseOrBuilder
    • getJobRunsCount

      public int getJobRunsCount()
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
      Specified by:
      getJobRunsCount in interface ListJobRunsResponseOrBuilder
    • getJobRuns

      public JobRun getJobRuns(int index)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
      Specified by:
      getJobRuns in interface ListJobRunsResponseOrBuilder
    • setJobRuns

      public ListJobRunsResponse.Builder setJobRuns(int index, JobRun value)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • setJobRuns

      public ListJobRunsResponse.Builder setJobRuns(int index, JobRun.Builder builderForValue)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • addJobRuns

      public ListJobRunsResponse.Builder addJobRuns(JobRun value)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • addJobRuns

      public ListJobRunsResponse.Builder addJobRuns(int index, JobRun value)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • addJobRuns

      public ListJobRunsResponse.Builder addJobRuns(JobRun.Builder builderForValue)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • addJobRuns

      public ListJobRunsResponse.Builder addJobRuns(int index, JobRun.Builder builderForValue)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • addAllJobRuns

      public ListJobRunsResponse.Builder addAllJobRuns(Iterable<? extends JobRun> values)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • clearJobRuns

      public ListJobRunsResponse.Builder clearJobRuns()
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • removeJobRuns

      public ListJobRunsResponse.Builder removeJobRuns(int index)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • getJobRunsBuilder

      public JobRun.Builder getJobRunsBuilder(int index)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • getJobRunsOrBuilder

      public JobRunOrBuilder getJobRunsOrBuilder(int index)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
      Specified by:
      getJobRunsOrBuilder in interface ListJobRunsResponseOrBuilder
    • getJobRunsOrBuilderList

      public List<? extends JobRunOrBuilder> getJobRunsOrBuilderList()
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
      Specified by:
      getJobRunsOrBuilderList in interface ListJobRunsResponseOrBuilder
    • addJobRunsBuilder

      public JobRun.Builder addJobRunsBuilder()
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • addJobRunsBuilder

      public JobRun.Builder addJobRunsBuilder(int index)
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_runs = 1;
    • getJobRunsBuilderList

      public List<JobRun.Builder> getJobRunsBuilderList()
       The `JobRun` objects.
       
      repeated .google.cloud.deploy.v1.JobRun job_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 ListJobRunsResponseOrBuilder
      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 ListJobRunsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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

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

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