Class AggregatedMetrics.MetricsByAppVersion (0.3.0)

public static final class AggregatedMetrics.MetricsByAppVersion extends GeneratedMessage implements AggregatedMetrics.MetricsByAppVersionOrBuilder

Metrics aggregated per app version.

Protobuf type google.cloud.ces.v1beta.AggregatedMetrics.MetricsByAppVersion

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AggregatedMetrics.MetricsByAppVersion

Static Fields

APP_VERSION_ID_FIELD_NUMBER

public static final int APP_VERSION_ID_FIELD_NUMBER
Field Value
Type Description
int

FAIL_COUNT_FIELD_NUMBER

public static final int FAIL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

HALLUCINATION_METRICS_FIELD_NUMBER

public static final int HALLUCINATION_METRICS_FIELD_NUMBER
Field Value
Type Description
int

METRICS_BY_TURN_FIELD_NUMBER

public static final int METRICS_BY_TURN_FIELD_NUMBER
Field Value
Type Description
int

PASS_COUNT_FIELD_NUMBER

public static final int PASS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SEMANTIC_SIMILARITY_METRICS_FIELD_NUMBER

public static final int SEMANTIC_SIMILARITY_METRICS_FIELD_NUMBER
Field Value
Type Description
int

TOOL_CALL_LATENCY_METRICS_FIELD_NUMBER

public static final int TOOL_CALL_LATENCY_METRICS_FIELD_NUMBER
Field Value
Type Description
int

TOOL_METRICS_FIELD_NUMBER

public static final int TOOL_METRICS_FIELD_NUMBER
Field Value
Type Description
int

TURN_LATENCY_METRICS_FIELD_NUMBER

public static final int TURN_LATENCY_METRICS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AggregatedMetrics.MetricsByAppVersion getDefaultInstance()
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AggregatedMetrics.MetricsByAppVersion.Builder newBuilder()
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion.Builder

newBuilder(AggregatedMetrics.MetricsByAppVersion prototype)

public static AggregatedMetrics.MetricsByAppVersion.Builder newBuilder(AggregatedMetrics.MetricsByAppVersion prototype)
Parameter
Name Description
prototype AggregatedMetrics.MetricsByAppVersion
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion.Builder

parseDelimitedFrom(InputStream input)

public static AggregatedMetrics.MetricsByAppVersion parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.MetricsByAppVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.MetricsByAppVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AggregatedMetrics.MetricsByAppVersion> parser()
Returns
Type Description
Parser<MetricsByAppVersion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAppVersionId()

public String getAppVersionId()

Output only. The app version ID.

string app_version_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The appVersionId.

getAppVersionIdBytes()

public ByteString getAppVersionIdBytes()

Output only. The app version ID.

string app_version_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for appVersionId.

getDefaultInstanceForType()

public AggregatedMetrics.MetricsByAppVersion getDefaultInstanceForType()
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion

getFailCount()

public int getFailCount()

Output only. The number of times the evaluation failed.

int32 fail_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The failCount.

getHallucinationMetrics(int index)

public AggregatedMetrics.HallucinationMetrics getHallucinationMetrics(int index)

Output only. Metrics for hallucination within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.HallucinationMetrics

getHallucinationMetricsCount()

public int getHallucinationMetricsCount()

Output only. Metrics for hallucination within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getHallucinationMetricsList()

public List<AggregatedMetrics.HallucinationMetrics> getHallucinationMetricsList()

Output only. Metrics for hallucination within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<HallucinationMetrics>

getHallucinationMetricsOrBuilder(int index)

public AggregatedMetrics.HallucinationMetricsOrBuilder getHallucinationMetricsOrBuilder(int index)

Output only. Metrics for hallucination within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.HallucinationMetricsOrBuilder

getHallucinationMetricsOrBuilderList()

public List<? extends AggregatedMetrics.HallucinationMetricsOrBuilder> getHallucinationMetricsOrBuilderList()

Output only. Metrics for hallucination within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetrics hallucination_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetricsOrBuilder>

getMetricsByTurn(int index)

public AggregatedMetrics.MetricsByTurn getMetricsByTurn(int index)

Output only. Metrics aggregated per turn within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.MetricsByTurn metrics_by_turn = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.MetricsByTurn

getMetricsByTurnCount()

public int getMetricsByTurnCount()

Output only. Metrics aggregated per turn within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.MetricsByTurn metrics_by_turn = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getMetricsByTurnList()

public List<AggregatedMetrics.MetricsByTurn> getMetricsByTurnList()

Output only. Metrics aggregated per turn within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.MetricsByTurn metrics_by_turn = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<MetricsByTurn>

getMetricsByTurnOrBuilder(int index)

public AggregatedMetrics.MetricsByTurnOrBuilder getMetricsByTurnOrBuilder(int index)

Output only. Metrics aggregated per turn within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.MetricsByTurn metrics_by_turn = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.MetricsByTurnOrBuilder

getMetricsByTurnOrBuilderList()

public List<? extends AggregatedMetrics.MetricsByTurnOrBuilder> getMetricsByTurnOrBuilderList()

Output only. Metrics aggregated per turn within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.MetricsByTurn metrics_by_turn = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.MetricsByTurnOrBuilder>

getParserForType()

public Parser<AggregatedMetrics.MetricsByAppVersion> getParserForType()
Returns
Type Description
Parser<MetricsByAppVersion>
Overrides

getPassCount()

public int getPassCount()

Output only. The number of times the evaluation passed.

int32 pass_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The passCount.

getSemanticSimilarityMetrics(int index)

public AggregatedMetrics.SemanticSimilarityMetrics getSemanticSimilarityMetrics(int index)

Output only. Metrics for semantic similarity within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.SemanticSimilarityMetrics

getSemanticSimilarityMetricsCount()

public int getSemanticSimilarityMetricsCount()

Output only. Metrics for semantic similarity within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getSemanticSimilarityMetricsList()

public List<AggregatedMetrics.SemanticSimilarityMetrics> getSemanticSimilarityMetricsList()

Output only. Metrics for semantic similarity within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SemanticSimilarityMetrics>

getSemanticSimilarityMetricsOrBuilder(int index)

public AggregatedMetrics.SemanticSimilarityMetricsOrBuilder getSemanticSimilarityMetricsOrBuilder(int index)

Output only. Metrics for semantic similarity within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.SemanticSimilarityMetricsOrBuilder

getSemanticSimilarityMetricsOrBuilderList()

public List<? extends AggregatedMetrics.SemanticSimilarityMetricsOrBuilder> getSemanticSimilarityMetricsOrBuilderList()

Output only. Metrics for semantic similarity within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetrics semantic_similarity_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetricsOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getToolCallLatencyMetrics(int index)

public AggregatedMetrics.ToolCallLatencyMetrics getToolCallLatencyMetrics(int index)

Output only. Metrics for tool call latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolCallLatencyMetrics

getToolCallLatencyMetricsCount()

public int getToolCallLatencyMetricsCount()

Output only. Metrics for tool call latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getToolCallLatencyMetricsList()

public List<AggregatedMetrics.ToolCallLatencyMetrics> getToolCallLatencyMetricsList()

Output only. Metrics for tool call latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ToolCallLatencyMetrics>

getToolCallLatencyMetricsOrBuilder(int index)

public AggregatedMetrics.ToolCallLatencyMetricsOrBuilder getToolCallLatencyMetricsOrBuilder(int index)

Output only. Metrics for tool call latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolCallLatencyMetricsOrBuilder

getToolCallLatencyMetricsOrBuilderList()

public List<? extends AggregatedMetrics.ToolCallLatencyMetricsOrBuilder> getToolCallLatencyMetricsOrBuilderList()

Output only. Metrics for tool call latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetrics tool_call_latency_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetricsOrBuilder>

getToolMetrics(int index)

public AggregatedMetrics.ToolMetrics getToolMetrics(int index)

Output only. Metrics for each tool within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolMetrics

getToolMetricsCount()

public int getToolMetricsCount()

Output only. Metrics for each tool within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getToolMetricsList()

public List<AggregatedMetrics.ToolMetrics> getToolMetricsList()

Output only. Metrics for each tool within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ToolMetrics>

getToolMetricsOrBuilder(int index)

public AggregatedMetrics.ToolMetricsOrBuilder getToolMetricsOrBuilder(int index)

Output only. Metrics for each tool within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.ToolMetricsOrBuilder

getToolMetricsOrBuilderList()

public List<? extends AggregatedMetrics.ToolMetricsOrBuilder> getToolMetricsOrBuilderList()

Output only. Metrics for each tool within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics tool_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.ToolMetricsOrBuilder>

getTurnLatencyMetrics(int index)

public AggregatedMetrics.TurnLatencyMetrics getTurnLatencyMetrics(int index)

Output only. Metrics for turn latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.TurnLatencyMetrics

getTurnLatencyMetricsCount()

public int getTurnLatencyMetricsCount()

Output only. Metrics for turn latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getTurnLatencyMetricsList()

public List<AggregatedMetrics.TurnLatencyMetrics> getTurnLatencyMetricsList()

Output only. Metrics for turn latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<TurnLatencyMetrics>

getTurnLatencyMetricsOrBuilder(int index)

public AggregatedMetrics.TurnLatencyMetricsOrBuilder getTurnLatencyMetricsOrBuilder(int index)

Output only. Metrics for turn latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AggregatedMetrics.TurnLatencyMetricsOrBuilder

getTurnLatencyMetricsOrBuilderList()

public List<? extends AggregatedMetrics.TurnLatencyMetricsOrBuilder> getTurnLatencyMetricsOrBuilderList()

Output only. Metrics for turn latency within this app version.

repeated .google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetrics turn_latency_metrics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetricsOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AggregatedMetrics.MetricsByAppVersion.Builder newBuilderForType()
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AggregatedMetrics.MetricsByAppVersion.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion.Builder
Overrides

toBuilder()

public AggregatedMetrics.MetricsByAppVersion.Builder toBuilder()
Returns
Type Description
AggregatedMetrics.MetricsByAppVersion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException