- 2.82.0 (latest)
- 2.80.0
- 2.79.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.74.0
- 2.72.0
- 2.71.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 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 ProcessorVersion.Builder extends GeneratedMessageV3.Builder<ProcessorVersion.Builder> implements ProcessorVersionOrBuilderA processor version is an implementation of a processor. Each processor can have multiple versions, pretrained by Google internally or uptrained by the customer. A processor can only have one default version at a time. Its document-processing behavior is defined by that version.
 Protobuf type google.cloud.documentai.v1.ProcessorVersion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProcessorVersion.BuilderImplements
ProcessorVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
build()
public ProcessorVersion build()| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion | |
buildPartial()
public ProcessorVersion buildPartial()| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion | |
clear()
public ProcessorVersion.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
clearCreateTime()
public ProcessorVersion.Builder clearCreateTime()Output only. The time the processor version was created.
 
 .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
clearDeprecationInfo()
public ProcessorVersion.Builder clearDeprecationInfo()Output only. If set, information about the eventual deprecation of this version.
 
 .google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
clearDisplayName()
public ProcessorVersion.Builder clearDisplayName()The display name of the processor version.
 string display_name = 2;
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
clearDocumentSchema()
public ProcessorVersion.Builder clearDocumentSchema()Output only. The schema of the processor version. Describes the output.
 
 .google.cloud.documentai.v1.DocumentSchema document_schema = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
clearField(Descriptors.FieldDescriptor field)
public ProcessorVersion.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
clearGenAiModelInfo()
public ProcessorVersion.Builder clearGenAiModelInfo()Output only. Information about Generative AI model-based processor versions.
 
 .google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
clearGoogleManaged()
public ProcessorVersion.Builder clearGoogleManaged() Output only. Denotes that this ProcessorVersion is managed by Google.
 bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
clearKmsKeyName()
public ProcessorVersion.Builder clearKmsKeyName()Output only. The KMS key name used for encryption.
 string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
clearKmsKeyVersionName()
public ProcessorVersion.Builder clearKmsKeyVersionName()Output only. The KMS key version with which data is encrypted.
 string kms_key_version_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
clearLatestEvaluation()
public ProcessorVersion.Builder clearLatestEvaluation()Output only. The most recently invoked evaluation for the processor version.
 
 .google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
clearModelType()
public ProcessorVersion.Builder clearModelType()Output only. The model type of this processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
clearName()
public ProcessorVersion.Builder clearName() Identifier. The resource name of the processor version.
 Format:
 projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessorVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
clearSatisfiesPzi()
public ProcessorVersion.Builder clearSatisfiesPzi()Output only. Reserved for future use.
 bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
clearSatisfiesPzs()
public ProcessorVersion.Builder clearSatisfiesPzs()Output only. Reserved for future use.
 bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
clearState()
public ProcessorVersion.Builder clearState()Output only. The state of the processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
clone()
public ProcessorVersion.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
getCreateTime()
public Timestamp getCreateTime()Output only. The time the processor version was created.
 
 .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The createTime. | 
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time the processor version was created.
 
 .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time the processor version was created.
 
 .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public ProcessorVersion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion | |
getDeprecationInfo()
public ProcessorVersion.DeprecationInfo getDeprecationInfo()Output only. If set, information about the eventual deprecation of this version.
 
 .google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.DeprecationInfo | The deprecationInfo. | 
getDeprecationInfoBuilder()
public ProcessorVersion.DeprecationInfo.Builder getDeprecationInfoBuilder()Output only. If set, information about the eventual deprecation of this version.
 
 .google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.DeprecationInfo.Builder | |
getDeprecationInfoOrBuilder()
public ProcessorVersion.DeprecationInfoOrBuilder getDeprecationInfoOrBuilder()Output only. If set, information about the eventual deprecation of this version.
 
 .google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.DeprecationInfoOrBuilder | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getDisplayName()
public String getDisplayName()The display name of the processor version.
 string display_name = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The displayName. | 
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The display name of the processor version.
 string display_name = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for displayName. | 
getDocumentSchema()
public DocumentSchema getDocumentSchema()Output only. The schema of the processor version. Describes the output.
 
 .google.cloud.documentai.v1.DocumentSchema document_schema = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| DocumentSchema | The documentSchema. | 
getDocumentSchemaBuilder()
public DocumentSchema.Builder getDocumentSchemaBuilder()Output only. The schema of the processor version. Describes the output.
 
 .google.cloud.documentai.v1.DocumentSchema document_schema = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| DocumentSchema.Builder | |
getDocumentSchemaOrBuilder()
public DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()Output only. The schema of the processor version. Describes the output.
 
 .google.cloud.documentai.v1.DocumentSchema document_schema = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| DocumentSchemaOrBuilder | |
getGenAiModelInfo()
public ProcessorVersion.GenAiModelInfo getGenAiModelInfo()Output only. Information about Generative AI model-based processor versions.
 
 .google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.GenAiModelInfo | The genAiModelInfo. | 
getGenAiModelInfoBuilder()
public ProcessorVersion.GenAiModelInfo.Builder getGenAiModelInfoBuilder()Output only. Information about Generative AI model-based processor versions.
 
 .google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.GenAiModelInfo.Builder | |
getGenAiModelInfoOrBuilder()
public ProcessorVersion.GenAiModelInfoOrBuilder getGenAiModelInfoOrBuilder()Output only. Information about Generative AI model-based processor versions.
 
 .google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.GenAiModelInfoOrBuilder | |
getGoogleManaged()
public boolean getGoogleManaged() Output only. Denotes that this ProcessorVersion is managed by Google.
 bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The googleManaged. | 
getKmsKeyName()
public String getKmsKeyName()Output only. The KMS key name used for encryption.
 string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The kmsKeyName. | 
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()Output only. The KMS key name used for encryption.
 string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for kmsKeyName. | 
getKmsKeyVersionName()
public String getKmsKeyVersionName()Output only. The KMS key version with which data is encrypted.
 string kms_key_version_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The kmsKeyVersionName. | 
getKmsKeyVersionNameBytes()
public ByteString getKmsKeyVersionNameBytes()Output only. The KMS key version with which data is encrypted.
 string kms_key_version_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for kmsKeyVersionName. | 
getLatestEvaluation()
public EvaluationReference getLatestEvaluation()Output only. The most recently invoked evaluation for the processor version.
 
 .google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| EvaluationReference | The latestEvaluation. | 
getLatestEvaluationBuilder()
public EvaluationReference.Builder getLatestEvaluationBuilder()Output only. The most recently invoked evaluation for the processor version.
 
 .google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| EvaluationReference.Builder | |
getLatestEvaluationOrBuilder()
public EvaluationReferenceOrBuilder getLatestEvaluationOrBuilder()Output only. The most recently invoked evaluation for the processor version.
 
 .google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| EvaluationReferenceOrBuilder | |
getModelType()
public ProcessorVersion.ModelType getModelType()Output only. The model type of this processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.ModelType | The modelType. | 
getModelTypeValue()
public int getModelTypeValue()Output only. The model type of this processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for modelType. | 
getName()
public String getName() Identifier. The resource name of the processor version.
 Format:
 projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the processor version.
 Format:
 projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getSatisfiesPzi()
public boolean getSatisfiesPzi()Output only. Reserved for future use.
 bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The satisfiesPzi. | 
getSatisfiesPzs()
public boolean getSatisfiesPzs()Output only. Reserved for future use.
 bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The satisfiesPzs. | 
getState()
public ProcessorVersion.State getState()Output only. The state of the processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.State | The state. | 
getStateValue()
public int getStateValue()Output only. The state of the processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for state. | 
hasCreateTime()
public boolean hasCreateTime()Output only. The time the processor version was created.
 
 .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
hasDeprecationInfo()
public boolean hasDeprecationInfo()Output only. If set, information about the eventual deprecation of this version.
 
 .google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the deprecationInfo field is set. | 
hasDocumentSchema()
public boolean hasDocumentSchema()Output only. The schema of the processor version. Describes the output.
 
 .google.cloud.documentai.v1.DocumentSchema document_schema = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the documentSchema field is set. | 
hasGenAiModelInfo()
public boolean hasGenAiModelInfo()Output only. Information about Generative AI model-based processor versions.
 
 .google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the genAiModelInfo field is set. | 
hasLatestEvaluation()
public boolean hasLatestEvaluation()Output only. The most recently invoked evaluation for the processor version.
 
 .google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the latestEvaluation field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeCreateTime(Timestamp value)
public ProcessorVersion.Builder mergeCreateTime(Timestamp value)Output only. The time the processor version was created.
 
 .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
mergeDeprecationInfo(ProcessorVersion.DeprecationInfo value)
public ProcessorVersion.Builder mergeDeprecationInfo(ProcessorVersion.DeprecationInfo value)Output only. If set, information about the eventual deprecation of this version.
 
 .google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ProcessorVersion.DeprecationInfo | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
mergeDocumentSchema(DocumentSchema value)
public ProcessorVersion.Builder mergeDocumentSchema(DocumentSchema value)Output only. The schema of the processor version. Describes the output.
 
 .google.cloud.documentai.v1.DocumentSchema document_schema = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | DocumentSchema | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
mergeFrom(ProcessorVersion other)
public ProcessorVersion.Builder mergeFrom(ProcessorVersion other)| Parameter | |
|---|---|
| Name | Description | 
| other | ProcessorVersion | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProcessorVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public ProcessorVersion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
mergeGenAiModelInfo(ProcessorVersion.GenAiModelInfo value)
public ProcessorVersion.Builder mergeGenAiModelInfo(ProcessorVersion.GenAiModelInfo value)Output only. Information about Generative AI model-based processor versions.
 
 .google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ProcessorVersion.GenAiModelInfo | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
mergeLatestEvaluation(EvaluationReference value)
public ProcessorVersion.Builder mergeLatestEvaluation(EvaluationReference value)Output only. The most recently invoked evaluation for the processor version.
 
 .google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | EvaluationReference | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setCreateTime(Timestamp value)
