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