Interface SpanOrBuilder (0.89.0)

public interface SpanOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompleteTime()

public abstract Timestamp getCompleteTime()

Timestamp of the completion of the span.

.google.protobuf.Timestamp complete_time = 5;

Returns
Type Description
Timestamp

The completeTime.

getCompleteTimeOrBuilder()

public abstract TimestampOrBuilder getCompleteTimeOrBuilder()

Timestamp of the completion of the span.

.google.protobuf.Timestamp complete_time = 5;

Returns
Type Description
TimestampOrBuilder

getMetrics(int index)

public abstract NamedMetric getMetrics(int index)

The unordered collection of metrics in this span.

repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;

Parameter
Name Description
index int
Returns
Type Description
NamedMetric

getMetricsCount()

public abstract int getMetricsCount()

The unordered collection of metrics in this span.

repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;

Returns
Type Description
int

getMetricsList()

public abstract List<NamedMetric> getMetricsList()

The unordered collection of metrics in this span.

repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;

Returns
Type Description
List<NamedMetric>

getMetricsOrBuilder(int index)

public abstract NamedMetricOrBuilder getMetricsOrBuilder(int index)

The unordered collection of metrics in this span.

repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;

Parameter
Name Description
index int
Returns
Type Description
NamedMetricOrBuilder

getMetricsOrBuilderList()

public abstract List<? extends NamedMetricOrBuilder> getMetricsOrBuilderList()

The unordered collection of metrics in this span.

repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.NamedMetricOrBuilder>

getName()

public abstract String getName()

The name of the span.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the span.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getStartTime()

public abstract Timestamp getStartTime()

Timestamp of the start of the span.

.google.protobuf.Timestamp start_time = 4;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Timestamp of the start of the span.

.google.protobuf.Timestamp start_time = 4;

Returns
Type Description
TimestampOrBuilder

getTags(int index)

public abstract String getTags(int index)

The metadata tags of the span such as span type.

repeated string tags = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public abstract ByteString getTagsBytes(int index)

The metadata tags of the span such as span type.

repeated string tags = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public abstract int getTagsCount()

The metadata tags of the span such as span type.

repeated string tags = 2;

Returns
Type Description
int

The count of tags.

getTagsList()

public abstract List<String> getTagsList()

The metadata tags of the span such as span type.

repeated string tags = 2;

Returns
Type Description
List<String>

A list containing the tags.

hasCompleteTime()

public abstract boolean hasCompleteTime()

Timestamp of the completion of the span.

.google.protobuf.Timestamp complete_time = 5;

Returns
Type Description
boolean

Whether the completeTime field is set.

hasStartTime()

public abstract boolean hasStartTime()

Timestamp of the start of the span.

.google.protobuf.Timestamp start_time = 4;

Returns
Type Description
boolean

Whether the startTime field is set.