Package com.google.cloud.talent.v4
Class BatchDeleteJobsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
- com.google.cloud.talent.v4.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.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder> implements BatchDeleteJobsRequestOrBuilder
Request to delete a batch of jobs.
Protobuf typegoogle.cloud.talent.v4.BatchDeleteJobsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchDeleteJobsRequest.BuilderaddAllNames(Iterable<String> values)The names of the jobs to delete.BatchDeleteJobsRequest.BuilderaddNames(String value)The names of the jobs to delete.BatchDeleteJobsRequest.BuilderaddNamesBytes(com.google.protobuf.ByteString value)The names of the jobs to delete.BatchDeleteJobsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchDeleteJobsRequestbuild()BatchDeleteJobsRequestbuildPartial()BatchDeleteJobsRequest.Builderclear()BatchDeleteJobsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchDeleteJobsRequest.BuilderclearNames()The names of the jobs to delete.BatchDeleteJobsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchDeleteJobsRequest.BuilderclearParent()Required.BatchDeleteJobsRequest.Builderclone()BatchDeleteJobsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNames(int index)The names of the jobs to delete.com.google.protobuf.ByteStringgetNamesBytes(int index)The names of the jobs to delete.intgetNamesCount()The names of the jobs to delete.com.google.protobuf.ProtocolStringListgetNamesList()The names of the jobs to delete.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchDeleteJobsRequest.BuildermergeFrom(BatchDeleteJobsRequest other)BatchDeleteJobsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchDeleteJobsRequest.BuildermergeFrom(com.google.protobuf.Message other)BatchDeleteJobsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchDeleteJobsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchDeleteJobsRequest.BuildersetNames(int index, String value)The names of the jobs to delete.BatchDeleteJobsRequest.BuildersetParent(String value)Required.BatchDeleteJobsRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Required.BatchDeleteJobsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchDeleteJobsRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
clear
public BatchDeleteJobsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.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.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
getDefaultInstanceForType
public BatchDeleteJobsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchDeleteJobsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchDeleteJobsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchDeleteJobsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
setField
public BatchDeleteJobsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
clearField
public BatchDeleteJobsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
clearOneof
public BatchDeleteJobsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
setRepeatedField
public BatchDeleteJobsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
addRepeatedField
public BatchDeleteJobsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
mergeFrom
public BatchDeleteJobsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchDeleteJobsRequest.Builder>
-
mergeFrom
public BatchDeleteJobsRequest.Builder mergeFrom(BatchDeleteJobsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
mergeFrom
public BatchDeleteJobsRequest.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<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/tenants/bar". The parent of all of the jobs specified in `names` must match this field.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceBatchDeleteJobsRequestOrBuilder- 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". The parent of all of the jobs specified in `names` must match this field.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceBatchDeleteJobsRequestOrBuilder- 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/tenants/bar". The parent of all of the jobs specified in `names` must match this field.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/tenants/bar". The parent of all of the jobs specified in `names` must match this field.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/tenants/bar". The parent of all of the jobs specified in `names` must match this field.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.
-
getNamesList
public com.google.protobuf.ProtocolStringList getNamesList()
The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.repeated string names = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getNamesListin interfaceBatchDeleteJobsRequestOrBuilder- Returns:
- A list containing the names.
-
getNamesCount
public int getNamesCount()
The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.repeated string names = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getNamesCountin interfaceBatchDeleteJobsRequestOrBuilder- Returns:
- The count of names.
-
getNames
public String getNames(int index)
The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.repeated string names = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getNamesin interfaceBatchDeleteJobsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The names at the given index.
-
getNamesBytes
public com.google.protobuf.ByteString getNamesBytes(int index)
The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.repeated string names = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getNamesBytesin interfaceBatchDeleteJobsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the names at the given index.
-
setNames
public BatchDeleteJobsRequest.Builder setNames(int index, String value)
The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.repeated string names = 2 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The names to set.- Returns:
- This builder for chaining.
-
addNames
public BatchDeleteJobsRequest.Builder addNames(String value)
The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.repeated string names = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The names to add.- Returns:
- This builder for chaining.
-
addAllNames
public BatchDeleteJobsRequest.Builder addAllNames(Iterable<String> values)
The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.repeated string names = 2 [(.google.api.resource_reference) = { ... }- Parameters:
values- The names to add.- Returns:
- This builder for chaining.
-
clearNames
public BatchDeleteJobsRequest.Builder clearNames()
The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.repeated string names = 2 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addNamesBytes
public BatchDeleteJobsRequest.Builder addNamesBytes(com.google.protobuf.ByteString value)
The names of the jobs to delete. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch.repeated string names = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the names to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchDeleteJobsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
mergeUnknownFields
public final BatchDeleteJobsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
-