public static final class BatchDeleteDocumentsMetadata.Builder extends GeneratedMessageV3.Builder<BatchDeleteDocumentsMetadata.Builder> implements BatchDeleteDocumentsMetadataOrBuilder
Protobuf type google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchDeleteDocumentsMetadata.Builder addAllIndividualBatchDeleteStatuses(Iterable<? extends BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus> values)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus>
|
public BatchDeleteDocumentsMetadata.Builder addIndividualBatchDeleteStatuses(BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus value)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public BatchDeleteDocumentsMetadata.Builder addIndividualBatchDeleteStatuses(BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder builderForValue)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public BatchDeleteDocumentsMetadata.Builder addIndividualBatchDeleteStatuses(int index, BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus value)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public BatchDeleteDocumentsMetadata.Builder addIndividualBatchDeleteStatuses(int index, BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder builderForValue)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder addIndividualBatchDeleteStatusesBuilder()
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder addIndividualBatchDeleteStatusesBuilder(int index)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
Parameter |
---|
Name | Description |
index | int
|
public BatchDeleteDocumentsMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchDeleteDocumentsMetadata build()
public BatchDeleteDocumentsMetadata buildPartial()
public BatchDeleteDocumentsMetadata.Builder clear()
Overrides
public BatchDeleteDocumentsMetadata.Builder clearCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
public BatchDeleteDocumentsMetadata.Builder clearErrorDocumentCount()
Total number of documents that failed to be deleted in storage.
int32 error_document_count = 4;
public BatchDeleteDocumentsMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchDeleteDocumentsMetadata.Builder clearIndividualBatchDeleteStatuses()
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public BatchDeleteDocumentsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BatchDeleteDocumentsMetadata.Builder clearTotalDocumentCount()
Total number of documents deleting from dataset.
int32 total_document_count = 3;
public BatchDeleteDocumentsMetadata.Builder clone()
Overrides
public CommonOperationMetadata getCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
public CommonOperationMetadata.Builder getCommonMetadataBuilder()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
public BatchDeleteDocumentsMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public int getErrorDocumentCount()
Total number of documents that failed to be deleted in storage.
int32 error_document_count = 4;
Returns |
---|
Type | Description |
int | The errorDocumentCount.
|
public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus getIndividualBatchDeleteStatuses(int index)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
Parameter |
---|
Name | Description |
index | int
|
public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder getIndividualBatchDeleteStatusesBuilder(int index)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
Parameter |
---|
Name | Description |
index | int
|
public List<BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder> getIndividualBatchDeleteStatusesBuilderList()
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public int getIndividualBatchDeleteStatusesCount()
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
Returns |
---|
Type | Description |
int | |
public List<BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus> getIndividualBatchDeleteStatusesList()
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatusOrBuilder getIndividualBatchDeleteStatusesOrBuilder(int index)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatusOrBuilder> getIndividualBatchDeleteStatusesOrBuilderList()
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatusOrBuilder> | |
public int getTotalDocumentCount()
Total number of documents deleting from dataset.
int32 total_document_count = 3;
Returns |
---|
Type | Description |
int | The totalDocumentCount.
|
public boolean hasCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Returns |
---|
Type | Description |
boolean | Whether the commonMetadata field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchDeleteDocumentsMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
public BatchDeleteDocumentsMetadata.Builder mergeFrom(BatchDeleteDocumentsMetadata other)
public BatchDeleteDocumentsMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchDeleteDocumentsMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final BatchDeleteDocumentsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BatchDeleteDocumentsMetadata.Builder removeIndividualBatchDeleteStatuses(int index)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
Parameter |
---|
Name | Description |
index | int
|
public BatchDeleteDocumentsMetadata.Builder setCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
public BatchDeleteDocumentsMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
public BatchDeleteDocumentsMetadata.Builder setErrorDocumentCount(int value)
Total number of documents that failed to be deleted in storage.
int32 error_document_count = 4;
Parameter |
---|
Name | Description |
value | int
The errorDocumentCount to set.
|
public BatchDeleteDocumentsMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchDeleteDocumentsMetadata.Builder setIndividualBatchDeleteStatuses(int index, BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus value)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public BatchDeleteDocumentsMetadata.Builder setIndividualBatchDeleteStatuses(int index, BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder builderForValue)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;
public BatchDeleteDocumentsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public BatchDeleteDocumentsMetadata.Builder setTotalDocumentCount(int value)
Total number of documents deleting from dataset.
int32 total_document_count = 3;
Parameter |
---|
Name | Description |
value | int
The totalDocumentCount to set.
|
public final BatchDeleteDocumentsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides