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.v1beta3.TrainProcessorVersionMetadata
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()
Returns
Methods
public TrainProcessorVersionMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TrainProcessorVersionMetadata build()
Returns
public TrainProcessorVersionMetadata buildPartial()
Returns
public TrainProcessorVersionMetadata.Builder clear()
Returns
Overrides
public TrainProcessorVersionMetadata.Builder clearCommonMetadata()
The basic metadata of the long running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Returns
public TrainProcessorVersionMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TrainProcessorVersionMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TrainProcessorVersionMetadata.Builder clearTestDatasetValidation()
The test dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;
Returns
public TrainProcessorVersionMetadata.Builder clearTrainingDatasetValidation()
The training dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;
Returns
public TrainProcessorVersionMetadata.Builder clone()
Returns
Overrides
public CommonOperationMetadata getCommonMetadata()
The basic metadata of the long running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Returns
public CommonOperationMetadata.Builder getCommonMetadataBuilder()
The basic metadata of the long running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Returns
public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()
The basic metadata of the long running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Returns
public TrainProcessorVersionMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public TrainProcessorVersionMetadata.DatasetValidation getTestDatasetValidation()
The test dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;
Returns
public TrainProcessorVersionMetadata.DatasetValidation.Builder getTestDatasetValidationBuilder()
The test dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;
Returns
public TrainProcessorVersionMetadata.DatasetValidationOrBuilder getTestDatasetValidationOrBuilder()
The test dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;
Returns
public TrainProcessorVersionMetadata.DatasetValidation getTrainingDatasetValidation()
The training dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;
Returns
public TrainProcessorVersionMetadata.DatasetValidation.Builder getTrainingDatasetValidationBuilder()
The training dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;
Returns
public TrainProcessorVersionMetadata.DatasetValidationOrBuilder getTrainingDatasetValidationOrBuilder()
The training dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;
Returns
public boolean hasCommonMetadata()
The basic metadata of the long running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Returns
Type | Description |
boolean | Whether the commonMetadata field is set.
|
public boolean hasTestDatasetValidation()
The test dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;
Returns
Type | Description |
boolean | Whether the testDatasetValidation field is set.
|
public boolean hasTrainingDatasetValidation()
The training dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;
Returns
Type | Description |
boolean | Whether the trainingDatasetValidation field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TrainProcessorVersionMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Parameter
Returns
public TrainProcessorVersionMetadata.Builder mergeFrom(TrainProcessorVersionMetadata other)
Parameter
Returns
public TrainProcessorVersionMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TrainProcessorVersionMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public TrainProcessorVersionMetadata.Builder mergeTestDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)
The test dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;
Parameter
Returns
public TrainProcessorVersionMetadata.Builder mergeTrainingDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)
The training dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;
Parameter
Returns
public final TrainProcessorVersionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public TrainProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Parameter
Returns
public TrainProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)
The basic metadata of the long running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;
Parameter
Returns
public TrainProcessorVersionMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TrainProcessorVersionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public TrainProcessorVersionMetadata.Builder setTestDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)
The test dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;
Parameter
Returns
public TrainProcessorVersionMetadata.Builder setTestDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation.Builder builderForValue)
The test dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation test_dataset_validation = 3;
Parameter
Returns
public TrainProcessorVersionMetadata.Builder setTrainingDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation value)
The training dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;
Parameter
Returns
public TrainProcessorVersionMetadata.Builder setTrainingDatasetValidation(TrainProcessorVersionMetadata.DatasetValidation.Builder builderForValue)
The training dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;
Parameter
Returns
public final TrainProcessorVersionMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides