public
final
class
Span
extends
GeneratedMessage
implements
SpanOrBuilder
A span is a unit of work or a single operation during the request processing.
Protobuf type google.cloud.ces.v1.Span
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SpanImplements
SpanOrBuilderStatic Fields
ATTRIBUTES_FIELD_NUMBER
public
static
final
int
ATTRIBUTES_FIELD_NUMBER
CHILD_SPANS_FIELD_NUMBER
public
static
final
int
CHILD_SPANS_FIELD_NUMBER
DURATION_FIELD_NUMBER
public
static
final
int
DURATION_FIELD_NUMBER
END_TIME_FIELD_NUMBER
public
static
final
int
END_TIME_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
START_TIME_FIELD_NUMBER
public
static
final
int
START_TIME_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Span
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Span
.
Builder
newBuilder
()
newBuilder(Span prototype)
public
static
Span
.
Builder
newBuilder
(
Span
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Span
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Span
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Span
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Span
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Span
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Span
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Span
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Span
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Span
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Span
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Span
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Span
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Span>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getAttributes()
public
Struct
getAttributes
()
Output only. Key-value attributes associated with the span.
.google.protobuf.Struct attributes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAttributesOrBuilder()
public
StructOrBuilder
getAttributesOrBuilder
()
Output only. Key-value attributes associated with the span.
.google.protobuf.Struct attributes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChildSpans(int index)
public
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];
getChildSpansCount()
public
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];
getChildSpansList()
public
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];
getChildSpansOrBuilder(int index)
public
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];
getChildSpansOrBuilderList()
public
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];
getDefaultInstanceForType()
public
Span
getDefaultInstanceForType
()
getDuration()
public
Duration
getDuration
()
Output only. The duration of the span.
.google.protobuf.Duration duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDurationOrBuilder()
public
DurationOrBuilder
getDurationOrBuilder
()
Output only. The duration of the span.
.google.protobuf.Duration duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime()
public
Timestamp
getEndTime
()
Output only. The end time of the span.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder()
public
TimestampOrBuilder
getEndTimeOrBuilder
()
Output only. The end time of the span.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getName()
public
String
getName
()
Output only. The name of the span.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNameBytes()
public
ByteString
getNameBytes
()
Output only. The name of the span.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public
Parser<Span>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
getStartTime()
public
Timestamp
getStartTime
()
Output only. The start time of the span.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTimeOrBuilder()
public
TimestampOrBuilder
getStartTimeOrBuilder
()
Output only. The start time of the span.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAttributes()
public
boolean
hasAttributes
()
Output only. Key-value attributes associated with the span.
.google.protobuf.Struct attributes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDuration()
public
boolean
hasDuration
()
Output only. The duration of the span.
.google.protobuf.Duration duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime()
public
boolean
hasEndTime
()
Output only. The end time of the span.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStartTime()
public
boolean
hasStartTime
()
Output only. The start time of the span.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Span
.
Builder
newBuilderForType
()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected
Span
.
Builder
newBuilderForType
(
AbstractMessage
.
BuilderParent
parent
)
toBuilder()
public
Span
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

