Package io.opencensus.proto.trace.v1
Class Span.TimeEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.opencensus.proto.trace.v1.Span.TimeEvent
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Span.TimeEventOrBuilder,Serializable
- Enclosing class:
- Span
public static final class Span.TimeEvent extends com.google.protobuf.GeneratedMessageV3 implements Span.TimeEventOrBuilder
A time-stamped annotation or message event in the Span.
Protobuf typeopencensus.proto.trace.v1.Span.TimeEvent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpan.TimeEvent.AnnotationA text annotation with a set of attributes.static interfaceSpan.TimeEvent.AnnotationOrBuilderstatic classSpan.TimeEvent.BuilderA time-stamped annotation or message event in the Span.static classSpan.TimeEvent.MessageEventAn event describing a message sent/received between Spans.static interfaceSpan.TimeEvent.MessageEventOrBuilderstatic classSpan.TimeEvent.ValueCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATION_FIELD_NUMBERstatic intMESSAGE_EVENT_FIELD_NUMBERstatic intTIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Span.TimeEvent.AnnotationgetAnnotation()A text annotation with a set of attributes.Span.TimeEvent.AnnotationOrBuildergetAnnotationOrBuilder()A text annotation with a set of attributes.static Span.TimeEventgetDefaultInstance()Span.TimeEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Span.TimeEvent.MessageEventgetMessageEvent()An event describing a message sent/received between Spans.Span.TimeEvent.MessageEventOrBuildergetMessageEventOrBuilder()An event describing a message sent/received between Spans.com.google.protobuf.Parser<Span.TimeEvent>getParserForType()intgetSerializedSize()com.google.protobuf.TimestampgetTime()The time the event occurred.com.google.protobuf.TimestampOrBuildergetTimeOrBuilder()The time the event occurred.com.google.protobuf.UnknownFieldSetgetUnknownFields()Span.TimeEvent.ValueCasegetValueCase()booleanhasAnnotation()A text annotation with a set of attributes.inthashCode()booleanhasMessageEvent()An event describing a message sent/received between Spans.booleanhasTime()The time the event occurred.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Span.TimeEvent.BuildernewBuilder()static Span.TimeEvent.BuildernewBuilder(Span.TimeEvent prototype)Span.TimeEvent.BuildernewBuilderForType()protected Span.TimeEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Span.TimeEventparseDelimitedFrom(InputStream input)static Span.TimeEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Span.TimeEventparseFrom(byte[] data)static Span.TimeEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Span.TimeEventparseFrom(com.google.protobuf.ByteString data)static Span.TimeEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Span.TimeEventparseFrom(com.google.protobuf.CodedInputStream input)static Span.TimeEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Span.TimeEventparseFrom(InputStream input)static Span.TimeEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Span.TimeEventparseFrom(ByteBuffer data)static Span.TimeEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Span.TimeEvent>parser()Span.TimeEvent.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TIME_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATION_FIELD_NUMBER
public static final int ANNOTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_EVENT_FIELD_NUMBER
public static final int MESSAGE_EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getValueCase
public Span.TimeEvent.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceSpan.TimeEventOrBuilder
-
hasTime
public boolean hasTime()
The time the event occurred.
.google.protobuf.Timestamp time = 1;- Specified by:
hasTimein interfaceSpan.TimeEventOrBuilder- Returns:
- Whether the time field is set.
-
getTime
public com.google.protobuf.Timestamp getTime()
The time the event occurred.
.google.protobuf.Timestamp time = 1;- Specified by:
getTimein interfaceSpan.TimeEventOrBuilder- Returns:
- The time.
-
getTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
The time the event occurred.
.google.protobuf.Timestamp time = 1;- Specified by:
getTimeOrBuilderin interfaceSpan.TimeEventOrBuilder
-
hasAnnotation
public boolean hasAnnotation()
A text annotation with a set of attributes.
.opencensus.proto.trace.v1.Span.TimeEvent.Annotation annotation = 2;- Specified by:
hasAnnotationin interfaceSpan.TimeEventOrBuilder- Returns:
- Whether the annotation field is set.
-
getAnnotation
public Span.TimeEvent.Annotation getAnnotation()
A text annotation with a set of attributes.
.opencensus.proto.trace.v1.Span.TimeEvent.Annotation annotation = 2;- Specified by:
getAnnotationin interfaceSpan.TimeEventOrBuilder- Returns:
- The annotation.
-
getAnnotationOrBuilder
public Span.TimeEvent.AnnotationOrBuilder getAnnotationOrBuilder()
A text annotation with a set of attributes.
.opencensus.proto.trace.v1.Span.TimeEvent.Annotation annotation = 2;- Specified by:
getAnnotationOrBuilderin interfaceSpan.TimeEventOrBuilder
-
hasMessageEvent
public boolean hasMessageEvent()
An event describing a message sent/received between Spans.
.opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent message_event = 3;- Specified by:
hasMessageEventin interfaceSpan.TimeEventOrBuilder- Returns:
- Whether the messageEvent field is set.
-
getMessageEvent
public Span.TimeEvent.MessageEvent getMessageEvent()
An event describing a message sent/received between Spans.
.opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent message_event = 3;- Specified by:
getMessageEventin interfaceSpan.TimeEventOrBuilder- Returns:
- The messageEvent.
-
getMessageEventOrBuilder
public Span.TimeEvent.MessageEventOrBuilder getMessageEventOrBuilder()
An event describing a message sent/received between Spans.
.opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent message_event = 3;- Specified by:
getMessageEventOrBuilderin interfaceSpan.TimeEventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Span.TimeEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span.TimeEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span.TimeEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span.TimeEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span.TimeEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span.TimeEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span.TimeEvent parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Span.TimeEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Span.TimeEvent parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Span.TimeEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Span.TimeEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Span.TimeEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Span.TimeEvent.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Span.TimeEvent.Builder newBuilder()
-
newBuilder
public static Span.TimeEvent.Builder newBuilder(Span.TimeEvent prototype)
-
toBuilder
public Span.TimeEvent.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Span.TimeEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Span.TimeEvent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Span.TimeEvent> parser()
-
getParserForType
public com.google.protobuf.Parser<Span.TimeEvent> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Span.TimeEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-