Class ImportDocumentsMetadata.IndividualImportStatus.Builder (2.43.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportDocumentsMetadata.IndividualImportStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

build()

public ImportDocumentsMetadata.IndividualImportStatus build()
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus

buildPartial()

public ImportDocumentsMetadata.IndividualImportStatus buildPartial()
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus

clear()

public ImportDocumentsMetadata.IndividualImportStatus.Builder clear()
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportDocumentsMetadata.IndividualImportStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

clearInputGcsSource()

public ImportDocumentsMetadata.IndividualImportStatus.Builder clearInputGcsSource()

The source Cloud Storage URI of the document.

string input_gcs_source = 1;

Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDocumentsMetadata.IndividualImportStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder

clearStatus()

public ImportDocumentsMetadata.IndividualImportStatus.Builder clearStatus()

The status of the importing of the document.

.google.rpc.Status status = 2;

Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder

clone()

public ImportDocumentsMetadata.IndividualImportStatus.Builder clone()
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

getDefaultInstanceForType()

public ImportDocumentsMetadata.IndividualImportStatus getDefaultInstanceForType()
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputGcsSource()

public String getInputGcsSource()

The source Cloud Storage URI of the document.

string input_gcs_source = 1;

Returns
TypeDescription
String

The inputGcsSource.

getInputGcsSourceBytes()

public ByteString getInputGcsSourceBytes()

The source Cloud Storage URI of the document.

string input_gcs_source = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DocumentIdOrBuilder

getStatus()

public Status getStatus()

The status of the importing of the document.

.google.rpc.Status status = 2;

Returns
TypeDescription
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
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status of the importing of the document.

.google.rpc.Status status = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportDocumentsMetadata.IndividualImportStatus other)

public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeFrom(ImportDocumentsMetadata.IndividualImportStatus other)
Parameter
NameDescription
otherImportDocumentsMetadata.IndividualImportStatus
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDocumentId
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsMetadata.IndividualImportStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportDocumentsMetadata.IndividualImportStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The inputGcsSource to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for inputGcsSource to set.

Returns
TypeDescription
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
NameDescription
valueDocumentId
Returns
TypeDescription
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
NameDescription
builderForValueDocumentId.Builder
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder

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

public ImportDocumentsMetadata.IndividualImportStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsMetadata.IndividualImportStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportDocumentsMetadata.IndividualImportStatus.Builder
Overrides