Class Signals.RequestError.Builder

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

    public static final class Signals.RequestError.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Signals.RequestError.Builder>
    implements Signals.RequestErrorOrBuilder
     RequestError is an error that directly correlates to a request.
     
    Protobuf type mux.spaces.api.RequestError
    • 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.RequestError.Builder>
      • clear

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

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

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

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

        public Signals.RequestError.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.RequestError.Builder>
      • setField

        public Signals.RequestError.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.RequestError.Builder>
      • clearField

        public Signals.RequestError.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.RequestError.Builder>
      • clearOneof

        public Signals.RequestError.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.RequestError.Builder>
      • setRepeatedField

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

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

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

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

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

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

        public java.lang.String getCorrelator()
         an identifier used to correlate this error to a request
         
        string correlator = 2;
        Specified by:
        getCorrelator in interface Signals.RequestErrorOrBuilder
        Returns:
        The correlator.
      • getCorrelatorBytes

        public com.google.protobuf.ByteString getCorrelatorBytes()
         an identifier used to correlate this error to a request
         
        string correlator = 2;
        Specified by:
        getCorrelatorBytes in interface Signals.RequestErrorOrBuilder
        Returns:
        The bytes for correlator.
      • setCorrelator

        public Signals.RequestError.Builder setCorrelator​(java.lang.String value)
         an identifier used to correlate this error to a request
         
        string correlator = 2;
        Parameters:
        value - The correlator to set.
        Returns:
        This builder for chaining.
      • clearCorrelator

        public Signals.RequestError.Builder clearCorrelator()
         an identifier used to correlate this error to a request
         
        string correlator = 2;
        Returns:
        This builder for chaining.
      • setCorrelatorBytes

        public Signals.RequestError.Builder setCorrelatorBytes​(com.google.protobuf.ByteString value)
         an identifier used to correlate this error to a request
         
        string correlator = 2;
        Parameters:
        value - The bytes for correlator to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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