Class BatchUpdateJobsRequest.Builder

    • 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<BatchUpdateJobsRequest.Builder>
      • clear

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

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

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

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

        public BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.Builder>
      • clearField

        public BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.Builder>
      • clearOneof

        public BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.Builder>
      • setRepeatedField

        public BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.Builder>
      • addRepeatedField

        public BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.Builder>
      • isInitialized

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

        public BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.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 BatchUpdateJobsRequestOrBuilder
        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 BatchUpdateJobsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public BatchUpdateJobsRequest.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 BatchUpdateJobsRequest.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 BatchUpdateJobsRequest.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.
      • getJobsList

        public List<Job> getJobsList()
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getJobsList in interface BatchUpdateJobsRequestOrBuilder
      • getJobsCount

        public int getJobsCount()
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getJobsCount in interface BatchUpdateJobsRequestOrBuilder
      • getJobs

        public Job getJobs​(int index)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getJobs in interface BatchUpdateJobsRequestOrBuilder
      • setJobs

        public BatchUpdateJobsRequest.Builder setJobs​(int index,
                                                      Job value)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • setJobs

        public BatchUpdateJobsRequest.Builder setJobs​(int index,
                                                      Job.Builder builderForValue)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobs

        public BatchUpdateJobsRequest.Builder addJobs​(Job value)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobs

        public BatchUpdateJobsRequest.Builder addJobs​(int index,
                                                      Job value)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobs

        public BatchUpdateJobsRequest.Builder addJobs​(Job.Builder builderForValue)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobs

        public BatchUpdateJobsRequest.Builder addJobs​(int index,
                                                      Job.Builder builderForValue)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addAllJobs

        public BatchUpdateJobsRequest.Builder addAllJobs​(Iterable<? extends Job> values)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearJobs

        public BatchUpdateJobsRequest.Builder clearJobs()
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeJobs

        public BatchUpdateJobsRequest.Builder removeJobs​(int index)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • getJobsBuilder

        public Job.Builder getJobsBuilder​(int index)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobsBuilder

        public Job.Builder addJobsBuilder()
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobsBuilder

        public Job.Builder addJobsBuilder​(int index)
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • getJobsBuilderList

        public List<Job.Builder> getJobsBuilderList()
         Required. The jobs to be updated.
         
        repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        public boolean hasUpdateMask()
         Strongly recommended for the best service experience. Be aware that it will
         also increase latency when checking the status of a batch operation.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, only the specified fields in
         [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the
         fields are updated.
        
         A field mask to restrict the fields that are updated. Only
         top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
         [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
         will only contains fields that is updated, plus the Id of the Job.
         Otherwise,  [Job][google.cloud.talent.v4beta1.Job] will include all fields,
         which can yield a very large response.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        hasUpdateMask in interface BatchUpdateJobsRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Strongly recommended for the best service experience. Be aware that it will
         also increase latency when checking the status of a batch operation.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, only the specified fields in
         [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the
         fields are updated.
        
         A field mask to restrict the fields that are updated. Only
         top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
         [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
         will only contains fields that is updated, plus the Id of the Job.
         Otherwise,  [Job][google.cloud.talent.v4beta1.Job] will include all fields,
         which can yield a very large response.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        getUpdateMask in interface BatchUpdateJobsRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public BatchUpdateJobsRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Strongly recommended for the best service experience. Be aware that it will
         also increase latency when checking the status of a batch operation.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, only the specified fields in
         [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the
         fields are updated.
        
         A field mask to restrict the fields that are updated. Only
         top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
         [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
         will only contains fields that is updated, plus the Id of the Job.
         Otherwise,  [Job][google.cloud.talent.v4beta1.Job] will include all fields,
         which can yield a very large response.
         
        .google.protobuf.FieldMask update_mask = 3;
      • setUpdateMask

        public BatchUpdateJobsRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Strongly recommended for the best service experience. Be aware that it will
         also increase latency when checking the status of a batch operation.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, only the specified fields in
         [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the
         fields are updated.
        
         A field mask to restrict the fields that are updated. Only
         top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
         [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
         will only contains fields that is updated, plus the Id of the Job.
         Otherwise,  [Job][google.cloud.talent.v4beta1.Job] will include all fields,
         which can yield a very large response.
         
        .google.protobuf.FieldMask update_mask = 3;
      • mergeUpdateMask

        public BatchUpdateJobsRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Strongly recommended for the best service experience. Be aware that it will
         also increase latency when checking the status of a batch operation.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, only the specified fields in
         [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the
         fields are updated.
        
         A field mask to restrict the fields that are updated. Only
         top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
         [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
         will only contains fields that is updated, plus the Id of the Job.
         Otherwise,  [Job][google.cloud.talent.v4beta1.Job] will include all fields,
         which can yield a very large response.
         
        .google.protobuf.FieldMask update_mask = 3;
      • clearUpdateMask

        public BatchUpdateJobsRequest.Builder clearUpdateMask()
         Strongly recommended for the best service experience. Be aware that it will
         also increase latency when checking the status of a batch operation.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, only the specified fields in
         [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the
         fields are updated.
        
         A field mask to restrict the fields that are updated. Only
         top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
         [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
         will only contains fields that is updated, plus the Id of the Job.
         Otherwise,  [Job][google.cloud.talent.v4beta1.Job] will include all fields,
         which can yield a very large response.
         
        .google.protobuf.FieldMask update_mask = 3;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Strongly recommended for the best service experience. Be aware that it will
         also increase latency when checking the status of a batch operation.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, only the specified fields in
         [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the
         fields are updated.
        
         A field mask to restrict the fields that are updated. Only
         top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
         [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
         will only contains fields that is updated, plus the Id of the Job.
         Otherwise,  [Job][google.cloud.talent.v4beta1.Job] will include all fields,
         which can yield a very large response.
         
        .google.protobuf.FieldMask update_mask = 3;
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Strongly recommended for the best service experience. Be aware that it will
         also increase latency when checking the status of a batch operation.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, only the specified fields in
         [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the
         fields are updated.
        
         A field mask to restrict the fields that are updated. Only
         top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
        
         If
         [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask]
         is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
         [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
         will only contains fields that is updated, plus the Id of the Job.
         Otherwise,  [Job][google.cloud.talent.v4beta1.Job] will include all fields,
         which can yield a very large response.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        getUpdateMaskOrBuilder in interface BatchUpdateJobsRequestOrBuilder
      • setUnknownFields

        public final BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.Builder>
      • mergeUnknownFields

        public final BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.Builder>