Package pbx
Class Model.AccountEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Model.AccountEvent,Model.AccountEvent.Builder>
-
- pbx.Model.AccountEvent.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,Model.AccountEventOrBuilder
- Enclosing class:
- Model.AccountEvent
public static final class Model.AccountEvent.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Model.AccountEvent,Model.AccountEvent.Builder> implements Model.AccountEventOrBuilder
Protobuf typepbx.AccountEvent
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Model.AccountEvent.BuilderaddAllTags(java.lang.Iterable<java.lang.String> values)Indexable tags for user discoveryModel.AccountEvent.BuilderaddTags(java.lang.String value)Indexable tags for user discoveryModel.AccountEvent.BuilderaddTagsBytes(com.google.protobuf.ByteString value)Indexable tags for user discoveryModel.AccountEvent.BuilderclearAction().pbx.Crud action = 1 [json_name = "action"];Model.AccountEvent.BuilderclearDefaultAcs().pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];Model.AccountEvent.BuilderclearPublic()bytes public = 4 [json_name = "public"];Model.AccountEvent.BuilderclearTags()Indexable tags for user discoveryModel.AccountEvent.BuilderclearUserId()string user_id = 2 [json_name = "userId"];Model.CrudgetAction().pbx.Crud action = 1 [json_name = "action"];intgetActionValue().pbx.Crud action = 1 [json_name = "action"];Model.DefaultAcsModegetDefaultAcs().pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];com.google.protobuf.ByteStringgetPublic()bytes public = 4 [json_name = "public"];java.lang.StringgetTags(int index)Indexable tags for user discoverycom.google.protobuf.ByteStringgetTagsBytes(int index)Indexable tags for user discoveryintgetTagsCount()Indexable tags for user discoveryjava.util.List<java.lang.String>getTagsList()Indexable tags for user discoveryjava.lang.StringgetUserId()string user_id = 2 [json_name = "userId"];com.google.protobuf.ByteStringgetUserIdBytes()string user_id = 2 [json_name = "userId"];booleanhasDefaultAcs().pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];Model.AccountEvent.BuildermergeDefaultAcs(Model.DefaultAcsMode value).pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];Model.AccountEvent.BuildersetAction(Model.Crud value).pbx.Crud action = 1 [json_name = "action"];Model.AccountEvent.BuildersetActionValue(int value).pbx.Crud action = 1 [json_name = "action"];Model.AccountEvent.BuildersetDefaultAcs(Model.DefaultAcsMode value).pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];Model.AccountEvent.BuildersetDefaultAcs(Model.DefaultAcsMode.Builder builderForValue).pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];Model.AccountEvent.BuildersetPublic(com.google.protobuf.ByteString value)bytes public = 4 [json_name = "public"];Model.AccountEvent.BuildersetTags(int index, java.lang.String value)Indexable tags for user discoveryModel.AccountEvent.BuildersetUserId(java.lang.String value)string user_id = 2 [json_name = "userId"];Model.AccountEvent.BuildersetUserIdBytes(com.google.protobuf.ByteString value)string user_id = 2 [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.AccountEventOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
public Model.AccountEvent.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.AccountEventOrBuilder- Returns:
- The action.
-
setAction
public Model.AccountEvent.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.AccountEvent.Builder clearAction()
.pbx.Crud action = 1 [json_name = "action"];- Returns:
- This builder for chaining.
-
getUserId
public java.lang.String getUserId()
string user_id = 2 [json_name = "userId"];- Specified by:
getUserIdin interfaceModel.AccountEventOrBuilder- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()
string user_id = 2 [json_name = "userId"];- Specified by:
getUserIdBytesin interfaceModel.AccountEventOrBuilder- Returns:
- The bytes for userId.
-
setUserId
public Model.AccountEvent.Builder setUserId(java.lang.String value)
string user_id = 2 [json_name = "userId"];- Parameters:
value- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
public Model.AccountEvent.Builder clearUserId()
string user_id = 2 [json_name = "userId"];- Returns:
- This builder for chaining.
-
setUserIdBytes
public Model.AccountEvent.Builder setUserIdBytes(com.google.protobuf.ByteString value)
string user_id = 2 [json_name = "userId"];- Parameters:
value- The bytes for userId to set.- Returns:
- This builder for chaining.
-
hasDefaultAcs
public boolean hasDefaultAcs()
.pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];- Specified by:
hasDefaultAcsin interfaceModel.AccountEventOrBuilder- Returns:
- Whether the defaultAcs field is set.
-
getDefaultAcs
public Model.DefaultAcsMode getDefaultAcs()
.pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];- Specified by:
getDefaultAcsin interfaceModel.AccountEventOrBuilder- Returns:
- The defaultAcs.
-
setDefaultAcs
public Model.AccountEvent.Builder setDefaultAcs(Model.DefaultAcsMode value)
.pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];
-
setDefaultAcs
public Model.AccountEvent.Builder setDefaultAcs(Model.DefaultAcsMode.Builder builderForValue)
.pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];
-
mergeDefaultAcs
public Model.AccountEvent.Builder mergeDefaultAcs(Model.DefaultAcsMode value)
.pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];
-
clearDefaultAcs
public Model.AccountEvent.Builder clearDefaultAcs()
.pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];
-
getPublic
public com.google.protobuf.ByteString getPublic()
bytes public = 4 [json_name = "public"];- Specified by:
getPublicin interfaceModel.AccountEventOrBuilder- Returns:
- The public.
-
setPublic
public Model.AccountEvent.Builder setPublic(com.google.protobuf.ByteString value)
bytes public = 4 [json_name = "public"];- Parameters:
value- The public to set.- Returns:
- This builder for chaining.
-
clearPublic
public Model.AccountEvent.Builder clearPublic()
bytes public = 4 [json_name = "public"];- Returns:
- This builder for chaining.
-
getTagsList
public java.util.List<java.lang.String> getTagsList()
Indexable tags for user discovery
repeated string tags = 8 [json_name = "tags"];- Specified by:
getTagsListin interfaceModel.AccountEventOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()
Indexable tags for user discovery
repeated string tags = 8 [json_name = "tags"];- Specified by:
getTagsCountin interfaceModel.AccountEventOrBuilder- Returns:
- The count of tags.
-
getTags
public java.lang.String getTags(int index)
Indexable tags for user discovery
repeated string tags = 8 [json_name = "tags"];- Specified by:
getTagsin interfaceModel.AccountEventOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index)
Indexable tags for user discovery
repeated string tags = 8 [json_name = "tags"];- Specified by:
getTagsBytesin interfaceModel.AccountEventOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
public Model.AccountEvent.Builder setTags(int index, java.lang.String value)
Indexable tags for user discovery
repeated string tags = 8 [json_name = "tags"];- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
public Model.AccountEvent.Builder addTags(java.lang.String value)
Indexable tags for user discovery
repeated string tags = 8 [json_name = "tags"];- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
public Model.AccountEvent.Builder addAllTags(java.lang.Iterable<java.lang.String> values)
Indexable tags for user discovery
repeated string tags = 8 [json_name = "tags"];- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
public Model.AccountEvent.Builder clearTags()
Indexable tags for user discovery
repeated string tags = 8 [json_name = "tags"];- Returns:
- This builder for chaining.
-
addTagsBytes
public Model.AccountEvent.Builder addTagsBytes(com.google.protobuf.ByteString value)
Indexable tags for user discovery
repeated string tags = 8 [json_name = "tags"];- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
-