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.Builder
addAllNames(Iterable<String> values)
The names of the jobs to delete.BatchDeleteJobsRequest.Builder
addNames(String value)
The names of the jobs to delete.BatchDeleteJobsRequest.Builder
addNamesBytes(com.google.protobuf.ByteString value)
The names of the jobs to delete.BatchDeleteJobsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchDeleteJobsRequest
build()
BatchDeleteJobsRequest
buildPartial()
BatchDeleteJobsRequest.Builder
clear()
BatchDeleteJobsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BatchDeleteJobsRequest.Builder
clearNames()
The names of the jobs to delete.BatchDeleteJobsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BatchDeleteJobsRequest.Builder
clearParent()
Required.BatchDeleteJobsRequest.Builder
clone()
BatchDeleteJobsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNames(int index)
The names of the jobs to delete.com.google.protobuf.ByteString
getNamesBytes(int index)
The names of the jobs to delete.int
getNamesCount()
The names of the jobs to delete.com.google.protobuf.ProtocolStringList
getNamesList()
The names of the jobs to delete.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BatchDeleteJobsRequest.Builder
mergeFrom(BatchDeleteJobsRequest other)
BatchDeleteJobsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BatchDeleteJobsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
BatchDeleteJobsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BatchDeleteJobsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchDeleteJobsRequest.Builder
setNames(int index, String value)
The names of the jobs to delete.BatchDeleteJobsRequest.Builder
setParent(String value)
Required.BatchDeleteJobsRequest.Builder
setParentBytes(com.google.protobuf.ByteString value)
Required.BatchDeleteJobsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BatchDeleteJobsRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
clear
public BatchDeleteJobsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
getDefaultInstanceForType
public BatchDeleteJobsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchDeleteJobsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchDeleteJobsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchDeleteJobsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
setField
public BatchDeleteJobsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
clearField
public BatchDeleteJobsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
clearOneof
public BatchDeleteJobsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
setRepeatedField
public BatchDeleteJobsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
addRepeatedField
public BatchDeleteJobsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
mergeFrom
public BatchDeleteJobsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchDeleteJobsRequest.Builder>
-
mergeFrom
public BatchDeleteJobsRequest.Builder mergeFrom(BatchDeleteJobsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getParent
in 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:
getParentBytes
in 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:
getNamesList
in 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:
getNamesCount
in 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:
getNames
in 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:
getNamesBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
mergeUnknownFields
public final BatchDeleteJobsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder>
-
-