Class EnableOperation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v21.services.EnableOperation
All Implemented Interfaces:
EnableOperationOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class EnableOperation extends com.google.protobuf.GeneratedMessageV3 implements EnableOperationOrBuilder
 A single enable operation of a campaign.
 
Protobuf type google.ads.googleads.v21.services.EnableOperation
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A single enable operation of a campaign.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage

    com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionSerializer, com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter, com.google.protobuf.GeneratedMessage.ExtendableMessage.FieldEntry

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Required.
    Optional.
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    com.google.protobuf.Parser<EnableOperation>
     
    int
     
    boolean
    Optional.
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<EnableOperation>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList

    Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage

    extensionsAreInitialized, extensionsIterator, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionSerializer, newExtensionWriter, newMessageSetExtensionSerializer, newMessageSetExtensionWriter

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, getUnknownFields, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder

    getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, hasExtension, hasExtension

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • CAMPAIGN_FIELD_NUMBER

      public static final int CAMPAIGN_FIELD_NUMBER
      See Also:
    • AUTO_POPULATE_BRAND_ASSETS_FIELD_NUMBER

      public static final int AUTO_POPULATE_BRAND_ASSETS_FIELD_NUMBER
      See Also:
    • BRAND_ASSETS_FIELD_NUMBER

      public static final int BRAND_ASSETS_FIELD_NUMBER
      See Also:
    • FINAL_URI_DOMAIN_FIELD_NUMBER

      public static final int FINAL_URI_DOMAIN_FIELD_NUMBER
      See Also:
    • 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:
    • FONT_FAMILY_FIELD_NUMBER

      public static final int 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()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getCampaign

      public String getCampaign()
       Required. The resource name of the campaign to enable.
       
      string campaign = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaign in interface EnableOperationOrBuilder
      Returns:
      The campaign.
    • getCampaignBytes

      public com.google.protobuf.ByteString getCampaignBytes()
       Required. The resource name of the campaign to enable.
       
      string campaign = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignBytes in interface EnableOperationOrBuilder
      Returns:
      The bytes for campaign.
    • getAutoPopulateBrandAssets

      public boolean getAutoPopulateBrandAssets()
       Required. The switch to automatically populate top-performing brand assets.
       This field is required. If true, top-performing brand assets will be
       automatically populated. If false, the brand_assets field is required.
       
      bool auto_populate_brand_assets = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAutoPopulateBrandAssets in interface EnableOperationOrBuilder
      Returns:
      The autoPopulateBrandAssets.
    • hasBrandAssets

      public boolean hasBrandAssets()
       Optional. The brand assets linked to the campaign. This field is required
       when the value of auto_populate_brand_assets is false.
       
      .google.ads.googleads.v21.services.BrandCampaignAssets brand_assets = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBrandAssets in interface EnableOperationOrBuilder
      Returns:
      Whether the brandAssets field is set.
    • getBrandAssets

      public BrandCampaignAssets getBrandAssets()
       Optional. The brand assets linked to the campaign. This field is required
       when the value of auto_populate_brand_assets is false.
       
      .google.ads.googleads.v21.services.BrandCampaignAssets brand_assets = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBrandAssets in interface EnableOperationOrBuilder
      Returns:
      The brandAssets.
    • getBrandAssetsOrBuilder

      public BrandCampaignAssetsOrBuilder getBrandAssetsOrBuilder()
       Optional. The brand assets linked to the campaign. This field is required
       when the value of auto_populate_brand_assets is false.
       
      .google.ads.googleads.v21.services.BrandCampaignAssets brand_assets = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBrandAssetsOrBuilder in interface EnableOperationOrBuilder
    • getFinalUriDomain

      public String getFinalUriDomain()
       Optional. The domain of the final uri.
       
      string final_uri_domain = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFinalUriDomain in interface EnableOperationOrBuilder
      Returns:
      The finalUriDomain.
    • getFinalUriDomainBytes

      public com.google.protobuf.ByteString getFinalUriDomainBytes()
       Optional. The domain of the final uri.
       
      string final_uri_domain = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFinalUriDomainBytes in interface EnableOperationOrBuilder
      Returns:
      The bytes for finalUriDomain.
    • getMainColor

      public String getMainColor()
       Optional. Hex code representation of the main brand color, for example
       #00ff00. main_color is required when accent color is specified.
       
      string main_color = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMainColor in interface EnableOperationOrBuilder
      Returns:
      The mainColor.
    • getMainColorBytes

      public com.google.protobuf.ByteString getMainColorBytes()
       Optional. Hex code representation of the main brand color, for example
       #00ff00. main_color is required when accent color is specified.
       
      string main_color = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMainColorBytes in interface EnableOperationOrBuilder
      Returns:
      The bytes for mainColor.
    • getAccentColor

      public String getAccentColor()
       Optional. Hex code representation of the accent brand color, for example
       #00ff00. accent_color is required when main_color is specified.
       
      string accent_color = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccentColor in interface EnableOperationOrBuilder
      Returns:
      The accentColor.
    • getAccentColorBytes

      public com.google.protobuf.ByteString getAccentColorBytes()
       Optional. Hex code representation of the accent brand color, for example
       #00ff00. accent_color is required when main_color is specified.
       
      string accent_color = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccentColorBytes in interface EnableOperationOrBuilder
      Returns:
      The bytes for accentColor.
    • getFontFamily

      public String getFontFamily()
       Optional. The font family is specified as a string, and must be one of the
       following: "Open Sans", "Roboto", "Roboto Slab", "Montserrat", "Poppins",
       "Lato", "Oswald", or "Playfair Display".
       
      string font_family = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFontFamily in interface EnableOperationOrBuilder
      Returns:
      The fontFamily.
    • getFontFamilyBytes

      public com.google.protobuf.ByteString getFontFamilyBytes()
       Optional. The font family is specified as a string, and must be one of the
       following: "Open Sans", "Roboto", "Roboto Slab", "Montserrat", "Poppins",
       "Lato", "Oswald", or "Playfair Display".
       
      string font_family = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFontFamilyBytes in interface EnableOperationOrBuilder
      Returns:
      The bytes for fontFamily.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 EnableOperation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static EnableOperation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static EnableOperation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static EnableOperation.Builder newBuilder()
    • newBuilder

      public static EnableOperation.Builder newBuilder(EnableOperation prototype)
    • toBuilder

      public EnableOperation.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static EnableOperation getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<EnableOperation> 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.GeneratedMessage
    • getDefaultInstanceForType

      public EnableOperation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder