Package com.google.cloud.dialogflow.v2
Class SummarizationEvaluationMetrics
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics
- All Implemented Interfaces:
SummarizationEvaluationMetricsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SummarizationEvaluationMetrics
extends com.google.protobuf.GeneratedMessage
implements SummarizationEvaluationMetricsOrBuilder
Evaluation metrics for summarization generator.Protobuf type
google.cloud.dialogflow.v2.SummarizationEvaluationMetrics- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDecomposition details for accuracy.static interfacestatic final classDeprecated.static interfaceDeprecated.static final classRubric result of the adherence evaluation.static interfacestatic final classEvaluation metrics for summarization generator.static final classRubric details of the completeness evaluation result.static interfacestatic final classAggregated evaluation result on conversation level.static interfacestatic final classDeprecated.static interfaceDeprecated.static final classEvaluation result that contains one of accuracy, adherence or completeness evaluation result.static interfacestatic final classOverall performance per metric.static interfacestatic final classA pair of section name and input token count of the input summary section.static interfacestatic final classEvaluation result per conversation(&summary), metric and section.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetConversationDetails(int index) Output only.intOutput only.Output only.getConversationDetailsOrBuilder(int index) Output only.Output only.static final com.google.protobuf.Descriptors.DescriptorgetOverallMetrics(int index) Output only.intOutput only.Output only.getOverallMetricsOrBuilder(int index) Output only.Output only.getOverallSectionTokens(int index) Output only.intOutput only.Output only.getOverallSectionTokensOrBuilder(int index) Output only.Output only.com.google.protobuf.Parser<SummarizationEvaluationMetrics>intOutput only.com.google.protobuf.ByteStringOutput only.getSummarizationEvaluationResults(int index) Output only.intOutput only.Output only.getSummarizationEvaluationResultsOrBuilder(int index) Output only.Output only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(SummarizationEvaluationMetrics prototype) protected SummarizationEvaluationMetrics.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SummarizationEvaluationMetrics>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SUMMARIZATION_EVALUATION_RESULTS_FIELD_NUMBER
public static final int SUMMARIZATION_EVALUATION_RESULTS_FIELD_NUMBER- See Also:
-
SUMMARIZATION_EVALUATION_MERGED_RESULTS_URI_FIELD_NUMBER
public static final int SUMMARIZATION_EVALUATION_MERGED_RESULTS_URI_FIELD_NUMBER- See Also:
-
OVERALL_METRICS_FIELD_NUMBER
public static final int OVERALL_METRICS_FIELD_NUMBER- See Also:
-
OVERALL_SECTION_TOKENS_FIELD_NUMBER
public static final int OVERALL_SECTION_TOKENS_FIELD_NUMBER- See Also:
-
CONVERSATION_DETAILS_FIELD_NUMBER
public static final int CONVERSATION_DETAILS_FIELD_NUMBER- See Also:
-
-
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
-
getSummarizationEvaluationResultsList
public List<SummarizationEvaluationMetrics.SummarizationEvaluationResult> getSummarizationEvaluationResultsList()Output only. A list of evaluation results per conversation(&summary), metric and section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult summarization_evaluation_results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSummarizationEvaluationResultsListin interfaceSummarizationEvaluationMetricsOrBuilder
-
getSummarizationEvaluationResultsOrBuilderList
public List<? extends SummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder> getSummarizationEvaluationResultsOrBuilderList()Output only. A list of evaluation results per conversation(&summary), metric and section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult summarization_evaluation_results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSummarizationEvaluationResultsOrBuilderListin interfaceSummarizationEvaluationMetricsOrBuilder
-
getSummarizationEvaluationResultsCount
public int getSummarizationEvaluationResultsCount()Output only. A list of evaluation results per conversation(&summary), metric and section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult summarization_evaluation_results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSummarizationEvaluationResultsCountin interfaceSummarizationEvaluationMetricsOrBuilder
-
getSummarizationEvaluationResults
public SummarizationEvaluationMetrics.SummarizationEvaluationResult getSummarizationEvaluationResults(int index) Output only. A list of evaluation results per conversation(&summary), metric and section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult summarization_evaluation_results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSummarizationEvaluationResultsin interfaceSummarizationEvaluationMetricsOrBuilder
-
getSummarizationEvaluationResultsOrBuilder
public SummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder getSummarizationEvaluationResultsOrBuilder(int index) Output only. A list of evaluation results per conversation(&summary), metric and section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult summarization_evaluation_results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSummarizationEvaluationResultsOrBuilderin interfaceSummarizationEvaluationMetricsOrBuilder
-
getSummarizationEvaluationMergedResultsUri
Output only. User bucket uri for merged evaluation score and aggregation score csv.
string summarization_evaluation_merged_results_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSummarizationEvaluationMergedResultsUriin interfaceSummarizationEvaluationMetricsOrBuilder- Returns:
- The summarizationEvaluationMergedResultsUri.
-
getSummarizationEvaluationMergedResultsUriBytes
public com.google.protobuf.ByteString getSummarizationEvaluationMergedResultsUriBytes()Output only. User bucket uri for merged evaluation score and aggregation score csv.
string summarization_evaluation_merged_results_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSummarizationEvaluationMergedResultsUriBytesin interfaceSummarizationEvaluationMetricsOrBuilder- Returns:
- The bytes for summarizationEvaluationMergedResultsUri.
-
getOverallMetricsList
Output only. A list of aggregated(average) scores per metric section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.OverallScoresByMetric overall_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallMetricsListin interfaceSummarizationEvaluationMetricsOrBuilder
-
getOverallMetricsOrBuilderList
public List<? extends SummarizationEvaluationMetrics.OverallScoresByMetricOrBuilder> getOverallMetricsOrBuilderList()Output only. A list of aggregated(average) scores per metric section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.OverallScoresByMetric overall_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallMetricsOrBuilderListin interfaceSummarizationEvaluationMetricsOrBuilder
-
getOverallMetricsCount
public int getOverallMetricsCount()Output only. A list of aggregated(average) scores per metric section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.OverallScoresByMetric overall_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallMetricsCountin interfaceSummarizationEvaluationMetricsOrBuilder
-
getOverallMetrics
Output only. A list of aggregated(average) scores per metric section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.OverallScoresByMetric overall_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallMetricsin interfaceSummarizationEvaluationMetricsOrBuilder
-
getOverallMetricsOrBuilder
public SummarizationEvaluationMetrics.OverallScoresByMetricOrBuilder getOverallMetricsOrBuilder(int index) Output only. A list of aggregated(average) scores per metric section.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.OverallScoresByMetric overall_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallMetricsOrBuilderin interfaceSummarizationEvaluationMetricsOrBuilder
-
getOverallSectionTokensList
Output only. Overall token per section. This is an aggregated(sum) result of input token of summary acorss all conversations that are selected for summarization evaluation.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SectionToken overall_section_tokens = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallSectionTokensListin interfaceSummarizationEvaluationMetricsOrBuilder
-
getOverallSectionTokensOrBuilderList
public List<? extends SummarizationEvaluationMetrics.SectionTokenOrBuilder> getOverallSectionTokensOrBuilderList()Output only. Overall token per section. This is an aggregated(sum) result of input token of summary acorss all conversations that are selected for summarization evaluation.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SectionToken overall_section_tokens = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallSectionTokensOrBuilderListin interfaceSummarizationEvaluationMetricsOrBuilder
-
getOverallSectionTokensCount
public int getOverallSectionTokensCount()Output only. Overall token per section. This is an aggregated(sum) result of input token of summary acorss all conversations that are selected for summarization evaluation.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SectionToken overall_section_tokens = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallSectionTokensCountin interfaceSummarizationEvaluationMetricsOrBuilder
-
getOverallSectionTokens
Output only. Overall token per section. This is an aggregated(sum) result of input token of summary acorss all conversations that are selected for summarization evaluation.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SectionToken overall_section_tokens = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallSectionTokensin interfaceSummarizationEvaluationMetricsOrBuilder
-
getOverallSectionTokensOrBuilder
public SummarizationEvaluationMetrics.SectionTokenOrBuilder getOverallSectionTokensOrBuilder(int index) Output only. Overall token per section. This is an aggregated(sum) result of input token of summary acorss all conversations that are selected for summarization evaluation.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SectionToken overall_section_tokens = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOverallSectionTokensOrBuilderin interfaceSummarizationEvaluationMetricsOrBuilder
-
getConversationDetailsList
Output only. List of conversation details.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail conversation_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConversationDetailsListin interfaceSummarizationEvaluationMetricsOrBuilder
-
getConversationDetailsOrBuilderList
public List<? extends SummarizationEvaluationMetrics.ConversationDetailOrBuilder> getConversationDetailsOrBuilderList()Output only. List of conversation details.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail conversation_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConversationDetailsOrBuilderListin interfaceSummarizationEvaluationMetricsOrBuilder
-
getConversationDetailsCount
public int getConversationDetailsCount()Output only. List of conversation details.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail conversation_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConversationDetailsCountin interfaceSummarizationEvaluationMetricsOrBuilder
-
getConversationDetails
Output only. List of conversation details.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail conversation_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConversationDetailsin interfaceSummarizationEvaluationMetricsOrBuilder
-
getConversationDetailsOrBuilder
public SummarizationEvaluationMetrics.ConversationDetailOrBuilder getConversationDetailsOrBuilder(int index) Output only. List of conversation details.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.ConversationDetail conversation_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConversationDetailsOrBuilderin interfaceSummarizationEvaluationMetricsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SummarizationEvaluationMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SummarizationEvaluationMetrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SummarizationEvaluationMetrics parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SummarizationEvaluationMetrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SummarizationEvaluationMetrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SummarizationEvaluationMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static SummarizationEvaluationMetrics.Builder newBuilder(SummarizationEvaluationMetrics prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SummarizationEvaluationMetrics.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-