public static final class EvaluationResult.SpanLatency extends GeneratedMessage implements EvaluationResult.SpanLatencyOrBuilder
The latency of a span execution.
Protobuf type google.cloud.ces.v1beta.EvaluationResult.SpanLatency
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_FIELD_NUMBER
public static final int CALLBACK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXECUTION_LATENCY_FIELD_NUMBER
public static final int EXECUTION_LATENCY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOLSET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EvaluationResult.SpanLatency getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EvaluationResult.SpanLatency.Builder newBuilder()
newBuilder(EvaluationResult.SpanLatency prototype)
public static EvaluationResult.SpanLatency.Builder newBuilder(EvaluationResult.SpanLatency prototype)
public static EvaluationResult.SpanLatency parseDelimitedFrom(InputStream input)
public static EvaluationResult.SpanLatency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EvaluationResult.SpanLatency parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.SpanLatency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EvaluationResult.SpanLatency parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.SpanLatency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.SpanLatency parseFrom(CodedInputStream input)
public static EvaluationResult.SpanLatency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.SpanLatency parseFrom(InputStream input)
public static EvaluationResult.SpanLatency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EvaluationResult.SpanLatency parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.SpanLatency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EvaluationResult.SpanLatency> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCallback()
public 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 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.
|
getDefaultInstanceForType()
public EvaluationResult.SpanLatency getDefaultInstanceForType()
getDisplayName()
public 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 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 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 TimestampOrBuilder getEndTimeOrBuilder()
Output only. The end time of span.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExecutionLatency()
public 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 DurationOrBuilder getExecutionLatencyOrBuilder()
Output only. The latency of span.
.google.protobuf.Duration execution_latency = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getIdentifierCase()
public EvaluationResult.SpanLatency.IdentifierCase getIdentifierCase()
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 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.
|
getParserForType()
public Parser<EvaluationResult.SpanLatency> getParserForType()
Overrides
getResource()
public 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 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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStartTime()
public 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 TimestampOrBuilder getStartTimeOrBuilder()
Output only. The start time of span.
.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ToolsetTool getToolset()
Output only. The toolset tool identifier.
.google.cloud.ces.v1beta.ToolsetTool toolset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ToolsetToolOrBuilder getToolsetOrBuilder()
Output only. The toolset tool identifier.
.google.cloud.ces.v1beta.ToolsetTool toolset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getType()
public 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];
getTypeValue()
public 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 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 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 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 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 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 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.
|
public 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EvaluationResult.SpanLatency.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected EvaluationResult.SpanLatency.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public EvaluationResult.SpanLatency.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides