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.Required.intRequired.Required.com.google.protobuf.ByteStringRequired.Whatsapp.Whatsapp.booleanA call to action for the business message asset.booleanWhatsapp.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.v19.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.v19.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.v19.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.v19.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.v19.common.BusinessMessageCallToActionInfo call_to_action = 3; -
hasWhatsappInfo
boolean hasWhatsappInfo()Whatsapp.
.google.ads.googleads.v19.common.WhatsappBusinessMessageInfo whatsapp_info = 5;- Returns:
- Whether the whatsappInfo field is set.
-
getWhatsappInfo
WhatsappBusinessMessageInfo getWhatsappInfo()Whatsapp.
.google.ads.googleads.v19.common.WhatsappBusinessMessageInfo whatsapp_info = 5;- Returns:
- The whatsappInfo.
-
getWhatsappInfoOrBuilder
WhatsappBusinessMessageInfoOrBuilder getWhatsappInfoOrBuilder()Whatsapp.
.google.ads.googleads.v19.common.WhatsappBusinessMessageInfo whatsapp_info = 5; -
getMessageProviderDataCase
BusinessMessageAsset.MessageProviderDataCase getMessageProviderDataCase()
-