Interface BusinessMessageAssetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BusinessMessageAsset,BusinessMessageAsset.Builder
public interface BusinessMessageAssetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA call to action for the business message asset.A call to action for the business message asset.Facebook Messenger.Facebook Messenger.Required.intRequired.Required.com.google.protobuf.ByteStringRequired.Whatsapp.Whatsapp.Zalo.Zalo.booleanA call to action for the business message asset.booleanFacebook Messenger.booleanWhatsapp.booleanZalo.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMessageProviderValue
int getMessageProviderValue()Required. Message provider of the business message asset.
.google.ads.googleads.v23.enums.BusinessMessageProviderEnum.BusinessMessageProvider message_provider = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for messageProvider.
-
getMessageProvider
BusinessMessageProviderEnum.BusinessMessageProvider getMessageProvider()Required. Message provider of the business message asset.
.google.ads.googleads.v23.enums.BusinessMessageProviderEnum.BusinessMessageProvider message_provider = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The messageProvider.
-
getStarterMessage
String getStarterMessage()Required. A welcome message to prompt the user to initiate a conversation.
string starter_message = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The starterMessage.
-
getStarterMessageBytes
com.google.protobuf.ByteString getStarterMessageBytes()Required. A welcome message to prompt the user to initiate a conversation.
string starter_message = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for starterMessage.
-
hasCallToAction
boolean hasCallToAction()A call to action for the business message asset.
optional .google.ads.googleads.v23.common.BusinessMessageCallToActionInfo call_to_action = 3;- Returns:
- Whether the callToAction field is set.
-
getCallToAction
BusinessMessageCallToActionInfo getCallToAction()A call to action for the business message asset.
optional .google.ads.googleads.v23.common.BusinessMessageCallToActionInfo call_to_action = 3;- Returns:
- The callToAction.
-
getCallToActionOrBuilder
BusinessMessageCallToActionInfoOrBuilder getCallToActionOrBuilder()A call to action for the business message asset.
optional .google.ads.googleads.v23.common.BusinessMessageCallToActionInfo call_to_action = 3; -
hasWhatsappInfo
boolean hasWhatsappInfo()Whatsapp.
.google.ads.googleads.v23.common.WhatsappBusinessMessageInfo whatsapp_info = 5;- Returns:
- Whether the whatsappInfo field is set.
-
getWhatsappInfo
WhatsappBusinessMessageInfo getWhatsappInfo()Whatsapp.
.google.ads.googleads.v23.common.WhatsappBusinessMessageInfo whatsapp_info = 5;- Returns:
- The whatsappInfo.
-
getWhatsappInfoOrBuilder
WhatsappBusinessMessageInfoOrBuilder getWhatsappInfoOrBuilder()Whatsapp.
.google.ads.googleads.v23.common.WhatsappBusinessMessageInfo whatsapp_info = 5; -
hasFacebookMessengerInfo
boolean hasFacebookMessengerInfo()Facebook Messenger.
.google.ads.googleads.v23.common.FacebookMessengerBusinessMessageInfo facebook_messenger_info = 6;- Returns:
- Whether the facebookMessengerInfo field is set.
-
getFacebookMessengerInfo
FacebookMessengerBusinessMessageInfo getFacebookMessengerInfo()Facebook Messenger.
.google.ads.googleads.v23.common.FacebookMessengerBusinessMessageInfo facebook_messenger_info = 6;- Returns:
- The facebookMessengerInfo.
-
getFacebookMessengerInfoOrBuilder
FacebookMessengerBusinessMessageInfoOrBuilder getFacebookMessengerInfoOrBuilder()Facebook Messenger.
.google.ads.googleads.v23.common.FacebookMessengerBusinessMessageInfo facebook_messenger_info = 6; -
hasZaloInfo
boolean hasZaloInfo()Zalo.
.google.ads.googleads.v23.common.ZaloBusinessMessageInfo zalo_info = 7;- Returns:
- Whether the zaloInfo field is set.
-
getZaloInfo
ZaloBusinessMessageInfo getZaloInfo()Zalo.
.google.ads.googleads.v23.common.ZaloBusinessMessageInfo zalo_info = 7;- Returns:
- The zaloInfo.
-
getZaloInfoOrBuilder
ZaloBusinessMessageInfoOrBuilder getZaloInfoOrBuilder()Zalo.
.google.ads.googleads.v23.common.ZaloBusinessMessageInfo zalo_info = 7; -
getMessageProviderDataCase
BusinessMessageAsset.MessageProviderDataCase getMessageProviderDataCase()
-