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

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

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

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

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

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

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

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

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

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

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

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

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

        public List<Job> getJobsList()
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getJobsList in interface BatchCreateJobsRequestOrBuilder
      • getJobsCount

        public int getJobsCount()
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getJobsCount in interface BatchCreateJobsRequestOrBuilder
      • getJobs

        public Job getJobs​(int index)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getJobs in interface BatchCreateJobsRequestOrBuilder
      • setJobs

        public BatchCreateJobsRequest.Builder setJobs​(int index,
                                                      Job value)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • setJobs

        public BatchCreateJobsRequest.Builder setJobs​(int index,
                                                      Job.Builder builderForValue)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobs

        public BatchCreateJobsRequest.Builder addJobs​(Job value)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobs

        public BatchCreateJobsRequest.Builder addJobs​(int index,
                                                      Job value)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobs

        public BatchCreateJobsRequest.Builder addJobs​(Job.Builder builderForValue)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobs

        public BatchCreateJobsRequest.Builder addJobs​(int index,
                                                      Job.Builder builderForValue)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addAllJobs

        public BatchCreateJobsRequest.Builder addAllJobs​(Iterable<? extends Job> values)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearJobs

        public BatchCreateJobsRequest.Builder clearJobs()
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeJobs

        public BatchCreateJobsRequest.Builder removeJobs​(int index)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • getJobsBuilder

        public Job.Builder getJobsBuilder​(int index)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • getJobsOrBuilder

        public JobOrBuilder getJobsOrBuilder​(int index)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getJobsOrBuilder in interface BatchCreateJobsRequestOrBuilder
      • getJobsOrBuilderList

        public List<? extends JobOrBuilder> getJobsOrBuilderList()
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getJobsOrBuilderList in interface BatchCreateJobsRequestOrBuilder
      • addJobsBuilder

        public Job.Builder addJobsBuilder()
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addJobsBuilder

        public Job.Builder addJobsBuilder​(int index)
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • getJobsBuilderList

        public List<Job.Builder> getJobsBuilderList()
         Required. The jobs to be created.
         A maximum of 200 jobs can be created in a batch.
         
        repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

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

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