public final class ProcessorVersion extends com.google.protobuf.GeneratedMessageV3 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.v1beta3.ProcessorVersion| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessorVersion.Builder
A processor version is an implementation of a processor.
|
static class |
ProcessorVersion.DeprecationInfo
Information about the upcoming deprecation of this processor version.
|
static interface |
ProcessorVersion.DeprecationInfoOrBuilder |
static class |
ProcessorVersion.GenAiModelInfo
Information about Generative AI model-based processor versions.
|
static interface |
ProcessorVersion.GenAiModelInfoOrBuilder |
static class |
ProcessorVersion.ModelType
The possible model types of the processor version.
|
static class |
ProcessorVersion.State
The possible states of the processor version.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DEPRECATION_INFO_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
DOCUMENT_SCHEMA_FIELD_NUMBER |
static int |
GEN_AI_MODEL_INFO_FIELD_NUMBER |
static int |
GOOGLE_MANAGED_FIELD_NUMBER |
static int |
KMS_KEY_NAME_FIELD_NUMBER |
static int |
KMS_KEY_VERSION_NAME_FIELD_NUMBER |
static int |
LATEST_EVALUATION_FIELD_NUMBER |
static int |
MODEL_TYPE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SATISFIES_PZI_FIELD_NUMBER |
static int |
SATISFIES_PZS_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
The time the processor version was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time the processor version was created.
|
static ProcessorVersion |
getDefaultInstance() |
ProcessorVersion |
getDefaultInstanceForType() |
ProcessorVersion.DeprecationInfo |
getDeprecationInfo()
If set, information about the eventual deprecation of this version.
|
ProcessorVersion.DeprecationInfoOrBuilder |
getDeprecationInfoOrBuilder()
If set, information about the eventual deprecation of this version.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
The display name of the processor version.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The display name of the processor version.
|
DocumentSchema |
getDocumentSchema()
The schema of the processor version.
|
DocumentSchemaOrBuilder |
getDocumentSchemaOrBuilder()
The schema of the processor version.
|
ProcessorVersion.GenAiModelInfo |
getGenAiModelInfo()
Output only.
|
ProcessorVersion.GenAiModelInfoOrBuilder |
getGenAiModelInfoOrBuilder()
Output only.
|
boolean |
getGoogleManaged()
Output only.
|
String |
getKmsKeyName()
The KMS key name used for encryption.
|
com.google.protobuf.ByteString |
getKmsKeyNameBytes()
The KMS key name used for encryption.
|
String |
getKmsKeyVersionName()
The KMS key version with which data is encrypted.
|
com.google.protobuf.ByteString |
getKmsKeyVersionNameBytes()
The KMS key version with which data is encrypted.
|
EvaluationReference |
getLatestEvaluation()
The most recently invoked evaluation for the processor version.
|
EvaluationReferenceOrBuilder |
getLatestEvaluationOrBuilder()
The most recently invoked evaluation for the processor version.
|
ProcessorVersion.ModelType |
getModelType()
Output only.
|
int |
getModelTypeValue()
Output only.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
com.google.protobuf.Parser<ProcessorVersion> |
getParserForType() |
boolean |
getSatisfiesPzi()
Output only.
|
boolean |
getSatisfiesPzs()
Output only.
|
int |
getSerializedSize() |
ProcessorVersion.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
hasCreateTime()
The time the processor version was created.
|
boolean |
hasDeprecationInfo()
If set, information about the eventual deprecation of this version.
|
boolean |
hasDocumentSchema()
The schema of the processor version.
|
boolean |
hasGenAiModelInfo()
Output only.
|
int |
hashCode() |
boolean |
hasLatestEvaluation()
The most recently invoked evaluation for the processor version.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProcessorVersion.Builder |
newBuilder() |
static ProcessorVersion.Builder |
newBuilder(ProcessorVersion prototype) |
ProcessorVersion.Builder |
newBuilderForType() |
protected ProcessorVersion.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ProcessorVersion |
parseDelimitedFrom(InputStream input) |
static ProcessorVersion |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorVersion |
parseFrom(byte[] data) |
static ProcessorVersion |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorVersion |
parseFrom(ByteBuffer data) |
static ProcessorVersion |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorVersion |
parseFrom(com.google.protobuf.ByteString data) |
static ProcessorVersion |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorVersion |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProcessorVersion |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessorVersion |
parseFrom(InputStream input) |
static ProcessorVersion |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ProcessorVersion> |
parser() |
ProcessorVersion.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DOCUMENT_SCHEMA_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int LATEST_EVALUATION_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_VERSION_NAME_FIELD_NUMBER
public static final int GOOGLE_MANAGED_FIELD_NUMBER
public static final int DEPRECATION_INFO_FIELD_NUMBER
public static final int MODEL_TYPE_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZI_FIELD_NUMBER
public static final int GEN_AI_MODEL_INFO_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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];getName in interface ProcessorVersionOrBuilderpublic 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];getNameBytes in interface ProcessorVersionOrBuilderpublic String getDisplayName()
The display name of the processor version.
string display_name = 2;getDisplayName in interface ProcessorVersionOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the processor version.
string display_name = 2;getDisplayNameBytes in interface ProcessorVersionOrBuilderpublic boolean hasDocumentSchema()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;hasDocumentSchema in interface ProcessorVersionOrBuilderpublic DocumentSchema getDocumentSchema()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;getDocumentSchema in interface ProcessorVersionOrBuilderpublic DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;getDocumentSchemaOrBuilder in interface ProcessorVersionOrBuilderpublic int getStateValue()
Output only. The state of the processor version.
.google.cloud.documentai.v1beta3.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface ProcessorVersionOrBuilderpublic ProcessorVersion.State getState()
Output only. The state of the processor version.
.google.cloud.documentai.v1beta3.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface ProcessorVersionOrBuilderpublic boolean hasCreateTime()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;hasCreateTime in interface ProcessorVersionOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;getCreateTime in interface ProcessorVersionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;getCreateTimeOrBuilder in interface ProcessorVersionOrBuilderpublic boolean hasLatestEvaluation()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;hasLatestEvaluation in interface ProcessorVersionOrBuilderpublic EvaluationReference getLatestEvaluation()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;getLatestEvaluation in interface ProcessorVersionOrBuilderpublic EvaluationReferenceOrBuilder getLatestEvaluationOrBuilder()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;getLatestEvaluationOrBuilder in interface ProcessorVersionOrBuilderpublic String getKmsKeyName()
The KMS key name used for encryption.
string kms_key_name = 9;getKmsKeyName in interface ProcessorVersionOrBuilderpublic com.google.protobuf.ByteString getKmsKeyNameBytes()
The KMS key name used for encryption.
string kms_key_name = 9;getKmsKeyNameBytes in interface ProcessorVersionOrBuilderpublic String getKmsKeyVersionName()
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;getKmsKeyVersionName in interface ProcessorVersionOrBuilderpublic com.google.protobuf.ByteString getKmsKeyVersionNameBytes()
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;getKmsKeyVersionNameBytes in interface ProcessorVersionOrBuilderpublic boolean getGoogleManaged()
Output only. Denotes that this `ProcessorVersion` is managed by Google.
bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getGoogleManaged in interface ProcessorVersionOrBuilderpublic boolean hasDeprecationInfo()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
hasDeprecationInfo in interface ProcessorVersionOrBuilderpublic ProcessorVersion.DeprecationInfo getDeprecationInfo()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
getDeprecationInfo in interface ProcessorVersionOrBuilderpublic ProcessorVersion.DeprecationInfoOrBuilder getDeprecationInfoOrBuilder()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
getDeprecationInfoOrBuilder in interface ProcessorVersionOrBuilderpublic int getModelTypeValue()
Output only. The model type of this processor version.
.google.cloud.documentai.v1beta3.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getModelTypeValue in interface ProcessorVersionOrBuilderpublic ProcessorVersion.ModelType getModelType()
Output only. The model type of this processor version.
.google.cloud.documentai.v1beta3.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getModelType in interface ProcessorVersionOrBuilderpublic boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzs in interface ProcessorVersionOrBuilderpublic boolean getSatisfiesPzi()
Output only. Reserved for future use.
bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzi in interface ProcessorVersionOrBuilderpublic boolean hasGenAiModelInfo()
Output only. Information about Generative AI model-based processor versions.
.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasGenAiModelInfo in interface ProcessorVersionOrBuilderpublic ProcessorVersion.GenAiModelInfo getGenAiModelInfo()
Output only. Information about Generative AI model-based processor versions.
.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGenAiModelInfo in interface ProcessorVersionOrBuilderpublic ProcessorVersion.GenAiModelInfoOrBuilder getGenAiModelInfoOrBuilder()
Output only. Information about Generative AI model-based processor versions.
.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo gen_ai_model_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGenAiModelInfoOrBuilder in interface ProcessorVersionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ProcessorVersion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorVersion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorVersion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorVersion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorVersion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessorVersion parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProcessorVersion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcessorVersion parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProcessorVersion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcessorVersion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProcessorVersion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ProcessorVersion.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ProcessorVersion.Builder newBuilder()
public static ProcessorVersion.Builder newBuilder(ProcessorVersion prototype)
public ProcessorVersion.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ProcessorVersion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ProcessorVersion getDefaultInstance()
public static com.google.protobuf.Parser<ProcessorVersion> parser()
public com.google.protobuf.Parser<ProcessorVersion> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ProcessorVersion getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.