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.cloud.talent.v4.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
 List jobs request.
 
Protobuf type google.cloud.talent.v4.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
    • getParent

      public String getParent()
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListJobsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListJobsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListJobsRequest.Builder setParent(String value)
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ListJobsRequest.Builder clearParent()
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListJobsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Required. The filter string specifies the jobs to be enumerated.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName`
       * `requisitionId`
       * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
       OPEN if no value is specified.
      
       At least one of `companyName` and `requisitionId` must present or an
       INVALID_ARGUMENT error is thrown.
      
       Sample Query:
      
       * companyName = "projects/foo/tenants/bar/companies/baz"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       requisitionId = "req-1"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       status = "EXPIRED"
       * requisitionId = "req-1"
       * requisitionId = "req-1" AND status = "EXPIRED"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilter in interface ListJobsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Required. The filter string specifies the jobs to be enumerated.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName`
       * `requisitionId`
       * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
       OPEN if no value is specified.
      
       At least one of `companyName` and `requisitionId` must present or an
       INVALID_ARGUMENT error is thrown.
      
       Sample Query:
      
       * companyName = "projects/foo/tenants/bar/companies/baz"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       requisitionId = "req-1"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       status = "EXPIRED"
       * requisitionId = "req-1"
       * requisitionId = "req-1" AND status = "EXPIRED"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilterBytes in interface ListJobsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListJobsRequest.Builder setFilter(String value)
       Required. The filter string specifies the jobs to be enumerated.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName`
       * `requisitionId`
       * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
       OPEN if no value is specified.
      
       At least one of `companyName` and `requisitionId` must present or an
       INVALID_ARGUMENT error is thrown.
      
       Sample Query:
      
       * companyName = "projects/foo/tenants/bar/companies/baz"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       requisitionId = "req-1"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       status = "EXPIRED"
       * requisitionId = "req-1"
       * requisitionId = "req-1" AND status = "EXPIRED"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListJobsRequest.Builder clearFilter()
       Required. The filter string specifies the jobs to be enumerated.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName`
       * `requisitionId`
       * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
       OPEN if no value is specified.
      
       At least one of `companyName` and `requisitionId` must present or an
       INVALID_ARGUMENT error is thrown.
      
       Sample Query:
      
       * companyName = "projects/foo/tenants/bar/companies/baz"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       requisitionId = "req-1"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       status = "EXPIRED"
       * requisitionId = "req-1"
       * requisitionId = "req-1" AND status = "EXPIRED"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListJobsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Required. The filter string specifies the jobs to be enumerated.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName`
       * `requisitionId`
       * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
       OPEN if no value is specified.
      
       At least one of `companyName` and `requisitionId` must present or an
       INVALID_ARGUMENT error is thrown.
      
       Sample Query:
      
       * companyName = "projects/foo/tenants/bar/companies/baz"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       requisitionId = "req-1"
       * companyName = "projects/foo/tenants/bar/companies/baz" AND
       status = "EXPIRED"
       * requisitionId = "req-1"
       * requisitionId = "req-1" AND status = "EXPIRED"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       The starting point of a query result.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListJobsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The starting point of a query result.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListJobsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListJobsRequest.Builder setPageToken(String value)
       The starting point of a query result.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListJobsRequest.Builder clearPageToken()
       The starting point of a query result.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListJobsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       The starting point of a query result.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of jobs to be returned per page of results.
      
       If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to
       [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY],
       the maximum allowed page size is 1000. Otherwise, the maximum allowed page
       size is 100.
      
       Default is 100 if empty or a number < 1 is specified.
       
      int32 page_size = 4;
      Specified by:
      getPageSize in interface ListJobsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListJobsRequest.Builder setPageSize(int value)
       The maximum number of jobs to be returned per page of results.
      
       If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to
       [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY],
       the maximum allowed page size is 1000. Otherwise, the maximum allowed page
       size is 100.
      
       Default is 100 if empty or a number < 1 is specified.
       
      int32 page_size = 4;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListJobsRequest.Builder clearPageSize()
       The maximum number of jobs to be returned per page of results.
      
       If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to
       [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY],
       the maximum allowed page size is 1000. Otherwise, the maximum allowed page
       size is 100.
      
       Default is 100 if empty or a number < 1 is specified.
       
      int32 page_size = 4;
      Returns:
      This builder for chaining.
    • getJobViewValue

      public int getJobViewValue()
       The desired job attributes returned for jobs in the
       search response. Defaults to
       [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no
       value is specified.
       
      .google.cloud.talent.v4.JobView job_view = 5;
      Specified by:
      getJobViewValue in interface ListJobsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for jobView.
    • setJobViewValue

      public ListJobsRequest.Builder setJobViewValue(int value)
       The desired job attributes returned for jobs in the
       search response. Defaults to
       [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no
       value is specified.
       
      .google.cloud.talent.v4.JobView job_view = 5;
      Parameters:
      value - The enum numeric value on the wire for jobView to set.
      Returns:
      This builder for chaining.
    • getJobView

      public JobView getJobView()
       The desired job attributes returned for jobs in the
       search response. Defaults to
       [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no
       value is specified.
       
      .google.cloud.talent.v4.JobView job_view = 5;
      Specified by:
      getJobView in interface ListJobsRequestOrBuilder
      Returns:
      The jobView.
    • setJobView

      public ListJobsRequest.Builder setJobView(JobView value)
       The desired job attributes returned for jobs in the
       search response. Defaults to
       [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no
       value is specified.
       
      .google.cloud.talent.v4.JobView job_view = 5;
      Parameters:
      value - The jobView to set.
      Returns:
      This builder for chaining.
    • clearJobView

      public ListJobsRequest.Builder clearJobView()
       The desired job attributes returned for jobs in the
       search response. Defaults to
       [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no
       value is specified.
       
      .google.cloud.talent.v4.JobView job_view = 5;
      Returns:
      This builder for chaining.