public static final class Span.TimeEvent.Builder extends GeneratedMessage.Builder<Span.TimeEvent.Builder> implements Span.TimeEventOrBuilderA time-stamped annotation or message event in the Span.
Protobuf type google.devtools.cloudtrace.v2.Span.TimeEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Span.TimeEvent.BuilderImplements
Span.TimeEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
|
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 |
|
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 |
|