- 2.52.0 (latest)
- 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, 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProcessorVersion.BuilderImplements
ProcessorVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
build()
public ProcessorVersion build()
Returns | |
---|---|
Type | Description |
ProcessorVersion |
buildPartial()
public ProcessorVersion buildPartial()
Returns | |
---|---|
Type | Description |
ProcessorVersion |
clear()
public ProcessorVersion.Builder clear()
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
clearCreateTime()
public ProcessorVersion.Builder clearCreateTime()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
clearDeprecationInfo()
public ProcessorVersion.Builder clearDeprecationInfo()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
clearDisplayName()
public ProcessorVersion.Builder clearDisplayName()
The display name of the processor version.
string display_name = 2;
Returns | |
---|---|
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.v1.DocumentSchema document_schema = 12;
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProcessorVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
clearGenAiModelInfo()
public ProcessorVersion.Builder 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];
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
clearGoogleManaged()
public ProcessorVersion.Builder clearGoogleManaged()
Output only. Denotes that this ProcessorVersion
is managed by Google.
bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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.v1.EvaluationReference latest_evaluation = 8;
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
clearModelType()
public ProcessorVersion.Builder 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 | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
clearName()
public ProcessorVersion.Builder 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 | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessorVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
clearSatisfiesPzi()
public ProcessorVersion.Builder clearSatisfiesPzi()
Output only. Reserved for future use.
bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
clearSatisfiesPzs()
public ProcessorVersion.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
clearState()
public ProcessorVersion.Builder clearState()
Output only. The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
clone()
public ProcessorVersion.Builder clone()
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
getCreateTime()
public Timestamp getCreateTime()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time the processor version was created.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public ProcessorVersion getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ProcessorVersion |
getDeprecationInfo()
public ProcessorVersion.DeprecationInfo getDeprecationInfo()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Returns | |
---|---|
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.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Returns | |
---|---|
Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
getDeprecationInfoOrBuilder()
public ProcessorVersion.DeprecationInfoOrBuilder getDeprecationInfoOrBuilder()
If set, information about the eventual deprecation of this version.
.google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Returns | |
---|---|
Type | Description |
ProcessorVersion.DeprecationInfoOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The display name of the processor version.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of the processor version.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getDocumentSchema()
public DocumentSchema getDocumentSchema()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1.DocumentSchema document_schema = 12;
Returns | |
---|---|
Type | Description |
DocumentSchema |
The documentSchema. |
getDocumentSchemaBuilder()
public DocumentSchema.Builder getDocumentSchemaBuilder()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1.DocumentSchema document_schema = 12;
Returns | |
---|---|
Type | Description |
DocumentSchema.Builder |
getDocumentSchemaOrBuilder()
public DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()
The schema of the processor version. Describes the output.
.google.cloud.documentai.v1.DocumentSchema document_schema = 12;
Returns | |
---|---|
Type | Description |
DocumentSchemaOrBuilder |
getGenAiModelInfo()
public ProcessorVersion.GenAiModelInfo 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];
Returns | |
---|---|
Type | Description |
ProcessorVersion.GenAiModelInfo |
The genAiModelInfo. |
getGenAiModelInfoBuilder()
public ProcessorVersion.GenAiModelInfo.Builder 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];
Returns | |
---|---|
Type | Description |
ProcessorVersion.GenAiModelInfo.Builder |
getGenAiModelInfoOrBuilder()
public ProcessorVersion.GenAiModelInfoOrBuilder 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];
Returns | |
---|---|
Type | Description |
ProcessorVersion.GenAiModelInfoOrBuilder |
getGoogleManaged()
public boolean getGoogleManaged()
Output only. Denotes that this ProcessorVersion
is managed by Google.
bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The googleManaged. |
getKmsKeyName()
public String getKmsKeyName()
The KMS key name used for encryption.
string kms_key_name = 9;
Returns | |
---|---|
Type | Description |
String |
The kmsKeyName. |
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()
The KMS key name used for encryption.
string kms_key_name = 9;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String |
The kmsKeyVersionName. |
getKmsKeyVersionNameBytes()
public ByteString getKmsKeyVersionNameBytes()
The KMS key version with which data is encrypted.
string kms_key_version_name = 10;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kmsKeyVersionName. |
getLatestEvaluation()
public EvaluationReference getLatestEvaluation()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8;
Returns | |
---|---|
Type | Description |
EvaluationReference |
The latestEvaluation. |
getLatestEvaluationBuilder()
public EvaluationReference.Builder getLatestEvaluationBuilder()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8;
Returns | |
---|---|
Type | Description |
EvaluationReference.Builder |
getLatestEvaluationOrBuilder()
public EvaluationReferenceOrBuilder getLatestEvaluationOrBuilder()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8;
Returns | |
---|---|
Type | Description |
EvaluationReferenceOrBuilder |
getModelType()
public ProcessorVersion.ModelType 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];
Returns | |
---|---|
Type | Description |
ProcessorVersion.ModelType |
The modelType. |
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for modelType. |
getName()
public 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];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getSatisfiesPzi()
public boolean getSatisfiesPzi()
Output only. Reserved for future use.
bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The satisfiesPzi. |
getSatisfiesPzs()
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The satisfiesPzs. |
getState()
public ProcessorVersion.State getState()
Output only. The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProcessorVersion.State |
The state. |
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];
Returns | |
---|---|
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;
Returns | |
---|---|
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.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Returns | |
---|---|
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.v1.DocumentSchema document_schema = 12;
Returns | |
---|---|
Type | Description |
boolean |
Whether the documentSchema field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the genAiModelInfo field is set. |
hasLatestEvaluation()
public boolean hasLatestEvaluation()
The most recently invoked evaluation for the processor version.
.google.cloud.documentai.v1.EvaluationReference latest_evaluation = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the latestEvaluation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Parameter | |
---|---|
Name | Description |
value |
ProcessorVersion.DeprecationInfo |
Returns | |
---|---|
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.v1.DocumentSchema document_schema = 12;
Parameter | |
---|---|
Name | Description |
value |
DocumentSchema |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
mergeFrom(ProcessorVersion other)
public ProcessorVersion.Builder mergeFrom(ProcessorVersion other)
Parameter | |
---|---|
Name | Description |
other |
ProcessorVersion |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProcessorVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ProcessorVersion.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
mergeGenAiModelInfo(ProcessorVersion.GenAiModelInfo value)
public ProcessorVersion.Builder mergeGenAiModelInfo(ProcessorVersion.GenAiModelInfo value)
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];
Parameter | |
---|---|
Name | Description |
value |
ProcessorVersion.GenAiModelInfo |
Returns | |
---|---|
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.v1.EvaluationReference latest_evaluation = 8;
Parameter | |
---|---|
Name | Description |
value |
EvaluationReference |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Parameter | |
---|---|
Name | Description |
value |
ProcessorVersion.DeprecationInfo |
Returns | |
---|---|
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.v1.ProcessorVersion.DeprecationInfo deprecation_info = 13;
Parameter | |
---|---|
Name | Description |
builderForValue |
ProcessorVersion.DeprecationInfo.Builder |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
setDisplayName(String value)
public ProcessorVersion.Builder setDisplayName(String value)
The display name of the processor version.
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
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.v1.DocumentSchema document_schema = 12;
Parameter | |
---|---|
Name | Description |
value |
DocumentSchema |
Returns | |
---|---|
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.v1.DocumentSchema document_schema = 12;
Parameter | |
---|---|
Name | Description |
builderForValue |
DocumentSchema.Builder |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
setGenAiModelInfo(ProcessorVersion.GenAiModelInfo value)
public ProcessorVersion.Builder setGenAiModelInfo(ProcessorVersion.GenAiModelInfo value)
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];
Parameter | |
---|---|
Name | Description |
value |
ProcessorVersion.GenAiModelInfo |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
setGenAiModelInfo(ProcessorVersion.GenAiModelInfo.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
ProcessorVersion.GenAiModelInfo.Builder |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
setGoogleManaged(boolean value)
public ProcessorVersion.Builder setGoogleManaged(boolean value)
Output only. Denotes that this ProcessorVersion
is managed by Google.
bool google_managed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The googleManaged to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The kmsKeyName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kmsKeyName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The kmsKeyVersionName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kmsKeyVersionName to set. |
Returns | |
---|---|
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.v1.EvaluationReference latest_evaluation = 8;
Parameter | |
---|---|
Name | Description |
value |
EvaluationReference |
Returns | |
---|---|
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.v1.EvaluationReference latest_evaluation = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
EvaluationReference.Builder |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
setModelType(ProcessorVersion.ModelType value)
public ProcessorVersion.Builder setModelType(ProcessorVersion.ModelType value)
Output only. The model type of this processor version.
.google.cloud.documentai.v1.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ProcessorVersion.ModelType The modelType to set. |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
setModelTypeValue(int value)
public ProcessorVersion.Builder setModelTypeValue(int value)
Output only. The model type of this processor version.
.google.cloud.documentai.v1.ProcessorVersion.ModelType model_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for modelType to set. |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
setName(String value)
public ProcessorVersion.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ProcessorVersion.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
setSatisfiesPzi(boolean value)
public ProcessorVersion.Builder setSatisfiesPzi(boolean value)
Output only. Reserved for future use.
bool satisfies_pzi = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The satisfiesPzi to set. |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
setSatisfiesPzs(boolean value)
public ProcessorVersion.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The satisfiesPzs to set. |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
setState(ProcessorVersion.State value)
public ProcessorVersion.Builder setState(ProcessorVersion.State value)
Output only. The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ProcessorVersion.State The state to set. |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
setStateValue(int value)
public ProcessorVersion.Builder setStateValue(int value)
Output only. The state of the processor version.
.google.cloud.documentai.v1.ProcessorVersion.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProcessorVersion.Builder |