public static final class Span.TimeEvent.Annotation extends GeneratedMessageV3 implements Span.TimeEvent.AnnotationOrBuilder
Text annotation with a set of attributes.
Protobuf type google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation
Static Fields
public static final int ATTRIBUTES_FIELD_NUMBER
Field Value
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Static Methods
public static Span.TimeEvent.Annotation getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Span.TimeEvent.Annotation.Builder newBuilder()
Returns
public static Span.TimeEvent.Annotation.Builder newBuilder(Span.TimeEvent.Annotation prototype)
Parameter
Returns
public static Span.TimeEvent.Annotation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Span.TimeEvent.Annotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Span.TimeEvent.Annotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Span.TimeEvent.Annotation> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Span.Attributes getAttributes()
A set of attributes on the annotation. You can have up to 4 attributes
per Annotation.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;
Returns
public Span.AttributesOrBuilder getAttributesOrBuilder()
A set of attributes on the annotation. You can have up to 4 attributes
per Annotation.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;
Returns
public Span.TimeEvent.Annotation getDefaultInstanceForType()
Returns
public TruncatableString getDescription()
A user-supplied message describing the event. The maximum length for
the description is 256 bytes.
.google.devtools.cloudtrace.v2.TruncatableString description = 1;
Returns
public TruncatableStringOrBuilder getDescriptionOrBuilder()
A user-supplied message describing the event. The maximum length for
the description is 256 bytes.
.google.devtools.cloudtrace.v2.TruncatableString description = 1;
Returns
public Parser<Span.TimeEvent.Annotation> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasAttributes()
A set of attributes on the annotation. You can have up to 4 attributes
per Annotation.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;
Returns
Type | Description |
boolean | Whether the attributes field is set.
|
public boolean hasDescription()
A user-supplied message describing the event. The maximum length for
the description is 256 bytes.
.google.devtools.cloudtrace.v2.TruncatableString description = 1;
Returns
Type | Description |
boolean | Whether the description field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Span.TimeEvent.Annotation.Builder newBuilderForType()
Returns
protected Span.TimeEvent.Annotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Span.TimeEvent.Annotation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions