Interface ProcessorVersion.GenAiModelInfoOrBuilder (2.59.0)

public static interface ProcessorVersion.GenAiModelInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomGenAiModelInfo()

public abstract 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 abstract 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

getFoundationGenAiModelInfo()

public abstract 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 abstract 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 abstract ProcessorVersion.GenAiModelInfo.ModelInfoCase getModelInfoCase()
Returns
Type Description
ProcessorVersion.GenAiModelInfo.ModelInfoCase

hasCustomGenAiModelInfo()

public abstract 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 abstract 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.