Class FeedItemSet
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.FeedItemSet
- All Implemented Interfaces:
FeedItemSetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class FeedItemSet
extends com.google.protobuf.GeneratedMessageV3
implements FeedItemSetOrBuilder
Represents a set of feed items. The set can be used and shared among certain feed item features. For instance, the set can be referenced within the matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed.Protobuf type
google.ads.googleads.v18.resources.FeedItemSet- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a set of feed items.static enumNested 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 TypeMethodDescriptionbooleanstatic FeedItemSetstatic final com.google.protobuf.Descriptors.DescriptorName of the set.com.google.protobuf.ByteStringName of the set.Filter for dynamic affiliate location set.Filter for dynamic affiliate location set.Filter for dynamic location set.Filter for dynamic location set.getFeed()Immutable.com.google.protobuf.ByteStringImmutable.longOutput only.com.google.protobuf.Parser<FeedItemSet>Immutable.com.google.protobuf.ByteStringImmutable.intOutput only.intOutput only.booleanFilter for dynamic affiliate location set.booleanFilter for dynamic location set.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic FeedItemSet.Builderstatic FeedItemSet.BuildernewBuilder(FeedItemSet prototype) protected FeedItemSet.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static FeedItemSetparseDelimitedFrom(InputStream input) static FeedItemSetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemSetparseFrom(byte[] data) static FeedItemSetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemSetparseFrom(com.google.protobuf.ByteString data) static FeedItemSetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemSetparseFrom(com.google.protobuf.CodedInputStream input) static FeedItemSetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemSetparseFrom(InputStream input) static FeedItemSetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemSetparseFrom(ByteBuffer data) static FeedItemSetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FeedItemSet>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
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
FEED_FIELD_NUMBER
public static final int FEED_FIELD_NUMBER- See Also:
-
FEED_ITEM_SET_ID_FIELD_NUMBER
public static final int FEED_ITEM_SET_ID_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
DYNAMIC_LOCATION_SET_FILTER_FIELD_NUMBER
public static final int DYNAMIC_LOCATION_SET_FILTER_FIELD_NUMBER- See Also:
-
DYNAMIC_AFFILIATE_LOCATION_SET_FILTER_FIELD_NUMBER
public static final int DYNAMIC_AFFILIATE_LOCATION_SET_FILTER_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
-
getDynamicSetFilterCase
- Specified by:
getDynamicSetFilterCasein interfaceFeedItemSetOrBuilder
-
getResourceName
Immutable. The resource name of the feed item set. Feed item set resource names have the form: `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceFeedItemSetOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the feed item set. Feed item set resource names have the form: `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceFeedItemSetOrBuilder- Returns:
- The bytes for resourceName.
-
getFeed
Immutable. The resource name of the feed containing the feed items in the set. Immutable. Required.
string feed = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getFeedin interfaceFeedItemSetOrBuilder- Returns:
- The feed.
-
getFeedBytes
public com.google.protobuf.ByteString getFeedBytes()Immutable. The resource name of the feed containing the feed items in the set. Immutable. Required.
string feed = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getFeedBytesin interfaceFeedItemSetOrBuilder- Returns:
- The bytes for feed.
-
getFeedItemSetId
public long getFeedItemSetId()Output only. ID of the set.
int64 feed_item_set_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFeedItemSetIdin interfaceFeedItemSetOrBuilder- Returns:
- The feedItemSetId.
-
getDisplayName
Name of the set. Must be unique within the account.
string display_name = 4;- Specified by:
getDisplayNamein interfaceFeedItemSetOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name of the set. Must be unique within the account.
string display_name = 4;- Specified by:
getDisplayNameBytesin interfaceFeedItemSetOrBuilder- Returns:
- The bytes for displayName.
-
getStatusValue
public int getStatusValue()Output only. Status of the feed item set. This field is read-only.
.google.ads.googleads.v18.enums.FeedItemSetStatusEnum.FeedItemSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceFeedItemSetOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Output only. Status of the feed item set. This field is read-only.
.google.ads.googleads.v18.enums.FeedItemSetStatusEnum.FeedItemSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceFeedItemSetOrBuilder- Returns:
- The status.
-
hasDynamicLocationSetFilter
public boolean hasDynamicLocationSetFilter()Filter for dynamic location set. It is only used for sets of locations.
.google.ads.googleads.v18.common.DynamicLocationSetFilter dynamic_location_set_filter = 5;- Specified by:
hasDynamicLocationSetFilterin interfaceFeedItemSetOrBuilder- Returns:
- Whether the dynamicLocationSetFilter field is set.
-
getDynamicLocationSetFilter
Filter for dynamic location set. It is only used for sets of locations.
.google.ads.googleads.v18.common.DynamicLocationSetFilter dynamic_location_set_filter = 5;- Specified by:
getDynamicLocationSetFilterin interfaceFeedItemSetOrBuilder- Returns:
- The dynamicLocationSetFilter.
-
getDynamicLocationSetFilterOrBuilder
Filter for dynamic location set. It is only used for sets of locations.
.google.ads.googleads.v18.common.DynamicLocationSetFilter dynamic_location_set_filter = 5;- Specified by:
getDynamicLocationSetFilterOrBuilderin interfaceFeedItemSetOrBuilder
-
hasDynamicAffiliateLocationSetFilter
public boolean hasDynamicAffiliateLocationSetFilter()Filter for dynamic affiliate location set. This field doesn't apply generally to feed item sets. It is only used for sets of affiliate locations.
.google.ads.googleads.v18.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6;- Specified by:
hasDynamicAffiliateLocationSetFilterin interfaceFeedItemSetOrBuilder- Returns:
- Whether the dynamicAffiliateLocationSetFilter field is set.
-
getDynamicAffiliateLocationSetFilter
Filter for dynamic affiliate location set. This field doesn't apply generally to feed item sets. It is only used for sets of affiliate locations.
.google.ads.googleads.v18.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6;- Specified by:
getDynamicAffiliateLocationSetFilterin interfaceFeedItemSetOrBuilder- Returns:
- The dynamicAffiliateLocationSetFilter.
-
getDynamicAffiliateLocationSetFilterOrBuilder
Filter for dynamic affiliate location set. This field doesn't apply generally to feed item sets. It is only used for sets of affiliate locations.
.google.ads.googleads.v18.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6;- Specified by:
getDynamicAffiliateLocationSetFilterOrBuilderin interfaceFeedItemSetOrBuilder
-
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 FeedItemSet parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemSet parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemSet parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemSet parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemSet parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FeedItemSet parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FeedItemSet parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FeedItemSet 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 FeedItemSet.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
-