Class EnableOperation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v20.services.EnableOperation
- All Implemented Interfaces:
EnableOperationOrBuilder,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.v20.services.EnableOperation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA 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.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.booleanRequired.Optional.Optional.Required.com.google.protobuf.ByteStringRequired.static EnableOperationstatic final com.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.Parser<EnableOperation>intbooleanOptional.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic EnableOperation.Builderstatic EnableOperation.BuildernewBuilder(EnableOperation prototype) protected EnableOperation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static EnableOperationparseDelimitedFrom(InputStream input) static EnableOperationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnableOperationparseFrom(byte[] data) static EnableOperationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnableOperationparseFrom(com.google.protobuf.ByteString data) static EnableOperationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnableOperationparseFrom(com.google.protobuf.CodedInputStream input) static EnableOperationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnableOperationparseFrom(InputStream input) static EnableOperationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnableOperationparseFrom(ByteBuffer data) static EnableOperationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EnableOperation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCampaign
Required. The resource name of the campaign to enable.
string campaign = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceEnableOperationOrBuilder- 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:
getCampaignBytesin interfaceEnableOperationOrBuilder- 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:
getAutoPopulateBrandAssetsin interfaceEnableOperationOrBuilder- 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.v20.services.BrandCampaignAssets brand_assets = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBrandAssetsin interfaceEnableOperationOrBuilder- Returns:
- Whether the brandAssets field is set.
-
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.v20.services.BrandCampaignAssets brand_assets = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBrandAssetsin interfaceEnableOperationOrBuilder- Returns:
- The brandAssets.
-
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.v20.services.BrandCampaignAssets brand_assets = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBrandAssetsOrBuilderin interfaceEnableOperationOrBuilder
-
getFinalUriDomain
Optional. The domain of the final uri.
string final_uri_domain = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFinalUriDomainin interfaceEnableOperationOrBuilder- 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:
getFinalUriDomainBytesin interfaceEnableOperationOrBuilder- Returns:
- The bytes for finalUriDomain.
-
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:
getMainColorin interfaceEnableOperationOrBuilder- 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:
getMainColorBytesin interfaceEnableOperationOrBuilder- Returns:
- The bytes for mainColor.
-
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:
getAccentColorin interfaceEnableOperationOrBuilder- 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:
getAccentColorBytesin interfaceEnableOperationOrBuilder- Returns:
- The bytes for accentColor.
-
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:
getFontFamilyin interfaceEnableOperationOrBuilder- 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:
getFontFamilyBytesin interfaceEnableOperationOrBuilder- Returns:
- The bytes for fontFamily.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static EnableOperation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EnableOperation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-