Package com.mux.spaces.api.proto.signals
Class Signals.CustomEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder>
-
- com.mux.spaces.api.proto.signals.Signals.CustomEvent.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Signals.CustomEventOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Signals.CustomEvent
public static final class Signals.CustomEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder> implements Signals.CustomEventOrBuilder
Protobuf typemux.spaces.api.CustomEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Signals.CustomEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Signals.CustomEvent
build()
Signals.CustomEvent
buildPartial()
Signals.CustomEvent.Builder
clear()
Signals.CustomEvent.Builder
clearConnectionId()
Response only.Signals.CustomEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Signals.CustomEvent.Builder
clearId()
set by the SDKSignals.CustomEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Signals.CustomEvent.Builder
clearPayload()
arbitrary user dataSignals.CustomEvent.Builder
clearScope()
.mux.spaces.api.CustomEvent.Scope scope = 3;
Signals.CustomEvent.Builder
clearSequenceNum()
Response only.Signals.CustomEvent.Builder
clone()
java.lang.String
getConnectionId()
Response only.com.google.protobuf.ByteString
getConnectionIdBytes()
Response only.Signals.CustomEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getId()
set by the SDKcom.google.protobuf.ByteString
getIdBytes()
set by the SDKjava.lang.String
getPayload()
arbitrary user datacom.google.protobuf.ByteString
getPayloadBytes()
arbitrary user dataSignals.CustomEvent.Scope
getScope()
.mux.spaces.api.CustomEvent.Scope scope = 3;
int
getScopeValue()
.mux.spaces.api.CustomEvent.Scope scope = 3;
int
getSequenceNum()
Response only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Signals.CustomEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Signals.CustomEvent.Builder
mergeFrom(com.google.protobuf.Message other)
Signals.CustomEvent.Builder
mergeFrom(Signals.CustomEvent other)
Signals.CustomEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Signals.CustomEvent.Builder
setConnectionId(java.lang.String value)
Response only.Signals.CustomEvent.Builder
setConnectionIdBytes(com.google.protobuf.ByteString value)
Response only.Signals.CustomEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Signals.CustomEvent.Builder
setId(java.lang.String value)
set by the SDKSignals.CustomEvent.Builder
setIdBytes(com.google.protobuf.ByteString value)
set by the SDKSignals.CustomEvent.Builder
setPayload(java.lang.String value)
arbitrary user dataSignals.CustomEvent.Builder
setPayloadBytes(com.google.protobuf.ByteString value)
arbitrary user dataSignals.CustomEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Signals.CustomEvent.Builder
setScope(Signals.CustomEvent.Scope value)
.mux.spaces.api.CustomEvent.Scope scope = 3;
Signals.CustomEvent.Builder
setScopeValue(int value)
.mux.spaces.api.CustomEvent.Scope scope = 3;
Signals.CustomEvent.Builder
setSequenceNum(int value)
Response only.Signals.CustomEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder>
-
clear
public Signals.CustomEvent.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder>
-
getDefaultInstanceForType
public Signals.CustomEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Signals.CustomEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Signals.CustomEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Signals.CustomEvent.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder>
-
clearField
public Signals.CustomEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder>
-
clearOneof
public Signals.CustomEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder>
-
mergeFrom
public Signals.CustomEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Signals.CustomEvent.Builder>
-
mergeFrom
public Signals.CustomEvent.Builder mergeFrom(Signals.CustomEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Signals.CustomEvent.Builder>
- Throws:
java.io.IOException
-
getId
public java.lang.String getId()
set by the SDK
string id = 1;
- Specified by:
getId
in interfaceSignals.CustomEventOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
set by the SDK
string id = 1;
- Specified by:
getIdBytes
in interfaceSignals.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.
-
clearId
public Signals.CustomEvent.Builder clearId()
set by the SDK
string id = 1;
- 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.
-
getPayload
public java.lang.String getPayload()
arbitrary user data
string payload = 2;
- Specified by:
getPayload
in interfaceSignals.CustomEventOrBuilder
- Returns:
- The payload.
-
getPayloadBytes
public com.google.protobuf.ByteString getPayloadBytes()
arbitrary user data
string payload = 2;
- Specified by:
getPayloadBytes
in interfaceSignals.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 interfaceSignals.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.
-
getScope
public Signals.CustomEvent.Scope getScope()
.mux.spaces.api.CustomEvent.Scope scope = 3;
- Specified by:
getScope
in interfaceSignals.CustomEventOrBuilder
- Returns:
- The scope.
-
setScope
public Signals.CustomEvent.Builder setScope(Signals.CustomEvent.Scope value)
.mux.spaces.api.CustomEvent.Scope scope = 3;
- Parameters:
value
- The 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 interfaceSignals.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 interfaceSignals.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 interfaceSignals.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder>
-
mergeUnknownFields
public final Signals.CustomEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.CustomEvent.Builder>
-
-