public static final class LatencyReport.LlmCallLatency extends GeneratedMessage implements LatencyReport.LlmCallLatencyOrBuilderLatency metrics for a single LLM call.
Protobuf type google.cloud.ces.v1beta.LatencyReport.LlmCallLatency
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > LatencyReport.LlmCallLatencyImplements
LatencyReport.LlmCallLatencyOrBuilderStatic Fields
LATENCY_METRICS_FIELD_NUMBER
public static final int LATENCY_METRICS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static LatencyReport.LlmCallLatency getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static LatencyReport.LlmCallLatency.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency.Builder |
|
newBuilder(LatencyReport.LlmCallLatency prototype)
public static LatencyReport.LlmCallLatency.Builder newBuilder(LatencyReport.LlmCallLatency prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
LatencyReport.LlmCallLatency |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency.Builder |
|
parseDelimitedFrom(InputStream input)
public static LatencyReport.LlmCallLatency parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.LlmCallLatency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static LatencyReport.LlmCallLatency parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.LlmCallLatency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static LatencyReport.LlmCallLatency parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.LlmCallLatency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static LatencyReport.LlmCallLatency parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.LlmCallLatency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static LatencyReport.LlmCallLatency parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.LlmCallLatency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static LatencyReport.LlmCallLatency parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.LlmCallLatency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<LatencyReport.LlmCallLatency> parser()| Returns | |
|---|---|
| Type | Description |
Parser<LlmCallLatency> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public LatencyReport.LlmCallLatency getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency |
|
getLatencyMetrics()
public LatencyReport.LatencyMetrics getLatencyMetrics()Output only. The latency metrics for the LLM call.
.google.cloud.ces.v1beta.LatencyReport.LatencyMetrics latency_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LatencyMetrics |
The latencyMetrics. |
getLatencyMetricsOrBuilder()
public LatencyReport.LatencyMetricsOrBuilder getLatencyMetricsOrBuilder()Output only. The latency metrics for the LLM call.
.google.cloud.ces.v1beta.LatencyReport.LatencyMetrics latency_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LatencyMetricsOrBuilder |
|
getModel()
public String getModel()Output only. The name of the model.
string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The model. |
getModelBytes()
public ByteString getModelBytes()Output only. The name of the model.
string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for model. |
getParserForType()
public Parser<LatencyReport.LlmCallLatency> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<LlmCallLatency> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasLatencyMetrics()
public boolean hasLatencyMetrics()Output only. The latency metrics for the LLM call.
.google.cloud.ces.v1beta.LatencyReport.LatencyMetrics latency_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the latencyMetrics 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 LatencyReport.LlmCallLatency.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LatencyReport.LlmCallLatency.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency.Builder |
|
toBuilder()
public LatencyReport.LlmCallLatency.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
LatencyReport.LlmCallLatency.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|