public final class TrainProcessorVersionMetadata extends GeneratedMessageV3 implements TrainProcessorVersionMetadataOrBuilder
The metadata that represents a processor version being created.
Protobuf type google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata
Static Fields
public static final int COMMON_METADATA_FIELD_NUMBER
Field Value
public static final int TEST_DATASET_VALIDATION_FIELD_NUMBER
Field Value
public static final int TRAINING_DATASET_VALIDATION_FIELD_NUMBER
Field Value
Static Methods
public static TrainProcessorVersionMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static TrainProcessorVersionMetadata.Builder newBuilder()
Returns
public static TrainProcessorVersionMetadata.Builder newBuilder(TrainProcessorVersionMetadata prototype)
Parameter
Returns
public static TrainProcessorVersionMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TrainProcessorVersionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static TrainProcessorVersionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<TrainProcessorVersionMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CommonOperationMetadata getCommonMetadata()
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 Parser<TrainProcessorVersionMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public TrainProcessorVersionMetadata.DatasetValidation getTestDatasetValidation()
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.DatasetValidationOrBuilder getTrainingDatasetValidationOrBuilder()
The training dataset validation information.
.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation training_dataset_validation = 2;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TrainProcessorVersionMetadata.Builder newBuilderForType()
Returns
protected TrainProcessorVersionMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public TrainProcessorVersionMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions