Class ListJobsRequest.Builder

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

public static final class ListJobsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListJobsRequest.Builder> implements ListJobsRequestOrBuilder
 Request to list Cloud Dataflow jobs.
 
Protobuf type google.dataflow.v1beta3.ListJobsRequest
  • 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<ListJobsRequest.Builder>
    • clear

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

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

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

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

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

      public ListJobsRequest.Builder mergeFrom(ListJobsRequest other)
    • isInitialized

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

      public ListJobsRequest.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<ListJobsRequest.Builder>
      Throws:
      IOException
    • getFilterValue

      public int getFilterValue()
       The kind of filter to use.
       
      .google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;
      Specified by:
      getFilterValue in interface ListJobsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for filter.
    • setFilterValue

      public ListJobsRequest.Builder setFilterValue(int value)
       The kind of filter to use.
       
      .google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;
      Parameters:
      value - The enum numeric value on the wire for filter to set.
      Returns:
      This builder for chaining.
    • getFilter

      public ListJobsRequest.Filter getFilter()
       The kind of filter to use.
       
      .google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;
      Specified by:
      getFilter in interface ListJobsRequestOrBuilder
      Returns:
      The filter.
    • setFilter

       The kind of filter to use.
       
      .google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListJobsRequest.Builder clearFilter()
       The kind of filter to use.
       
      .google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;
      Returns:
      This builder for chaining.
    • getProjectId

      public String getProjectId()
       The project which owns the jobs.
       
      string project_id = 1;
      Specified by:
      getProjectId in interface ListJobsRequestOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       The project which owns the jobs.
       
      string project_id = 1;
      Specified by:
      getProjectIdBytes in interface ListJobsRequestOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public ListJobsRequest.Builder setProjectId(String value)
       The project which owns the jobs.
       
      string project_id = 1;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public ListJobsRequest.Builder clearProjectId()
       The project which owns the jobs.
       
      string project_id = 1;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public ListJobsRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       The project which owns the jobs.
       
      string project_id = 1;
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • getViewValue

      @Deprecated public int getViewValue()
      Deprecated.
      google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=995
       Deprecated. ListJobs always returns summaries now.
       Use GetJob for other JobViews.
       
      .google.dataflow.v1beta3.JobView view = 2 [deprecated = true];
      Specified by:
      getViewValue in interface ListJobsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for view.
    • setViewValue

      @Deprecated public ListJobsRequest.Builder setViewValue(int value)
      Deprecated.
      google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=995
       Deprecated. ListJobs always returns summaries now.
       Use GetJob for other JobViews.
       
      .google.dataflow.v1beta3.JobView view = 2 [deprecated = true];
      Parameters:
      value - The enum numeric value on the wire for view to set.
      Returns:
      This builder for chaining.
    • getView

      @Deprecated public JobView getView()
      Deprecated.
      google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=995
       Deprecated. ListJobs always returns summaries now.
       Use GetJob for other JobViews.
       
      .google.dataflow.v1beta3.JobView view = 2 [deprecated = true];
      Specified by:
      getView in interface ListJobsRequestOrBuilder
      Returns:
      The view.
    • setView

      Deprecated.
      google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=995
       Deprecated. ListJobs always returns summaries now.
       Use GetJob for other JobViews.
       
      .google.dataflow.v1beta3.JobView view = 2 [deprecated = true];
      Parameters:
      value - The view to set.
      Returns:
      This builder for chaining.
    • clearView

      Deprecated.
      google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=995
       Deprecated. ListJobs always returns summaries now.
       Use GetJob for other JobViews.
       
      .google.dataflow.v1beta3.JobView view = 2 [deprecated = true];
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       If there are many jobs, limit response to at most this many.
       The actual number of jobs returned will be the lesser of max_responses
       and an unspecified server-defined limit.
       
      int32 page_size = 3;
      Specified by:
      getPageSize in interface ListJobsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListJobsRequest.Builder setPageSize(int value)
       If there are many jobs, limit response to at most this many.
       The actual number of jobs returned will be the lesser of max_responses
       and an unspecified server-defined limit.
       
      int32 page_size = 3;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListJobsRequest.Builder clearPageSize()
       If there are many jobs, limit response to at most this many.
       The actual number of jobs returned will be the lesser of max_responses
       and an unspecified server-defined limit.
       
      int32 page_size = 3;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Set this to the 'next_page_token' field of a previous response
       to request additional results in a long list.
       
      string page_token = 4;
      Specified by:
      getPageToken in interface ListJobsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Set this to the 'next_page_token' field of a previous response
       to request additional results in a long list.
       
      string page_token = 4;
      Specified by:
      getPageTokenBytes in interface ListJobsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListJobsRequest.Builder setPageToken(String value)
       Set this to the 'next_page_token' field of a previous response
       to request additional results in a long list.
       
      string page_token = 4;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListJobsRequest.Builder clearPageToken()
       Set this to the 'next_page_token' field of a previous response
       to request additional results in a long list.
       
      string page_token = 4;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListJobsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Set this to the 'next_page_token' field of a previous response
       to request additional results in a long list.
       
      string page_token = 4;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getLocation

      public String getLocation()
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 17;
      Specified by:
      getLocation in interface ListJobsRequestOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 17;
      Specified by:
      getLocationBytes in interface ListJobsRequestOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public ListJobsRequest.Builder setLocation(String value)
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 17;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public ListJobsRequest.Builder clearLocation()
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 17;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public ListJobsRequest.Builder setLocationBytes(com.google.protobuf.ByteString value)
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 17;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       Optional. The job name.
       
      optional string name = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasName in interface ListJobsRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Optional. The job name.
       
      optional string name = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getName in interface ListJobsRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Optional. The job name.
       
      optional string name = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNameBytes in interface ListJobsRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ListJobsRequest.Builder setName(String value)
       Optional. The job name.
       
      optional string name = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ListJobsRequest.Builder clearName()
       Optional. The job name.
       
      optional string name = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ListJobsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Optional. The job name.
       
      optional string name = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.