Class TrainProcessorVersionMetadata.Builder (2.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrainProcessorVersionMetadata build()
Returns
TypeDescription
TrainProcessorVersionMetadata

buildPartial()

public TrainProcessorVersionMetadata buildPartial()
Returns
TypeDescription
TrainProcessorVersionMetadata

clear()

public TrainProcessorVersionMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
TrainProcessorVersionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public TrainProcessorVersionMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TrainProcessorVersionMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTestDatasetValidation()

public TrainProcessorVersionMetadata.Builder clearTestDatasetValidation()

The test dataset validation information.

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

Returns
TypeDescription
TrainProcessorVersionMetadata.Builder

clearTrainingDatasetValidation()

public TrainProcessorVersionMetadata.Builder clearTrainingDatasetValidation()

The training dataset validation information.

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

Returns
TypeDescription
TrainProcessorVersionMetadata.Builder

clone()

public TrainProcessorVersionMetadata.Builder clone()
Returns
TypeDescription
TrainProcessorVersionMetadata.Builder
Overrides

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata of the long running operation.

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

Returns
TypeDescription
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
TypeDescription
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long running operation.

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

Returns
TypeDescription
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public TrainProcessorVersionMetadata getDefaultInstanceForType()
Returns
TypeDescription
TrainProcessorVersionMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTestDatasetValidation()

public TrainProcessorVersionMetadata.DatasetValidation getTestDatasetValidation()

The test dataset validation information.

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

Returns
TypeDescription
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
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation.Builder

getTestDatasetValidationOrBuilder()

public TrainProcessorVersionMetadata.DatasetValidationOrBuilder getTestDatasetValidationOrBuilder()

The test dataset validation information.

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

Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidationOrBuilder

getTrainingDatasetValidation()

public TrainProcessorVersionMetadata.DatasetValidation getTrainingDatasetValidation()

The training dataset validation information.

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

Returns
TypeDescription
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
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation.Builder

getTrainingDatasetValidationOrBuilder()

public TrainProcessorVersionMetadata.DatasetValidationOrBuilder getTrainingDatasetValidationOrBuilder()

The training dataset validation information.

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

Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidationOrBuilder

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata of the long running operation.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the trainingDatasetValidation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
TrainProcessorVersionMetadata.Builder

mergeFrom(TrainProcessorVersionMetadata other)

public TrainProcessorVersionMetadata.Builder mergeFrom(TrainProcessorVersionMetadata other)
Parameter
NameDescription
otherTrainProcessorVersionMetadata
Returns
TypeDescription
TrainProcessorVersionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TrainProcessorVersionMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTrainProcessorVersionMetadata.DatasetValidation
Returns
TypeDescription
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
NameDescription
valueTrainProcessorVersionMetadata.DatasetValidation
Returns
TypeDescription
TrainProcessorVersionMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrainProcessorVersionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
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
NameDescription
builderForValueCommonOperationMetadata.Builder
Returns
TypeDescription
TrainProcessorVersionMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TrainProcessorVersionMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TrainProcessorVersionMetadata.Builder
Overrides

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

public TrainProcessorVersionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTrainProcessorVersionMetadata.DatasetValidation
Returns
TypeDescription
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
NameDescription
builderForValueTrainProcessorVersionMetadata.DatasetValidation.Builder
Returns
TypeDescription
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
NameDescription
valueTrainProcessorVersionMetadata.DatasetValidation
Returns
TypeDescription
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
NameDescription
builderForValueTrainProcessorVersionMetadata.DatasetValidation.Builder
Returns
TypeDescription
TrainProcessorVersionMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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