Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ListJobsResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListJobsResponse.Builder>
      • setField

        public ListJobsResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListJobsResponse.Builder>
      • clearField

        public ListJobsResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListJobsResponse.Builder>
      • clearOneof

        public ListJobsResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListJobsResponse.Builder>
      • setRepeatedField

        public ListJobsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListJobsResponse.Builder>
      • addRepeatedField

        public ListJobsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListJobsResponse.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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;
      • 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;
      • setUnknownFields

        public final ListJobsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListJobsResponse.Builder>
      • mergeUnknownFields

        public final ListJobsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListJobsResponse.Builder>