Package com.google.cloud.dialogflow.v2
Class SummarizationEvaluationMetrics.SummarizationEvaluationResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult
- All Implemented Interfaces:
SummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- SummarizationEvaluationMetrics
public static final class SummarizationEvaluationMetrics.SummarizationEvaluationResult
extends com.google.protobuf.GeneratedMessage
implements SummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
Evaluation result per conversation(&summary), metric and section.Protobuf type
google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEvaluation result per conversation(&summary), metric and section.Nested 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 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 TypeMethodDescriptionbooleangetDecompositions(int index) Deprecated.intDeprecated.Deprecated.getDecompositionsOrBuilder(int index) Deprecated.Deprecated.static final com.google.protobuf.Descriptors.DescriptorgetEvaluationResults(int index) Output only.intOutput only.Output only.getEvaluationResultsOrBuilder(int index) Output only.Output only.Output only. metric name, e.g. accuracy, completeness, adherence, etc.com.google.protobuf.ByteStringOutput only. metric name, e.g. accuracy, completeness, adherence, etc.com.google.protobuf.Parser<SummarizationEvaluationMetrics.SummarizationEvaluationResult>floatgetScore()Output only. score calculated from decompositionsOutput only. section/task name, e.g. action, situation, etccom.google.protobuf.ByteStringOutput only. section/task name, e.g. action, situation, etcOutput only.com.google.protobuf.ByteStringOutput only.intDeprecated.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult.session_id is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult.session_id is deprecated.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(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.SummarizationEvaluationResult>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
-
SESSION_ID_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER- See Also:
-
METRIC_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER- See Also:
-
SECTION_FIELD_NUMBER
public static final int SECTION_FIELD_NUMBER- See Also:
-
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER- See Also:
-
SECTION_SUMMARY_FIELD_NUMBER
public static final int SECTION_SUMMARY_FIELD_NUMBER- See Also:
-
DECOMPOSITIONS_FIELD_NUMBER
public static final int DECOMPOSITIONS_FIELD_NUMBER- See Also:
-
EVALUATION_RESULTS_FIELD_NUMBER
public static final int EVALUATION_RESULTS_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
-
getSessionId
Deprecated.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult.session_id is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=309Output only. conversation session id
string session_id = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSessionIdin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder- Returns:
- The sessionId.
-
getSessionIdBytes
Deprecated.google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SummarizationEvaluationResult.session_id is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=309Output only. conversation session id
string session_id = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSessionIdBytesin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder- Returns:
- The bytes for sessionId.
-
getMetric
Output only. metric name, e.g. accuracy, completeness, adherence, etc.
string metric = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMetricin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder- Returns:
- The metric.
-
getMetricBytes
public com.google.protobuf.ByteString getMetricBytes()Output only. metric name, e.g. accuracy, completeness, adherence, etc.
string metric = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMetricBytesin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder- Returns:
- The bytes for metric.
-
getSection
Output only. section/task name, e.g. action, situation, etc
string section = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSectionin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder- Returns:
- The section.
-
getSectionBytes
public com.google.protobuf.ByteString getSectionBytes()Output only. section/task name, e.g. action, situation, etc
string section = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSectionBytesin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder- Returns:
- The bytes for section.
-
getScore
public float getScore()Output only. score calculated from decompositions
float score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getScorein interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder- Returns:
- The score.
-
getSectionSummary
Output only. Summary of this section
string section_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSectionSummaryin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder- Returns:
- The sectionSummary.
-
getSectionSummaryBytes
public com.google.protobuf.ByteString getSectionSummaryBytes()Output only. Summary of this section
string section_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSectionSummaryBytesin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder- Returns:
- The bytes for sectionSummary.
-
getDecompositionsList
Deprecated.Output only. List of decompostion details
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.Decomposition decompositions = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDecompositionsListin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
getDecompositionsOrBuilderList
@Deprecated public List<? extends SummarizationEvaluationMetrics.DecompositionOrBuilder> getDecompositionsOrBuilderList()Deprecated.Output only. List of decompostion details
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.Decomposition decompositions = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDecompositionsOrBuilderListin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
getDecompositionsCount
Deprecated.Output only. List of decompostion details
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.Decomposition decompositions = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDecompositionsCountin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
getDecompositions
Deprecated.Output only. List of decompostion details
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.Decomposition decompositions = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDecompositionsin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
getDecompositionsOrBuilder
@Deprecated public SummarizationEvaluationMetrics.DecompositionOrBuilder getDecompositionsOrBuilder(int index) Deprecated.Output only. List of decompostion details
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.Decomposition decompositions = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDecompositionsOrBuilderin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
getEvaluationResultsList
Output only. List of evaluation results.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.EvaluationResult evaluation_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEvaluationResultsListin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
getEvaluationResultsOrBuilderList
public List<? extends SummarizationEvaluationMetrics.EvaluationResultOrBuilder> getEvaluationResultsOrBuilderList()Output only. List of evaluation results.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.EvaluationResult evaluation_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEvaluationResultsOrBuilderListin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
getEvaluationResultsCount
public int getEvaluationResultsCount()Output only. List of evaluation results.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.EvaluationResult evaluation_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEvaluationResultsCountin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
getEvaluationResults
Output only. List of evaluation results.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.EvaluationResult evaluation_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEvaluationResultsin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
getEvaluationResultsOrBuilder
public SummarizationEvaluationMetrics.EvaluationResultOrBuilder getEvaluationResultsOrBuilder(int index) Output only. List of evaluation results.
repeated .google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.EvaluationResult evaluation_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEvaluationResultsOrBuilderin interfaceSummarizationEvaluationMetrics.SummarizationEvaluationResultOrBuilder
-
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.SummarizationEvaluationResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult 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.SummarizationEvaluationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SummarizationEvaluationMetrics.SummarizationEvaluationResult 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.SummarizationEvaluationResult.Builder newBuilder(SummarizationEvaluationMetrics.SummarizationEvaluationResult prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SummarizationEvaluationMetrics.SummarizationEvaluationResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<SummarizationEvaluationMetrics.SummarizationEvaluationResult> parser() -
getParserForType
public com.google.protobuf.Parser<SummarizationEvaluationMetrics.SummarizationEvaluationResult> 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
-