Interface SpanOrBuilder (0.1.0)

public interface SpanOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttributes()

public abstract Struct getAttributes()

Output only. Key-value attributes associated with the span.

.google.protobuf.Struct attributes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The attributes.

getAttributesOrBuilder()

public abstract StructOrBuilder getAttributesOrBuilder()

Output only. Key-value attributes associated with the span.

.google.protobuf.Struct attributes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

getChildSpans(int index)

public abstract Span getChildSpans(int index)

Output only. The child spans that are nested under this span.

repeated .google.cloud.ces.v1.Span child_spans = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Span

getChildSpansCount()

public abstract int getChildSpansCount()

Output only. The child spans that are nested under this span.

repeated .google.cloud.ces.v1.Span child_spans = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getChildSpansList()

public abstract List<Span> getChildSpansList()

Output only. The child spans that are nested under this span.

repeated .google.cloud.ces.v1.Span child_spans = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Span>

getChildSpansOrBuilder(int index)

public abstract SpanOrBuilder getChildSpansOrBuilder(int index)

Output only. The child spans that are nested under this span.

repeated .google.cloud.ces.v1.Span child_spans = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SpanOrBuilder

getChildSpansOrBuilderList()

public abstract List<? extends SpanOrBuilder> getChildSpansOrBuilderList()

Output only. The child spans that are nested under this span.

repeated .google.cloud.ces.v1.Span child_spans = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.SpanOrBuilder>

getDuration()

public abstract Duration getDuration()

Output only. The duration of the span.

.google.protobuf.Duration duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Output only. The duration of the span.

.google.protobuf.Duration duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getEndTime()

public abstract Timestamp getEndTime()

Output only. The end time of the span.

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

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. The end time of the span.

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

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Output only. The name of the span.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the span.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getStartTime()

public abstract Timestamp getStartTime()

Output only. The start time of the span.

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

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Output only. The start time of the span.

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

Returns
Type Description
TimestampOrBuilder

hasAttributes()

public abstract boolean hasAttributes()

Output only. Key-value attributes associated with the span.

.google.protobuf.Struct attributes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the attributes field is set.

hasDuration()

public abstract boolean hasDuration()

Output only. The duration of the span.

.google.protobuf.Duration duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the duration field is set.

hasEndTime()

public abstract boolean hasEndTime()

Output only. The end time of the span.

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

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public abstract boolean hasStartTime()

Output only. The start time of the span.

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

Returns
Type Description
boolean

Whether the startTime field is set.