Class BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder (2.50.0)

public static final class BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder extends GeneratedMessageV3.Builder<BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder> implements BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatusOrBuilder

The status of each individual document in the batch delete process.

Protobuf type google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides

build()

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus build()
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus

buildPartial()

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus buildPartial()
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus

clear()

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder clear()
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides

clearDocumentId()

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder clearDocumentId()

The document id of the document.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides

clearStatus()

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder clearStatus()

The status of deleting the document in storage.

.google.rpc.Status status = 2;

Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

clone()

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder clone()
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides

getDefaultInstanceForType()

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus getDefaultInstanceForType()
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDocumentId()

public DocumentId getDocumentId()

The document id of the document.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Returns
Type Description
DocumentId

The documentId.

getDocumentIdBuilder()

public DocumentId.Builder getDocumentIdBuilder()

The document id of the document.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Returns
Type Description
DocumentId.Builder

getDocumentIdOrBuilder()

public DocumentIdOrBuilder getDocumentIdOrBuilder()

The document id of the document.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Returns
Type Description
DocumentIdOrBuilder

getStatus()

public Status getStatus()

The status of deleting the document in storage.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status of deleting the document in storage.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status of deleting the document in storage.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasDocumentId()

public boolean hasDocumentId()

The document id of the document.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Returns
Type Description
boolean

Whether the documentId field is set.

hasStatus()

public boolean hasStatus()

The status of deleting the document in storage.

.google.rpc.Status status = 2;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDocumentId(DocumentId value)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder mergeDocumentId(DocumentId value)

The document id of the document.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Parameter
Name Description
value DocumentId
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

mergeFrom(BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus other)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder mergeFrom(BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus other)
Parameter
Name Description
other BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides

mergeStatus(Status value)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder mergeStatus(Status value)

The status of deleting the document in storage.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides

setDocumentId(DocumentId value)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder setDocumentId(DocumentId value)

The document id of the document.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Parameter
Name Description
value DocumentId
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

setDocumentId(DocumentId.Builder builderForValue)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder setDocumentId(DocumentId.Builder builderForValue)

The document id of the document.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Parameter
Name Description
builderForValue DocumentId.Builder
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides

setStatus(Status value)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder setStatus(Status value)

The status of deleting the document in storage.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

setStatus(Status.Builder builderForValue)

public BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder setStatus(Status.Builder builderForValue)

The status of deleting the document in storage.

.google.rpc.Status status = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus.Builder
Overrides