public static final class SummarizationVerbosityInstance.Builder extends com.google.protobuf.GeneratedMessage.Builder<SummarizationVerbosityInstance.Builder> implements SummarizationVerbosityInstanceOrBuilder
Spec for summarization verbosity instance.Protobuf type
google.cloud.aiplatform.v1.SummarizationVerbosityInstanceaddRepeatedField, 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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SummarizationVerbosityInstance.Builder>public SummarizationVerbosityInstance.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<SummarizationVerbosityInstance.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SummarizationVerbosityInstance.Builder>public SummarizationVerbosityInstance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SummarizationVerbosityInstance build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SummarizationVerbosityInstance buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SummarizationVerbosityInstance.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SummarizationVerbosityInstance.Builder>public SummarizationVerbosityInstance.Builder mergeFrom(SummarizationVerbosityInstance other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<SummarizationVerbosityInstance.Builder>public SummarizationVerbosityInstance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SummarizationVerbosityInstance.Builder>IOExceptionpublic boolean hasPrediction()
Required. Output of the evaluated model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];hasPrediction in interface SummarizationVerbosityInstanceOrBuilderpublic String getPrediction()
Required. Output of the evaluated model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];getPrediction in interface SummarizationVerbosityInstanceOrBuilderpublic com.google.protobuf.ByteString getPredictionBytes()
Required. Output of the evaluated model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];getPredictionBytes in interface SummarizationVerbosityInstanceOrBuilderpublic SummarizationVerbosityInstance.Builder setPrediction(String value)
Required. Output of the evaluated model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];value - The prediction to set.public SummarizationVerbosityInstance.Builder clearPrediction()
Required. Output of the evaluated model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];public SummarizationVerbosityInstance.Builder setPredictionBytes(com.google.protobuf.ByteString value)
Required. Output of the evaluated model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for prediction to set.public boolean hasReference()
Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];hasReference in interface SummarizationVerbosityInstanceOrBuilderpublic String getReference()
Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];getReference in interface SummarizationVerbosityInstanceOrBuilderpublic com.google.protobuf.ByteString getReferenceBytes()
Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];getReferenceBytes in interface SummarizationVerbosityInstanceOrBuilderpublic SummarizationVerbosityInstance.Builder setReference(String value)
Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];value - The reference to set.public SummarizationVerbosityInstance.Builder clearReference()
Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];public SummarizationVerbosityInstance.Builder setReferenceBytes(com.google.protobuf.ByteString value)
Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for reference to set.public boolean hasContext()
Required. Text to be summarized.
optional string context = 3 [(.google.api.field_behavior) = REQUIRED];hasContext in interface SummarizationVerbosityInstanceOrBuilderpublic String getContext()
Required. Text to be summarized.
optional string context = 3 [(.google.api.field_behavior) = REQUIRED];getContext in interface SummarizationVerbosityInstanceOrBuilderpublic com.google.protobuf.ByteString getContextBytes()
Required. Text to be summarized.
optional string context = 3 [(.google.api.field_behavior) = REQUIRED];getContextBytes in interface SummarizationVerbosityInstanceOrBuilderpublic SummarizationVerbosityInstance.Builder setContext(String value)
Required. Text to be summarized.
optional string context = 3 [(.google.api.field_behavior) = REQUIRED];value - The context to set.public SummarizationVerbosityInstance.Builder clearContext()
Required. Text to be summarized.
optional string context = 3 [(.google.api.field_behavior) = REQUIRED];public SummarizationVerbosityInstance.Builder setContextBytes(com.google.protobuf.ByteString value)
Required. Text to be summarized.
optional string context = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for context to set.public boolean hasInstruction()
Optional. Summarization prompt for LLM.
optional string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];hasInstruction in interface SummarizationVerbosityInstanceOrBuilderpublic String getInstruction()
Optional. Summarization prompt for LLM.
optional string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];getInstruction in interface SummarizationVerbosityInstanceOrBuilderpublic com.google.protobuf.ByteString getInstructionBytes()
Optional. Summarization prompt for LLM.
optional string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];getInstructionBytes in interface SummarizationVerbosityInstanceOrBuilderpublic SummarizationVerbosityInstance.Builder setInstruction(String value)
Optional. Summarization prompt for LLM.
optional string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];value - The instruction to set.public SummarizationVerbosityInstance.Builder clearInstruction()
Optional. Summarization prompt for LLM.
optional string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];public SummarizationVerbosityInstance.Builder setInstructionBytes(com.google.protobuf.ByteString value)
Optional. Summarization prompt for LLM.
optional string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for instruction to set.Copyright © 2026 Google LLC. All rights reserved.