Class Span.TimeEvent.Builder (2.47.0)

public static final class Span.TimeEvent.Builder extends GeneratedMessageV3.Builder<Span.TimeEvent.Builder> implements Span.TimeEventOrBuilder

A time-stamped annotation or message event in the Span.

Protobuf type google.devtools.cloudtrace.v2.Span.TimeEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Span.TimeEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Span.TimeEvent.Builder
Overrides

build()

public Span.TimeEvent build()
Returns
Type Description
Span.TimeEvent

buildPartial()

public Span.TimeEvent buildPartial()
Returns
Type Description
Span.TimeEvent

clear()

public Span.TimeEvent.Builder clear()
Returns
Type Description
Span.TimeEvent.Builder
Overrides

clearAnnotation()

public Span.TimeEvent.Builder clearAnnotation()

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Returns
Type Description
Span.TimeEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public Span.TimeEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Span.TimeEvent.Builder
Overrides

clearMessageEvent()

public Span.TimeEvent.Builder clearMessageEvent()

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Returns
Type Description
Span.TimeEvent.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Span.TimeEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Span.TimeEvent.Builder
Overrides

clearTime()

public Span.TimeEvent.Builder clearTime()

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
Span.TimeEvent.Builder

clearValue()

public Span.TimeEvent.Builder clearValue()
Returns
Type Description
Span.TimeEvent.Builder

clone()

public Span.TimeEvent.Builder clone()
Returns
Type Description
Span.TimeEvent.Builder
Overrides

getAnnotation()

public Span.TimeEvent.Annotation getAnnotation()

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Returns
Type Description
Span.TimeEvent.Annotation

The annotation.

getAnnotationBuilder()

public Span.TimeEvent.Annotation.Builder getAnnotationBuilder()

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Returns
Type Description
Span.TimeEvent.Annotation.Builder

getAnnotationOrBuilder()

public Span.TimeEvent.AnnotationOrBuilder getAnnotationOrBuilder()

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Returns
Type Description
Span.TimeEvent.AnnotationOrBuilder

getDefaultInstanceForType()

public Span.TimeEvent getDefaultInstanceForType()
Returns
Type Description
Span.TimeEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMessageEvent()

public Span.TimeEvent.MessageEvent getMessageEvent()

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Returns
Type Description
Span.TimeEvent.MessageEvent

The messageEvent.

getMessageEventBuilder()

public Span.TimeEvent.MessageEvent.Builder getMessageEventBuilder()

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Returns
Type Description
Span.TimeEvent.MessageEvent.Builder

getMessageEventOrBuilder()

public Span.TimeEvent.MessageEventOrBuilder getMessageEventOrBuilder()

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Returns
Type Description
Span.TimeEvent.MessageEventOrBuilder

getTime()

public Timestamp getTime()

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
Timestamp

The time.

getTimeBuilder()

public Timestamp.Builder getTimeBuilder()

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
Builder

getTimeOrBuilder()

public TimestampOrBuilder getTimeOrBuilder()

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
TimestampOrBuilder

getValueCase()

public Span.TimeEvent.ValueCase getValueCase()
Returns
Type Description
Span.TimeEvent.ValueCase

hasAnnotation()

public boolean hasAnnotation()

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Returns
Type Description
boolean

Whether the annotation field is set.

hasMessageEvent()

public boolean hasMessageEvent()

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Returns
Type Description
boolean

Whether the messageEvent field is set.

hasTime()

public boolean hasTime()

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
boolean

Whether the time field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnnotation(Span.TimeEvent.Annotation value)

public Span.TimeEvent.Builder mergeAnnotation(Span.TimeEvent.Annotation value)

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Parameter
Name Description
value Span.TimeEvent.Annotation
Returns
Type Description
Span.TimeEvent.Builder

mergeFrom(Span.TimeEvent other)

public Span.TimeEvent.Builder mergeFrom(Span.TimeEvent other)
Parameter
Name Description
other Span.TimeEvent
Returns
Type Description
Span.TimeEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Span.TimeEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Span.TimeEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Span.TimeEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Span.TimeEvent.Builder
Overrides

mergeMessageEvent(Span.TimeEvent.MessageEvent value)

public Span.TimeEvent.Builder mergeMessageEvent(Span.TimeEvent.MessageEvent value)

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Parameter
Name Description
value Span.TimeEvent.MessageEvent
Returns
Type Description
Span.TimeEvent.Builder

mergeTime(Timestamp value)

public Span.TimeEvent.Builder mergeTime(Timestamp value)

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Span.TimeEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Span.TimeEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Span.TimeEvent.Builder
Overrides

setAnnotation(Span.TimeEvent.Annotation value)

public Span.TimeEvent.Builder setAnnotation(Span.TimeEvent.Annotation value)

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Parameter
Name Description
value Span.TimeEvent.Annotation
Returns
Type Description
Span.TimeEvent.Builder

setAnnotation(Span.TimeEvent.Annotation.Builder builderForValue)

public Span.TimeEvent.Builder setAnnotation(Span.TimeEvent.Annotation.Builder builderForValue)

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Parameter
Name Description
builderForValue Span.TimeEvent.Annotation.Builder
Returns
Type Description
Span.TimeEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Span.TimeEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Span.TimeEvent.Builder
Overrides

setMessageEvent(Span.TimeEvent.MessageEvent value)

public Span.TimeEvent.Builder setMessageEvent(Span.TimeEvent.MessageEvent value)

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Parameter
Name Description
value Span.TimeEvent.MessageEvent
Returns
Type Description
Span.TimeEvent.Builder

setMessageEvent(Span.TimeEvent.MessageEvent.Builder builderForValue)

public Span.TimeEvent.Builder setMessageEvent(Span.TimeEvent.MessageEvent.Builder builderForValue)

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Parameter
Name Description
builderForValue Span.TimeEvent.MessageEvent.Builder
Returns
Type Description
Span.TimeEvent.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Span.TimeEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Span.TimeEvent.Builder
Overrides

setTime(Timestamp value)

public Span.TimeEvent.Builder setTime(Timestamp value)

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Span.TimeEvent.Builder

setTime(Timestamp.Builder builderForValue)

public Span.TimeEvent.Builder setTime(Timestamp.Builder builderForValue)

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Span.TimeEvent.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Span.TimeEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Span.TimeEvent.Builder
Overrides