Class Span.TimeEvent.Annotation.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Span.TimeEvent.Annotation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Span.TimeEvent.Annotation.Builder>
      • getDefaultInstanceForType

        public Span.TimeEvent.Annotation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Span.TimeEvent.Annotation build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Span.TimeEvent.Annotation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Span.TimeEvent.Annotation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Span.TimeEvent.Annotation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Span.TimeEvent.Annotation.Builder>
      • mergeFrom

        public Span.TimeEvent.Annotation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Span.TimeEvent.Annotation.Builder>
        Throws:
        IOException
      • 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;
        Specified by:
        hasDescription in interface Span.TimeEvent.AnnotationOrBuilder
        Returns:
        Whether the description field is set.
      • 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;
        Specified by:
        getDescription in interface Span.TimeEvent.AnnotationOrBuilder
        Returns:
        The description.
      • setDescription

        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;
      • mergeDescription

        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;
      • 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;
      • 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;
      • 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;
        Specified by:
        hasAttributes in interface Span.TimeEvent.AnnotationOrBuilder
        Returns:
        Whether the attributes field is set.
      • setAttributes

        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;
      • mergeAttributes

        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;
      • 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;
      • 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;
      • setUnknownFields

        public final Span.TimeEvent.Annotation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Span.TimeEvent.Annotation.Builder>
      • mergeUnknownFields

        public final Span.TimeEvent.Annotation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Span.TimeEvent.Annotation.Builder>