Class ProcessorVersion.GenAiModelInfo (2.56.0)

public static final class ProcessorVersion.GenAiModelInfo extends GeneratedMessageV3 implements ProcessorVersion.GenAiModelInfoOrBuilder

Information about Generative AI model-based processor versions.

Protobuf type google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProcessorVersion.GenAiModelInfo

Static Fields

CUSTOM_GEN_AI_MODEL_INFO_FIELD_NUMBER

public static final int CUSTOM_GEN_AI_MODEL_INFO_FIELD_NUMBER
Field Value
Type Description
int

FOUNDATION_GEN_AI_MODEL_INFO_FIELD_NUMBER

public static final int FOUNDATION_GEN_AI_MODEL_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProcessorVersion.GenAiModelInfo getDefaultInstance()
Returns
Type Description
ProcessorVersion.GenAiModelInfo

getDescriptor()

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

newBuilder()

public static ProcessorVersion.GenAiModelInfo.Builder newBuilder()
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

newBuilder(ProcessorVersion.GenAiModelInfo prototype)

public static ProcessorVersion.GenAiModelInfo.Builder newBuilder(ProcessorVersion.GenAiModelInfo prototype)
Parameter
Name Description
prototype ProcessorVersion.GenAiModelInfo
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder

parseDelimitedFrom(InputStream input)

public static ProcessorVersion.GenAiModelInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersion.GenAiModelInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProcessorVersion.GenAiModelInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersion.GenAiModelInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProcessorVersion.GenAiModelInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersion.GenAiModelInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProcessorVersion.GenAiModelInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersion.GenAiModelInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProcessorVersion.GenAiModelInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersion.GenAiModelInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProcessorVersion.GenAiModelInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProcessorVersion.GenAiModelInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorVersion.GenAiModelInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProcessorVersion.GenAiModelInfo> parser()
Returns
Type Description
Parser<GenAiModelInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomGenAiModelInfo()

public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo getCustomGenAiModelInfo()

Information for a custom Generative AI model created by the user.

.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo custom_gen_ai_model_info = 2;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfo

The customGenAiModelInfo.

getCustomGenAiModelInfoOrBuilder()

public ProcessorVersion.GenAiModelInfo.CustomGenAiModelInfoOrBuilder getCustomGenAiModelInfoOrBuilder()

Information for a custom Generative AI model created by the user.

.google.cloud.documentai.v1beta3.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

getFoundationGenAiModelInfo()

public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo getFoundationGenAiModelInfo()

Information for a pretrained Google-managed foundation model.

.google.cloud.documentai.v1beta3.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;

Returns
Type Description
ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo

The foundationGenAiModelInfo.

getFoundationGenAiModelInfoOrBuilder()

public ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfoOrBuilder getFoundationGenAiModelInfoOrBuilder()

Information for a pretrained Google-managed foundation model.

.google.cloud.documentai.v1beta3.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

getParserForType()

public Parser<ProcessorVersion.GenAiModelInfo> getParserForType()
Returns
Type Description
Parser<GenAiModelInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCustomGenAiModelInfo()

public boolean hasCustomGenAiModelInfo()

Information for a custom Generative AI model created by the user.

.google.cloud.documentai.v1beta3.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.v1beta3.ProcessorVersion.GenAiModelInfo.FoundationGenAiModelInfo foundation_gen_ai_model_info = 1;

Returns
Type Description
boolean

Whether the foundationGenAiModelInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProcessorVersion.GenAiModelInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProcessorVersion.GenAiModelInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException