Class ImportDocumentsMetadata.IndividualImportStatus.Builder (2.50.0)

public static final class ImportDocumentsMetadata.IndividualImportStatus.Builder extends GeneratedMessageV3.Builder<ImportDocumentsMetadata.IndividualImportStatus.Builder> implements ImportDocumentsMetadata.IndividualImportStatusOrBuilder

The status of each individual document in the import process.

Protobuf type google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportDocumentsMetadata.IndividualImportStatus.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportDocumentsMetadata.IndividualImportStatus build()
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus

buildPartial()

public ImportDocumentsMetadata.IndividualImportStatus buildPartial()
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus

clear()

public ImportDocumentsMetadata.IndividualImportStatus.Builder clear()
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportDocumentsMetadata.IndividualImportStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

clearInputGcsSource()

public ImportDocumentsMetadata.IndividualImportStatus.Builder clearInputGcsSource()

The source Cloud Storage URI of the document.

string input_gcs_source = 1;

Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDocumentsMetadata.IndividualImportStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

clearOutputDocumentId()

public ImportDocumentsMetadata.IndividualImportStatus.Builder clearOutputDocumentId()

The document id of imported document if it was successful, otherwise empty.

.google.cloud.documentai.v1beta3.DocumentId output_document_id = 4;

Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

clearStatus()

public ImportDocumentsMetadata.IndividualImportStatus.Builder clearStatus()

The status of the importing of the document.

.google.rpc.Status status = 2;

Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

clone()

public ImportDocumentsMetadata.IndividualImportStatus.Builder clone()
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

getDefaultInstanceForType()

public ImportDocumentsMetadata.IndividualImportStatus getDefaultInstanceForType()
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus

getDescriptorForType()

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

getInputGcsSource()

public String getInputGcsSource()

The source Cloud Storage URI of the document.

string input_gcs_source = 1;

Returns
Type Description
String

The inputGcsSource.

getInputGcsSourceBytes()

public ByteString getInputGcsSourceBytes()

The source Cloud Storage URI of the document.

string input_gcs_source = 1;

Returns
Type Description
ByteString

The bytes for inputGcsSource.

getOutputDocumentId()

public DocumentId getOutputDocumentId()

The document id of imported document if it was successful, otherwise empty.

.google.cloud.documentai.v1beta3.DocumentId output_document_id = 4;

Returns
Type Description
DocumentId

The outputDocumentId.

getOutputDocumentIdBuilder()

public DocumentId.Builder getOutputDocumentIdBuilder()

The document id of imported document if it was successful, otherwise empty.

.google.cloud.documentai.v1beta3.DocumentId output_document_id = 4;

Returns
Type Description
DocumentId.Builder

getOutputDocumentIdOrBuilder()

public DocumentIdOrBuilder getOutputDocumentIdOrBuilder()

The document id of imported document if it was successful, otherwise empty.

.google.cloud.documentai.v1beta3.DocumentId output_document_id = 4;

Returns
Type Description
DocumentIdOrBuilder

getStatus()

public Status getStatus()

The status of the importing of the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status of the importing of the document.

.google.rpc.Status status = 2;

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

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status of the importing of the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasOutputDocumentId()

public boolean hasOutputDocumentId()

The document id of imported document if it was successful, otherwise empty.

.google.cloud.documentai.v1beta3.DocumentId output_document_id = 4;

Returns
Type Description
boolean

Whether the outputDocumentId field is set.

hasStatus()

public boolean hasStatus()

The status of the importing of the document.

.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

mergeFrom(ImportDocumentsMetadata.IndividualImportStatus other)

public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeFrom(ImportDocumentsMetadata.IndividualImportStatus other)
Parameter
Name Description
other ImportDocumentsMetadata.IndividualImportStatus
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

mergeOutputDocumentId(DocumentId value)

public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeOutputDocumentId(DocumentId value)

The document id of imported document if it was successful, otherwise empty.

.google.cloud.documentai.v1beta3.DocumentId output_document_id = 4;

Parameter
Name Description
value DocumentId
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

mergeStatus(Status value)

public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeStatus(Status value)

The status of the importing of the document.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsMetadata.IndividualImportStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputGcsSource(String value)

public ImportDocumentsMetadata.IndividualImportStatus.Builder setInputGcsSource(String value)

The source Cloud Storage URI of the document.

string input_gcs_source = 1;

Parameter
Name Description
value String

The inputGcsSource to set.

Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

This builder for chaining.

setInputGcsSourceBytes(ByteString value)

public ImportDocumentsMetadata.IndividualImportStatus.Builder setInputGcsSourceBytes(ByteString value)

The source Cloud Storage URI of the document.

string input_gcs_source = 1;

Parameter
Name Description
value ByteString

The bytes for inputGcsSource to set.

Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

This builder for chaining.

setOutputDocumentId(DocumentId value)

public ImportDocumentsMetadata.IndividualImportStatus.Builder setOutputDocumentId(DocumentId value)

The document id of imported document if it was successful, otherwise empty.

.google.cloud.documentai.v1beta3.DocumentId output_document_id = 4;

Parameter
Name Description
value DocumentId
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

setOutputDocumentId(DocumentId.Builder builderForValue)

public ImportDocumentsMetadata.IndividualImportStatus.Builder setOutputDocumentId(DocumentId.Builder builderForValue)

The document id of imported document if it was successful, otherwise empty.

.google.cloud.documentai.v1beta3.DocumentId output_document_id = 4;

Parameter
Name Description
builderForValue DocumentId.Builder
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

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

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

setStatus(Status value)

public ImportDocumentsMetadata.IndividualImportStatus.Builder setStatus(Status value)

The status of the importing of the document.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

setStatus(Status.Builder builderForValue)

public ImportDocumentsMetadata.IndividualImportStatus.Builder setStatus(Status.Builder builderForValue)

The status of the importing of the document.

.google.rpc.Status status = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsMetadata.IndividualImportStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides