Package com.google.cloud.aiplatform.v1
Interface PairwiseMetricInstanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PairwiseMetricInstance,PairwiseMetricInstance.Builder
@Generated
public interface PairwiseMetricInstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionKey-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc.Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc.Instance specified as a json string.com.google.protobuf.ByteStringInstance specified as a json string.booleanKey-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc.booleanInstance specified as a json string.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasJsonInstance
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:
- Whether the jsonInstance field is set.
-
getJsonInstance
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:
- The jsonInstance.
-
getJsonInstanceBytes
com.google.protobuf.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:
- The bytes for jsonInstance.
-
hasContentMapInstance
boolean hasContentMapInstance()Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content.
.google.cloud.aiplatform.v1.ContentMap content_map_instance = 2;- Returns:
- Whether the contentMapInstance field is set.
-
getContentMapInstance
ContentMap getContentMapInstance()Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content.
.google.cloud.aiplatform.v1.ContentMap content_map_instance = 2;- Returns:
- The contentMapInstance.
-
getContentMapInstanceOrBuilder
ContentMapOrBuilder getContentMapInstanceOrBuilder()Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content.
.google.cloud.aiplatform.v1.ContentMap content_map_instance = 2; -
getInstanceCase
PairwiseMetricInstance.InstanceCase getInstanceCase()
-