Class BatchDeleteDocumentsMetadata (2.43.0)

public final class BatchDeleteDocumentsMetadata extends GeneratedMessageV3 implements BatchDeleteDocumentsMetadataOrBuilder

Protobuf type google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata

Static Fields

COMMON_METADATA_FIELD_NUMBER

public static final int COMMON_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_DOCUMENT_COUNT_FIELD_NUMBER

public static final int ERROR_DOCUMENT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

INDIVIDUAL_BATCH_DELETE_STATUSES_FIELD_NUMBER

public static final int INDIVIDUAL_BATCH_DELETE_STATUSES_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_DOCUMENT_COUNT_FIELD_NUMBER

public static final int TOTAL_DOCUMENT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchDeleteDocumentsMetadata getDefaultInstance()
Returns
TypeDescription
BatchDeleteDocumentsMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchDeleteDocumentsMetadata.Builder newBuilder()
Returns
TypeDescription
BatchDeleteDocumentsMetadata.Builder

newBuilder(BatchDeleteDocumentsMetadata prototype)

public static BatchDeleteDocumentsMetadata.Builder newBuilder(BatchDeleteDocumentsMetadata prototype)
Parameter
NameDescription
prototypeBatchDeleteDocumentsMetadata
Returns
TypeDescription
BatchDeleteDocumentsMetadata.Builder

parseDelimitedFrom(InputStream input)

public static BatchDeleteDocumentsMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteDocumentsMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchDeleteDocumentsMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteDocumentsMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchDeleteDocumentsMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteDocumentsMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchDeleteDocumentsMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteDocumentsMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchDeleteDocumentsMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteDocumentsMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchDeleteDocumentsMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteDocumentsMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteDocumentsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchDeleteDocumentsMetadata> parser()
Returns
TypeDescription
Parser<BatchDeleteDocumentsMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadata

The commonMetadata.

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public BatchDeleteDocumentsMetadata getDefaultInstanceForType()
Returns
TypeDescription
BatchDeleteDocumentsMetadata

getErrorDocumentCount()

public int getErrorDocumentCount()

Total number of documents that failed to be deleted in storage.

int32 error_document_count = 4;

Returns
TypeDescription
int

The errorDocumentCount.

getIndividualBatchDeleteStatuses(int index)

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
NameDescription
indexint
Returns
TypeDescription
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus

getIndividualBatchDeleteStatusesCount()

public int getIndividualBatchDeleteStatusesCount()

The list of response details of each document.

repeated .google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus individual_batch_delete_statuses = 2;

Returns
TypeDescription
int

getIndividualBatchDeleteStatusesList()

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;

Returns
TypeDescription
List<IndividualBatchDeleteStatus>

getIndividualBatchDeleteStatusesOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatusOrBuilder

getIndividualBatchDeleteStatusesOrBuilderList()

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
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatusOrBuilder>

getParserForType()

public Parser<BatchDeleteDocumentsMetadata> getParserForType()
Returns
TypeDescription
Parser<BatchDeleteDocumentsMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalDocumentCount()

public int getTotalDocumentCount()

Total number of documents deleting from dataset.

int32 total_document_count = 3;

Returns
TypeDescription
int

The totalDocumentCount.

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
boolean

Whether the commonMetadata field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchDeleteDocumentsMetadata.Builder newBuilderForType()
Returns
TypeDescription
BatchDeleteDocumentsMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchDeleteDocumentsMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchDeleteDocumentsMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchDeleteDocumentsMetadata.Builder toBuilder()
Returns
TypeDescription
BatchDeleteDocumentsMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException