public static final class SummarizationEvaluationMetrics.AdherenceRubric extends GeneratedMessage implements SummarizationEvaluationMetrics.AdherenceRubricOrBuilderRubric 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.v2.SummarizationEvaluationMetrics.AdherenceRubric
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SummarizationEvaluationMetrics.AdherenceRubricStatic 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()| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SummarizationEvaluationMetrics.AdherenceRubric.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric.Builder |
|
newBuilder(SummarizationEvaluationMetrics.AdherenceRubric prototype)
public static SummarizationEvaluationMetrics.AdherenceRubric.Builder newBuilder(SummarizationEvaluationMetrics.AdherenceRubric prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SummarizationEvaluationMetrics.AdherenceRubric |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric.Builder |
|
parseDelimitedFrom(InputStream input)
public static SummarizationEvaluationMetrics.AdherenceRubric parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SummarizationEvaluationMetrics.AdherenceRubric parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SummarizationEvaluationMetrics.AdherenceRubric> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AdherenceRubric> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SummarizationEvaluationMetrics.AdherenceRubric getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric |
|
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()| Returns | |
|---|---|
| Type | Description |
Parser<AdherenceRubric> |
|
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 |
|
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()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SummarizationEvaluationMetrics.AdherenceRubric.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SummarizationEvaluationMetrics.AdherenceRubric.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric.Builder |
|
toBuilder()
public SummarizationEvaluationMetrics.AdherenceRubric.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SummarizationEvaluationMetrics.AdherenceRubric.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|