public static final class ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder extends GeneratedMessageV3.Builder<ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder> implements ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfoOrBuilder
Information for a pretrained Google-managed foundation model.
Protobuf type
google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo
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.FoundationGenAiModelInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo build()
buildPartial()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo buildPartial()
clear()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFinetuningAllowed()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder clearFinetuningAllowed()
Whether finetuning is allowed for this base processor version.
bool finetuning_allowed = 1;
clearMinTrainLabeledDocuments()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder clearMinTrainLabeledDocuments()
The minimum number of labeled documents in the training dataset
required for finetuning.
int32 min_train_labeled_documents = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFinetuningAllowed()
public boolean getFinetuningAllowed()
Whether finetuning is allowed for this base processor version.
bool finetuning_allowed = 1;
Returns |
Type |
Description |
boolean |
The finetuningAllowed.
|
getMinTrainLabeledDocuments()
public int getMinTrainLabeledDocuments()
The minimum number of labeled documents in the training dataset
required for finetuning.
int32 min_train_labeled_documents = 2;
Returns |
Type |
Description |
int |
The minTrainLabeledDocuments.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo other)
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder mergeFrom(ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo other)
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFinetuningAllowed(boolean value)
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder setFinetuningAllowed(boolean value)
Whether finetuning is allowed for this base processor version.
bool finetuning_allowed = 1;
Parameter |
Name |
Description |
value |
boolean
The finetuningAllowed to set.
|
setMinTrainLabeledDocuments(int value)
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder setMinTrainLabeledDocuments(int value)
The minimum number of labeled documents in the training dataset
required for finetuning.
int32 min_train_labeled_documents = 2;
Parameter |
Name |
Description |
value |
int
The minTrainLabeledDocuments to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides