- 2.52.0 (latest)
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class TrainProcessorVersionRequest.Builder extends GeneratedMessageV3.Builder<TrainProcessorVersionRequest.Builder> implements TrainProcessorVersionRequestOrBuilder
Request message for the TrainProcessorVersion method.
Protobuf type google.cloud.documentai.v1beta3.TrainProcessorVersionRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TrainProcessorVersionRequest.BuilderImplements
TrainProcessorVersionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TrainProcessorVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
build()
public TrainProcessorVersionRequest build()
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest |
buildPartial()
public TrainProcessorVersionRequest buildPartial()
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest |
clear()
public TrainProcessorVersionRequest.Builder clear()
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
clearBaseProcessorVersion()
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];
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
This builder for chaining. |
clearCustomDocumentExtractionOptions()
public TrainProcessorVersionRequest.Builder clearCustomDocumentExtractionOptions()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
clearDocumentSchema()
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];
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public TrainProcessorVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
clearFoundationModelTuningOptions()
public TrainProcessorVersionRequest.Builder clearFoundationModelTuningOptions()
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
clearInputData()
public TrainProcessorVersionRequest.Builder clearInputData()
Optional. The input data used to train the ProcessorVersion.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TrainProcessorVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
clearParent()
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) = { ... }
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
This builder for chaining. |
clearProcessorFlags()
public TrainProcessorVersionRequest.Builder clearProcessorFlags()
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
clearProcessorVersion()
public TrainProcessorVersionRequest.Builder clearProcessorVersion()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
clone()
public TrainProcessorVersionRequest.Builder clone()
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
getBaseProcessorVersion()
public 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];
Returns | |
---|---|
Type | Description |
String |
The baseProcessorVersion. |
getBaseProcessorVersionBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for baseProcessorVersion. |
getCustomDocumentExtractionOptions()
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions getCustomDocumentExtractionOptions()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.CustomDocumentExtractionOptions |
The customDocumentExtractionOptions. |
getCustomDocumentExtractionOptionsBuilder()
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder getCustomDocumentExtractionOptionsBuilder()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder |
getCustomDocumentExtractionOptionsOrBuilder()
public TrainProcessorVersionRequest.CustomDocumentExtractionOptionsOrBuilder getCustomDocumentExtractionOptionsOrBuilder()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.CustomDocumentExtractionOptionsOrBuilder |
getDefaultInstanceForType()
public TrainProcessorVersionRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDocumentSchema()
public 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];
Returns | |
---|---|
Type | Description |
DocumentSchema |
The documentSchema. |
getDocumentSchemaBuilder()
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];
Returns | |
---|---|
Type | Description |
DocumentSchema.Builder |
getDocumentSchemaOrBuilder()
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];
Returns | |
---|---|
Type | Description |
DocumentSchemaOrBuilder |
getFoundationModelTuningOptions()
public TrainProcessorVersionRequest.FoundationModelTuningOptions getFoundationModelTuningOptions()
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.FoundationModelTuningOptions |
The foundationModelTuningOptions. |
getFoundationModelTuningOptionsBuilder()
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;
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder |
getFoundationModelTuningOptionsOrBuilder()
public TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder getFoundationModelTuningOptionsOrBuilder()
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder |
getInputData()
public TrainProcessorVersionRequest.InputData getInputData()
Optional. The input data used to train the ProcessorVersion.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.InputData |
The inputData. |
getInputDataBuilder()
public TrainProcessorVersionRequest.InputData.Builder getInputDataBuilder()
Optional. The input data used to train the ProcessorVersion.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.InputData.Builder |
getInputDataOrBuilder()
public TrainProcessorVersionRequest.InputDataOrBuilder getInputDataOrBuilder()
Optional. The input data used to train the ProcessorVersion.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.InputDataOrBuilder |
getParent()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getProcessorFlagsCase()
public TrainProcessorVersionRequest.ProcessorFlagsCase getProcessorFlagsCase()
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.ProcessorFlagsCase |
getProcessorVersion()
public ProcessorVersion getProcessorVersion()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProcessorVersion |
The processorVersion. |
getProcessorVersionBuilder()
public ProcessorVersion.Builder getProcessorVersionBuilder()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
getProcessorVersionOrBuilder()
public ProcessorVersionOrBuilder getProcessorVersionOrBuilder()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProcessorVersionOrBuilder |
hasCustomDocumentExtractionOptions()
public boolean hasCustomDocumentExtractionOptions()
Options to control Custom Document Extraction (CDE) Processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions custom_document_extraction_options = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the customDocumentExtractionOptions field is set. |
hasDocumentSchema()
public 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the documentSchema field is set. |
hasFoundationModelTuningOptions()
public boolean hasFoundationModelTuningOptions()
Options to control foundation model tuning of a processor.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions foundation_model_tuning_options = 12;
Returns | |
---|---|
Type | Description |
boolean |
Whether the foundationModelTuningOptions field is set. |
hasInputData()
public boolean hasInputData()
Optional. The input data used to train the ProcessorVersion.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the inputData field is set. |
hasProcessorVersion()
public boolean hasProcessorVersion()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the processorVersion field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCustomDocumentExtractionOptions(TrainProcessorVersionRequest.CustomDocumentExtractionOptions value)
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;
Parameter | |
---|---|
Name | Description |
value |
TrainProcessorVersionRequest.CustomDocumentExtractionOptions |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeDocumentSchema(DocumentSchema value)
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];
Parameter | |
---|---|
Name | Description |
value |
DocumentSchema |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeFoundationModelTuningOptions(TrainProcessorVersionRequest.FoundationModelTuningOptions value)
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;
Parameter | |
---|---|
Name | Description |
value |
TrainProcessorVersionRequest.FoundationModelTuningOptions |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeFrom(TrainProcessorVersionRequest other)
public TrainProcessorVersionRequest.Builder mergeFrom(TrainProcessorVersionRequest other)
Parameter | |
---|---|
Name | Description |
other |
TrainProcessorVersionRequest |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TrainProcessorVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TrainProcessorVersionRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeInputData(TrainProcessorVersionRequest.InputData value)
public TrainProcessorVersionRequest.Builder mergeInputData(TrainProcessorVersionRequest.InputData value)
Optional. The input data used to train the ProcessorVersion.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TrainProcessorVersionRequest.InputData |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeProcessorVersion(ProcessorVersion value)
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];
Parameter | |
---|---|
Name | Description |
value |
ProcessorVersion |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TrainProcessorVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setBaseProcessorVersion(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
String The baseProcessorVersion to set. |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
This builder for chaining. |
setBaseProcessorVersionBytes(ByteString value)
public TrainProcessorVersionRequest.Builder setBaseProcessorVersionBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for baseProcessorVersion to set. |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
This builder for chaining. |
setCustomDocumentExtractionOptions(TrainProcessorVersionRequest.CustomDocumentExtractionOptions value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
TrainProcessorVersionRequest.CustomDocumentExtractionOptions |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setCustomDocumentExtractionOptions(TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setDocumentSchema(DocumentSchema value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
DocumentSchema |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setDocumentSchema(DocumentSchema.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
DocumentSchema.Builder |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TrainProcessorVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setFoundationModelTuningOptions(TrainProcessorVersionRequest.FoundationModelTuningOptions value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
TrainProcessorVersionRequest.FoundationModelTuningOptions |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setFoundationModelTuningOptions(TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setInputData(TrainProcessorVersionRequest.InputData value)
public TrainProcessorVersionRequest.Builder setInputData(TrainProcessorVersionRequest.InputData value)
Optional. The input data used to train the ProcessorVersion.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TrainProcessorVersionRequest.InputData |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setInputData(TrainProcessorVersionRequest.InputData.Builder builderForValue)
public TrainProcessorVersionRequest.Builder setInputData(TrainProcessorVersionRequest.InputData.Builder builderForValue)
Optional. The input data used to train the ProcessorVersion.
.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData input_data = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
TrainProcessorVersionRequest.InputData.Builder |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setParent(String value)
public 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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public TrainProcessorVersionRequest.Builder setParentBytes(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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
This builder for chaining. |
setProcessorVersion(ProcessorVersion value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
ProcessorVersion |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setProcessorVersion(ProcessorVersion.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
ProcessorVersion.Builder |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TrainProcessorVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TrainProcessorVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TrainProcessorVersionRequest.Builder |