Package com.google.cloud.talent.v4
Class BatchUpdateJobsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchUpdateJobsRequest.Builder>
com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder
- All Implemented Interfaces:
BatchUpdateJobsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchUpdateJobsRequest
public static final class BatchUpdateJobsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchUpdateJobsRequest.Builder>
implements BatchUpdateJobsRequestOrBuilder
Request to update a batch of jobs.Protobuf type
google.cloud.talent.v4.BatchUpdateJobsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllJobs(Iterable<? extends Job> values) Required.Required.addJobs(int index, Job.Builder builderForValue) Required.Required.addJobs(Job.Builder builderForValue) Required.Required.addJobsBuilder(int index) Required.build()clear()Required.Required.Strongly recommended for the best service experience.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetJobs(int index) Required.getJobsBuilder(int index) Required.Required.intRequired.Required.getJobsOrBuilder(int index) Required.List<? extends JobOrBuilder>Required.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.FieldMaskStrongly recommended for the best service experience.com.google.protobuf.FieldMask.BuilderStrongly recommended for the best service experience.com.google.protobuf.FieldMaskOrBuilderStrongly recommended for the best service experience.booleanStrongly recommended for the best service experience.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(BatchUpdateJobsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateMask(com.google.protobuf.FieldMask value) Strongly recommended for the best service experience.removeJobs(int index) Required.Required.setJobs(int index, Job.Builder builderForValue) Required.Required.setParentBytes(com.google.protobuf.ByteString value) Required.setUpdateMask(com.google.protobuf.FieldMask value) Strongly recommended for the best service experience.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Strongly recommended for the best service experience.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchUpdateJobsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchUpdateJobsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BatchUpdateJobsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchUpdateJobsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchUpdateJobsRequest.Builder>
-
mergeFrom
public BatchUpdateJobsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchUpdateJobsRequest.Builder>- Throws:
IOException
-
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:
getParentin interfaceBatchUpdateJobsRequestOrBuilder- 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:
getParentBytesin interfaceBatchUpdateJobsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
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
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
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
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getJobsListin interfaceBatchUpdateJobsRequestOrBuilder
-
getJobsCount
public int getJobsCount()Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getJobsCountin interfaceBatchUpdateJobsRequestOrBuilder
-
getJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getJobsin interfaceBatchUpdateJobsRequestOrBuilder
-
setJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
setJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
addJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
addJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
addJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
addJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
addAllJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
removeJobs
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
getJobsBuilder
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
getJobsOrBuilder
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getJobsOrBuilderin interfaceBatchUpdateJobsRequestOrBuilder
-
getJobsOrBuilderList
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getJobsOrBuilderListin interfaceBatchUpdateJobsRequestOrBuilder
-
addJobsBuilder
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
addJobsBuilder
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; -
getJobsBuilderList
Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.
repeated .google.cloud.talent.v4.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.v4.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in [Job][google.cloud.talent.v4.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.v4.Job] are supported. If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4.Job] inside [JobResult][google.cloud.talent.v4.JobResult] will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job][google.cloud.talent.v4.Job] will include all fields, which can yield a very large response.
.google.protobuf.FieldMask update_mask = 3;- Specified by:
hasUpdateMaskin interfaceBatchUpdateJobsRequestOrBuilder- 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.v4.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in [Job][google.cloud.talent.v4.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.v4.Job] are supported. If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4.Job] inside [JobResult][google.cloud.talent.v4.JobResult] will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job][google.cloud.talent.v4.Job] will include all fields, which can yield a very large response.
.google.protobuf.FieldMask update_mask = 3;- Specified by:
getUpdateMaskin interfaceBatchUpdateJobsRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
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.v4.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in [Job][google.cloud.talent.v4.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.v4.Job] are supported. If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4.Job] inside [JobResult][google.cloud.talent.v4.JobResult] will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job][google.cloud.talent.v4.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.v4.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in [Job][google.cloud.talent.v4.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.v4.Job] are supported. If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4.Job] inside [JobResult][google.cloud.talent.v4.JobResult] will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job][google.cloud.talent.v4.Job] will include all fields, which can yield a very large response.
.google.protobuf.FieldMask update_mask = 3; -
mergeUpdateMask
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.v4.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in [Job][google.cloud.talent.v4.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.v4.Job] are supported. If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4.Job] inside [JobResult][google.cloud.talent.v4.JobResult] will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job][google.cloud.talent.v4.Job] will include all fields, which can yield a very large response.
.google.protobuf.FieldMask update_mask = 3; -
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.v4.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in [Job][google.cloud.talent.v4.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.v4.Job] are supported. If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4.Job] inside [JobResult][google.cloud.talent.v4.JobResult] will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job][google.cloud.talent.v4.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.v4.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in [Job][google.cloud.talent.v4.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.v4.Job] are supported. If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4.Job] inside [JobResult][google.cloud.talent.v4.JobResult] will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job][google.cloud.talent.v4.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.v4.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in [Job][google.cloud.talent.v4.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.v4.Job] are supported. If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4.Job] inside [JobResult][google.cloud.talent.v4.JobResult] will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job][google.cloud.talent.v4.Job] will include all fields, which can yield a very large response.
.google.protobuf.FieldMask update_mask = 3;- Specified by:
getUpdateMaskOrBuilderin interfaceBatchUpdateJobsRequestOrBuilder
-