Class AggregatedMetrics.ToolCallLatencyMetrics (0.3.0)

public static final class AggregatedMetrics.ToolCallLatencyMetrics extends GeneratedMessage implements AggregatedMetrics.ToolCallLatencyMetricsOrBuilder

Metrics for tool call latency.

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

Inheritance

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

Static Fields

AVERAGE_LATENCY_FIELD_NUMBER

public static final int AVERAGE_LATENCY_FIELD_NUMBER
Field Value
Type Description
int

TOOL_FIELD_NUMBER

public static final int TOOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(AggregatedMetrics.ToolCallLatencyMetrics prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAverageLatency()

public Duration getAverageLatency()

Output only. The average latency of the tool calls.

.google.protobuf.Duration average_latency = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The averageLatency.

getAverageLatencyOrBuilder()

public DurationOrBuilder getAverageLatencyOrBuilder()

Output only. The average latency of the tool calls.

.google.protobuf.Duration average_latency = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTool()

public String getTool()

Output only. The name of the tool.

string tool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The tool.

getToolBytes()

public ByteString getToolBytes()

Output only. The name of the tool.

string tool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for tool.

hasAverageLatency()

public boolean hasAverageLatency()

Output only. The average latency of the tool calls.

.google.protobuf.Duration average_latency = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the averageLatency field is set.

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.ToolCallLatencyMetrics.Builder newBuilderForType()
Returns
Type Description
AggregatedMetrics.ToolCallLatencyMetrics.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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