Interface GenerationConfig.RoutingConfig.ManualRoutingModeOrBuilder (3.55.0)

public static interface GenerationConfig.RoutingConfig.ManualRoutingModeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModelName()

public abstract String getModelName()

The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'.

optional string model_name = 1;

Returns
Type Description
String

The modelName.

getModelNameBytes()

public abstract ByteString getModelNameBytes()

The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'.

optional string model_name = 1;

Returns
Type Description
ByteString

The bytes for modelName.

hasModelName()

public abstract boolean hasModelName()

The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'.

optional string model_name = 1;

Returns
Type Description
boolean

Whether the modelName field is set.