Class Span.TimeEvent.MessageEvent.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.MessageEvent.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.MessageEvent.Builder>
      • getDefaultInstanceForType

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

        public Span.TimeEvent.MessageEvent 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.MessageEvent buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.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.MessageEvent.Builder>
      • mergeFrom

        public Span.TimeEvent.MessageEvent.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.MessageEvent.Builder>
        Throws:
        IOException
      • getTypeValue

        public int getTypeValue()
         Type of MessageEvent. Indicates whether the message was sent or
         received.
         
        .google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;
        Specified by:
        getTypeValue in interface Span.TimeEvent.MessageEventOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public Span.TimeEvent.MessageEvent.Builder setTypeValue​(int value)
         Type of MessageEvent. Indicates whether the message was sent or
         received.
         
        .google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Span.TimeEvent.MessageEvent.Builder clearType()
         Type of MessageEvent. Indicates whether the message was sent or
         received.
         
        .google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;
        Returns:
        This builder for chaining.
      • getId

        public long getId()
         An identifier for the MessageEvent's message that can be used to match
         `SENT` and `RECEIVED` MessageEvents.
         
        int64 id = 2;
        Specified by:
        getId in interface Span.TimeEvent.MessageEventOrBuilder
        Returns:
        The id.
      • setId

        public Span.TimeEvent.MessageEvent.Builder setId​(long value)
         An identifier for the MessageEvent's message that can be used to match
         `SENT` and `RECEIVED` MessageEvents.
         
        int64 id = 2;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Span.TimeEvent.MessageEvent.Builder clearId()
         An identifier for the MessageEvent's message that can be used to match
         `SENT` and `RECEIVED` MessageEvents.
         
        int64 id = 2;
        Returns:
        This builder for chaining.
      • setUncompressedSizeBytes

        public Span.TimeEvent.MessageEvent.Builder setUncompressedSizeBytes​(long value)
         The number of uncompressed bytes sent or received.
         
        int64 uncompressed_size_bytes = 3;
        Parameters:
        value - The uncompressedSizeBytes to set.
        Returns:
        This builder for chaining.
      • clearUncompressedSizeBytes

        public Span.TimeEvent.MessageEvent.Builder clearUncompressedSizeBytes()
         The number of uncompressed bytes sent or received.
         
        int64 uncompressed_size_bytes = 3;
        Returns:
        This builder for chaining.
      • getCompressedSizeBytes

        public long getCompressedSizeBytes()
         The number of compressed bytes sent or received. If missing, the
         compressed size is assumed to be the same size as the uncompressed
         size.
         
        int64 compressed_size_bytes = 4;
        Specified by:
        getCompressedSizeBytes in interface Span.TimeEvent.MessageEventOrBuilder
        Returns:
        The compressedSizeBytes.
      • setCompressedSizeBytes

        public Span.TimeEvent.MessageEvent.Builder setCompressedSizeBytes​(long value)
         The number of compressed bytes sent or received. If missing, the
         compressed size is assumed to be the same size as the uncompressed
         size.
         
        int64 compressed_size_bytes = 4;
        Parameters:
        value - The compressedSizeBytes to set.
        Returns:
        This builder for chaining.
      • clearCompressedSizeBytes

        public Span.TimeEvent.MessageEvent.Builder clearCompressedSizeBytes()
         The number of compressed bytes sent or received. If missing, the
         compressed size is assumed to be the same size as the uncompressed
         size.
         
        int64 compressed_size_bytes = 4;
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final Span.TimeEvent.MessageEvent.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.MessageEvent.Builder>