public ProcessorVersion.Builder setCreateTime(Timestamp value)Output only. The time the processor version was created.
 
 .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public ProcessorVersion.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time the processor version was created.
 
 .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setDeprecationInfo(ProcessorVersion.DeprecationInfo value)
public ProcessorVersion.Builder setDeprecationInfo(ProcessorVersion.DeprecationInfo value)Output only. If set, information about the eventual deprecation of this version.
 
 .google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ProcessorVersion.DeprecationInfo | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setDeprecationInfo(ProcessorVersion.DeprecationInfo.Builder builderForValue)
public ProcessorVersion.Builder setDeprecationInfo(ProcessorVersion.DeprecationInfo.Builder builderForValue)Output only. If set, information about the eventual deprecation of this version.
 
 .google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ProcessorVersion.DeprecationInfo.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setDisplayName(String value)
public ProcessorVersion.Builder setDisplayName(String value)The display name of the processor version.
 string display_name = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe displayName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setDisplayNameBytes(ByteString value)
public ProcessorVersion.Builder setDisplayNameBytes(ByteString value)The display name of the processor version.
 string display_name = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for displayName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setDocumentSchema(DocumentSchema value)
public ProcessorVersion.Builder setDocumentSchema(DocumentSchema value)Output only. The schema of the processor version. Describes the output.
 
 .google.cloud.documentai.v1.DocumentSchema document_schema = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | DocumentSchema | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setDocumentSchema(DocumentSchema.Builder builderForValue)
public ProcessorVersion.Builder setDocumentSchema(DocumentSchema.Builder builderForValue)Output only. The schema of the processor version. Describes the output.
 
 .google.cloud.documentai.v1.DocumentSchema document_schema = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | DocumentSchema.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setGenAiModelInfo(ProcessorVersion.GenAiModelInfo value)
public ProcessorVersion.Builder setGenAiModelInfo(ProcessorVersion.GenAiModelInfo value)Output only. Information about Generative AI model-based processor versions.
 
 .google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ProcessorVersion.GenAiModelInfo | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setGenAiModelInfo(ProcessorVersion.GenAiModelInfo.Builder builderForValue)
public ProcessorVersion.Builder setGenAiModelInfo(ProcessorVersion.GenAiModelInfo.Builder builderForValue)Output only. Information about Generative AI model-based processor versions.
 
 .google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ProcessorVersion.GenAiModelInfo.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setGoogleManaged(boolean value)
public ProcessorVersion.Builder setGoogleManaged(boolean value) Output only. Denotes that this ProcessorVersion is managed by Google.
 bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe googleManaged to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setKmsKeyName(String value)
public ProcessorVersion.Builder setKmsKeyName(String value)Output only. The KMS key name used for encryption.
 string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe kmsKeyName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setKmsKeyNameBytes(ByteString value)
public ProcessorVersion.Builder setKmsKeyNameBytes(ByteString value)Output only. The KMS key name used for encryption.
 string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for kmsKeyName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setKmsKeyVersionName(String value)
public ProcessorVersion.Builder setKmsKeyVersionName(String value)Output only. The KMS key version with which data is encrypted.
 string kms_key_version_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe kmsKeyVersionName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setKmsKeyVersionNameBytes(ByteString value)
public ProcessorVersion.Builder setKmsKeyVersionNameBytes(ByteString value)Output only. The KMS key version with which data is encrypted.
 string kms_key_version_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for kmsKeyVersionName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setLatestEvaluation(EvaluationReference value)
public ProcessorVersion.Builder setLatestEvaluation(EvaluationReference value)Output only. The most recently invoked evaluation for the processor version.
 
 .google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | EvaluationReference | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setLatestEvaluation(EvaluationReference.Builder builderForValue)
public ProcessorVersion.Builder setLatestEvaluation(EvaluationReference.Builder builderForValue)Output only. The most recently invoked evaluation for the processor version.
 
 .google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | EvaluationReference.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setModelType(ProcessorVersion.ModelType value)
public ProcessorVersion.Builder setModelType(ProcessorVersion.ModelType value)Output only. The model type of this processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ProcessorVersion.ModelTypeThe modelType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setModelTypeValue(int value)
public ProcessorVersion.Builder setModelTypeValue(int value)Output only. The model type of this processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for modelType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setName(String value)
public ProcessorVersion.Builder setName(String value) Identifier. The resource name of the processor version.
 Format:
 projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public ProcessorVersion.Builder setNameBytes(ByteString value) Identifier. The resource name of the processor version.
 Format:
 projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessorVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |
setSatisfiesPzi(boolean value)
public ProcessorVersion.Builder setSatisfiesPzi(boolean value)Output only. Reserved for future use.
 bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe satisfiesPzi to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setSatisfiesPzs(boolean value)
public ProcessorVersion.Builder setSatisfiesPzs(boolean value)Output only. Reserved for future use.
 bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe satisfiesPzs to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setState(ProcessorVersion.State value)
public ProcessorVersion.Builder setState(ProcessorVersion.State value)Output only. The state of the processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ProcessorVersion.StateThe state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setStateValue(int value)
public ProcessorVersion.Builder setStateValue(int value)Output only. The state of the processor version.
 
 .google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ProcessorVersion.Builder | |