Class ListJobsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListJobsResponse.Builder>
com.google.dataflow.v1beta3.ListJobsResponse.Builder
All Implemented Interfaces:
ListJobsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListJobsResponse

public static final class ListJobsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListJobsResponse.Builder> implements ListJobsResponseOrBuilder
 Response to a request to list Cloud Dataflow jobs in a project. This might
 be a partial response, depending on the page size in the ListJobsRequest.
 However, if the project does not have any jobs, an instance of
 ListJobsResponse is not returned and the requests's response
 body is empty {}.
 
Protobuf type google.dataflow.v1beta3.ListJobsResponse
  • 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<ListJobsResponse.Builder>
    • clear

      public ListJobsResponse.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<ListJobsResponse.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<ListJobsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListJobsResponse.Builder mergeFrom(ListJobsResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListJobsResponse.Builder>
    • mergeFrom

      public ListJobsResponse.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<ListJobsResponse.Builder>
      Throws:
      IOException
    • getJobsList

      public List<Job> getJobsList()
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
      Specified by:
      getJobsList in interface ListJobsResponseOrBuilder
    • getJobsCount

      public int getJobsCount()
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
      Specified by:
      getJobsCount in interface ListJobsResponseOrBuilder
    • getJobs

      public Job getJobs(int index)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
      Specified by:
      getJobs in interface ListJobsResponseOrBuilder
    • setJobs

      public ListJobsResponse.Builder setJobs(int index, Job value)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • setJobs

      public ListJobsResponse.Builder setJobs(int index, Job.Builder builderForValue)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • addJobs

      public ListJobsResponse.Builder addJobs(Job value)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • addJobs

      public ListJobsResponse.Builder addJobs(int index, Job value)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • addJobs

      public ListJobsResponse.Builder addJobs(Job.Builder builderForValue)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • addJobs

      public ListJobsResponse.Builder addJobs(int index, Job.Builder builderForValue)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • addAllJobs

      public ListJobsResponse.Builder addAllJobs(Iterable<? extends Job> values)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • clearJobs

      public ListJobsResponse.Builder clearJobs()
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • removeJobs

      public ListJobsResponse.Builder removeJobs(int index)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • getJobsBuilder

      public Job.Builder getJobsBuilder(int index)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • getJobsOrBuilder

      public JobOrBuilder getJobsOrBuilder(int index)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
      Specified by:
      getJobsOrBuilder in interface ListJobsResponseOrBuilder
    • getJobsOrBuilderList

      public List<? extends JobOrBuilder> getJobsOrBuilderList()
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
      Specified by:
      getJobsOrBuilderList in interface ListJobsResponseOrBuilder
    • addJobsBuilder

      public Job.Builder addJobsBuilder()
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • addJobsBuilder

      public Job.Builder addJobsBuilder(int index)
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • getJobsBuilderList

      public List<Job.Builder> getJobsBuilderList()
       A subset of the requested job information.
       
      repeated .google.dataflow.v1beta3.Job jobs = 1;
    • getNextPageToken

      public String getNextPageToken()
       Set if there may be more results than fit in this response.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListJobsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Set if there may be more results than fit in this response.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListJobsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListJobsResponse.Builder setNextPageToken(String value)
       Set if there may be more results than fit in this response.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListJobsResponse.Builder clearNextPageToken()
       Set if there may be more results than fit in this response.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListJobsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Set if there may be more results than fit in this response.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getFailedLocationList

      public List<FailedLocation> getFailedLocationList()
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
      Specified by:
      getFailedLocationList in interface ListJobsResponseOrBuilder
    • getFailedLocationCount

      public int getFailedLocationCount()
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
      Specified by:
      getFailedLocationCount in interface ListJobsResponseOrBuilder
    • getFailedLocation

      public FailedLocation getFailedLocation(int index)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
      Specified by:
      getFailedLocation in interface ListJobsResponseOrBuilder
    • setFailedLocation

      public ListJobsResponse.Builder setFailedLocation(int index, FailedLocation value)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • setFailedLocation

      public ListJobsResponse.Builder setFailedLocation(int index, FailedLocation.Builder builderForValue)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • addFailedLocation

      public ListJobsResponse.Builder addFailedLocation(FailedLocation value)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • addFailedLocation

      public ListJobsResponse.Builder addFailedLocation(int index, FailedLocation value)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • addFailedLocation

      public ListJobsResponse.Builder addFailedLocation(FailedLocation.Builder builderForValue)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • addFailedLocation

      public ListJobsResponse.Builder addFailedLocation(int index, FailedLocation.Builder builderForValue)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • addAllFailedLocation

      public ListJobsResponse.Builder addAllFailedLocation(Iterable<? extends FailedLocation> values)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • clearFailedLocation

      public ListJobsResponse.Builder clearFailedLocation()
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • removeFailedLocation

      public ListJobsResponse.Builder removeFailedLocation(int index)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • getFailedLocationBuilder

      public FailedLocation.Builder getFailedLocationBuilder(int index)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • getFailedLocationOrBuilder

      public FailedLocationOrBuilder getFailedLocationOrBuilder(int index)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
      Specified by:
      getFailedLocationOrBuilder in interface ListJobsResponseOrBuilder
    • getFailedLocationOrBuilderList

      public List<? extends FailedLocationOrBuilder> getFailedLocationOrBuilderList()
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
      Specified by:
      getFailedLocationOrBuilderList in interface ListJobsResponseOrBuilder
    • addFailedLocationBuilder

      public FailedLocation.Builder addFailedLocationBuilder()
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • addFailedLocationBuilder

      public FailedLocation.Builder addFailedLocationBuilder(int index)
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;
    • getFailedLocationBuilderList

      public List<FailedLocation.Builder> getFailedLocationBuilderList()
       Zero or more messages describing the [regional endpoints]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       failed to respond.
       
      repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;