Interface PairwiseMetricInstanceOrBuilder (3.55.0)

public interface PairwiseMetricInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstanceCase()

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

getJsonInstance()

public abstract String getJsonInstance()

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.

string json_instance = 1;

Returns
Type Description
String

The jsonInstance.

getJsonInstanceBytes()

public abstract ByteString getJsonInstanceBytes()

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.

string json_instance = 1;

Returns
Type Description
ByteString

The bytes for jsonInstance.

hasJsonInstance()

public abstract boolean hasJsonInstance()

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.

string json_instance = 1;

Returns
Type Description
boolean

Whether the jsonInstance field is set.