Class CTAButton.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<CTAButton,CTAButton.Builder>
-
- com.streamlayer.interactive.common.CTAButton.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CTAButtonOrBuilder,java.lang.Cloneable
- Enclosing class:
- CTAButton
public static final class CTAButton.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CTAButton,CTAButton.Builder> implements CTAButtonOrBuilder
Protobuf typestreamlayer.interactive.CTAButton
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CTAButton.BuilderclearColor()string color = 2 [json_name = "color"];CTAButton.BuilderclearCtaIcon()string cta_icon = 4 [json_name = "ctaIcon"];CTAButton.BuilderclearCtaIconMode().streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];CTAButton.BuilderclearLabel()string label = 1 [json_name = "label"];CTAButton.BuilderclearTextColor()optional string text_color = 3 [json_name = "textColor"];java.lang.StringgetColor()string color = 2 [json_name = "color"];com.google.protobuf.ByteStringgetColorBytes()string color = 2 [json_name = "color"];java.lang.StringgetCtaIcon()string cta_icon = 4 [json_name = "ctaIcon"];com.google.protobuf.ByteStringgetCtaIconBytes()string cta_icon = 4 [json_name = "ctaIcon"];CtaIconModegetCtaIconMode().streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];intgetCtaIconModeValue().streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];java.lang.StringgetLabel()string label = 1 [json_name = "label"];com.google.protobuf.ByteStringgetLabelBytes()string label = 1 [json_name = "label"];java.lang.StringgetTextColor()optional string text_color = 3 [json_name = "textColor"];com.google.protobuf.ByteStringgetTextColorBytes()optional string text_color = 3 [json_name = "textColor"];booleanhasTextColor()optional string text_color = 3 [json_name = "textColor"];CTAButton.BuildersetColor(java.lang.String value)string color = 2 [json_name = "color"];CTAButton.BuildersetColorBytes(com.google.protobuf.ByteString value)string color = 2 [json_name = "color"];CTAButton.BuildersetCtaIcon(java.lang.String value)string cta_icon = 4 [json_name = "ctaIcon"];CTAButton.BuildersetCtaIconBytes(com.google.protobuf.ByteString value)string cta_icon = 4 [json_name = "ctaIcon"];CTAButton.BuildersetCtaIconMode(CtaIconMode value).streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];CTAButton.BuildersetCtaIconModeValue(int value).streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];CTAButton.BuildersetLabel(java.lang.String value)string label = 1 [json_name = "label"];CTAButton.BuildersetLabelBytes(com.google.protobuf.ByteString value)string label = 1 [json_name = "label"];CTAButton.BuildersetTextColor(java.lang.String value)optional string text_color = 3 [json_name = "textColor"];CTAButton.BuildersetTextColorBytes(com.google.protobuf.ByteString value)optional string text_color = 3 [json_name = "textColor"];-
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
-
getLabel
public java.lang.String getLabel()
string label = 1 [json_name = "label"];- Specified by:
getLabelin interfaceCTAButtonOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()
string label = 1 [json_name = "label"];- Specified by:
getLabelBytesin interfaceCTAButtonOrBuilder- Returns:
- The bytes for label.
-
setLabel
public CTAButton.Builder setLabel(java.lang.String value)
string label = 1 [json_name = "label"];- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
public CTAButton.Builder clearLabel()
string label = 1 [json_name = "label"];- Returns:
- This builder for chaining.
-
setLabelBytes
public CTAButton.Builder setLabelBytes(com.google.protobuf.ByteString value)
string label = 1 [json_name = "label"];- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
getColor
public java.lang.String getColor()
string color = 2 [json_name = "color"];- Specified by:
getColorin interfaceCTAButtonOrBuilder- Returns:
- The color.
-
getColorBytes
public com.google.protobuf.ByteString getColorBytes()
string color = 2 [json_name = "color"];- Specified by:
getColorBytesin interfaceCTAButtonOrBuilder- Returns:
- The bytes for color.
-
setColor
public CTAButton.Builder setColor(java.lang.String value)
string color = 2 [json_name = "color"];- Parameters:
value- The color to set.- Returns:
- This builder for chaining.
-
clearColor
public CTAButton.Builder clearColor()
string color = 2 [json_name = "color"];- Returns:
- This builder for chaining.
-
setColorBytes
public CTAButton.Builder setColorBytes(com.google.protobuf.ByteString value)
string color = 2 [json_name = "color"];- Parameters:
value- The bytes for color to set.- Returns:
- This builder for chaining.
-
hasTextColor
public boolean hasTextColor()
optional string text_color = 3 [json_name = "textColor"];- Specified by:
hasTextColorin interfaceCTAButtonOrBuilder- Returns:
- Whether the textColor field is set.
-
getTextColor
public java.lang.String getTextColor()
optional string text_color = 3 [json_name = "textColor"];- Specified by:
getTextColorin interfaceCTAButtonOrBuilder- Returns:
- The textColor.
-
getTextColorBytes
public com.google.protobuf.ByteString getTextColorBytes()
optional string text_color = 3 [json_name = "textColor"];- Specified by:
getTextColorBytesin interfaceCTAButtonOrBuilder- Returns:
- The bytes for textColor.
-
setTextColor
public CTAButton.Builder setTextColor(java.lang.String value)
optional string text_color = 3 [json_name = "textColor"];- Parameters:
value- The textColor to set.- Returns:
- This builder for chaining.
-
clearTextColor
public CTAButton.Builder clearTextColor()
optional string text_color = 3 [json_name = "textColor"];- Returns:
- This builder for chaining.
-
setTextColorBytes
public CTAButton.Builder setTextColorBytes(com.google.protobuf.ByteString value)
optional string text_color = 3 [json_name = "textColor"];- Parameters:
value- The bytes for textColor to set.- Returns:
- This builder for chaining.
-
getCtaIcon
public java.lang.String getCtaIcon()
string cta_icon = 4 [json_name = "ctaIcon"];- Specified by:
getCtaIconin interfaceCTAButtonOrBuilder- Returns:
- The ctaIcon.
-
getCtaIconBytes
public com.google.protobuf.ByteString getCtaIconBytes()
string cta_icon = 4 [json_name = "ctaIcon"];- Specified by:
getCtaIconBytesin interfaceCTAButtonOrBuilder- Returns:
- The bytes for ctaIcon.
-
setCtaIcon
public CTAButton.Builder setCtaIcon(java.lang.String value)
string cta_icon = 4 [json_name = "ctaIcon"];- Parameters:
value- The ctaIcon to set.- Returns:
- This builder for chaining.
-
clearCtaIcon
public CTAButton.Builder clearCtaIcon()
string cta_icon = 4 [json_name = "ctaIcon"];- Returns:
- This builder for chaining.
-
setCtaIconBytes
public CTAButton.Builder setCtaIconBytes(com.google.protobuf.ByteString value)
string cta_icon = 4 [json_name = "ctaIcon"];- Parameters:
value- The bytes for ctaIcon to set.- Returns:
- This builder for chaining.
-
getCtaIconModeValue
public int getCtaIconModeValue()
.streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];- Specified by:
getCtaIconModeValuein interfaceCTAButtonOrBuilder- Returns:
- The enum numeric value on the wire for ctaIconMode.
-
setCtaIconModeValue
public CTAButton.Builder setCtaIconModeValue(int value)
.streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];- Parameters:
value- The ctaIconMode to set.- Returns:
- This builder for chaining.
-
getCtaIconMode
public CtaIconMode getCtaIconMode()
.streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];- Specified by:
getCtaIconModein interfaceCTAButtonOrBuilder- Returns:
- The ctaIconMode.
-
setCtaIconMode
public CTAButton.Builder setCtaIconMode(CtaIconMode value)
.streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];- Parameters:
value- The enum numeric value on the wire for ctaIconMode to set.- Returns:
- This builder for chaining.
-
clearCtaIconMode
public CTAButton.Builder clearCtaIconMode()
.streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];- Returns:
- This builder for chaining.
-
-