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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public Span.TimeEvent.ValueCase getValueCase()
getValueCase
in interface Span.TimeEventOrBuilder
public boolean hasTime()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
hasTime
in interface Span.TimeEventOrBuilder
public Timestamp getTime()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
getTime
in interface Span.TimeEventOrBuilder
public TimestampOrBuilder getTimeOrBuilder()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
getTimeOrBuilder
in interface Span.TimeEventOrBuilder
public boolean hasAnnotation()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
hasAnnotation
in interface Span.TimeEventOrBuilder
public Span.TimeEvent.Annotation getAnnotation()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
getAnnotation
in interface Span.TimeEventOrBuilder
public Span.TimeEvent.AnnotationOrBuilder getAnnotationOrBuilder()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
getAnnotationOrBuilder
in interface Span.TimeEventOrBuilder
public 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.TimeEventOrBuilder
public 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.TimeEventOrBuilder
public 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.TimeEventOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Span.TimeEvent parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Span.TimeEvent parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Span.TimeEvent parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Span.TimeEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Span.TimeEvent parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Span.TimeEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Span.TimeEvent parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Span.TimeEvent parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Span.TimeEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Span.TimeEvent parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Span.TimeEvent parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Span.TimeEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Span.TimeEvent.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Span.TimeEvent.Builder newBuilder()
public static Span.TimeEvent.Builder newBuilder(Span.TimeEvent prototype)
public Span.TimeEvent.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Span.TimeEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Span.TimeEvent getDefaultInstance()
public static Parser<Span.TimeEvent> parser()
public Parser<Span.TimeEvent> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Span.TimeEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder