Class ImportDocumentsMetadata.ImportConfigValidationResult.Builder (2.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportDocumentsMetadata.ImportConfigValidationResult.Builder
Overrides

clearStatus()

public ImportDocumentsMetadata.ImportConfigValidationResult.Builder clearStatus()

The validation status of import config.

.google.rpc.Status status = 2;

Returns
TypeDescription
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputGcsSource()

public String getInputGcsSource()

The source Cloud Storage URI specified in the import config.

string input_gcs_source = 1;

Returns
TypeDescription
String

The inputGcsSource.

getInputGcsSourceBytes()

public ByteString getInputGcsSourceBytes()

The source Cloud Storage URI specified in the import config.

string input_gcs_source = 1;

Returns
TypeDescription
ByteString

The bytes for inputGcsSource.

getStatus()

public Status getStatus()

The validation status of import config.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The validation status of import config.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The validation status of import config.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

hasStatus()

public boolean hasStatus()

The validation status of import config.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The inputGcsSource to set.

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

The bytes for inputGcsSource to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportDocumentsMetadata.ImportConfigValidationResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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