public static final class Span.TimeEvent extends GeneratedMessageV3 implements Span.TimeEventOrBuilder
A time-stamped annotation or message event in the Span.Protobuf type
google.devtools.cloudtrace.v2.Span.TimeEvent| Modifier and Type | Class and Description | 
|---|---|
| static class  | Span.TimeEvent.Annotation
 Text annotation with a set of attributes. | 
| static interface  | Span.TimeEvent.AnnotationOrBuilder | 
| static class  | Span.TimeEvent.Builder
 A time-stamped annotation or message event in the Span. | 
| static class  | Span.TimeEvent.MessageEvent
 An event describing a message sent/received between Spans. | 
| static interface  | Span.TimeEvent.MessageEventOrBuilder | 
| static class  | Span.TimeEvent.ValueCase | 
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description | 
|---|---|
| static int | ANNOTATION_FIELD_NUMBER | 
| static int | MESSAGE_EVENT_FIELD_NUMBER | 
| static int | TIME_FIELD_NUMBER | 
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TIME_FIELD_NUMBER
public static final int ANNOTATION_FIELD_NUMBER
public static final int MESSAGE_EVENT_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public Span.TimeEvent.ValueCase getValueCase()
getValueCase in interface Span.TimeEventOrBuilderpublic boolean hasTime()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;hasTime in interface Span.TimeEventOrBuilderpublic Timestamp getTime()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;getTime in interface Span.TimeEventOrBuilderpublic TimestampOrBuilder getTimeOrBuilder()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;getTimeOrBuilder in interface Span.TimeEventOrBuilderpublic boolean hasAnnotation()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;hasAnnotation in interface Span.TimeEventOrBuilderpublic Span.TimeEvent.Annotation getAnnotation()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;getAnnotation in interface Span.TimeEventOrBuilderpublic Span.TimeEvent.AnnotationOrBuilder getAnnotationOrBuilder()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;getAnnotationOrBuilder in interface Span.TimeEventOrBuilderpublic boolean hasMessageEvent()
An event describing a message sent/received between Spans.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;hasMessageEvent in interface Span.TimeEventOrBuilderpublic Span.TimeEvent.MessageEvent getMessageEvent()
An event describing a message sent/received between Spans.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;getMessageEvent in interface Span.TimeEventOrBuilderpublic Span.TimeEvent.MessageEventOrBuilder getMessageEventOrBuilder()
An event describing a message sent/received between Spans.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;getMessageEventOrBuilder in interface Span.TimeEventOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Span.TimeEvent parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Span.TimeEvent parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Span.TimeEvent parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Span.TimeEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Span.TimeEvent parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Span.TimeEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Span.TimeEvent parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Span.TimeEvent parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Span.TimeEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Span.TimeEvent parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Span.TimeEvent parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Span.TimeEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Span.TimeEvent.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Span.TimeEvent.Builder newBuilder()
public static Span.TimeEvent.Builder newBuilder(Span.TimeEvent prototype)
public Span.TimeEvent.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Span.TimeEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Span.TimeEvent getDefaultInstance()
public static Parser<Span.TimeEvent> parser()
public Parser<Span.TimeEvent> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Span.TimeEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder