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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public Span.TimeEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Span.TimeEvent build()
public Span.TimeEvent buildPartial()
public Span.TimeEvent.Builder clear()
Overrides
public Span.TimeEvent.Builder clearAnnotation()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
public Span.TimeEvent.Builder clearField(Descriptors.FieldDescriptor field)
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;
public Span.TimeEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Span.TimeEvent.Builder clearTime()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
public Span.TimeEvent.Builder clearValue()
public Span.TimeEvent.Builder clone()
Overrides
public Span.TimeEvent.Annotation getAnnotation()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
public Span.TimeEvent.Annotation.Builder getAnnotationBuilder()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
public Span.TimeEvent.AnnotationOrBuilder getAnnotationOrBuilder()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
public Span.TimeEvent getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
public Span.TimeEvent.MessageEventOrBuilder getMessageEventOrBuilder()
An event describing a message sent/received between Spans.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;
public Timestamp getTime()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
public Timestamp.Builder getTimeBuilder()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
public TimestampOrBuilder getTimeOrBuilder()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
public Span.TimeEvent.ValueCase getValueCase()
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()
Overrides
public final boolean isInitialized()
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;
public Span.TimeEvent.Builder mergeFrom(Span.TimeEvent other)
public Span.TimeEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Span.TimeEvent.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
public Span.TimeEvent.Builder mergeTime(Timestamp value)
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
public final Span.TimeEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
public Span.TimeEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
public Span.TimeEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public Span.TimeEvent.Builder setTime(Timestamp value)
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
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
|
public final Span.TimeEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides