Class TrainProcessorVersionMetadata.Builder (2.57.0)

public static final class TrainProcessorVersionMetadata.Builder extends GeneratedMessageV3.Builder<TrainProcessorVersionMetadata.Builder> implements TrainProcessorVersionMetadataOrBuilder

The metadata that represents a processor version being created.

Protobuf type google.cloud.documentai.v1.TrainProcessorVersionMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrainProcessorVersionMetadata build()
Returns
Type Description
TrainProcessorVersionMetadata

buildPartial()

public TrainProcessorVersionMetadata buildPartial()
Returns
Type Description
TrainProcessorVersionMetadata

clear()

public TrainProcessorVersionMetadata.Builder clear()
Returns
Type Description
TrainProcessorVersionMetadata.Builder
Overrides

clearCommonMetadata()

public TrainProcessorVersionMetadata.Builder clearCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
Type Description
TrainProcessorVersionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTestDatasetValidation()

public TrainProcessorVersionMetadata.Builder clearTestDatasetValidation()

The test dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;

Returns
Type Description
TrainProcessorVersionMetadata.Builder

clearTrainingDatasetValidation()

public TrainProcessorVersionMetadata.Builder clearTrainingDatasetValidation()

The training dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;

Returns
Type Description
TrainProcessorVersionMetadata.Builder

clone()

public TrainProcessorVersionMetadata.Builder clone()
Returns
Type Description
TrainProcessorVersionMetadata.Builder
Overrides

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
Type Description
CommonOperationMetadata

The commonMetadata.

getCommonMetadataBuilder()

public CommonOperationMetadata.Builder getCommonMetadataBuilder()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
Type Description
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
Type Description
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public TrainProcessorVersionMetadata getDefaultInstanceForType()
Returns
Type Description
TrainProcessorVersionMetadata

getDescriptorForType()

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

getTestDatasetValidation()

public TrainProcessorVersionMetadata.DatasetValidation getTestDatasetValidation()

The test dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;

Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation

The testDatasetValidation.

getTestDatasetValidationBuilder()

public TrainProcessorVersionMetadata.DatasetValidation.Builder getTestDatasetValidationBuilder()

The test dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;

Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation.Builder

getTestDatasetValidationOrBuilder()

public TrainProcessorVersionMetadata.DatasetValidationOrBuilder getTestDatasetValidationOrBuilder()

The test dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;

Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidationOrBuilder

getTrainingDatasetValidation()

public TrainProcessorVersionMetadata.DatasetValidation getTrainingDatasetValidation()

The training dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;

Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation

The trainingDatasetValidation.

getTrainingDatasetValidationBuilder()

public TrainProcessorVersionMetadata.DatasetValidation.Builder getTrainingDatasetValidationBuilder()

The training dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;

Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation.Builder

getTrainingDatasetValidationOrBuilder()

public TrainProcessorVersionMetadata.DatasetValidationOrBuilder getTrainingDatasetValidationOrBuilder()

The training dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;

Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidationOrBuilder

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Returns
Type Description
boolean

Whether the commonMetadata field is set.

hasTestDatasetValidation()

public boolean hasTestDatasetValidation()

The test dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;

Returns
Type Description
boolean

Whether the testDatasetValidation field is set.

hasTrainingDatasetValidation()

public boolean hasTrainingDatasetValidation()

The training dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;

Returns
Type Description
boolean

Whether the trainingDatasetValidation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCommonMetadata(CommonOperationMetadata value)

public TrainProcessorVersionMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Parameter
Name Description
value CommonOperationMetadata
Returns
Type Description
TrainProcessorVersionMetadata.Builder

mergeFrom(TrainProcessorVersionMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTestDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)

public TrainProcessorVersionMetadata.Builder mergeTestDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)

The test dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;

Parameter
Name Description
value TrainProcessorVersionMetadata.DatasetValidation
Returns
Type Description
TrainProcessorVersionMetadata.Builder

mergeTrainingDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)

public TrainProcessorVersionMetadata.Builder mergeTrainingDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)

The training dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;

Parameter
Name Description
value TrainProcessorVersionMetadata.DatasetValidation
Returns
Type Description
TrainProcessorVersionMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommonMetadata(CommonOperationMetadata value)

public TrainProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Parameter
Name Description
value CommonOperationMetadata
Returns
Type Description
TrainProcessorVersionMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public TrainProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;

Parameter
Name Description
builderForValue CommonOperationMetadata.Builder
Returns
Type Description
TrainProcessorVersionMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTestDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)

public TrainProcessorVersionMetadata.Builder setTestDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)

The test dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;

Parameter
Name Description
value TrainProcessorVersionMetadata.DatasetValidation
Returns
Type Description
TrainProcessorVersionMetadata.Builder

setTestDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation.Builder builderForValue)

public TrainProcessorVersionMetadata.Builder setTestDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation.Builder builderForValue)

The test dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;

Parameter
Name Description
builderForValue TrainProcessorVersionMetadata.DatasetValidation.Builder
Returns
Type Description
TrainProcessorVersionMetadata.Builder

setTrainingDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)

public TrainProcessorVersionMetadata.Builder setTrainingDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)

The training dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;

Parameter
Name Description
value TrainProcessorVersionMetadata.DatasetValidation
Returns
Type Description
TrainProcessorVersionMetadata.Builder

setTrainingDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation.Builder builderForValue)

public TrainProcessorVersionMetadata.Builder setTrainingDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation.Builder builderForValue)

The training dataset validation information.

.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;

Parameter
Name Description
builderForValue TrainProcessorVersionMetadata.DatasetValidation.Builder
Returns
Type Description
TrainProcessorVersionMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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