Package com.google.cloud.documentai.v1
Class ProcessorVersion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProcessorVersion.Builder>
com.google.cloud.documentai.v1.ProcessorVersion.Builder
- All Implemented Interfaces:
ProcessorVersionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProcessorVersion
public static final class ProcessorVersion.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProcessorVersion.Builder>
implements ProcessorVersionOrBuilder
A 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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.The display name of the processor version.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Identifier.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe display name of the processor version.com.google.protobuf.ByteStringThe display name of the processor version.Output only.Output only.Output only.Output only.Output only.Output only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Output only.intOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.booleanOutput only.booleanOutput only.getState()Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.Output only.Output only.mergeFrom(ProcessorVersion other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setDeprecationInfo(ProcessorVersion.DeprecationInfo.Builder builderForValue) Output only.setDisplayName(String value) The display name of the processor version.setDisplayNameBytes(com.google.protobuf.ByteString value) The display name of the processor version.setDocumentSchema(DocumentSchema value) Output only.setDocumentSchema(DocumentSchema.Builder builderForValue) Output only.Output only.setGenAiModelInfo(ProcessorVersion.GenAiModelInfo.Builder builderForValue) Output only.setGoogleManaged(boolean value) Output only.setKmsKeyName(String value) Output only.setKmsKeyNameBytes(com.google.protobuf.ByteString value) Output only.setKmsKeyVersionName(String value) Output only.setKmsKeyVersionNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setLatestEvaluation(EvaluationReference.Builder builderForValue) Output only.Output only.setModelTypeValue(int value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.setState(ProcessorVersion.State value) Output only.setStateValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProcessorVersion.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProcessorVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ProcessorVersion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessorVersion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProcessorVersion.Builder>
-
mergeFrom
public ProcessorVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessorVersion.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceProcessorVersionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceProcessorVersionOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
The display name of the processor version.
string display_name = 2;- Specified by:
getDisplayNamein interfaceProcessorVersionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The display name of the processor version.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceProcessorVersionOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The display name of the processor version.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The display name of the processor version.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
The display name of the processor version.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasDocumentSchemain interfaceProcessorVersionOrBuilder- Returns:
- Whether the documentSchema field is set.
-
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];- Specified by:
getDocumentSchemain interfaceProcessorVersionOrBuilder- Returns:
- The documentSchema.
-
setDocumentSchema
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]; -
setDocumentSchema
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]; -
mergeDocumentSchema
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]; -
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]; -
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]; -
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];- Specified by:
getDocumentSchemaOrBuilderin interfaceProcessorVersionOrBuilder
-
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];- Specified by:
getStateValuein interfaceProcessorVersionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceProcessorVersionOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasCreateTimein interfaceProcessorVersionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time the processor version was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceProcessorVersionOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time the processor version was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public ProcessorVersion.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time the processor version was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time the processor version was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time the processor version was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time the processor version was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time the processor version was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceProcessorVersionOrBuilder
-
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];- Specified by:
hasLatestEvaluationin interfaceProcessorVersionOrBuilder- Returns:
- Whether the latestEvaluation field is set.
-
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];- Specified by:
getLatestEvaluationin interfaceProcessorVersionOrBuilder- Returns:
- The latestEvaluation.
-
setLatestEvaluation
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]; -
setLatestEvaluation
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]; -
mergeLatestEvaluation
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]; -
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]; -
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]; -
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];- Specified by:
getLatestEvaluationOrBuilderin interfaceProcessorVersionOrBuilder
-
getKmsKeyName
Output only. The KMS key name used for encryption.
string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKmsKeyNamein interfaceProcessorVersionOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()Output only. The KMS key name used for encryption.
string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKmsKeyNameBytesin interfaceProcessorVersionOrBuilder- Returns:
- The bytes for kmsKeyName.
-
setKmsKeyName
Output only. The KMS key name used for encryption.
string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The kmsKeyName to set.- Returns:
- This builder for chaining.
-
clearKmsKeyName
Output only. The KMS key name used for encryption.
string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setKmsKeyNameBytes
Output only. The KMS key name used for encryption.
string kms_key_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for kmsKeyName to set.- Returns:
- This builder for chaining.
-
getKmsKeyVersionName
Output only. The KMS key version with which data is encrypted.
string kms_key_version_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKmsKeyVersionNamein interfaceProcessorVersionOrBuilder- Returns:
- The kmsKeyVersionName.
-
getKmsKeyVersionNameBytes
public com.google.protobuf.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];- Specified by:
getKmsKeyVersionNameBytesin interfaceProcessorVersionOrBuilder- Returns:
- The bytes for kmsKeyVersionName.
-
setKmsKeyVersionName
Output only. The KMS key version with which data is encrypted.
string kms_key_version_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The kmsKeyVersionName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setKmsKeyVersionNameBytes
Output only. The KMS key version with which data is encrypted.
string kms_key_version_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for kmsKeyVersionName to set.- Returns:
- This builder for chaining.
-
getGoogleManaged
public boolean getGoogleManaged()Output only. Denotes that this `ProcessorVersion` is managed by Google.
bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGoogleManagedin interfaceProcessorVersionOrBuilder- Returns:
- The googleManaged.
-
setGoogleManaged
Output only. Denotes that this `ProcessorVersion` is managed by Google.
bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The googleManaged to set.- Returns:
- This builder for chaining.
-
clearGoogleManaged
Output only. Denotes that this `ProcessorVersion` is managed by Google.
bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasDeprecationInfoin interfaceProcessorVersionOrBuilder- Returns:
- Whether the deprecationInfo field is set.
-
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];- Specified by:
getDeprecationInfoin interfaceProcessorVersionOrBuilder- Returns:
- The deprecationInfo.
-
setDeprecationInfo
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]; -
setDeprecationInfo
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]; -
mergeDeprecationInfo
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]; -
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]; -
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]; -
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];- Specified by:
getDeprecationInfoOrBuilderin interfaceProcessorVersionOrBuilder
-
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];- Specified by:
getModelTypeValuein interfaceProcessorVersionOrBuilder- Returns:
- The enum numeric value on the wire for modelType.
-
setModelTypeValue
Output only. The model type of this processor version.
.google.cloud.documentai.v1.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for modelType to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getModelTypein interfaceProcessorVersionOrBuilder- Returns:
- The modelType.
-
setModelType
Output only. The model type of this processor version.
.google.cloud.documentai.v1.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The modelType to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceProcessorVersionOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. Reserved for future use.
bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. Reserved for future use.
bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. Reserved for future use.
bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPziin interfaceProcessorVersionOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. Reserved for future use.
bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. Reserved for future use.
bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasGenAiModelInfoin interfaceProcessorVersionOrBuilder- Returns:
- Whether the genAiModelInfo field is set.
-
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];- Specified by:
getGenAiModelInfoin interfaceProcessorVersionOrBuilder- Returns:
- The genAiModelInfo.
-
setGenAiModelInfo
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]; -
setGenAiModelInfo
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]; -
mergeGenAiModelInfo
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]; -
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]; -
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]; -
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];- Specified by:
getGenAiModelInfoOrBuilderin interfaceProcessorVersionOrBuilder
-