Interface PointwiseMetricInstanceOrBuilder (3.52.0)

public interface PointwiseMetricInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstanceCase()

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

getJsonInstance()

public abstract String getJsonInstance()

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.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 PointwiseMetricSpec.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 PointwiseMetricSpec.instance_prompt_template.

string json_instance = 1;

Returns
Type Description
boolean

Whether the jsonInstance field is set.