public static final class ProcessorVersion.GenAiModelInfo.Builder extends GeneratedMessageV3.Builder<ProcessorVersion.GenAiModelInfo.Builder> implements ProcessorVersion.GenAiModelInfoOrBuilder
Information about Generative AI model-based processor versions.
Protobuf type google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ProcessorVersion.GenAiModelInfo build()
buildPartial()
public ProcessorVersion.GenAiModelInfo buildPartial()
clear()
public ProcessorVersion.GenAiModelInfo.Builder clear()
Overrides
clearCustomGenAiModelInfo()
public ProcessorVersion.GenAiModelInfo.Builder clearCustomGenAiModelInfo()
Information for a custom Generative AI model created by the user.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo custom_gen_ai_model_info = 2;
clearField(Descriptors.FieldDescriptor field)
public ProcessorVersion.GenAiModelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFoundationGenAiModelInfo()
public ProcessorVersion.GenAiModelInfo.Builder clearFoundationGenAiModelInfo()
Information for a pretrained Google-managed foundation model.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;
clearModelInfo()
public ProcessorVersion.GenAiModelInfo.Builder clearModelInfo()
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessorVersion.GenAiModelInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ProcessorVersion.GenAiModelInfo.Builder clone()
Overrides
getCustomGenAiModelInfo()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo getCustomGenAiModelInfo()
Information for a custom Generative AI model created by the user.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo custom_gen_ai_model_info = 2;
getCustomGenAiModelInfoBuilder()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder getCustomGenAiModelInfoBuilder()
Information for a custom Generative AI model created by the user.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo custom_gen_ai_model_info = 2;
getCustomGenAiModelInfoOrBuilder()
public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfoOrBuilder getCustomGenAiModelInfoOrBuilder()
Information for a custom Generative AI model created by the user.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo custom_gen_ai_model_info = 2;
getDefaultInstanceForType()
public ProcessorVersion.GenAiModelInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFoundationGenAiModelInfo()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo getFoundationGenAiModelInfo()
Information for a pretrained Google-managed foundation model.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;
getFoundationGenAiModelInfoBuilder()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder getFoundationGenAiModelInfoBuilder()
Information for a pretrained Google-managed foundation model.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;
getFoundationGenAiModelInfoOrBuilder()
public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfoOrBuilder getFoundationGenAiModelInfoOrBuilder()
Information for a pretrained Google-managed foundation model.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;
getModelInfoCase()
public ProcessorVersion.GenAiModelInfo.ModelInfoCase getModelInfoCase()
hasCustomGenAiModelInfo()
public boolean hasCustomGenAiModelInfo()
Information for a custom Generative AI model created by the user.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo custom_gen_ai_model_info = 2;
Returns |
Type |
Description |
boolean |
Whether the customGenAiModelInfo field is set.
|
hasFoundationGenAiModelInfo()
public boolean hasFoundationGenAiModelInfo()
Information for a pretrained Google-managed foundation model.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;
Returns |
Type |
Description |
boolean |
Whether the foundationGenAiModelInfo field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCustomGenAiModelInfo(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo value)
public ProcessorVersion.GenAiModelInfo.Builder mergeCustomGenAiModelInfo(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo value)
Information for a custom Generative AI model created by the user.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo custom_gen_ai_model_info = 2;
mergeFoundationGenAiModelInfo(ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo value)
public ProcessorVersion.GenAiModelInfo.Builder mergeFoundationGenAiModelInfo(ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo value)
Information for a pretrained Google-managed foundation model.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;
mergeFrom(ProcessorVersion.GenAiModelInfo other)
public ProcessorVersion.GenAiModelInfo.Builder mergeFrom(ProcessorVersion.GenAiModelInfo other)
public ProcessorVersion.GenAiModelInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProcessorVersion.GenAiModelInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.GenAiModelInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCustomGenAiModelInfo(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo value)
public ProcessorVersion.GenAiModelInfo.Builder setCustomGenAiModelInfo(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo value)
Information for a custom Generative AI model created by the user.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo custom_gen_ai_model_info = 2;
setCustomGenAiModelInfo(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder builderForValue)
public ProcessorVersion.GenAiModelInfo.Builder setCustomGenAiModelInfo(ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder builderForValue)
Information for a custom Generative AI model created by the user.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo custom_gen_ai_model_info = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.GenAiModelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFoundationGenAiModelInfo(ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo value)
public ProcessorVersion.GenAiModelInfo.Builder setFoundationGenAiModelInfo(ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo value)
Information for a pretrained Google-managed foundation model.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;
setFoundationGenAiModelInfo(ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder builderForValue)
public ProcessorVersion.GenAiModelInfo.Builder setFoundationGenAiModelInfo(ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder builderForValue)
Information for a pretrained Google-managed foundation model.
.google.cloud.documentai.v1.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessorVersion.GenAiModelInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.GenAiModelInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides