public static final class Span.TimeEvent.Annotation.Builder extends GeneratedMessage.Builder<Span.TimeEvent.Annotation.Builder> implements Span.TimeEvent.AnnotationOrBuilderText annotation with a set of attributes.
Protobuf type google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Span.TimeEvent.Annotation.BuilderImplements
Span.TimeEvent.AnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Span.TimeEvent.Annotation build()| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation |
|
buildPartial()
public Span.TimeEvent.Annotation buildPartial()| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation |
|
clear()
public Span.TimeEvent.Annotation.Builder clear()| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|
clearAttributes()
public Span.TimeEvent.Annotation.Builder clearAttributes()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 |
Span.TimeEvent.Annotation.Builder |
|
clearDescription()
public Span.TimeEvent.Annotation.Builder clearDescription()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 |
Span.TimeEvent.Annotation.Builder |
|
getAttributes()
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 | |
|---|---|
| Type | Description |
Span.Attributes |
The attributes. |
getAttributesBuilder()
public Span.Attributes.Builder getAttributesBuilder()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 |
Span.Attributes.Builder |
|
getAttributesOrBuilder()
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 | |
|---|---|
| Type | Description |
Span.AttributesOrBuilder |
|
getDefaultInstanceForType()
public Span.TimeEvent.Annotation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation |
|
getDescription()
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 | |
|---|---|
| Type | Description |
TruncatableString |
The description. |
getDescriptionBuilder()
public TruncatableString.Builder getDescriptionBuilder()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 |
TruncatableString.Builder |
|
getDescriptionOrBuilder()
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 | |
|---|---|
| Type | Description |
TruncatableStringOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasAttributes()
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. |
hasDescription()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAttributes(Span.Attributes value)
public Span.TimeEvent.Annotation.Builder mergeAttributes(Span.Attributes value)A set of attributes on the annotation. You can have up to 4 attributes per Annotation.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Span.Attributes |
| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|
mergeDescription(TruncatableString value)
public Span.TimeEvent.Annotation.Builder mergeDescription(TruncatableString value)A user-supplied message describing the event. The maximum length for the description is 256 bytes.
.google.devtools.cloudtrace.v2.TruncatableString description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
TruncatableString |
| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|
mergeFrom(Span.TimeEvent.Annotation other)
public Span.TimeEvent.Annotation.Builder mergeFrom(Span.TimeEvent.Annotation other)| Parameter | |
|---|---|
| Name | Description |
other |
Span.TimeEvent.Annotation |
| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Span.TimeEvent.Annotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Span.TimeEvent.Annotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|
setAttributes(Span.Attributes value)
public Span.TimeEvent.Annotation.Builder setAttributes(Span.Attributes value)A set of attributes on the annotation. You can have up to 4 attributes per Annotation.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Span.Attributes |
| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|
setAttributes(Span.Attributes.Builder builderForValue)
public Span.TimeEvent.Annotation.Builder setAttributes(Span.Attributes.Builder builderForValue)A set of attributes on the annotation. You can have up to 4 attributes per Annotation.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Span.Attributes.Builder |
| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|
setDescription(TruncatableString value)
public Span.TimeEvent.Annotation.Builder setDescription(TruncatableString value)A user-supplied message describing the event. The maximum length for the description is 256 bytes.
.google.devtools.cloudtrace.v2.TruncatableString description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
TruncatableString |
| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|
setDescription(TruncatableString.Builder builderForValue)
public Span.TimeEvent.Annotation.Builder setDescription(TruncatableString.Builder builderForValue)A user-supplied message describing the event. The maximum length for the description is 256 bytes.
.google.devtools.cloudtrace.v2.TruncatableString description = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TruncatableString.Builder |
| Returns | |
|---|---|
| Type | Description |
Span.TimeEvent.Annotation.Builder |
|