Class CTAButton
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<CTAButton,CTAButton.Builder>
-
- com.streamlayer.interactive.common.CTAButton
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,CTAButtonOrBuilder
public final class CTAButton extends com.google.protobuf.GeneratedMessageLite<CTAButton,CTAButton.Builder> implements CTAButtonOrBuilder
Protobuf typestreamlayer.interactive.CTAButton
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCTAButton.BuilderProtobuf typestreamlayer.interactive.CTAButton-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intCOLOR_FIELD_NUMBERstatic intCTA_ICON_FIELD_NUMBERstatic intCTA_ICON_MODE_FIELD_NUMBERstatic intLABEL_FIELD_NUMBERstatic intTEXT_COLOR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)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"];static CTAButtongetDefaultInstance()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"];static CTAButton.BuildernewBuilder()static CTAButton.BuildernewBuilder(CTAButton prototype)static CTAButtonparseDelimitedFrom(java.io.InputStream input)static CTAButtonparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CTAButtonparseFrom(byte[] data)static CTAButtonparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CTAButtonparseFrom(com.google.protobuf.ByteString data)static CTAButtonparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CTAButtonparseFrom(com.google.protobuf.CodedInputStream input)static CTAButtonparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CTAButtonparseFrom(java.io.InputStream input)static CTAButtonparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CTAButtonparseFrom(java.nio.ByteBuffer data)static CTAButtonparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CTAButton>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLOR_FIELD_NUMBER
public static final int COLOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_COLOR_FIELD_NUMBER
public static final int TEXT_COLOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CTA_ICON_FIELD_NUMBER
public static final int CTA_ICON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CTA_ICON_MODE_FIELD_NUMBER
public static final int CTA_ICON_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
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.
-
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.
-
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.
-
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.
-
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.
-
getCtaIconMode
public CtaIconMode getCtaIconMode()
.streamlayer.interactive.CtaIconMode cta_icon_mode = 5 [json_name = "ctaIconMode"];- Specified by:
getCtaIconModein interfaceCTAButtonOrBuilder- Returns:
- The ctaIconMode.
-
parseFrom
public static CTAButton parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CTAButton parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CTAButton parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CTAButton parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CTAButton parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CTAButton parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CTAButton parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CTAButton parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CTAButton parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CTAButton parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CTAButton parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CTAButton parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static CTAButton.Builder newBuilder()
-
newBuilder
public static CTAButton.Builder newBuilder(CTAButton prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<CTAButton,CTAButton.Builder>
-
getDefaultInstance
public static CTAButton getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CTAButton> parser()
-
-