Interface SpanOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Span,Span.Builder
@Generated
public interface SpanOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampTimestamp of the completion of the span.com.google.protobuf.TimestampOrBuilderTimestamp of the completion of the span.getMetrics(int index) The unordered collection of metrics in this span.intThe unordered collection of metrics in this span.The unordered collection of metrics in this span.getMetricsOrBuilder(int index) The unordered collection of metrics in this span.List<? extends NamedMetricOrBuilder>The unordered collection of metrics in this span.getName()The name of the span.com.google.protobuf.ByteStringThe name of the span.com.google.protobuf.TimestampTimestamp of the start of the span.com.google.protobuf.TimestampOrBuilderTimestamp of the start of the span.getTags(int index) The metadata tags of the span such as span type.com.google.protobuf.ByteStringgetTagsBytes(int index) The metadata tags of the span such as span type.intThe metadata tags of the span such as span type.The metadata tags of the span such as span type.booleanTimestamp of the completion of the span.booleanTimestamp of the start of the span.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of the span.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the span.
string name = 1;- Returns:
- The bytes for name.
-
getTagsList
The metadata tags of the span such as span type.
repeated string tags = 2;- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()The metadata tags of the span such as span type.
repeated string tags = 2;- Returns:
- The count of tags.
-
getTags
The metadata tags of the span such as span type.
repeated string tags = 2;- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index) The metadata tags of the span such as span type.
repeated string tags = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getMetricsList
List<NamedMetric> getMetricsList()The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3; -
getMetrics
The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3; -
getMetricsCount
int getMetricsCount()The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3; -
getMetricsOrBuilderList
List<? extends NamedMetricOrBuilder> getMetricsOrBuilderList()The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3; -
getMetricsOrBuilder
The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3; -
hasStartTime
boolean hasStartTime()Timestamp of the start of the span.
.google.protobuf.Timestamp start_time = 4;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()Timestamp of the start of the span.
.google.protobuf.Timestamp start_time = 4;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Timestamp of the start of the span.
.google.protobuf.Timestamp start_time = 4; -
hasCompleteTime
boolean hasCompleteTime()Timestamp of the completion of the span.
.google.protobuf.Timestamp complete_time = 5;- Returns:
- Whether the completeTime field is set.
-
getCompleteTime
com.google.protobuf.Timestamp getCompleteTime()Timestamp of the completion of the span.
.google.protobuf.Timestamp complete_time = 5;- Returns:
- The completeTime.
-
getCompleteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()Timestamp of the completion of the span.
.google.protobuf.Timestamp complete_time = 5;
-