Interface AnswerQueryRequest.AnswerGenerationSpec.ModelSpecOrBuilder (0.40.0)

public static interface AnswerQueryRequest.AnswerGenerationSpec.ModelSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModelVersion()

public abstract String getModelVersion()

Model version. If not set, it will use the default stable model. Allowed values are: stable, preview.

string model_version = 1;

Returns
Type Description
String

The modelVersion.

getModelVersionBytes()

public abstract ByteString getModelVersionBytes()

Model version. If not set, it will use the default stable model. Allowed values are: stable, preview.

string model_version = 1;

Returns
Type Description
ByteString

The bytes for modelVersion.