Package com.google.cloud.aiplatform.v1
Class PointwiseMetricInstance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PointwiseMetricInstance.Builder>
com.google.cloud.aiplatform.v1.PointwiseMetricInstance.Builder
- All Implemented Interfaces:
PointwiseMetricInstanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PointwiseMetricInstance
public static final class PointwiseMetricInstance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PointwiseMetricInstance.Builder>
implements PointwiseMetricInstanceOrBuilder
Pointwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.Protobuf type
google.cloud.aiplatform.v1.PointwiseMetricInstance-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc.Instance specified as a json string.Key-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.Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorInstance 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanKey-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc.mergeFrom(PointwiseMetricInstance other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setContentMapInstance(ContentMap value) Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc.setContentMapInstance(ContentMap.Builder builderForValue) Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc.setJsonInstance(String value) Instance specified as a json string.setJsonInstanceBytes(com.google.protobuf.ByteString value) Instance specified as a json string.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PointwiseMetricInstance.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PointwiseMetricInstance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PointwiseMetricInstance.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PointwiseMetricInstance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PointwiseMetricInstance.Builder>
-
mergeFrom
public PointwiseMetricInstance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PointwiseMetricInstance.Builder>- Throws:
IOException
-
getInstanceCase
- Specified by:
getInstanceCasein interfacePointwiseMetricInstanceOrBuilder
-
clearInstance
-
hasJsonInstance
public 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;- Specified by:
hasJsonInstancein interfacePointwiseMetricInstanceOrBuilder- Returns:
- Whether the jsonInstance field is set.
-
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;- Specified by:
getJsonInstancein interfacePointwiseMetricInstanceOrBuilder- Returns:
- The jsonInstance.
-
getJsonInstanceBytes
public com.google.protobuf.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;- Specified by:
getJsonInstanceBytesin interfacePointwiseMetricInstanceOrBuilder- Returns:
- The bytes for jsonInstance.
-
setJsonInstance
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;- Parameters:
value- The jsonInstance to set.- Returns:
- This builder for chaining.
-
clearJsonInstance
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:
- This builder for chaining.
-
setJsonInstanceBytes
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;- Parameters:
value- The bytes for jsonInstance to set.- Returns:
- This builder for chaining.
-
hasContentMapInstance
public 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;- Specified by:
hasContentMapInstancein interfacePointwiseMetricInstanceOrBuilder- Returns:
- Whether the contentMapInstance field is set.
-
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;- Specified by:
getContentMapInstancein interfacePointwiseMetricInstanceOrBuilder- Returns:
- The contentMapInstance.
-
setContentMapInstance
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; -
setContentMapInstance
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; -
mergeContentMapInstance
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; -
clearContentMapInstance
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; -
getContentMapInstanceBuilder
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; -
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;- Specified by:
getContentMapInstanceOrBuilderin interfacePointwiseMetricInstanceOrBuilder
-