public static final class ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder extends GeneratedMessageV3.Builder<ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder> implements ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfoOrBuilder
Information for a custom Generative AI model created by the user. These
are created with Create New Version
in either the Call foundation
model
or Fine tuning
tabs.
Protobuf type
google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo build()
buildPartial()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo buildPartial()
clear()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder clear()
Overrides
clearBaseProcessorVersionId()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder clearBaseProcessorVersionId()
The base processor version ID for the custom model.
string base_processor_version_id = 2;
clearCustomModelType()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder clearCustomModelType()
The type of custom model created by the user.
.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType custom_model_type = 1;
clearField(Descriptors.FieldDescriptor field)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder clone()
Overrides
getBaseProcessorVersionId()
public String getBaseProcessorVersionId()
The base processor version ID for the custom model.
string base_processor_version_id = 2;
Returns |
Type |
Description |
String |
The baseProcessorVersionId.
|
getBaseProcessorVersionIdBytes()
public ByteString getBaseProcessorVersionIdBytes()
The base processor version ID for the custom model.
string base_processor_version_id = 2;
Returns |
Type |
Description |
ByteString |
The bytes for baseProcessorVersionId.
|
getCustomModelType()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType getCustomModelType()
The type of custom model created by the user.
.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType custom_model_type = 1;
getCustomModelTypeValue()
public int getCustomModelTypeValue()
The type of custom model created by the user.
.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType custom_model_type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for customModelType.
|
getDefaultInstanceForType()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo other)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder mergeFrom(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo other)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBaseProcessorVersionId(String value)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder setBaseProcessorVersionId(String value)
The base processor version ID for the custom model.
string base_processor_version_id = 2;
Parameter |
Name |
Description |
value |
String
The baseProcessorVersionId to set.
|
setBaseProcessorVersionIdBytes(ByteString value)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder setBaseProcessorVersionIdBytes(ByteString value)
The base processor version ID for the custom model.
string base_processor_version_id = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for baseProcessorVersionId to set.
|
setCustomModelType(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType value)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder setCustomModelType(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType value)
The type of custom model created by the user.
.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType custom_model_type = 1;
setCustomModelTypeValue(int value)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder setCustomModelTypeValue(int value)
The type of custom model created by the user.
.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.CustomModelType custom_model_type = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for customModelType to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides