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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Span.TimeEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Span.TimeEvent build()
Returns
public Span.TimeEvent buildPartial()
Returns
public Span.TimeEvent.Builder clear()
Returns
Overrides
public Span.TimeEvent.Builder clearAnnotation()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
Returns
public Span.TimeEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public Span.TimeEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Span.TimeEvent.Builder clearTime()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Returns
public Span.TimeEvent.Builder clearValue()
Returns
public Span.TimeEvent.Builder clone()
Returns
Overrides
public Span.TimeEvent.Annotation getAnnotation()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
Returns
public Span.TimeEvent.Annotation.Builder getAnnotationBuilder()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
Returns
public Span.TimeEvent.AnnotationOrBuilder getAnnotationOrBuilder()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
Returns
public Span.TimeEvent getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
public Timestamp getTime()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Returns
public Timestamp.Builder getTimeBuilder()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Returns
public TimestampOrBuilder getTimeOrBuilder()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Returns
public Span.TimeEvent.ValueCase getValueCase()
Returns
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.
|
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.
|
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Returns
Type | Description |
boolean | Whether the time field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
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
Returns
public Span.TimeEvent.Builder mergeFrom(Span.TimeEvent other)
Parameter
Returns
public Span.TimeEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Span.TimeEvent.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
public Span.TimeEvent.Builder mergeTime(Timestamp value)
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Parameter
Returns
public final Span.TimeEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
public Span.TimeEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
public Span.TimeEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public Span.TimeEvent.Builder setTime(Timestamp value)
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Parameter
Returns
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
public final Span.TimeEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides