Class Campaign.BrandGuidelines

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v19.resources.Campaign.BrandGuidelines
All Implemented Interfaces:
Campaign.BrandGuidelinesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Campaign

public static final class Campaign.BrandGuidelines extends com.google.protobuf.GeneratedMessageV3 implements Campaign.BrandGuidelinesOrBuilder
 Settings that control the visual appearance of your brand in a campaign's
 automatically generated assets and formats. Only applicable to Performance
 Max campaigns.
 
Protobuf type google.ads.googleads.v19.resources.Campaign.BrandGuidelines
See Also:
  • Field Details

    • MAIN_COLOR_FIELD_NUMBER

      public static final int MAIN_COLOR_FIELD_NUMBER
      See Also:
    • ACCENT_COLOR_FIELD_NUMBER

      public static final int ACCENT_COLOR_FIELD_NUMBER
      See Also:
    • PREDEFINED_FONT_FAMILY_FIELD_NUMBER

      public static final int PREDEFINED_FONT_FAMILY_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getMainColor

      public String getMainColor()
       The main brand color, entered as a hex code (e.g., #00ff00). You must
       provide the main_color if you provide an accent_color.
       
      string main_color = 1;
      Specified by:
      getMainColor in interface Campaign.BrandGuidelinesOrBuilder
      Returns:
      The mainColor.
    • getMainColorBytes

      public com.google.protobuf.ByteString getMainColorBytes()
       The main brand color, entered as a hex code (e.g., #00ff00). You must
       provide the main_color if you provide an accent_color.
       
      string main_color = 1;
      Specified by:
      getMainColorBytes in interface Campaign.BrandGuidelinesOrBuilder
      Returns:
      The bytes for mainColor.
    • getAccentColor

      public String getAccentColor()
       The accent brand color, entered as a hex code (e.g., #00ff00). You must
       provide the accent_color if you provide a main_color.
       
      string accent_color = 2;
      Specified by:
      getAccentColor in interface Campaign.BrandGuidelinesOrBuilder
      Returns:
      The accentColor.
    • getAccentColorBytes

      public com.google.protobuf.ByteString getAccentColorBytes()
       The accent brand color, entered as a hex code (e.g., #00ff00). You must
       provide the accent_color if you provide a main_color.
       
      string accent_color = 2;
      Specified by:
      getAccentColorBytes in interface Campaign.BrandGuidelinesOrBuilder
      Returns:
      The bytes for accentColor.
    • getPredefinedFontFamily

      public String getPredefinedFontFamily()
       The brand's font family. Must be one of the following Google Fonts (case
       sensitive): Open Sans, Roboto, Montserrat, Poppins, Lato, Oswald,
       Playfair Display, Roboto Slab.
       
      string predefined_font_family = 3;
      Specified by:
      getPredefinedFontFamily in interface Campaign.BrandGuidelinesOrBuilder
      Returns:
      The predefinedFontFamily.
    • getPredefinedFontFamilyBytes

      public com.google.protobuf.ByteString getPredefinedFontFamilyBytes()
       The brand's font family. Must be one of the following Google Fonts (case
       sensitive): Open Sans, Roboto, Montserrat, Poppins, Lato, Oswald,
       Playfair Display, Roboto Slab.
       
      string predefined_font_family = 3;
      Specified by:
      getPredefinedFontFamilyBytes in interface Campaign.BrandGuidelinesOrBuilder
      Returns:
      The bytes for predefinedFontFamily.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Campaign.BrandGuidelines parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Campaign.BrandGuidelines parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Campaign.BrandGuidelines parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Campaign.BrandGuidelines.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Campaign.BrandGuidelines.Builder newBuilder()
    • newBuilder

      public static Campaign.BrandGuidelines.Builder newBuilder(Campaign.BrandGuidelines prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Campaign.BrandGuidelines.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Campaign.BrandGuidelines getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Campaign.BrandGuidelines> parser()
    • getParserForType

      public com.google.protobuf.Parser<Campaign.BrandGuidelines> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Campaign.BrandGuidelines getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder