Send feedback
Class Span.TimeEvent.Annotation (2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]