Class ImportDocumentsMetadata.ImportConfigValidationResult.Builder (2.47.0)

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 an error if there are no documents to import in the import_config, or OK if the operation will try to proceed with at least one document.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInputGcsSource()

public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clearInputGcsSource()

The source Cloud Storage URI specified in the import config.

string input_gcs_source = 1;

Returns
Type Description
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clearStatus()

The validation status of import config.

.google.rpc.Status status = 2;

Returns
Type Description
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getInputGcsSource()

public String getInputGcsSource()

The source Cloud Storage URI specified in the import config.

string input_gcs_source = 1;

Returns
Type Description
String

The inputGcsSource.

getInputGcsSourceBytes()

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.

getStatus()

public Status getStatus()

The validation status of import config.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The validation status of import config.

.google.rpc.Status status = 2;

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

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The validation status of import config.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasStatus()

public boolean hasStatus()

The validation status of import config.

.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.ImportConfigValidationResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStatus(Status value)

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
Returns
Type Description
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputGcsSource(String value)

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.

Returns
Type Description
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

This builder for chaining.

setInputGcsSourceBytes(ByteString value)

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.

Returns
Type Description
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

This builder for chaining.

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

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

setStatus(Status value)

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
Returns
Type Description
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

setStatus(Status.Builder builderForValue)

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
Returns
Type Description
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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