- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 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 create processor version 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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TrainProcessorVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TrainProcessorVersionRequest.Builder |
build()
public TrainProcessorVersionRequest build()
Type | Description |
TrainProcessorVersionRequest |
buildPartial()
public TrainProcessorVersionRequest buildPartial()
Type | Description |
TrainProcessorVersionRequest |
clear()
public TrainProcessorVersionRequest.Builder clear()
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];
Type | Description |
TrainProcessorVersionRequest.Builder | This builder for chaining. |
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];
Type | Description |
TrainProcessorVersionRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public TrainProcessorVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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];
Type | Description |
TrainProcessorVersionRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TrainProcessorVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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) = { ... }
Type | Description |
TrainProcessorVersionRequest.Builder | This builder for chaining. |
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];
Type | Description |
TrainProcessorVersionRequest.Builder |
clone()
public TrainProcessorVersionRequest.Builder clone()
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];
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];
Type | Description |
ByteString | The bytes for baseProcessorVersion. |
getDefaultInstanceForType()
public TrainProcessorVersionRequest getDefaultInstanceForType()
Type | Description |
TrainProcessorVersionRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
Type | Description |
DocumentSchemaOrBuilder |
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];
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];
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];
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getProcessorVersion()
public ProcessorVersion getProcessorVersion()
Required. The processor version to be created.
.google.cloud.documentai.v1beta3.ProcessorVersion processor_version = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
Type | Description |
ProcessorVersionOrBuilder |
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];
Type | Description |
boolean | Whether the documentSchema 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];
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];
Type | Description |
boolean | Whether the processorVersion field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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];
Name | Description |
value | DocumentSchema |
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeFrom(TrainProcessorVersionRequest other)
public TrainProcessorVersionRequest.Builder mergeFrom(TrainProcessorVersionRequest other)
Name | Description |
other | TrainProcessorVersionRequest |
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TrainProcessorVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TrainProcessorVersionRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TrainProcessorVersionRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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];
Name | Description |
value | TrainProcessorVersionRequest.InputData |
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];
Name | Description |
value | ProcessorVersion |
Type | Description |
TrainProcessorVersionRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TrainProcessorVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | String The baseProcessorVersion to set. |
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];
Name | Description |
value | ByteString The bytes for baseProcessorVersion to set. |
Type | Description |
TrainProcessorVersionRequest.Builder | This builder for chaining. |
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];
Name | Description |
value | DocumentSchema |
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];
Name | Description |
builderForValue | DocumentSchema.Builder |
Type | Description |
TrainProcessorVersionRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TrainProcessorVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | TrainProcessorVersionRequest.InputData |
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];
Name | Description |
builderForValue | TrainProcessorVersionRequest.InputData.Builder |
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) = { ... }
Name | Description |
value | String The parent to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
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];
Name | Description |
value | ProcessorVersion |
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];
Name | Description |
builderForValue | ProcessorVersion.Builder |
Type | Description |
TrainProcessorVersionRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TrainProcessorVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TrainProcessorVersionRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TrainProcessorVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TrainProcessorVersionRequest.Builder |