Class Signals.Error.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Signals.ErrorOrBuilder, java.lang.Cloneable
    Enclosing class:
    Signals.Error

    public static final class Signals.Error.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
    implements Signals.ErrorOrBuilder
    Protobuf type mux.spaces.api.Error
    • 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<Signals.Error.Builder>
      • clear

        public Signals.Error.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<Signals.Error.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<Signals.Error.Builder>
      • getDefaultInstanceForType

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

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

        public Signals.Error buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Signals.Error.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
      • setField

        public Signals.Error.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
      • clearField

        public Signals.Error.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
      • clearOneof

        public Signals.Error.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
      • setRepeatedField

        public Signals.Error.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<Signals.Error.Builder>
      • addRepeatedField

        public Signals.Error.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<Signals.Error.Builder>
      • mergeFrom

        public Signals.Error.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<Signals.Error.Builder>
      • isInitialized

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

        public Signals.Error.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<Signals.Error.Builder>
        Throws:
        java.io.IOException
      • getTypeValue

        public int getTypeValue()
        .mux.spaces.api.Error.Type type = 1;
        Specified by:
        getTypeValue in interface Signals.ErrorOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public Signals.Error.Builder setTypeValue​(int value)
        .mux.spaces.api.Error.Type type = 1;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Signals.Error.Builder clearType()
        .mux.spaces.api.Error.Type type = 1;
        Returns:
        This builder for chaining.
      • getMessageBytes

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

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

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

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

        public int getVisibilityValue()
        .mux.spaces.api.Error.Visibility visibility = 3;
        Specified by:
        getVisibilityValue in interface Signals.ErrorOrBuilder
        Returns:
        The enum numeric value on the wire for visibility.
      • setVisibilityValue

        public Signals.Error.Builder setVisibilityValue​(int value)
        .mux.spaces.api.Error.Visibility visibility = 3;
        Parameters:
        value - The enum numeric value on the wire for visibility to set.
        Returns:
        This builder for chaining.
      • clearVisibility

        public Signals.Error.Builder clearVisibility()
        .mux.spaces.api.Error.Visibility visibility = 3;
        Returns:
        This builder for chaining.
      • setRetry

        public Signals.Error.Builder setRetry​(boolean value)
        bool retry = 4;
        Parameters:
        value - The retry to set.
        Returns:
        This builder for chaining.
      • clearRetry

        public Signals.Error.Builder clearRetry()
        bool retry = 4;
        Returns:
        This builder for chaining.
      • hasRequestError

        public boolean hasRequestError()
        .mux.spaces.api.RequestError request_error = 5;
        Specified by:
        hasRequestError in interface Signals.ErrorOrBuilder
        Returns:
        Whether the requestError field is set.
      • clearRequestError

        public Signals.Error.Builder clearRequestError()
        .mux.spaces.api.RequestError request_error = 5;
      • hasServerError

        public boolean hasServerError()
        .mux.spaces.api.ServerError server_error = 6;
        Specified by:
        hasServerError in interface Signals.ErrorOrBuilder
        Returns:
        Whether the serverError field is set.
      • clearServerError

        public Signals.Error.Builder clearServerError()
        .mux.spaces.api.ServerError server_error = 6;
      • setUnknownFields

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

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