public static final class SummarizationEvaluationMetrics.AdherenceRubric extends GeneratedMessage implements SummarizationEvaluationMetrics.AdherenceRubricOrBuilder
Rubric result of the adherence evaluation. A rubric is ued to determine
if the summary adheres to all aspects of the given instructions.
Protobuf type
google.cloud.dialogflow.v2beta1.SummarizationEvaluationMetrics.AdherenceRubric
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
IS_ADDRESSED_FIELD_NUMBER
public static final int IS_ADDRESSED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
QUESTION_FIELD_NUMBER
public static final int QUESTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REASONING_FIELD_NUMBER
public static final int REASONING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SummarizationEvaluationMetrics.AdherenceRubric getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SummarizationEvaluationMetrics.AdherenceRubric.Builder newBuilder()
newBuilder(SummarizationEvaluationMetrics.AdherenceRubric prototype)
public static SummarizationEvaluationMetrics.AdherenceRubric.Builder newBuilder(SummarizationEvaluationMetrics.AdherenceRubric prototype)
public static SummarizationEvaluationMetrics.AdherenceRubric parseDelimitedFrom(InputStream input)
public static SummarizationEvaluationMetrics.AdherenceRubric parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(CodedInputStream input)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(InputStream input)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SummarizationEvaluationMetrics.AdherenceRubric> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SummarizationEvaluationMetrics.AdherenceRubric getDefaultInstanceForType()
getIsAddressed()
public boolean getIsAddressed()
Output only. A boolean that indicates whether the rubric question is
addressed or not.
optional bool is_addressed = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The isAddressed.
|
getParserForType()
public Parser<SummarizationEvaluationMetrics.AdherenceRubric> getParserForType()
Overrides
getQuestion()
public String getQuestion()
Output only. The question generated from instruction that used to
evaluate summary.
string question = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The question.
|
getQuestionBytes()
public ByteString getQuestionBytes()
Output only. The question generated from instruction that used to
evaluate summary.
string question = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for question.
|
getReasoning()
public String getReasoning()
Output only. The reasoning of the rubric question is addressed or not.
string reasoning = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The reasoning.
|
getReasoningBytes()
public ByteString getReasoningBytes()
Output only. The reasoning of the rubric question is addressed or not.
string reasoning = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for reasoning.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasIsAddressed()
public boolean hasIsAddressed()
Output only. A boolean that indicates whether the rubric question is
addressed or not.
optional bool is_addressed = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the isAddressed field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SummarizationEvaluationMetrics.AdherenceRubric.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SummarizationEvaluationMetrics.AdherenceRubric.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SummarizationEvaluationMetrics.AdherenceRubric.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides