Interface EvaluationResult.SpanLatencyOrBuilder (0.3.0)

public static interface EvaluationResult.SpanLatencyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCallback()

public abstract String getCallback()

Output only. The name of the user callback span.

string callback = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The callback.

getCallbackBytes()

public abstract ByteString getCallbackBytes()

Output only. The name of the user callback span.

string callback = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for callback.

getDisplayName()

public abstract String getDisplayName()

Output only. The display name of the span. Applicable to tool and guardrail spans.

string display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Output only. The display name of the span. Applicable to tool and guardrail spans.

string display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getEndTime()

public abstract Timestamp getEndTime()

Output only. The end time of span.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. The end time of span.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getExecutionLatency()

public abstract Duration getExecutionLatency()

Output only. The latency of span.

.google.protobuf.Duration execution_latency = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The executionLatency.

getExecutionLatencyOrBuilder()

public abstract DurationOrBuilder getExecutionLatencyOrBuilder()

Output only. The latency of span.

.google.protobuf.Duration execution_latency = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getIdentifierCase()

public abstract EvaluationResult.SpanLatency.IdentifierCase getIdentifierCase()
Returns
Type Description
EvaluationResult.SpanLatency.IdentifierCase

getModel()

public abstract String getModel()

Output only. The name of the LLM span.

string model = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The model.

getModelBytes()

public abstract ByteString getModelBytes()

Output only. The name of the LLM span.

string model = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for model.

getResource()

public abstract String getResource()

Output only. The resource name of the guardrail or tool spans.

string resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

Output only. The resource name of the guardrail or tool spans.

string resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resource.

getStartTime()

public abstract Timestamp getStartTime()

Output only. The start time of span.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Output only. The start time of span.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getToolset()

public abstract ToolsetTool getToolset()

Output only. The toolset tool identifier.

.google.cloud.ces.v1beta.ToolsetTool toolset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolsetTool

The toolset.

getToolsetOrBuilder()

public abstract ToolsetToolOrBuilder getToolsetOrBuilder()

Output only. The toolset tool identifier.

.google.cloud.ces.v1beta.ToolsetTool toolset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolsetToolOrBuilder

getType()

public abstract EvaluationResult.SpanLatency.Type getType()

Output only. The type of span.

.google.cloud.ces.v1beta.EvaluationResult.SpanLatency.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.SpanLatency.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Output only. The type of span.

.google.cloud.ces.v1beta.EvaluationResult.SpanLatency.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasCallback()

public abstract boolean hasCallback()

Output only. The name of the user callback span.

string callback = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the callback field is set.

hasEndTime()

public abstract boolean hasEndTime()

Output only. The end time of span.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasExecutionLatency()

public abstract boolean hasExecutionLatency()

Output only. The latency of span.

.google.protobuf.Duration execution_latency = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the executionLatency field is set.

hasModel()

public abstract boolean hasModel()

Output only. The name of the LLM span.

string model = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the model field is set.

hasResource()

public abstract boolean hasResource()

Output only. The resource name of the guardrail or tool spans.

string resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the resource field is set.

hasStartTime()

public abstract boolean hasStartTime()

Output only. The start time of span.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasToolset()

public abstract boolean hasToolset()

Output only. The toolset tool identifier.

.google.cloud.ces.v1beta.ToolsetTool toolset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the toolset field is set.