public static final class TrainProcessorVersionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder> implements TrainProcessorVersionRequestOrBuilder
Request message for the [TrainProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion] method.Protobuf type
google.cloud.documentai.v1beta3.TrainProcessorVersionRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TrainProcessorVersionRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TrainProcessorVersionRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TrainProcessorVersionRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest.Builder mergeFrom(TrainProcessorVersionRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public TrainProcessorVersionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrainProcessorVersionRequest.Builder>IOExceptionpublic TrainProcessorVersionRequest.ProcessorFlagsCase getProcessorFlagsCase()
getProcessorFlagsCase in interface TrainProcessorVersionRequestOrBuilderpublic TrainProcessorVersionRequest.Builder clearProcessorFlags()
public 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.Builder setCustomDocumentExtractionOptions(TrainProcessorVersionRequest.CustomDocumentExtractionOptions value)
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
public TrainProcessorVersionRequest.Builder setCustomDocumentExtractionOptions(TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder builderForValue)
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
public TrainProcessorVersionRequest.Builder mergeCustomDocumentExtractionOptions(TrainProcessorVersionRequest.CustomDocumentExtractionOptions value)
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
public TrainProcessorVersionRequest.Builder clearCustomDocumentExtractionOptions()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder getCustomDocumentExtractionOptionsBuilder()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
public 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.Builder setFoundationModelTuningOptions(TrainProcessorVersionRequest.FoundationModelTuningOptions value)
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
public TrainProcessorVersionRequest.Builder setFoundationModelTuningOptions(TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder builderForValue)
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
public TrainProcessorVersionRequest.Builder mergeFoundationModelTuningOptions(TrainProcessorVersionRequest.FoundationModelTuningOptions value)
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
public TrainProcessorVersionRequest.Builder clearFoundationModelTuningOptions()
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
public TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder getFoundationModelTuningOptionsBuilder()
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
public 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 TrainProcessorVersionRequest.Builder setParent(String value)
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) = { ... }
value - The parent to set.public TrainProcessorVersionRequest.Builder clearParent()
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) = { ... }
public TrainProcessorVersionRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for parent to set.public 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 TrainProcessorVersionRequest.Builder setProcessorVersion(ProcessorVersion value)
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
public TrainProcessorVersionRequest.Builder setProcessorVersion(ProcessorVersion.Builder builderForValue)
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
public TrainProcessorVersionRequest.Builder mergeProcessorVersion(ProcessorVersion value)
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
public TrainProcessorVersionRequest.Builder clearProcessorVersion()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
public ProcessorVersion.Builder getProcessorVersionBuilder()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
public 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 TrainProcessorVersionRequest.Builder setDocumentSchema(DocumentSchema value)
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
public TrainProcessorVersionRequest.Builder setDocumentSchema(DocumentSchema.Builder builderForValue)
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
public TrainProcessorVersionRequest.Builder mergeDocumentSchema(DocumentSchema value)
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
public TrainProcessorVersionRequest.Builder clearDocumentSchema()
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
public DocumentSchema.Builder getDocumentSchemaBuilder()
Optional. The schema the processor version will be trained with.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 10 [(.google.api.field_behavior) = OPTIONAL];
public 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.Builder setInputData(TrainProcessorVersionRequest.InputData value)
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];
public TrainProcessorVersionRequest.Builder setInputData(TrainProcessorVersionRequest.InputData.Builder builderForValue)
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];
public TrainProcessorVersionRequest.Builder mergeInputData(TrainProcessorVersionRequest.InputData value)
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];
public TrainProcessorVersionRequest.Builder clearInputData()
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];
public TrainProcessorVersionRequest.InputData.Builder getInputDataBuilder()
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];
public 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 TrainProcessorVersionRequest.Builder setBaseProcessorVersion(String value)
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];value - The baseProcessorVersion to set.public TrainProcessorVersionRequest.Builder clearBaseProcessorVersion()
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];public TrainProcessorVersionRequest.Builder setBaseProcessorVersionBytes(com.google.protobuf.ByteString value)
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];value - The bytes for baseProcessorVersion to set.public final TrainProcessorVersionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>public final TrainProcessorVersionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.