public final class TrainProcessorVersionRequest extends com.google.protobuf.GeneratedMessageV3 implements TrainProcessorVersionRequestOrBuilder
Request message for the [TrainProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion] method.Protobuf type
google.cloud.documentai.v1beta3.TrainProcessorVersionRequest| Modifier and Type | Class and Description |
|---|---|
static class |
TrainProcessorVersionRequest.Builder
Request message for the
[TrainProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion]
method.
|
static class |
TrainProcessorVersionRequest.CustomDocumentExtractionOptions
Options to control the training of the Custom Document Extraction (CDE)
Processor.
|
static interface |
TrainProcessorVersionRequest.CustomDocumentExtractionOptionsOrBuilder |
static class |
TrainProcessorVersionRequest.FoundationModelTuningOptions
Options to control foundation model tuning of the processor.
|
static interface |
TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder |
static class |
TrainProcessorVersionRequest.InputData
The input data used to train a new
[ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion].
|
static interface |
TrainProcessorVersionRequest.InputDataOrBuilder |
static class |
TrainProcessorVersionRequest.ProcessorFlagsCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_PROCESSOR_VERSION_FIELD_NUMBER |
static int |
CUSTOM_DOCUMENT_EXTRACTION_OPTIONS_FIELD_NUMBER |
static int |
DOCUMENT_SCHEMA_FIELD_NUMBER |
static int |
FOUNDATION_MODEL_TUNING_OPTIONS_FIELD_NUMBER |
static int |
INPUT_DATA_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
PROCESSOR_VERSION_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CUSTOM_DOCUMENT_EXTRACTION_OPTIONS_FIELD_NUMBER
public static final int FOUNDATION_MODEL_TUNING_OPTIONS_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int PROCESSOR_VERSION_FIELD_NUMBER
public static final int DOCUMENT_SCHEMA_FIELD_NUMBER
public static final int INPUT_DATA_FIELD_NUMBER
public static final int BASE_PROCESSOR_VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public TrainProcessorVersionRequest.ProcessorFlagsCase getProcessorFlagsCase()
getProcessorFlagsCase in interface TrainProcessorVersionRequestOrBuilderpublic boolean hasCustomDocumentExtractionOptions()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
hasCustomDocumentExtractionOptions in interface TrainProcessorVersionRequestOrBuilderpublic TrainProcessorVersionRequest.CustomDocumentExtractionOptions getCustomDocumentExtractionOptions()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
getCustomDocumentExtractionOptions in interface TrainProcessorVersionRequestOrBuilderpublic TrainProcessorVersionRequest.CustomDocumentExtractionOptionsOrBuilder getCustomDocumentExtractionOptionsOrBuilder()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
getCustomDocumentExtractionOptionsOrBuilder in interface TrainProcessorVersionRequestOrBuilderpublic boolean hasFoundationModelTuningOptions()
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
hasFoundationModelTuningOptions in interface TrainProcessorVersionRequestOrBuilderpublic TrainProcessorVersionRequest.FoundationModelTuningOptions getFoundationModelTuningOptions()
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
getFoundationModelTuningOptions in interface TrainProcessorVersionRequestOrBuilderpublic TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder getFoundationModelTuningOptionsOrBuilder()
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
getFoundationModelTuningOptionsOrBuilder in interface TrainProcessorVersionRequestOrBuilderpublic String getParent()
Required. The parent (project, location and processor) to create the new
version for. Format:
`projects/{project}/locations/{location}/processors/{processor}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface TrainProcessorVersionRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent (project, location and processor) to create the new
version for. Format:
`projects/{project}/locations/{location}/processors/{processor}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface TrainProcessorVersionRequestOrBuilderpublic boolean hasProcessorVersion()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
hasProcessorVersion in interface TrainProcessorVersionRequestOrBuilderpublic ProcessorVersion getProcessorVersion()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
getProcessorVersion in interface TrainProcessorVersionRequestOrBuilderpublic ProcessorVersionOrBuilder getProcessorVersionOrBuilder()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
getProcessorVersionOrBuilder in interface TrainProcessorVersionRequestOrBuilderpublic boolean hasDocumentSchema()
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
hasDocumentSchema in interface TrainProcessorVersionRequestOrBuilderpublic DocumentSchema getDocumentSchema()
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
getDocumentSchema in interface TrainProcessorVersionRequestOrBuilderpublic DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
getDocumentSchemaOrBuilder in interface TrainProcessorVersionRequestOrBuilderpublic boolean hasInputData()
Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion].
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
hasInputData in interface TrainProcessorVersionRequestOrBuilderpublic TrainProcessorVersionRequest.InputData getInputData()
Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion].
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
getInputData in interface TrainProcessorVersionRequestOrBuilderpublic TrainProcessorVersionRequest.InputDataOrBuilder getInputDataOrBuilder()
Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion].
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
getInputDataOrBuilder in interface TrainProcessorVersionRequestOrBuilderpublic String getBaseProcessorVersion()
Optional. The processor version to use as a base for training. This
processor version must be a child of `parent`. Format:
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
string base_processor_version = 8 [(.google.api.field_behavior) = OPTIONAL];getBaseProcessorVersion in interface TrainProcessorVersionRequestOrBuilderpublic com.google.protobuf.ByteString getBaseProcessorVersionBytes()
Optional. The processor version to use as a base for training. This
processor version must be a child of `parent`. Format:
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
string base_processor_version = 8 [(.google.api.field_behavior) = OPTIONAL];getBaseProcessorVersionBytes in interface TrainProcessorVersionRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TrainProcessorVersionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainProcessorVersionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainProcessorVersionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainProcessorVersionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainProcessorVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainProcessorVersionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainProcessorVersionRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static TrainProcessorVersionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrainProcessorVersionRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TrainProcessorVersionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrainProcessorVersionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TrainProcessorVersionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TrainProcessorVersionRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TrainProcessorVersionRequest.Builder newBuilder()
public static TrainProcessorVersionRequest.Builder newBuilder(TrainProcessorVersionRequest prototype)
public TrainProcessorVersionRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TrainProcessorVersionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TrainProcessorVersionRequest getDefaultInstance()
public static com.google.protobuf.Parser<TrainProcessorVersionRequest> parser()
public com.google.protobuf.Parser<TrainProcessorVersionRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TrainProcessorVersionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.