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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ImportDocumentsMetadata.IndividualImportStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportDocumentsMetadata.IndividualImportStatus build()
public ImportDocumentsMetadata.IndividualImportStatus buildPartial()
public ImportDocumentsMetadata.IndividualImportStatus.Builder clear()
Overrides
public ImportDocumentsMetadata.IndividualImportStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImportDocumentsMetadata.IndividualImportStatus.Builder clearInputGcsSource()
The source Cloud Storage URI of the document.
string input_gcs_source = 1;
public ImportDocumentsMetadata.IndividualImportStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
public ImportDocumentsMetadata.IndividualImportStatus.Builder clearStatus()
The status of the importing of the document.
.google.rpc.Status status = 2;
public ImportDocumentsMetadata.IndividualImportStatus.Builder clone()
Overrides
public ImportDocumentsMetadata.IndividualImportStatus getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getInputGcsSource()
The source Cloud Storage URI of the document.
string input_gcs_source = 1;
Returns |
---|
Type | Description |
String | The inputGcsSource.
|
public ByteString getInputGcsSourceBytes()
The source Cloud Storage URI of the document.
string input_gcs_source = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for inputGcsSource.
|
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.
|
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;
public DocumentIdOrBuilder getOutputDocumentIdOrBuilder()
The document id of imported document if it was successful, otherwise
empty.
.google.cloud.documentai.v1beta3.DocumentId output_document_id = 4;
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.
|
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 | |
public StatusOrBuilder getStatusOrBuilder()
The status of the importing of the document.
.google.rpc.Status status = 2;
Returns |
---|
Type | Description |
com.google.rpc.StatusOrBuilder | |
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeFrom(ImportDocumentsMetadata.IndividualImportStatus other)
public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportDocumentsMetadata.IndividualImportStatus.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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;
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
|
public final ImportDocumentsMetadata.IndividualImportStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportDocumentsMetadata.IndividualImportStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
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;
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;
public ImportDocumentsMetadata.IndividualImportStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
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
|
public final ImportDocumentsMetadata.IndividualImportStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides