Class Signals.CustomEvent.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<Signals.CustomEvent.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public com.google.protobuf.ByteString getIdBytes()
         set by the SDK
         
        string id = 1;
        Specified by:
        getIdBytes in interface Signals.CustomEventOrBuilder
        Returns:
        The bytes for id.
      • setId

        public Signals.CustomEvent.Builder setId​(java.lang.String value)
         set by the SDK
         
        string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • setIdBytes

        public Signals.CustomEvent.Builder setIdBytes​(com.google.protobuf.ByteString value)
         set by the SDK
         
        string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getPayloadBytes

        public com.google.protobuf.ByteString getPayloadBytes()
         arbitrary user data
         
        string payload = 2;
        Specified by:
        getPayloadBytes in interface Signals.CustomEventOrBuilder
        Returns:
        The bytes for payload.
      • setPayload

        public Signals.CustomEvent.Builder setPayload​(java.lang.String value)
         arbitrary user data
         
        string payload = 2;
        Parameters:
        value - The payload to set.
        Returns:
        This builder for chaining.
      • clearPayload

        public Signals.CustomEvent.Builder clearPayload()
         arbitrary user data
         
        string payload = 2;
        Returns:
        This builder for chaining.
      • setPayloadBytes

        public Signals.CustomEvent.Builder setPayloadBytes​(com.google.protobuf.ByteString value)
         arbitrary user data
         
        string payload = 2;
        Parameters:
        value - The bytes for payload to set.
        Returns:
        This builder for chaining.
      • getScopeValue

        public int getScopeValue()
        .mux.spaces.api.CustomEvent.Scope scope = 3;
        Specified by:
        getScopeValue in interface Signals.CustomEventOrBuilder
        Returns:
        The enum numeric value on the wire for scope.
      • setScopeValue

        public Signals.CustomEvent.Builder setScopeValue​(int value)
        .mux.spaces.api.CustomEvent.Scope scope = 3;
        Parameters:
        value - The enum numeric value on the wire for scope to set.
        Returns:
        This builder for chaining.
      • clearScope

        public Signals.CustomEvent.Builder clearScope()
        .mux.spaces.api.CustomEvent.Scope scope = 3;
        Returns:
        This builder for chaining.
      • getConnectionId

        public java.lang.String getConnectionId()
         Response only. Connection ID of the sender.
         
        string connection_id = 4;
        Specified by:
        getConnectionId in interface Signals.CustomEventOrBuilder
        Returns:
        The connectionId.
      • getConnectionIdBytes

        public com.google.protobuf.ByteString getConnectionIdBytes()
         Response only. Connection ID of the sender.
         
        string connection_id = 4;
        Specified by:
        getConnectionIdBytes in interface Signals.CustomEventOrBuilder
        Returns:
        The bytes for connectionId.
      • setConnectionId

        public Signals.CustomEvent.Builder setConnectionId​(java.lang.String value)
         Response only. Connection ID of the sender.
         
        string connection_id = 4;
        Parameters:
        value - The connectionId to set.
        Returns:
        This builder for chaining.
      • clearConnectionId

        public Signals.CustomEvent.Builder clearConnectionId()
         Response only. Connection ID of the sender.
         
        string connection_id = 4;
        Returns:
        This builder for chaining.
      • setConnectionIdBytes

        public Signals.CustomEvent.Builder setConnectionIdBytes​(com.google.protobuf.ByteString value)
         Response only. Connection ID of the sender.
         
        string connection_id = 4;
        Parameters:
        value - The bytes for connectionId to set.
        Returns:
        This builder for chaining.
      • getSequenceNum

        public int getSequenceNum()
         Response only. Monotonically increasing from 1, unique over the lifetime
         of the session. Can be used by application to order events across clients.
         
        int32 sequence_num = 5;
        Specified by:
        getSequenceNum in interface Signals.CustomEventOrBuilder
        Returns:
        The sequenceNum.
      • setSequenceNum

        public Signals.CustomEvent.Builder setSequenceNum​(int value)
         Response only. Monotonically increasing from 1, unique over the lifetime
         of the session. Can be used by application to order events across clients.
         
        int32 sequence_num = 5;
        Parameters:
        value - The sequenceNum to set.
        Returns:
        This builder for chaining.
      • clearSequenceNum

        public Signals.CustomEvent.Builder clearSequenceNum()
         Response only. Monotonically increasing from 1, unique over the lifetime
         of the session. Can be used by application to order events across clients.
         
        int32 sequence_num = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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