Interface TextMessageFeedItemOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TextMessageFeedItem, TextMessageFeedItem.Builder

    public interface TextMessageFeedItemOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getBusinessName()
      The business name to prepend to the message text.
      com.google.protobuf.ByteString getBusinessNameBytes()
      The business name to prepend to the message text.
      java.lang.String getCountryCode()
      Uppercase two-letter country code of the advertiser's phone number.
      com.google.protobuf.ByteString getCountryCodeBytes()
      Uppercase two-letter country code of the advertiser's phone number.
      java.lang.String getExtensionText()
      The message extension_text populated in the messaging app.
      com.google.protobuf.ByteString getExtensionTextBytes()
      The message extension_text populated in the messaging app.
      java.lang.String getPhoneNumber()
      The advertiser's phone number the message will be sent to.
      com.google.protobuf.ByteString getPhoneNumberBytes()
      The advertiser's phone number the message will be sent to.
      java.lang.String getText()
      The text to show in the ad.
      com.google.protobuf.ByteString getTextBytes()
      The text to show in the ad.
      boolean hasBusinessName()
      The business name to prepend to the message text.
      boolean hasCountryCode()
      Uppercase two-letter country code of the advertiser's phone number.
      boolean hasExtensionText()
      The message extension_text populated in the messaging app.
      boolean hasPhoneNumber()
      The advertiser's phone number the message will be sent to.
      boolean hasText()
      The text to show in the ad.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasBusinessName

        boolean hasBusinessName()
         The business name to prepend to the message text.
         This field is required.
         
        optional string business_name = 6;
        Returns:
        Whether the businessName field is set.
      • getBusinessName

        java.lang.String getBusinessName()
         The business name to prepend to the message text.
         This field is required.
         
        optional string business_name = 6;
        Returns:
        The businessName.
      • getBusinessNameBytes

        com.google.protobuf.ByteString getBusinessNameBytes()
         The business name to prepend to the message text.
         This field is required.
         
        optional string business_name = 6;
        Returns:
        The bytes for businessName.
      • hasCountryCode

        boolean hasCountryCode()
         Uppercase two-letter country code of the advertiser's phone number.
         This field is required.
         
        optional string country_code = 7;
        Returns:
        Whether the countryCode field is set.
      • getCountryCode

        java.lang.String getCountryCode()
         Uppercase two-letter country code of the advertiser's phone number.
         This field is required.
         
        optional string country_code = 7;
        Returns:
        The countryCode.
      • getCountryCodeBytes

        com.google.protobuf.ByteString getCountryCodeBytes()
         Uppercase two-letter country code of the advertiser's phone number.
         This field is required.
         
        optional string country_code = 7;
        Returns:
        The bytes for countryCode.
      • hasPhoneNumber

        boolean hasPhoneNumber()
         The advertiser's phone number the message will be sent to. Required.
         
        optional string phone_number = 8;
        Returns:
        Whether the phoneNumber field is set.
      • getPhoneNumber

        java.lang.String getPhoneNumber()
         The advertiser's phone number the message will be sent to. Required.
         
        optional string phone_number = 8;
        Returns:
        The phoneNumber.
      • getPhoneNumberBytes

        com.google.protobuf.ByteString getPhoneNumberBytes()
         The advertiser's phone number the message will be sent to. Required.
         
        optional string phone_number = 8;
        Returns:
        The bytes for phoneNumber.
      • hasText

        boolean hasText()
         The text to show in the ad.
         This field is required.
         
        optional string text = 9;
        Returns:
        Whether the text field is set.
      • getText

        java.lang.String getText()
         The text to show in the ad.
         This field is required.
         
        optional string text = 9;
        Returns:
        The text.
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
         The text to show in the ad.
         This field is required.
         
        optional string text = 9;
        Returns:
        The bytes for text.
      • hasExtensionText

        boolean hasExtensionText()
         The message extension_text populated in the messaging app.
         
        optional string extension_text = 10;
        Returns:
        Whether the extensionText field is set.
      • getExtensionText

        java.lang.String getExtensionText()
         The message extension_text populated in the messaging app.
         
        optional string extension_text = 10;
        Returns:
        The extensionText.
      • getExtensionTextBytes

        com.google.protobuf.ByteString getExtensionTextBytes()
         The message extension_text populated in the messaging app.
         
        optional string extension_text = 10;
        Returns:
        The bytes for extensionText.