public final class ImportDocumentsMetadata extends GeneratedMessageV3 implements ImportDocumentsMetadataOrBuilder
Metadata of the import document operation.
Protobuf type google.cloud.documentai.v1beta3.ImportDocumentsMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int COMMON_METADATA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IMPORT_CONFIG_VALIDATION_RESULTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INDIVIDUAL_IMPORT_STATUSES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TOTAL_DOCUMENT_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ImportDocumentsMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ImportDocumentsMetadata.Builder newBuilder()
public static ImportDocumentsMetadata.Builder newBuilder(ImportDocumentsMetadata prototype)
public static ImportDocumentsMetadata parseDelimitedFrom(InputStream input)
public static ImportDocumentsMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ImportDocumentsMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsMetadata parseFrom(ByteString data)
public static ImportDocumentsMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsMetadata parseFrom(CodedInputStream input)
public static ImportDocumentsMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsMetadata parseFrom(InputStream input)
public static ImportDocumentsMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsMetadata parseFrom(ByteBuffer data)
public static ImportDocumentsMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ImportDocumentsMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public CommonOperationMetadata getCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
public ImportDocumentsMetadata getDefaultInstanceForType()
public ImportDocumentsMetadata.ImportConfigValidationResult getImportConfigValidationResults(int index)
Validation statuses of the batch documents import config.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4;
Parameter |
---|
Name | Description |
index | int
|
public int getImportConfigValidationResultsCount()
Validation statuses of the batch documents import config.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4;
Returns |
---|
Type | Description |
int | |
public List<ImportDocumentsMetadata.ImportConfigValidationResult> getImportConfigValidationResultsList()
Validation statuses of the batch documents import config.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4;
public ImportDocumentsMetadata.ImportConfigValidationResultOrBuilder getImportConfigValidationResultsOrBuilder(int index)
Validation statuses of the batch documents import config.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends ImportDocumentsMetadata.ImportConfigValidationResultOrBuilder> getImportConfigValidationResultsOrBuilderList()
Validation statuses of the batch documents import config.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResultOrBuilder> | |
public ImportDocumentsMetadata.IndividualImportStatus getIndividualImportStatuses(int index)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2;
Parameter |
---|
Name | Description |
index | int
|
public int getIndividualImportStatusesCount()
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2;
Returns |
---|
Type | Description |
int | |
public List<ImportDocumentsMetadata.IndividualImportStatus> getIndividualImportStatusesList()
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2;
public ImportDocumentsMetadata.IndividualImportStatusOrBuilder getIndividualImportStatusesOrBuilder(int index)
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends ImportDocumentsMetadata.IndividualImportStatusOrBuilder> getIndividualImportStatusesOrBuilderList()
The list of response details of each document.
repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatusOrBuilder> | |
public Parser<ImportDocumentsMetadata> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public int getTotalDocumentCount()
Total number of the documents that are qualified for importing.
int32 total_document_count = 3;
Returns |
---|
Type | Description |
int | The totalDocumentCount.
|
public boolean hasCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Returns |
---|
Type | Description |
boolean | Whether the commonMetadata field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportDocumentsMetadata.Builder newBuilderForType()
protected ImportDocumentsMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ImportDocumentsMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides