Class StatError.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StatErrorOrBuilder, Cloneable
    Enclosing class:
    StatError

    public static final class StatError.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<StatError.Builder>
    implements StatErrorOrBuilder
    Protobuf type hstream.server.StatError
    • 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<StatError.Builder>
      • clear

        public StatError.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<StatError.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<StatError.Builder>
      • getDefaultInstanceForType

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

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

        public StatError buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public StatError.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatError.Builder>
      • isInitialized

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

        public StatError.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<StatError.Builder>
        Throws:
        IOException
      • hasStatType

        public boolean hasStatType()
        .hstream.server.StatType statType = 1;
        Specified by:
        hasStatType in interface StatErrorOrBuilder
        Returns:
        Whether the statType field is set.
      • clearStatType

        public StatError.Builder clearStatType()
        .hstream.server.StatType statType = 1;
      • getStatTypeBuilder

        public StatType.Builder getStatTypeBuilder()
        .hstream.server.StatType statType = 1;
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
        string message = 2;
        Specified by:
        getMessageBytes in interface StatErrorOrBuilder
        Returns:
        The bytes for message.
      • setMessage

        public StatError.Builder setMessage​(String value)
        string message = 2;
        Parameters:
        value - The message to set.
        Returns:
        This builder for chaining.
      • clearMessage

        public StatError.Builder clearMessage()
        string message = 2;
        Returns:
        This builder for chaining.
      • setMessageBytes

        public StatError.Builder setMessageBytes​(com.google.protobuf.ByteString value)
        string message = 2;
        Parameters:
        value - The bytes for message to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final StatError.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<StatError.Builder>
      • mergeUnknownFields

        public final StatError.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<StatError.Builder>