Package pbx
Class Model.SubscriptionEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Model.SubscriptionEvent,Model.SubscriptionEvent.Builder>
-
- pbx.Model.SubscriptionEvent.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,Model.SubscriptionEventOrBuilder
- Enclosing class:
- Model.SubscriptionEvent
public static final class Model.SubscriptionEvent.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Model.SubscriptionEvent,Model.SubscriptionEvent.Builder> implements Model.SubscriptionEventOrBuilder
Protobuf typepbx.SubscriptionEvent
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Model.SubscriptionEvent.BuilderclearAction().pbx.Crud action = 1 [json_name = "action"];Model.SubscriptionEvent.BuilderclearDelId()int32 del_id = 4 [json_name = "delId"];Model.SubscriptionEvent.BuilderclearMode().pbx.AccessMode mode = 7 [json_name = "mode"];Model.SubscriptionEvent.BuilderclearPrivate()bytes private = 8 [json_name = "private"];Model.SubscriptionEvent.BuilderclearReadId()int32 read_id = 5 [json_name = "readId"];Model.SubscriptionEvent.BuilderclearRecvId()int32 recv_id = 6 [json_name = "recvId"];Model.SubscriptionEvent.BuilderclearTopic()string topic = 2 [json_name = "topic"];Model.SubscriptionEvent.BuilderclearUserId()string user_id = 3 [json_name = "userId"];Model.CrudgetAction().pbx.Crud action = 1 [json_name = "action"];intgetActionValue().pbx.Crud action = 1 [json_name = "action"];intgetDelId()int32 del_id = 4 [json_name = "delId"];Model.AccessModegetMode().pbx.AccessMode mode = 7 [json_name = "mode"];com.google.protobuf.ByteStringgetPrivate()bytes private = 8 [json_name = "private"];intgetReadId()int32 read_id = 5 [json_name = "readId"];intgetRecvId()int32 recv_id = 6 [json_name = "recvId"];java.lang.StringgetTopic()string topic = 2 [json_name = "topic"];com.google.protobuf.ByteStringgetTopicBytes()string topic = 2 [json_name = "topic"];java.lang.StringgetUserId()string user_id = 3 [json_name = "userId"];com.google.protobuf.ByteStringgetUserIdBytes()string user_id = 3 [json_name = "userId"];booleanhasMode().pbx.AccessMode mode = 7 [json_name = "mode"];Model.SubscriptionEvent.BuildermergeMode(Model.AccessMode value).pbx.AccessMode mode = 7 [json_name = "mode"];Model.SubscriptionEvent.BuildersetAction(Model.Crud value).pbx.Crud action = 1 [json_name = "action"];Model.SubscriptionEvent.BuildersetActionValue(int value).pbx.Crud action = 1 [json_name = "action"];Model.SubscriptionEvent.BuildersetDelId(int value)int32 del_id = 4 [json_name = "delId"];Model.SubscriptionEvent.BuildersetMode(Model.AccessMode value).pbx.AccessMode mode = 7 [json_name = "mode"];Model.SubscriptionEvent.BuildersetMode(Model.AccessMode.Builder builderForValue).pbx.AccessMode mode = 7 [json_name = "mode"];Model.SubscriptionEvent.BuildersetPrivate(com.google.protobuf.ByteString value)bytes private = 8 [json_name = "private"];Model.SubscriptionEvent.BuildersetReadId(int value)int32 read_id = 5 [json_name = "readId"];Model.SubscriptionEvent.BuildersetRecvId(int value)int32 recv_id = 6 [json_name = "recvId"];Model.SubscriptionEvent.BuildersetTopic(java.lang.String value)string topic = 2 [json_name = "topic"];Model.SubscriptionEvent.BuildersetTopicBytes(com.google.protobuf.ByteString value)string topic = 2 [json_name = "topic"];Model.SubscriptionEvent.BuildersetUserId(java.lang.String value)string user_id = 3 [json_name = "userId"];Model.SubscriptionEvent.BuildersetUserIdBytes(com.google.protobuf.ByteString value)string user_id = 3 [json_name = "userId"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getActionValue
public int getActionValue()
.pbx.Crud action = 1 [json_name = "action"];- Specified by:
getActionValuein interfaceModel.SubscriptionEventOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
public Model.SubscriptionEvent.Builder setActionValue(int value)
.pbx.Crud action = 1 [json_name = "action"];- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
getAction
public Model.Crud getAction()
.pbx.Crud action = 1 [json_name = "action"];- Specified by:
getActionin interfaceModel.SubscriptionEventOrBuilder- Returns:
- The action.
-
setAction
public Model.SubscriptionEvent.Builder setAction(Model.Crud value)
.pbx.Crud action = 1 [json_name = "action"];- Parameters:
value- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
clearAction
public Model.SubscriptionEvent.Builder clearAction()
.pbx.Crud action = 1 [json_name = "action"];- Returns:
- This builder for chaining.
-
getTopic
public java.lang.String getTopic()
string topic = 2 [json_name = "topic"];- Specified by:
getTopicin interfaceModel.SubscriptionEventOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()
string topic = 2 [json_name = "topic"];- Specified by:
getTopicBytesin interfaceModel.SubscriptionEventOrBuilder- Returns:
- The bytes for topic.
-
setTopic
public Model.SubscriptionEvent.Builder setTopic(java.lang.String value)
string topic = 2 [json_name = "topic"];- Parameters:
value- The topic to set.- Returns:
- This builder for chaining.
-
clearTopic
public Model.SubscriptionEvent.Builder clearTopic()
string topic = 2 [json_name = "topic"];- Returns:
- This builder for chaining.
-
setTopicBytes
public Model.SubscriptionEvent.Builder setTopicBytes(com.google.protobuf.ByteString value)
string topic = 2 [json_name = "topic"];- Parameters:
value- The bytes for topic to set.- Returns:
- This builder for chaining.
-
getUserId
public java.lang.String getUserId()
string user_id = 3 [json_name = "userId"];- Specified by:
getUserIdin interfaceModel.SubscriptionEventOrBuilder- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()
string user_id = 3 [json_name = "userId"];- Specified by:
getUserIdBytesin interfaceModel.SubscriptionEventOrBuilder- Returns:
- The bytes for userId.
-
setUserId
public Model.SubscriptionEvent.Builder setUserId(java.lang.String value)
string user_id = 3 [json_name = "userId"];- Parameters:
value- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
public Model.SubscriptionEvent.Builder clearUserId()
string user_id = 3 [json_name = "userId"];- Returns:
- This builder for chaining.
-
setUserIdBytes
public Model.SubscriptionEvent.Builder setUserIdBytes(com.google.protobuf.ByteString value)
string user_id = 3 [json_name = "userId"];- Parameters:
value- The bytes for userId to set.- Returns:
- This builder for chaining.
-
getDelId
public int getDelId()
int32 del_id = 4 [json_name = "delId"];- Specified by:
getDelIdin interfaceModel.SubscriptionEventOrBuilder- Returns:
- The delId.
-
setDelId
public Model.SubscriptionEvent.Builder setDelId(int value)
int32 del_id = 4 [json_name = "delId"];- Parameters:
value- The delId to set.- Returns:
- This builder for chaining.
-
clearDelId
public Model.SubscriptionEvent.Builder clearDelId()
int32 del_id = 4 [json_name = "delId"];- Returns:
- This builder for chaining.
-
getReadId
public int getReadId()
int32 read_id = 5 [json_name = "readId"];- Specified by:
getReadIdin interfaceModel.SubscriptionEventOrBuilder- Returns:
- The readId.
-
setReadId
public Model.SubscriptionEvent.Builder setReadId(int value)
int32 read_id = 5 [json_name = "readId"];- Parameters:
value- The readId to set.- Returns:
- This builder for chaining.
-
clearReadId
public Model.SubscriptionEvent.Builder clearReadId()
int32 read_id = 5 [json_name = "readId"];- Returns:
- This builder for chaining.
-
getRecvId
public int getRecvId()
int32 recv_id = 6 [json_name = "recvId"];- Specified by:
getRecvIdin interfaceModel.SubscriptionEventOrBuilder- Returns:
- The recvId.
-
setRecvId
public Model.SubscriptionEvent.Builder setRecvId(int value)
int32 recv_id = 6 [json_name = "recvId"];- Parameters:
value- The recvId to set.- Returns:
- This builder for chaining.
-
clearRecvId
public Model.SubscriptionEvent.Builder clearRecvId()
int32 recv_id = 6 [json_name = "recvId"];- Returns:
- This builder for chaining.
-
hasMode
public boolean hasMode()
.pbx.AccessMode mode = 7 [json_name = "mode"];- Specified by:
hasModein interfaceModel.SubscriptionEventOrBuilder- Returns:
- Whether the mode field is set.
-
getMode
public Model.AccessMode getMode()
.pbx.AccessMode mode = 7 [json_name = "mode"];- Specified by:
getModein interfaceModel.SubscriptionEventOrBuilder- Returns:
- The mode.
-
setMode
public Model.SubscriptionEvent.Builder setMode(Model.AccessMode value)
.pbx.AccessMode mode = 7 [json_name = "mode"];
-
setMode
public Model.SubscriptionEvent.Builder setMode(Model.AccessMode.Builder builderForValue)
.pbx.AccessMode mode = 7 [json_name = "mode"];
-
mergeMode
public Model.SubscriptionEvent.Builder mergeMode(Model.AccessMode value)
.pbx.AccessMode mode = 7 [json_name = "mode"];
-
clearMode
public Model.SubscriptionEvent.Builder clearMode()
.pbx.AccessMode mode = 7 [json_name = "mode"];
-
getPrivate
public com.google.protobuf.ByteString getPrivate()
bytes private = 8 [json_name = "private"];- Specified by:
getPrivatein interfaceModel.SubscriptionEventOrBuilder- Returns:
- The private.
-
setPrivate
public Model.SubscriptionEvent.Builder setPrivate(com.google.protobuf.ByteString value)
bytes private = 8 [json_name = "private"];- Parameters:
value- The private to set.- Returns:
- This builder for chaining.
-
clearPrivate
public Model.SubscriptionEvent.Builder clearPrivate()
bytes private = 8 [json_name = "private"];- Returns:
- This builder for chaining.
-
-