Interface RubricBasedInstructionFollowingInstanceOrBuilder (3.64.0)

public interface RubricBasedInstructionFollowingInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstanceCase()

public abstract RubricBasedInstructionFollowingInstance.InstanceCase getInstanceCase()
Returns
Type Description
RubricBasedInstructionFollowingInstance.InstanceCase

getJsonInstance()

public abstract String getJsonInstance()

Required. Instance specified as a json string. String key-value pairs are expected in the json_instance to render RubricBasedInstructionFollowing prompt templates.

string json_instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The jsonInstance.

getJsonInstanceBytes()

public abstract ByteString getJsonInstanceBytes()

Required. Instance specified as a json string. String key-value pairs are expected in the json_instance to render RubricBasedInstructionFollowing prompt templates.

string json_instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for jsonInstance.

hasJsonInstance()

public abstract boolean hasJsonInstance()

Required. Instance specified as a json string. String key-value pairs are expected in the json_instance to render RubricBasedInstructionFollowing prompt templates.

string json_instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the jsonInstance field is set.