Class ProcessorVersion.GenAiModelInfo.Builder (2.57.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProcessorVersion.GenAiModelInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
Overrides

build()

public ProcessorVersion.GenAiModelInfo build()
Returns
Type Description
ProcessorVersion.GenAiModelInfo

buildPartial()

public ProcessorVersion.GenAiModelInfo buildPartial()
Returns
Type Description
ProcessorVersion.GenAiModelInfo

clear()

public ProcessorVersion.GenAiModelInfo.Builder clear()
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
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;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public ProcessorVersion.GenAiModelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
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;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

clearModelInfo()

public ProcessorVersion.GenAiModelInfo.Builder clearModelInfo()
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ProcessorVersion.GenAiModelInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
Overrides

clone()

public ProcessorVersion.GenAiModelInfo.Builder clone()
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
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;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo

The customGenAiModelInfo.

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;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder

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;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfoOrBuilder

getDefaultInstanceForType()

public ProcessorVersion.GenAiModelInfo getDefaultInstanceForType()
Returns
Type Description
ProcessorVersion.GenAiModelInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo

The foundationGenAiModelInfo.

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;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder

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;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfoOrBuilder

getModelInfoCase()

public ProcessorVersion.GenAiModelInfo.ModelInfoCase getModelInfoCase()
Returns
Type Description
ProcessorVersion.GenAiModelInfo.ModelInfoCase

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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;

Parameter
Name Description
value ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

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;

Parameter
Name Description
value ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

mergeFrom(ProcessorVersion.GenAiModelInfo other)

public ProcessorVersion.GenAiModelInfo.Builder mergeFrom(ProcessorVersion.GenAiModelInfo other)
Parameter
Name Description
other ProcessorVersion.GenAiModelInfo
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProcessorVersion.GenAiModelInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProcessorVersion.GenAiModelInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorVersion.GenAiModelInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
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;

Parameter
Name Description
value ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

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;

Parameter
Name Description
builderForValue ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo.Builder
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ProcessorVersion.GenAiModelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
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;

Parameter
Name Description
value ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

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;

Parameter
Name Description
builderForValue ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo.Builder
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProcessorVersion.GenAiModelInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorVersion.GenAiModelInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
Overrides