Class BatchDeleteJobsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchDeleteJobsRequest.Builder>
com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder
All Implemented Interfaces:
BatchDeleteJobsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchDeleteJobsRequest

public static final class BatchDeleteJobsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchDeleteJobsRequest.Builder> implements BatchDeleteJobsRequestOrBuilder
 Batch delete jobs request.
 
Protobuf type google.cloud.talent.v4beta1.BatchDeleteJobsRequest
  • 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<BatchDeleteJobsRequest.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<BatchDeleteJobsRequest.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<BatchDeleteJobsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BatchDeleteJobsRequest.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<BatchDeleteJobsRequest.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/tenant/bar". If tenant id is unspecified, a default tenant
       is created. For example, "projects/foo".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BatchDeleteJobsRequestOrBuilder
      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/tenant/bar". If tenant id is unspecified, a default tenant
       is created. For example, "projects/foo".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BatchDeleteJobsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public BatchDeleteJobsRequest.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/tenant/bar". If tenant id is unspecified, a default tenant
       is created. For example, "projects/foo".
       
      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 BatchDeleteJobsRequest.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/tenant/bar". If tenant id is unspecified, a default tenant
       is created. For example, "projects/foo".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchDeleteJobsRequest.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/tenant/bar". If tenant id is unspecified, a default tenant
       is created. For example, "projects/foo".
       
      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 deleted.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName` (Required)
       * `requisitionId` (Required)
      
       Sample Query: companyName = "projects/foo/companies/bar" AND
       requisitionId = "req-1"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilter in interface BatchDeleteJobsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Required. The filter string specifies the jobs to be deleted.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName` (Required)
       * `requisitionId` (Required)
      
       Sample Query: companyName = "projects/foo/companies/bar" AND
       requisitionId = "req-1"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilterBytes in interface BatchDeleteJobsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public BatchDeleteJobsRequest.Builder setFilter(String value)
       Required. The filter string specifies the jobs to be deleted.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName` (Required)
       * `requisitionId` (Required)
      
       Sample Query: companyName = "projects/foo/companies/bar" AND
       requisitionId = "req-1"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public BatchDeleteJobsRequest.Builder clearFilter()
       Required. The filter string specifies the jobs to be deleted.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName` (Required)
       * `requisitionId` (Required)
      
       Sample Query: companyName = "projects/foo/companies/bar" AND
       requisitionId = "req-1"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public BatchDeleteJobsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Required. The filter string specifies the jobs to be deleted.
      
       Supported operator: =, AND
      
       The fields eligible for filtering are:
      
       * `companyName` (Required)
       * `requisitionId` (Required)
      
       Sample Query: companyName = "projects/foo/companies/bar" AND
       requisitionId = "req-1"
       
      string filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.