public static final class ImportDocumentsMetadata.ImportConfigValidationResult.Builder extends GeneratedMessageV3.Builder<ImportDocumentsMetadata.ImportConfigValidationResult.Builder> implements ImportDocumentsMetadata.ImportConfigValidationResultOrBuilder
The validation status of each import config. Status is set to errors if
there is no documents to import in the import_config, or OK if the
operation will try to proceed at least one document.
Protobuf type
google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.ImportConfigValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult build()
public ImportDocumentsMetadata.ImportConfigValidationResult buildPartial()
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clear()
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clearInputGcsSource()
The source Cloud Storage URI specified in the import config.
string input_gcs_source = 1;
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clearStatus()
The validation status of import config.
.google.rpc.Status status = 2;
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clone()
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getInputGcsSource()
The source Cloud Storage URI specified in the import config.
string input_gcs_source = 1;
Returns |
---|
Type | Description |
String | The inputGcsSource.
|
public ByteString getInputGcsSourceBytes()
The source Cloud Storage URI specified in the import config.
string input_gcs_source = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for inputGcsSource.
|
public Status getStatus()
The validation status of import config.
.google.rpc.Status status = 2;
Returns |
---|
Type | Description |
com.google.rpc.Status | The status.
|
public Status.Builder getStatusBuilder()
The validation status of import config.
.google.rpc.Status status = 2;
Returns |
---|
Type | Description |
com.google.rpc.Status.Builder | |
public StatusOrBuilder getStatusOrBuilder()
The validation status of import config.
.google.rpc.Status status = 2;
Returns |
---|
Type | Description |
com.google.rpc.StatusOrBuilder | |
public boolean hasStatus()
The validation status of import config.
.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.ImportConfigValidationResult.Builder mergeFrom(ImportDocumentsMetadata.ImportConfigValidationResult other)
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder mergeStatus(Status value)
The validation status of import config.
.google.rpc.Status status = 2;
Parameter |
---|
Name | Description |
value | com.google.rpc.Status
|
public final ImportDocumentsMetadata.ImportConfigValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder setInputGcsSource(String value)
The source Cloud Storage URI specified in the import config.
string input_gcs_source = 1;
Parameter |
---|
Name | Description |
value | String
The inputGcsSource to set.
|
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder setInputGcsSourceBytes(ByteString value)
The source Cloud Storage URI specified in the import config.
string input_gcs_source = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for inputGcsSource to set.
|
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder setStatus(Status value)
The validation status of import config.
.google.rpc.Status status = 2;
Parameter |
---|
Name | Description |
value | com.google.rpc.Status
|
public ImportDocumentsMetadata.ImportConfigValidationResult.Builder setStatus(Status.Builder builderForValue)
The validation status of import config.
.google.rpc.Status status = 2;
Parameter |
---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
public final ImportDocumentsMetadata.ImportConfigValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides