Interface DisplayCallToActionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DisplayCallToAction,DisplayCallToAction.Builder
public interface DisplayCallToActionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetText()Text for the display-call-to-action.com.google.protobuf.ByteStringgetTextBytes()Text for the display-call-to-action.java.lang.StringgetTextColor()Text color for the display-call-to-action in hexadecimal, e.g.com.google.protobuf.ByteStringgetTextColorBytes()Text color for the display-call-to-action in hexadecimal, e.g.java.lang.StringgetUrlCollectionId()Identifies the URL collection in the `ad.url_collections` field.com.google.protobuf.ByteStringgetUrlCollectionIdBytes()Identifies the URL collection in the `ad.url_collections` field.booleanhasText()Text for the display-call-to-action.booleanhasTextColor()Text color for the display-call-to-action in hexadecimal, e.g.booleanhasUrlCollectionId()Identifies the URL collection in the `ad.url_collections` field.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasText
boolean hasText()
Text for the display-call-to-action.
optional string text = 5;- Returns:
- Whether the text field is set.
-
getText
java.lang.String getText()
Text for the display-call-to-action.
optional string text = 5;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
Text for the display-call-to-action.
optional string text = 5;- Returns:
- The bytes for text.
-
hasTextColor
boolean hasTextColor()
Text color for the display-call-to-action in hexadecimal, e.g. #ffffff for white.
optional string text_color = 6;- Returns:
- Whether the textColor field is set.
-
getTextColor
java.lang.String getTextColor()
Text color for the display-call-to-action in hexadecimal, e.g. #ffffff for white.
optional string text_color = 6;- Returns:
- The textColor.
-
getTextColorBytes
com.google.protobuf.ByteString getTextColorBytes()
Text color for the display-call-to-action in hexadecimal, e.g. #ffffff for white.
optional string text_color = 6;- Returns:
- The bytes for textColor.
-
hasUrlCollectionId
boolean hasUrlCollectionId()
Identifies the URL collection in the `ad.url_collections` field. If not set, the URL defaults to `final_url`.
optional string url_collection_id = 7;- Returns:
- Whether the urlCollectionId field is set.
-
getUrlCollectionId
java.lang.String getUrlCollectionId()
Identifies the URL collection in the `ad.url_collections` field. If not set, the URL defaults to `final_url`.
optional string url_collection_id = 7;- Returns:
- The urlCollectionId.
-
getUrlCollectionIdBytes
com.google.protobuf.ByteString getUrlCollectionIdBytes()
Identifies the URL collection in the `ad.url_collections` field. If not set, the URL defaults to `final_url`.
optional string url_collection_id = 7;- Returns:
- The bytes for urlCollectionId.
-
-