public static final class BatchDeleteDocumentsRequest.Builder extends GeneratedMessageV3.Builder<BatchDeleteDocumentsRequest.Builder> implements BatchDeleteDocumentsRequestOrBuilder
Protobuf type google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchDeleteDocumentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchDeleteDocumentsRequest build()
buildPartial()
public BatchDeleteDocumentsRequest buildPartial()
clear()
public BatchDeleteDocumentsRequest.Builder clear()
Overrides
clearDataset()
public BatchDeleteDocumentsRequest.Builder clearDataset()
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
clearDatasetDocuments()
public BatchDeleteDocumentsRequest.Builder clearDatasetDocuments()
Required. Dataset documents input. If given filter
, all documents
satisfying the filter will be deleted. If given documentIds, a maximum of
50 documents can be deleted in a batch. The request will be rejected if
more than 50 document_ids are provided.
.google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public BatchDeleteDocumentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchDeleteDocumentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BatchDeleteDocumentsRequest.Builder clone()
Overrides
getDataset()
public String getDataset()
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The dataset.
|
getDatasetBytes()
public ByteString getDatasetBytes()
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for dataset.
|
getDatasetDocuments()
public BatchDatasetDocuments getDatasetDocuments()
Required. Dataset documents input. If given filter
, all documents
satisfying the filter will be deleted. If given documentIds, a maximum of
50 documents can be deleted in a batch. The request will be rejected if
more than 50 document_ids are provided.
.google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetDocumentsBuilder()
public BatchDatasetDocuments.Builder getDatasetDocumentsBuilder()
Required. Dataset documents input. If given filter
, all documents
satisfying the filter will be deleted. If given documentIds, a maximum of
50 documents can be deleted in a batch. The request will be rejected if
more than 50 document_ids are provided.
.google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
getDatasetDocumentsOrBuilder()
public BatchDatasetDocumentsOrBuilder getDatasetDocumentsOrBuilder()
Required. Dataset documents input. If given filter
, all documents
satisfying the filter will be deleted. If given documentIds, a maximum of
50 documents can be deleted in a batch. The request will be rejected if
more than 50 document_ids are provided.
.google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public BatchDeleteDocumentsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasDatasetDocuments()
public boolean hasDatasetDocuments()
Required. Dataset documents input. If given filter
, all documents
satisfying the filter will be deleted. If given documentIds, a maximum of
50 documents can be deleted in a batch. The request will be rejected if
more than 50 document_ids are provided.
.google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the datasetDocuments field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDatasetDocuments(BatchDatasetDocuments value)
public BatchDeleteDocumentsRequest.Builder mergeDatasetDocuments(BatchDatasetDocuments value)
Required. Dataset documents input. If given filter
, all documents
satisfying the filter will be deleted. If given documentIds, a maximum of
50 documents can be deleted in a batch. The request will be rejected if
more than 50 document_ids are provided.
.google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(BatchDeleteDocumentsRequest other)
public BatchDeleteDocumentsRequest.Builder mergeFrom(BatchDeleteDocumentsRequest other)
public BatchDeleteDocumentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchDeleteDocumentsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchDeleteDocumentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDataset(String value)
public BatchDeleteDocumentsRequest.Builder setDataset(String value)
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The dataset to set.
|
setDatasetBytes(ByteString value)
public BatchDeleteDocumentsRequest.Builder setDatasetBytes(ByteString value)
Required. The dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for dataset to set.
|
setDatasetDocuments(BatchDatasetDocuments value)
public BatchDeleteDocumentsRequest.Builder setDatasetDocuments(BatchDatasetDocuments value)
Required. Dataset documents input. If given filter
, all documents
satisfying the filter will be deleted. If given documentIds, a maximum of
50 documents can be deleted in a batch. The request will be rejected if
more than 50 document_ids are provided.
.google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
setDatasetDocuments(BatchDatasetDocuments.Builder builderForValue)
public BatchDeleteDocumentsRequest.Builder setDatasetDocuments(BatchDatasetDocuments.Builder builderForValue)
Required. Dataset documents input. If given filter
, all documents
satisfying the filter will be deleted. If given documentIds, a maximum of
50 documents can be deleted in a batch. The request will be rejected if
more than 50 document_ids are provided.
.google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public BatchDeleteDocumentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchDeleteDocumentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchDeleteDocumentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides