Package com.google.cloud.documentai.v1
Interface ProcessorVersionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProcessorVersion
,ProcessorVersion.Builder
public interface ProcessorVersionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
The time the processor version was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The time the processor version was created.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.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.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.String
getName()
The resource name of the processor version.com.google.protobuf.ByteString
getNameBytes()
The resource name of the processor version.ProcessorVersion.State
getState()
The state of the processor version.int
getStateValue()
The state of the processor version.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
hasLatestEvaluation()
The most recently invoked evaluation for the processor version.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The resource name of the processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The resource name of the processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`
string name = 1;
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
The display name of the processor version.
string display_name = 2;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the processor version.
string display_name = 2;
- Returns:
- The bytes for displayName.
-
hasDocumentSchema
boolean hasDocumentSchema()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1.DocumentSchema document_schema = 12;
- Returns:
- Whether the documentSchema field is set.
-
getDocumentSchema
DocumentSchema getDocumentSchema()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1.DocumentSchema document_schema = 12;
- Returns:
- The documentSchema.
-
getDocumentSchemaOrBuilder
DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1.DocumentSchema document_schema = 12;
-
getStateValue
int getStateValue()
The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6;
- Returns:
- The enum numeric value on the wire for state.
-
getState
ProcessorVersion.State getState()
The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6;
- Returns:
- The state.
-
hasCreateTime
boolean hasCreateTime()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
-
hasLatestEvaluation
boolean hasLatestEvaluation()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8;
- Returns:
- Whether the latestEvaluation field is set.
-
getLatestEvaluation
EvaluationReference getLatestEvaluation()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8;
- Returns:
- The latestEvaluation.
-
getLatestEvaluationOrBuilder
EvaluationReferenceOrBuilder getLatestEvaluationOrBuilder()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8;
-
getKmsKeyName
String getKmsKeyName()
The KMS key name used for encryption.
string kms_key_name = 9;
- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
com.google.protobuf.ByteString getKmsKeyNameBytes()
The KMS key name used for encryption.
string kms_key_name = 9;
- Returns:
- The bytes for kmsKeyName.
-
getKmsKeyVersionName
String getKmsKeyVersionName()
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;
- Returns:
- The kmsKeyVersionName.
-
getKmsKeyVersionNameBytes
com.google.protobuf.ByteString getKmsKeyVersionNameBytes()
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;
- Returns:
- The bytes for kmsKeyVersionName.
-
getGoogleManaged
boolean getGoogleManaged()
Output only. Denotes that this `ProcessorVersion` is managed by Google.
bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The googleManaged.
-
hasDeprecationInfo
boolean hasDeprecationInfo()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
- Returns:
- Whether the deprecationInfo field is set.
-
getDeprecationInfo
ProcessorVersion.DeprecationInfo getDeprecationInfo()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
- Returns:
- The deprecationInfo.
-
getDeprecationInfoOrBuilder
ProcessorVersion.DeprecationInfoOrBuilder getDeprecationInfoOrBuilder()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
-
-