- 2.57.0 (latest)
- 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 ProcessorVersionOrBuilder
A processor version is an implementation of a processor. Each processor can have multiple versions, pre-trained by Google internally or up-trained by the customer. At a time, a processor can only have one default version version. So the processor's behavior (when processing documents) is defined by a default version
Protobuf type google.cloud.documentai.v1beta3.ProcessorVersion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProcessorVersion.BuilderImplements
ProcessorVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProcessorVersion.Builder |
build()
public ProcessorVersion build()
Type | Description |
ProcessorVersion |
buildPartial()
public ProcessorVersion buildPartial()
Type | Description |
ProcessorVersion |
clear()
public ProcessorVersion.Builder clear()
Type | Description |
ProcessorVersion.Builder |
clearCreateTime()
public ProcessorVersion.Builder clearCreateTime()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
ProcessorVersion.Builder |
clearDeprecationInfo()
public ProcessorVersion.Builder clearDeprecationInfo()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Type | Description |
ProcessorVersion.Builder |
clearDisplayName()
public ProcessorVersion.Builder clearDisplayName()
The display name of the processor version.
string display_name = 2;
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
clearDocumentSchema()
public ProcessorVersion.Builder clearDocumentSchema()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;
Type | Description |
ProcessorVersion.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProcessorVersion.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ProcessorVersion.Builder |
clearGoogleManaged()
public ProcessorVersion.Builder clearGoogleManaged()
Denotes that this ProcessorVersion is managed by google.
bool google_managed = 11;
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
clearKmsKeyName()
public ProcessorVersion.Builder clearKmsKeyName()
The KMS key name used for encryption.
string kms_key_name = 9;
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
clearKmsKeyVersionName()
public ProcessorVersion.Builder clearKmsKeyVersionName()
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
clearLatestEvaluation()
public ProcessorVersion.Builder clearLatestEvaluation()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;
Type | Description |
ProcessorVersion.Builder |
clearName()
public ProcessorVersion.Builder clearName()
The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
string name = 1;
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessorVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ProcessorVersion.Builder |
clearState()
public ProcessorVersion.Builder clearState()
The state of the processor version.
.google.cloud.documentai.v1beta3.ProcessorVersion.State state = 6;
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
clone()
public ProcessorVersion.Builder clone()
Type | Description |
ProcessorVersion.Builder |
getCreateTime()
public Timestamp getCreateTime()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public ProcessorVersion getDefaultInstanceForType()
Type | Description |
ProcessorVersion |
getDeprecationInfo()
public ProcessorVersion.DeprecationInfo getDeprecationInfo()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Type | Description |
ProcessorVersion.DeprecationInfo | The deprecationInfo. |
getDeprecationInfoBuilder()
public ProcessorVersion.DeprecationInfo.Builder getDeprecationInfoBuilder()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
getDeprecationInfoOrBuilder()
public ProcessorVersion.DeprecationInfoOrBuilder getDeprecationInfoOrBuilder()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Type | Description |
ProcessorVersion.DeprecationInfoOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The display name of the processor version.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of the processor version.
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getDocumentSchema()
public DocumentSchema getDocumentSchema()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;
Type | Description |
DocumentSchema | The documentSchema. |
getDocumentSchemaBuilder()
public DocumentSchema.Builder getDocumentSchemaBuilder()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;
Type | Description |
DocumentSchema.Builder |
getDocumentSchemaOrBuilder()
public DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;
Type | Description |
DocumentSchemaOrBuilder |
getGoogleManaged()
public boolean getGoogleManaged()
Denotes that this ProcessorVersion is managed by google.
bool google_managed = 11;
Type | Description |
boolean | The googleManaged. |
getKmsKeyName()
public String getKmsKeyName()
The KMS key name used for encryption.
string kms_key_name = 9;
Type | Description |
String | The kmsKeyName. |
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()
The KMS key name used for encryption.
string kms_key_name = 9;
Type | Description |
ByteString | The bytes for kmsKeyName. |
getKmsKeyVersionName()
public String getKmsKeyVersionName()
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;
Type | Description |
String | The kmsKeyVersionName. |
getKmsKeyVersionNameBytes()
public ByteString getKmsKeyVersionNameBytes()
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;
Type | Description |
ByteString | The bytes for kmsKeyVersionName. |
getLatestEvaluation()
public EvaluationReference getLatestEvaluation()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;
Type | Description |
EvaluationReference | The latestEvaluation. |
getLatestEvaluationBuilder()
public EvaluationReference.Builder getLatestEvaluationBuilder()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;
Type | Description |
EvaluationReference.Builder |
getLatestEvaluationOrBuilder()
public EvaluationReferenceOrBuilder getLatestEvaluationOrBuilder()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;
Type | Description |
EvaluationReferenceOrBuilder |
getName()
public String getName()
The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getState()
public ProcessorVersion.State getState()
The state of the processor version.
.google.cloud.documentai.v1beta3.ProcessorVersion.State state = 6;
Type | Description |
ProcessorVersion.State | The state. |
getStateValue()
public int getStateValue()
The state of the processor version.
.google.cloud.documentai.v1beta3.ProcessorVersion.State state = 6;
Type | Description |
int | The enum numeric value on the wire for state. |
hasCreateTime()
public boolean hasCreateTime()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
boolean | Whether the createTime field is set. |
hasDeprecationInfo()
public boolean hasDeprecationInfo()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Type | Description |
boolean | Whether the deprecationInfo field is set. |
hasDocumentSchema()
public boolean hasDocumentSchema()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;
Type | Description |
boolean | Whether the documentSchema field is set. |
hasLatestEvaluation()
public boolean hasLatestEvaluation()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;
Type | Description |
boolean | Whether the latestEvaluation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public ProcessorVersion.Builder mergeCreateTime(Timestamp value)
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
ProcessorVersion.Builder |
mergeDeprecationInfo(ProcessorVersion.DeprecationInfo value)
public ProcessorVersion.Builder mergeDeprecationInfo(ProcessorVersion.DeprecationInfo value)
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Name | Description |
value | ProcessorVersion.DeprecationInfo |
Type | Description |
ProcessorVersion.Builder |
mergeDocumentSchema(DocumentSchema value)
public ProcessorVersion.Builder mergeDocumentSchema(DocumentSchema value)
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;
Name | Description |
value | DocumentSchema |
Type | Description |
ProcessorVersion.Builder |
mergeFrom(ProcessorVersion other)
public ProcessorVersion.Builder mergeFrom(ProcessorVersion other)
Name | Description |
other | ProcessorVersion |
Type | Description |
ProcessorVersion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProcessorVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProcessorVersion.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ProcessorVersion.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ProcessorVersion.Builder |
mergeLatestEvaluation(EvaluationReference value)
public ProcessorVersion.Builder mergeLatestEvaluation(EvaluationReference value)
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;
Name | Description |
value | EvaluationReference |
Type | Description |
ProcessorVersion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProcessorVersion.Builder |
setCreateTime(Timestamp value)
public ProcessorVersion.Builder setCreateTime(Timestamp value)
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
ProcessorVersion.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public ProcessorVersion.Builder setCreateTime(Timestamp.Builder builderForValue)
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
builderForValue | Builder |
Type | Description |
ProcessorVersion.Builder |
setDeprecationInfo(ProcessorVersion.DeprecationInfo value)
public ProcessorVersion.Builder setDeprecationInfo(ProcessorVersion.DeprecationInfo value)
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Name | Description |
value | ProcessorVersion.DeprecationInfo |
Type | Description |
ProcessorVersion.Builder |
setDeprecationInfo(ProcessorVersion.DeprecationInfo.Builder builderForValue)
public ProcessorVersion.Builder setDeprecationInfo(ProcessorVersion.DeprecationInfo.Builder builderForValue)
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Name | Description |
builderForValue | ProcessorVersion.DeprecationInfo.Builder |
Type | Description |
ProcessorVersion.Builder |
setDisplayName(String value)
public ProcessorVersion.Builder setDisplayName(String value)
The display name of the processor version.
string display_name = 2;
Name | Description |
value | String The displayName to set. |
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;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
setDocumentSchema(DocumentSchema value)
public ProcessorVersion.Builder setDocumentSchema(DocumentSchema value)
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;
Name | Description |
value | DocumentSchema |
Type | Description |
ProcessorVersion.Builder |
setDocumentSchema(DocumentSchema.Builder builderForValue)
public ProcessorVersion.Builder setDocumentSchema(DocumentSchema.Builder builderForValue)
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 12;
Name | Description |
builderForValue | DocumentSchema.Builder |
Type | Description |
ProcessorVersion.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProcessorVersion.Builder |
setGoogleManaged(boolean value)
public ProcessorVersion.Builder setGoogleManaged(boolean value)
Denotes that this ProcessorVersion is managed by google.
bool google_managed = 11;
Name | Description |
value | boolean The googleManaged to set. |
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
setKmsKeyName(String value)
public ProcessorVersion.Builder setKmsKeyName(String value)
The KMS key name used for encryption.
string kms_key_name = 9;
Name | Description |
value | String The kmsKeyName to set. |
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
setKmsKeyNameBytes(ByteString value)
public ProcessorVersion.Builder setKmsKeyNameBytes(ByteString value)
The KMS key name used for encryption.
string kms_key_name = 9;
Name | Description |
value | ByteString The bytes for kmsKeyName to set. |
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
setKmsKeyVersionName(String value)
public ProcessorVersion.Builder setKmsKeyVersionName(String value)
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;
Name | Description |
value | String The kmsKeyVersionName to set. |
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
setKmsKeyVersionNameBytes(ByteString value)
public ProcessorVersion.Builder setKmsKeyVersionNameBytes(ByteString value)
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;
Name | Description |
value | ByteString The bytes for kmsKeyVersionName to set. |
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
setLatestEvaluation(EvaluationReference value)
public ProcessorVersion.Builder setLatestEvaluation(EvaluationReference value)
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;
Name | Description |
value | EvaluationReference |
Type | Description |
ProcessorVersion.Builder |
setLatestEvaluation(EvaluationReference.Builder builderForValue)
public ProcessorVersion.Builder setLatestEvaluation(EvaluationReference.Builder builderForValue)
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1beta3.EvaluationReference latest_evaluation = 8;
Name | Description |
builderForValue | EvaluationReference.Builder |
Type | Description |
ProcessorVersion.Builder |
setName(String value)
public ProcessorVersion.Builder setName(String value)
The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ProcessorVersion.Builder setNameBytes(ByteString value)
The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ProcessorVersion.Builder |
setState(ProcessorVersion.State value)
public ProcessorVersion.Builder setState(ProcessorVersion.State value)
The state of the processor version.
.google.cloud.documentai.v1beta3.ProcessorVersion.State state = 6;
Name | Description |
value | ProcessorVersion.State The state to set. |
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
setStateValue(int value)
public ProcessorVersion.Builder setStateValue(int value)
The state of the processor version.
.google.cloud.documentai.v1beta3.ProcessorVersion.State state = 6;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
ProcessorVersion.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProcessorVersion.Builder |