Interface GmailTeaserOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getBusinessName()
      Business name of the advertiser.
      com.google.protobuf.ByteString getBusinessNameBytes()
      Business name of the advertiser.
      java.lang.String getDescription()
      Description of the teaser.
      com.google.protobuf.ByteString getDescriptionBytes()
      Description of the teaser.
      java.lang.String getHeadline()
      Headline of the teaser.
      com.google.protobuf.ByteString getHeadlineBytes()
      Headline of the teaser.
      java.lang.String getLogoImage()
      The MediaFile resource name of the logo image.
      com.google.protobuf.ByteString getLogoImageBytes()
      The MediaFile resource name of the logo image.
      boolean hasBusinessName()
      Business name of the advertiser.
      boolean hasDescription()
      Description of the teaser.
      boolean hasHeadline()
      Headline of the teaser.
      boolean hasLogoImage()
      The MediaFile resource name of the logo image.
      • 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

      • hasHeadline

        boolean hasHeadline()
         Headline of the teaser.
         
        optional string headline = 5;
        Returns:
        Whether the headline field is set.
      • getHeadline

        java.lang.String getHeadline()
         Headline of the teaser.
         
        optional string headline = 5;
        Returns:
        The headline.
      • getHeadlineBytes

        com.google.protobuf.ByteString getHeadlineBytes()
         Headline of the teaser.
         
        optional string headline = 5;
        Returns:
        The bytes for headline.
      • hasDescription

        boolean hasDescription()
         Description of the teaser.
         
        optional string description = 6;
        Returns:
        Whether the description field is set.
      • getDescription

        java.lang.String getDescription()
         Description of the teaser.
         
        optional string description = 6;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Description of the teaser.
         
        optional string description = 6;
        Returns:
        The bytes for description.
      • hasBusinessName

        boolean hasBusinessName()
         Business name of the advertiser.
         
        optional string business_name = 7;
        Returns:
        Whether the businessName field is set.
      • getBusinessName

        java.lang.String getBusinessName()
         Business name of the advertiser.
         
        optional string business_name = 7;
        Returns:
        The businessName.
      • getBusinessNameBytes

        com.google.protobuf.ByteString getBusinessNameBytes()
         Business name of the advertiser.
         
        optional string business_name = 7;
        Returns:
        The bytes for businessName.
      • hasLogoImage

        boolean hasLogoImage()
         The MediaFile resource name of the logo image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must
         be 1:1 (+-1%).
         
        optional string logo_image = 8;
        Returns:
        Whether the logoImage field is set.
      • getLogoImage

        java.lang.String getLogoImage()
         The MediaFile resource name of the logo image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must
         be 1:1 (+-1%).
         
        optional string logo_image = 8;
        Returns:
        The logoImage.
      • getLogoImageBytes

        com.google.protobuf.ByteString getLogoImageBytes()
         The MediaFile resource name of the logo image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must
         be 1:1 (+-1%).
         
        optional string logo_image = 8;
        Returns:
        The bytes for logoImage.