Class QuestionOptions.PromotionOptions.SendToUserOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<QuestionOptions.PromotionOptions.SendToUserOptions,QuestionOptions.PromotionOptions.SendToUserOptions.Builder>
-
- com.streamlayer.interactive.common.QuestionOptions.PromotionOptions.SendToUserOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,QuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder,java.lang.Cloneable
- Enclosing class:
- QuestionOptions.PromotionOptions.SendToUserOptions
public static final class QuestionOptions.PromotionOptions.SendToUserOptions.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<QuestionOptions.PromotionOptions.SendToUserOptions,QuestionOptions.PromotionOptions.SendToUserOptions.Builder> implements QuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder
Protobuf typestreamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionOptions.PromotionOptions.SendToUserOptions.BuilderclearSecondaryButtonLabel()optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];QuestionOptions.PromotionOptions.SendToUserOptions.BuilderclearSecondaryButtonUrl()optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];QuestionOptions.PromotionOptions.SendToUserOptions.BuilderclearUserAccountInfo()SDK User WebHook notificationTypejava.lang.StringgetSecondaryButtonLabel()optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];com.google.protobuf.ByteStringgetSecondaryButtonLabelBytes()optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];java.lang.StringgetSecondaryButtonUrl()optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];com.google.protobuf.ByteStringgetSecondaryButtonUrlBytes()optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];UserAccountInfogetUserAccountInfo()SDK User WebHook notificationTypeintgetUserAccountInfoValue()SDK User WebHook notificationTypebooleanhasSecondaryButtonLabel()optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];booleanhasSecondaryButtonUrl()optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];QuestionOptions.PromotionOptions.SendToUserOptions.BuildersetSecondaryButtonLabel(java.lang.String value)optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];QuestionOptions.PromotionOptions.SendToUserOptions.BuildersetSecondaryButtonLabelBytes(com.google.protobuf.ByteString value)optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];QuestionOptions.PromotionOptions.SendToUserOptions.BuildersetSecondaryButtonUrl(java.lang.String value)optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];QuestionOptions.PromotionOptions.SendToUserOptions.BuildersetSecondaryButtonUrlBytes(com.google.protobuf.ByteString value)optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];QuestionOptions.PromotionOptions.SendToUserOptions.BuildersetUserAccountInfo(UserAccountInfo value)SDK User WebHook notificationTypeQuestionOptions.PromotionOptions.SendToUserOptions.BuildersetUserAccountInfoValue(int value)SDK User WebHook notificationType-
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
-
getUserAccountInfoValue
public int getUserAccountInfoValue()
SDK User WebHook notificationType
.streamlayer.interactive.UserAccountInfo user_account_info = 1 [json_name = "userAccountInfo"];- Specified by:
getUserAccountInfoValuein interfaceQuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder- Returns:
- The enum numeric value on the wire for userAccountInfo.
-
setUserAccountInfoValue
public QuestionOptions.PromotionOptions.SendToUserOptions.Builder setUserAccountInfoValue(int value)
SDK User WebHook notificationType
.streamlayer.interactive.UserAccountInfo user_account_info = 1 [json_name = "userAccountInfo"];- Parameters:
value- The userAccountInfo to set.- Returns:
- This builder for chaining.
-
getUserAccountInfo
public UserAccountInfo getUserAccountInfo()
SDK User WebHook notificationType
.streamlayer.interactive.UserAccountInfo user_account_info = 1 [json_name = "userAccountInfo"];- Specified by:
getUserAccountInfoin interfaceQuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder- Returns:
- The userAccountInfo.
-
setUserAccountInfo
public QuestionOptions.PromotionOptions.SendToUserOptions.Builder setUserAccountInfo(UserAccountInfo value)
SDK User WebHook notificationType
.streamlayer.interactive.UserAccountInfo user_account_info = 1 [json_name = "userAccountInfo"];- Parameters:
value- The enum numeric value on the wire for userAccountInfo to set.- Returns:
- This builder for chaining.
-
clearUserAccountInfo
public QuestionOptions.PromotionOptions.SendToUserOptions.Builder clearUserAccountInfo()
SDK User WebHook notificationType
.streamlayer.interactive.UserAccountInfo user_account_info = 1 [json_name = "userAccountInfo"];- Returns:
- This builder for chaining.
-
hasSecondaryButtonLabel
public boolean hasSecondaryButtonLabel()
optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];- Specified by:
hasSecondaryButtonLabelin interfaceQuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder- Returns:
- Whether the secondaryButtonLabel field is set.
-
getSecondaryButtonLabel
public java.lang.String getSecondaryButtonLabel()
optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];- Specified by:
getSecondaryButtonLabelin interfaceQuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder- Returns:
- The secondaryButtonLabel.
-
getSecondaryButtonLabelBytes
public com.google.protobuf.ByteString getSecondaryButtonLabelBytes()
optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];- Specified by:
getSecondaryButtonLabelBytesin interfaceQuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder- Returns:
- The bytes for secondaryButtonLabel.
-
setSecondaryButtonLabel
public QuestionOptions.PromotionOptions.SendToUserOptions.Builder setSecondaryButtonLabel(java.lang.String value)
optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];- Parameters:
value- The secondaryButtonLabel to set.- Returns:
- This builder for chaining.
-
clearSecondaryButtonLabel
public QuestionOptions.PromotionOptions.SendToUserOptions.Builder clearSecondaryButtonLabel()
optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];- Returns:
- This builder for chaining.
-
setSecondaryButtonLabelBytes
public QuestionOptions.PromotionOptions.SendToUserOptions.Builder setSecondaryButtonLabelBytes(com.google.protobuf.ByteString value)
optional string secondary_button_label = 2 [json_name = "secondaryButtonLabel"];- Parameters:
value- The bytes for secondaryButtonLabel to set.- Returns:
- This builder for chaining.
-
hasSecondaryButtonUrl
public boolean hasSecondaryButtonUrl()
optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];- Specified by:
hasSecondaryButtonUrlin interfaceQuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder- Returns:
- Whether the secondaryButtonUrl field is set.
-
getSecondaryButtonUrl
public java.lang.String getSecondaryButtonUrl()
optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];- Specified by:
getSecondaryButtonUrlin interfaceQuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder- Returns:
- The secondaryButtonUrl.
-
getSecondaryButtonUrlBytes
public com.google.protobuf.ByteString getSecondaryButtonUrlBytes()
optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];- Specified by:
getSecondaryButtonUrlBytesin interfaceQuestionOptions.PromotionOptions.SendToUserOptionsOrBuilder- Returns:
- The bytes for secondaryButtonUrl.
-
setSecondaryButtonUrl
public QuestionOptions.PromotionOptions.SendToUserOptions.Builder setSecondaryButtonUrl(java.lang.String value)
optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];- Parameters:
value- The secondaryButtonUrl to set.- Returns:
- This builder for chaining.
-
clearSecondaryButtonUrl
public QuestionOptions.PromotionOptions.SendToUserOptions.Builder clearSecondaryButtonUrl()
optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];- Returns:
- This builder for chaining.
-
setSecondaryButtonUrlBytes
public QuestionOptions.PromotionOptions.SendToUserOptions.Builder setSecondaryButtonUrlBytes(com.google.protobuf.ByteString value)
optional string secondary_button_url = 3 [json_name = "secondaryButtonUrl"];- Parameters:
value- The bytes for secondaryButtonUrl to set.- Returns:
- This builder for chaining.
-
-