Class Service.TraceRequestMetadata.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<Service.TraceRequestMetadata.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<Service.TraceRequestMetadata.Builder>
      • getDefaultInstanceForType

        public Service.TraceRequestMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Service.TraceRequestMetadata build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Service.TraceRequestMetadata buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Service.TraceRequestMetadata.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                     int index,
                                                                     java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.TraceRequestMetadata.Builder>
      • addRepeatedField

        public Service.TraceRequestMetadata.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                     java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.TraceRequestMetadata.Builder>
      • isInitialized

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

        public Service.TraceRequestMetadata.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.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<Service.TraceRequestMetadata.Builder>
        Throws:
        java.io.IOException
      • setKey

        public Service.TraceRequestMetadata.Builder setKey​(java.lang.String value)
         Key identifying this metadata.
         
        optional string key = 1;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • setKeyBytes

        public Service.TraceRequestMetadata.Builder setKeyBytes​(com.google.protobuf.ByteString value)
         Key identifying this metadata.
         
        optional string key = 1;
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.
      • setValue

        public Service.TraceRequestMetadata.Builder setValue​(java.lang.String value)
         Value identifying this metadata.
         
        optional string value = 2;
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • setValueBytes

        public Service.TraceRequestMetadata.Builder setValueBytes​(com.google.protobuf.ByteString value)
         Value identifying this metadata.
         
        optional string value = 2;
        Parameters:
        value - The bytes for value to set.
        Returns:
        This builder for chaining.