public final class BatchDeleteDocumentsMetadata extends GeneratedMessageV3 implements BatchDeleteDocumentsMetadataOrBuilder
Protobuf type google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int COMMON_METADATA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ERROR_DOCUMENT_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INDIVIDUAL_BATCH_DELETE_STATUSES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TOTAL_DOCUMENT_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static BatchDeleteDocumentsMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static BatchDeleteDocumentsMetadata.Builder newBuilder()
public static BatchDeleteDocumentsMetadata.Builder newBuilder(BatchDeleteDocumentsMetadata prototype)
public static BatchDeleteDocumentsMetadata parseDelimitedFrom(InputStream input)
public static BatchDeleteDocumentsMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteDocumentsMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static BatchDeleteDocumentsMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteDocumentsMetadata parseFrom(ByteString data)
public static BatchDeleteDocumentsMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteDocumentsMetadata parseFrom(CodedInputStream input)
public static BatchDeleteDocumentsMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteDocumentsMetadata parseFrom(InputStream input)
public static BatchDeleteDocumentsMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteDocumentsMetadata parseFrom(ByteBuffer data)
public static BatchDeleteDocumentsMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<BatchDeleteDocumentsMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public CommonOperationMetadata getCommonMetadata()
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 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 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 Parser<BatchDeleteDocumentsMetadata> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchDeleteDocumentsMetadata.Builder newBuilderForType()
protected BatchDeleteDocumentsMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public BatchDeleteDocumentsMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides