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.TimestampgetCreateTime()The time the processor version was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time the processor version was created.ProcessorVersion.DeprecationInfogetDeprecationInfo()If set, information about the eventual deprecation of this version.ProcessorVersion.DeprecationInfoOrBuildergetDeprecationInfoOrBuilder()If set, information about the eventual deprecation of this version.StringgetDisplayName()The display name of the processor version.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the processor version.DocumentSchemagetDocumentSchema()The schema of the processor version.DocumentSchemaOrBuildergetDocumentSchemaOrBuilder()The schema of the processor version.booleangetGoogleManaged()Output only.StringgetKmsKeyName()The KMS key name used for encryption.com.google.protobuf.ByteStringgetKmsKeyNameBytes()The KMS key name used for encryption.StringgetKmsKeyVersionName()The KMS key version with which data is encrypted.com.google.protobuf.ByteStringgetKmsKeyVersionNameBytes()The KMS key version with which data is encrypted.EvaluationReferencegetLatestEvaluation()The most recently invoked evaluation for the processor version.EvaluationReferenceOrBuildergetLatestEvaluationOrBuilder()The most recently invoked evaluation for the processor version.StringgetName()The resource name of the processor version.com.google.protobuf.ByteStringgetNameBytes()The resource name of the processor version.ProcessorVersion.StategetState()The state of the processor version.intgetStateValue()The state of the processor version.booleanhasCreateTime()The time the processor version was created.booleanhasDeprecationInfo()If set, information about the eventual deprecation of this version.booleanhasDocumentSchema()The schema of the processor version.booleanhasLatestEvaluation()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;
-
-