Class AssetSet
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.AssetSet
- All Implemented Interfaces:
AssetSetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AssetSet
extends com.google.protobuf.GeneratedMessageV3
implements AssetSetOrBuilder
An asset set representing a collection of assets. Use AssetSetAsset to link an asset to the asset set.Protobuf type
google.ads.googleads.v18.resources.AssetSet- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classAn asset set representing a collection of assets.static final classFor Performance Max for travel goals campaigns with a Hotel Center account link.static interfacestatic final classMerchant ID and Feed Label from Google Merchant Center.static interfaceNested 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 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 TypeMethodDescriptionbooleanBusiness Profile location group asset set data.Business Profile location group asset set data.Represents information about a Chain dynamic location group.Represents information about a Chain dynamic location group.static AssetSetstatic final com.google.protobuf.Descriptors.DescriptorOutput only.Output only.longgetId()Output only.longImmutable.Location asset set data.Location asset set data.Merchant ID and Feed Label from Google Merchant Center.Merchant ID and Feed Label from Google Merchant Center.getName()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<AssetSet>Immutable.com.google.protobuf.ByteStringImmutable.intOutput only.intOutput only.getType()Required.intRequired.booleanBusiness Profile location group asset set data.booleanRepresents information about a Chain dynamic location group.inthashCode()booleanOutput only.booleanLocation asset set data.booleanMerchant ID and Feed Label from Google Merchant Center.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AssetSet.Builderstatic AssetSet.BuildernewBuilder(AssetSet prototype) protected AssetSet.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AssetSetparseDelimitedFrom(InputStream input) static AssetSetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSetparseFrom(byte[] data) static AssetSetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSetparseFrom(com.google.protobuf.ByteString data) static AssetSetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSetparseFrom(com.google.protobuf.CodedInputStream input) static AssetSetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSetparseFrom(InputStream input) static AssetSetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSetparseFrom(ByteBuffer data) static AssetSetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AssetSet>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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
MERCHANT_CENTER_FEED_FIELD_NUMBER
public static final int MERCHANT_CENTER_FEED_FIELD_NUMBER- See Also:
-
LOCATION_GROUP_PARENT_ASSET_SET_ID_FIELD_NUMBER
public static final int LOCATION_GROUP_PARENT_ASSET_SET_ID_FIELD_NUMBER- See Also:
-
HOTEL_PROPERTY_DATA_FIELD_NUMBER
public static final int HOTEL_PROPERTY_DATA_FIELD_NUMBER- See Also:
-
LOCATION_SET_FIELD_NUMBER
public static final int LOCATION_SET_FIELD_NUMBER- See Also:
-
BUSINESS_PROFILE_LOCATION_GROUP_FIELD_NUMBER
public static final int BUSINESS_PROFILE_LOCATION_GROUP_FIELD_NUMBER- See Also:
-
CHAIN_LOCATION_GROUP_FIELD_NUMBER
public static final int CHAIN_LOCATION_GROUP_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
-
getAssetSetSourceCase
- Specified by:
getAssetSetSourceCasein interfaceAssetSetOrBuilder
-
getId
public long getId()Output only. The ID of the asset set.
int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceAssetSetOrBuilder- Returns:
- The id.
-
getResourceName
Immutable. The resource name of the asset set. Asset set resource names have the form: `customers/{customer_id}/assetSets/{asset_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAssetSetOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the asset set. Asset set resource names have the form: `customers/{customer_id}/assetSets/{asset_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAssetSetOrBuilder- Returns:
- The bytes for resourceName.
-
getName
Required. Name of the asset set. Required. It must have a minimum length of 1 and maximum length of 128.
string name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceAssetSetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. Name of the asset set. Required. It must have a minimum length of 1 and maximum length of 128.
string name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceAssetSetOrBuilder- Returns:
- The bytes for name.
-
getTypeValue
public int getTypeValue()Required. Immutable. The type of the asset set. Required.
.google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypeValuein interfaceAssetSetOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Required. Immutable. The type of the asset set. Required.
.google.ads.googleads.v18.enums.AssetSetTypeEnum.AssetSetType type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypein interfaceAssetSetOrBuilder- Returns:
- The type.
-
getStatusValue
public int getStatusValue()Output only. The status of the asset set. Read-only.
.google.ads.googleads.v18.enums.AssetSetStatusEnum.AssetSetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceAssetSetOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Output only. The status of the asset set. Read-only.
.google.ads.googleads.v18.enums.AssetSetStatusEnum.AssetSetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceAssetSetOrBuilder- Returns:
- The status.
-
hasMerchantCenterFeed
public boolean hasMerchantCenterFeed()Merchant ID and Feed Label from Google Merchant Center.
.google.ads.googleads.v18.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5;- Specified by:
hasMerchantCenterFeedin interfaceAssetSetOrBuilder- Returns:
- Whether the merchantCenterFeed field is set.
-
getMerchantCenterFeed
Merchant ID and Feed Label from Google Merchant Center.
.google.ads.googleads.v18.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5;- Specified by:
getMerchantCenterFeedin interfaceAssetSetOrBuilder- Returns:
- The merchantCenterFeed.
-
getMerchantCenterFeedOrBuilder
Merchant ID and Feed Label from Google Merchant Center.
.google.ads.googleads.v18.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5;- Specified by:
getMerchantCenterFeedOrBuilderin interfaceAssetSetOrBuilder
-
getLocationGroupParentAssetSetId
public long getLocationGroupParentAssetSetId()Immutable. Parent asset set id for the asset set where the elements of this asset set come from. For example: the sync level location AssetSet id where the the elements in LocationGroup AssetSet come from. This field is required and only applicable for Location Group typed AssetSet.
int64 location_group_parent_asset_set_id = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLocationGroupParentAssetSetIdin interfaceAssetSetOrBuilder- Returns:
- The locationGroupParentAssetSetId.
-
hasHotelPropertyData
public boolean hasHotelPropertyData()Output only. For Performance Max for travel goals campaigns with a Hotel Center account link. Read-only.
.google.ads.googleads.v18.resources.AssetSet.HotelPropertyData hotel_property_data = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasHotelPropertyDatain interfaceAssetSetOrBuilder- Returns:
- Whether the hotelPropertyData field is set.
-
getHotelPropertyData
Output only. For Performance Max for travel goals campaigns with a Hotel Center account link. Read-only.
.google.ads.googleads.v18.resources.AssetSet.HotelPropertyData hotel_property_data = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHotelPropertyDatain interfaceAssetSetOrBuilder- Returns:
- The hotelPropertyData.
-
getHotelPropertyDataOrBuilder
Output only. For Performance Max for travel goals campaigns with a Hotel Center account link. Read-only.
.google.ads.googleads.v18.resources.AssetSet.HotelPropertyData hotel_property_data = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHotelPropertyDataOrBuilderin interfaceAssetSetOrBuilder
-
hasLocationSet
public boolean hasLocationSet()Location asset set data. This will be used for sync level location set. This can only be set if AssetSet's type is LOCATION_SYNC.
.google.ads.googleads.v18.common.LocationSet location_set = 7;- Specified by:
hasLocationSetin interfaceAssetSetOrBuilder- Returns:
- Whether the locationSet field is set.
-
getLocationSet
Location asset set data. This will be used for sync level location set. This can only be set if AssetSet's type is LOCATION_SYNC.
.google.ads.googleads.v18.common.LocationSet location_set = 7;- Specified by:
getLocationSetin interfaceAssetSetOrBuilder- Returns:
- The locationSet.
-
getLocationSetOrBuilder
Location asset set data. This will be used for sync level location set. This can only be set if AssetSet's type is LOCATION_SYNC.
.google.ads.googleads.v18.common.LocationSet location_set = 7;- Specified by:
getLocationSetOrBuilderin interfaceAssetSetOrBuilder
-
hasBusinessProfileLocationGroup
public boolean hasBusinessProfileLocationGroup()Business Profile location group asset set data.
.google.ads.googleads.v18.common.BusinessProfileLocationGroup business_profile_location_group = 8;- Specified by:
hasBusinessProfileLocationGroupin interfaceAssetSetOrBuilder- Returns:
- Whether the businessProfileLocationGroup field is set.
-
getBusinessProfileLocationGroup
Business Profile location group asset set data.
.google.ads.googleads.v18.common.BusinessProfileLocationGroup business_profile_location_group = 8;- Specified by:
getBusinessProfileLocationGroupin interfaceAssetSetOrBuilder- Returns:
- The businessProfileLocationGroup.
-
getBusinessProfileLocationGroupOrBuilder
Business Profile location group asset set data.
.google.ads.googleads.v18.common.BusinessProfileLocationGroup business_profile_location_group = 8;- Specified by:
getBusinessProfileLocationGroupOrBuilderin interfaceAssetSetOrBuilder
-
hasChainLocationGroup
public boolean hasChainLocationGroup()Represents information about a Chain dynamic location group. Only applicable if the sync level AssetSet's type is LOCATION_SYNC and sync source is chain.
.google.ads.googleads.v18.common.ChainLocationGroup chain_location_group = 9;- Specified by:
hasChainLocationGroupin interfaceAssetSetOrBuilder- Returns:
- Whether the chainLocationGroup field is set.
-
getChainLocationGroup
Represents information about a Chain dynamic location group. Only applicable if the sync level AssetSet's type is LOCATION_SYNC and sync source is chain.
.google.ads.googleads.v18.common.ChainLocationGroup chain_location_group = 9;- Specified by:
getChainLocationGroupin interfaceAssetSetOrBuilder- Returns:
- The chainLocationGroup.
-
getChainLocationGroupOrBuilder
Represents information about a Chain dynamic location group. Only applicable if the sync level AssetSet's type is LOCATION_SYNC and sync source is chain.
.google.ads.googleads.v18.common.ChainLocationGroup chain_location_group = 9;- Specified by:
getChainLocationGroupOrBuilderin interfaceAssetSetOrBuilder
-
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 AssetSet parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSet parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSet parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSet parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSet parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AssetSet parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AssetSet parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AssetSet 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 AssetSet.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
-