public final class LatencyReport extends GeneratedMessage implements LatencyReportOrBuilder
Latency report for the evaluation run.
Protobuf type google.cloud.ces.v1beta.LatencyReport
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
CALLBACK_LATENCIES_FIELD_NUMBER
public static final int CALLBACK_LATENCIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GUARDRAIL_LATENCIES_FIELD_NUMBER
public static final int GUARDRAIL_LATENCIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LLM_CALL_LATENCIES_FIELD_NUMBER
public static final int LLM_CALL_LATENCIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SESSION_COUNT_FIELD_NUMBER
public static final int SESSION_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOL_LATENCIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LatencyReport getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LatencyReport.Builder newBuilder()
newBuilder(LatencyReport prototype)
public static LatencyReport.Builder newBuilder(LatencyReport prototype)
public static LatencyReport parseDelimitedFrom(InputStream input)
public static LatencyReport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LatencyReport parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LatencyReport parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport parseFrom(CodedInputStream input)
public static LatencyReport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LatencyReport parseFrom(InputStream input)
public static LatencyReport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LatencyReport parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LatencyReport> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCallbackLatencies(int index)
public LatencyReport.CallbackLatency getCallbackLatencies(int index)
Output only. Unordered list. Latency metrics for each callback.
repeated .google.cloud.ces.v1beta.LatencyReport.CallbackLatency callback_latencies = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter |
| Name |
Description |
index |
int
|
getCallbackLatenciesCount()
public int getCallbackLatenciesCount()
Output only. Unordered list. Latency metrics for each callback.
repeated .google.cloud.ces.v1beta.LatencyReport.CallbackLatency callback_latencies = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns |
| Type |
Description |
int |
|
getCallbackLatenciesList()
public List<LatencyReport.CallbackLatency> getCallbackLatenciesList()
Output only. Unordered list. Latency metrics for each callback.
repeated .google.cloud.ces.v1beta.LatencyReport.CallbackLatency callback_latencies = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
getCallbackLatenciesOrBuilder(int index)
public LatencyReport.CallbackLatencyOrBuilder getCallbackLatenciesOrBuilder(int index)
Output only. Unordered list. Latency metrics for each callback.
repeated .google.cloud.ces.v1beta.LatencyReport.CallbackLatency callback_latencies = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter |
| Name |
Description |
index |
int
|
getCallbackLatenciesOrBuilderList()
public List<? extends LatencyReport.CallbackLatencyOrBuilder> getCallbackLatenciesOrBuilderList()
Output only. Unordered list. Latency metrics for each callback.
repeated .google.cloud.ces.v1beta.LatencyReport.CallbackLatency callback_latencies = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.LatencyReport.CallbackLatencyOrBuilder> |
|
getDefaultInstanceForType()
public LatencyReport getDefaultInstanceForType()
getGuardrailLatencies(int index)
public LatencyReport.GuardrailLatency getGuardrailLatencies(int index)
Output only. Unordered list. Latency metrics for each guardrail.
repeated .google.cloud.ces.v1beta.LatencyReport.GuardrailLatency guardrail_latencies = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter |
| Name |
Description |
index |
int
|
getGuardrailLatenciesCount()
public int getGuardrailLatenciesCount()
Output only. Unordered list. Latency metrics for each guardrail.
repeated .google.cloud.ces.v1beta.LatencyReport.GuardrailLatency guardrail_latencies = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns |
| Type |
Description |
int |
|
getGuardrailLatenciesList()
public List<LatencyReport.GuardrailLatency> getGuardrailLatenciesList()
Output only. Unordered list. Latency metrics for each guardrail.
repeated .google.cloud.ces.v1beta.LatencyReport.GuardrailLatency guardrail_latencies = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
getGuardrailLatenciesOrBuilder(int index)
public LatencyReport.GuardrailLatencyOrBuilder getGuardrailLatenciesOrBuilder(int index)
Output only. Unordered list. Latency metrics for each guardrail.
repeated .google.cloud.ces.v1beta.LatencyReport.GuardrailLatency guardrail_latencies = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter |
| Name |
Description |
index |
int
|
getGuardrailLatenciesOrBuilderList()
public List<? extends LatencyReport.GuardrailLatencyOrBuilder> getGuardrailLatenciesOrBuilderList()
Output only. Unordered list. Latency metrics for each guardrail.
repeated .google.cloud.ces.v1beta.LatencyReport.GuardrailLatency guardrail_latencies = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.LatencyReport.GuardrailLatencyOrBuilder> |
|
getLlmCallLatencies(int index)
public LatencyReport.LlmCallLatency getLlmCallLatencies(int index)
Output only. Unordered list. Latency metrics for each LLM call.
repeated .google.cloud.ces.v1beta.LatencyReport.LlmCallLatency llm_call_latencies = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter |
| Name |
Description |
index |
int
|
getLlmCallLatenciesCount()
public int getLlmCallLatenciesCount()
Output only. Unordered list. Latency metrics for each LLM call.
repeated .google.cloud.ces.v1beta.LatencyReport.LlmCallLatency llm_call_latencies = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns |
| Type |
Description |
int |
|
getLlmCallLatenciesList()
public List<LatencyReport.LlmCallLatency> getLlmCallLatenciesList()
Output only. Unordered list. Latency metrics for each LLM call.
repeated .google.cloud.ces.v1beta.LatencyReport.LlmCallLatency llm_call_latencies = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
getLlmCallLatenciesOrBuilder(int index)
public LatencyReport.LlmCallLatencyOrBuilder getLlmCallLatenciesOrBuilder(int index)
Output only. Unordered list. Latency metrics for each LLM call.
repeated .google.cloud.ces.v1beta.LatencyReport.LlmCallLatency llm_call_latencies = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter |
| Name |
Description |
index |
int
|
getLlmCallLatenciesOrBuilderList()
public List<? extends LatencyReport.LlmCallLatencyOrBuilder> getLlmCallLatenciesOrBuilderList()
Output only. Unordered list. Latency metrics for each LLM call.
repeated .google.cloud.ces.v1beta.LatencyReport.LlmCallLatency llm_call_latencies = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.LatencyReport.LlmCallLatencyOrBuilder> |
|
getParserForType()
public Parser<LatencyReport> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSessionCount()
public int getSessionCount()
Output only. The total number of sessions considered in the latency report.
int32 session_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The sessionCount.
|
public LatencyReport.ToolLatency getToolLatencies(int index)
Output only. Unordered list. Latency metrics for each tool.
repeated .google.cloud.ces.v1beta.LatencyReport.ToolLatency tool_latencies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter |
| Name |
Description |
index |
int
|
public int getToolLatenciesCount()
Output only. Unordered list. Latency metrics for each tool.
repeated .google.cloud.ces.v1beta.LatencyReport.ToolLatency tool_latencies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns |
| Type |
Description |
int |
|
public List<LatencyReport.ToolLatency> getToolLatenciesList()
Output only. Unordered list. Latency metrics for each tool.
repeated .google.cloud.ces.v1beta.LatencyReport.ToolLatency tool_latencies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
public LatencyReport.ToolLatencyOrBuilder getToolLatenciesOrBuilder(int index)
Output only. Unordered list. Latency metrics for each tool.
repeated .google.cloud.ces.v1beta.LatencyReport.ToolLatency tool_latencies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends LatencyReport.ToolLatencyOrBuilder> getToolLatenciesOrBuilderList()
Output only. Unordered list. Latency metrics for each tool.
repeated .google.cloud.ces.v1beta.LatencyReport.ToolLatency tool_latencies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.LatencyReport.ToolLatencyOrBuilder> |
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LatencyReport.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LatencyReport.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public LatencyReport.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides