Class FeedItemTarget
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.FeedItemTarget
- All Implemented Interfaces:
FeedItemTargetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class FeedItemTarget
extends com.google.protobuf.GeneratedMessageV3
implements FeedItemTargetOrBuilder
A feed item target.Protobuf type
google.ads.googleads.v18.resources.FeedItemTarget- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA feed item target.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 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 TypeMethodDescriptionbooleanImmutable.com.google.protobuf.ByteStringImmutable.Immutable.Immutable.Immutable.com.google.protobuf.ByteStringImmutable.static FeedItemTargetstatic final com.google.protobuf.Descriptors.DescriptorImmutable.intImmutable.Immutable.com.google.protobuf.ByteStringImmutable.longOutput only.Output only.intOutput only.Immutable.com.google.protobuf.ByteStringImmutable.Immutable.Immutable.com.google.protobuf.Parser<FeedItemTarget>Immutable.com.google.protobuf.ByteStringImmutable.intOutput only.intOutput only.booleanImmutable.booleanImmutable.booleanImmutable.booleanImmutable.booleanImmutable.booleanOutput only.booleanImmutable.inthashCode()booleanImmutable.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic FeedItemTarget.Builderstatic FeedItemTarget.BuildernewBuilder(FeedItemTarget prototype) protected FeedItemTarget.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static FeedItemTargetparseDelimitedFrom(InputStream input) static FeedItemTargetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemTargetparseFrom(byte[] data) static FeedItemTargetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemTargetparseFrom(com.google.protobuf.ByteString data) static FeedItemTargetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemTargetparseFrom(com.google.protobuf.CodedInputStream input) static FeedItemTargetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemTargetparseFrom(InputStream input) static FeedItemTargetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemTargetparseFrom(ByteBuffer data) static FeedItemTargetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FeedItemTarget>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_ITEM_FIELD_NUMBER
public static final int FEED_ITEM_FIELD_NUMBER- See Also:
-
FEED_ITEM_TARGET_TYPE_FIELD_NUMBER
public static final int FEED_ITEM_TARGET_TYPE_FIELD_NUMBER- See Also:
-
FEED_ITEM_TARGET_ID_FIELD_NUMBER
public static final int FEED_ITEM_TARGET_ID_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
CAMPAIGN_FIELD_NUMBER
public static final int CAMPAIGN_FIELD_NUMBER- See Also:
-
AD_GROUP_FIELD_NUMBER
public static final int AD_GROUP_FIELD_NUMBER- See Also:
-
KEYWORD_FIELD_NUMBER
public static final int KEYWORD_FIELD_NUMBER- See Also:
-
GEO_TARGET_CONSTANT_FIELD_NUMBER
public static final int GEO_TARGET_CONSTANT_FIELD_NUMBER- See Also:
-
DEVICE_FIELD_NUMBER
public static final int DEVICE_FIELD_NUMBER- See Also:
-
AD_SCHEDULE_FIELD_NUMBER
public static final int AD_SCHEDULE_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
-
getTargetCase
- Specified by:
getTargetCasein interfaceFeedItemTargetOrBuilder
-
getResourceName
Immutable. The resource name of the feed item target. Feed item target resource names have the form: `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceFeedItemTargetOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the feed item target. Feed item target resource names have the form: `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceFeedItemTargetOrBuilder- Returns:
- The bytes for resourceName.
-
hasFeedItem
public boolean hasFeedItem()Immutable. The feed item to which this feed item target belongs.
optional string feed_item = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasFeedItemin interfaceFeedItemTargetOrBuilder- Returns:
- Whether the feedItem field is set.
-
getFeedItem
Immutable. The feed item to which this feed item target belongs.
optional string feed_item = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getFeedItemin interfaceFeedItemTargetOrBuilder- Returns:
- The feedItem.
-
getFeedItemBytes
public com.google.protobuf.ByteString getFeedItemBytes()Immutable. The feed item to which this feed item target belongs.
optional string feed_item = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getFeedItemBytesin interfaceFeedItemTargetOrBuilder- Returns:
- The bytes for feedItem.
-
getFeedItemTargetTypeValue
public int getFeedItemTargetTypeValue()Output only. The target type of this feed item target. This field is read-only.
.google.ads.googleads.v18.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFeedItemTargetTypeValuein interfaceFeedItemTargetOrBuilder- Returns:
- The enum numeric value on the wire for feedItemTargetType.
-
getFeedItemTargetType
Output only. The target type of this feed item target. This field is read-only.
.google.ads.googleads.v18.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFeedItemTargetTypein interfaceFeedItemTargetOrBuilder- Returns:
- The feedItemTargetType.
-
hasFeedItemTargetId
public boolean hasFeedItemTargetId()Output only. The ID of the targeted resource. This field is read-only.
optional int64 feed_item_target_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFeedItemTargetIdin interfaceFeedItemTargetOrBuilder- Returns:
- Whether the feedItemTargetId field is set.
-
getFeedItemTargetId
public long getFeedItemTargetId()Output only. The ID of the targeted resource. This field is read-only.
optional int64 feed_item_target_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFeedItemTargetIdin interfaceFeedItemTargetOrBuilder- Returns:
- The feedItemTargetId.
-
getStatusValue
public int getStatusValue()Output only. Status of the feed item target. This field is read-only.
.google.ads.googleads.v18.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceFeedItemTargetOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Output only. Status of the feed item target. This field is read-only.
.google.ads.googleads.v18.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceFeedItemTargetOrBuilder- Returns:
- The status.
-
hasCampaign
public boolean hasCampaign()Immutable. The targeted campaign.
string campaign = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasCampaignin interfaceFeedItemTargetOrBuilder- Returns:
- Whether the campaign field is set.
-
getCampaign
Immutable. The targeted campaign.
string campaign = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceFeedItemTargetOrBuilder- Returns:
- The campaign.
-
getCampaignBytes
public com.google.protobuf.ByteString getCampaignBytes()Immutable. The targeted campaign.
string campaign = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignBytesin interfaceFeedItemTargetOrBuilder- Returns:
- The bytes for campaign.
-
hasAdGroup
public boolean hasAdGroup()Immutable. The targeted ad group.
string ad_group = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasAdGroupin interfaceFeedItemTargetOrBuilder- Returns:
- Whether the adGroup field is set.
-
getAdGroup
Immutable. The targeted ad group.
string ad_group = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupin interfaceFeedItemTargetOrBuilder- Returns:
- The adGroup.
-
getAdGroupBytes
public com.google.protobuf.ByteString getAdGroupBytes()Immutable. The targeted ad group.
string ad_group = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupBytesin interfaceFeedItemTargetOrBuilder- Returns:
- The bytes for adGroup.
-
hasKeyword
public boolean hasKeyword()Immutable. The targeted keyword.
.google.ads.googleads.v18.common.KeywordInfo keyword = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasKeywordin interfaceFeedItemTargetOrBuilder- Returns:
- Whether the keyword field is set.
-
getKeyword
Immutable. The targeted keyword.
.google.ads.googleads.v18.common.KeywordInfo keyword = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getKeywordin interfaceFeedItemTargetOrBuilder- Returns:
- The keyword.
-
getKeywordOrBuilder
Immutable. The targeted keyword.
.google.ads.googleads.v18.common.KeywordInfo keyword = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getKeywordOrBuilderin interfaceFeedItemTargetOrBuilder
-
hasGeoTargetConstant
public boolean hasGeoTargetConstant()Immutable. The targeted geo target constant resource name.
string geo_target_constant = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasGeoTargetConstantin interfaceFeedItemTargetOrBuilder- Returns:
- Whether the geoTargetConstant field is set.
-
getGeoTargetConstant
Immutable. The targeted geo target constant resource name.
string geo_target_constant = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getGeoTargetConstantin interfaceFeedItemTargetOrBuilder- Returns:
- The geoTargetConstant.
-
getGeoTargetConstantBytes
public com.google.protobuf.ByteString getGeoTargetConstantBytes()Immutable. The targeted geo target constant resource name.
string geo_target_constant = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getGeoTargetConstantBytesin interfaceFeedItemTargetOrBuilder- Returns:
- The bytes for geoTargetConstant.
-
hasDevice
public boolean hasDevice()Immutable. The targeted device.
.google.ads.googleads.v18.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasDevicein interfaceFeedItemTargetOrBuilder- Returns:
- Whether the device field is set.
-
getDeviceValue
public int getDeviceValue()Immutable. The targeted device.
.google.ads.googleads.v18.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getDeviceValuein interfaceFeedItemTargetOrBuilder- Returns:
- The enum numeric value on the wire for device.
-
getDevice
Immutable. The targeted device.
.google.ads.googleads.v18.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getDevicein interfaceFeedItemTargetOrBuilder- Returns:
- The device.
-
hasAdSchedule
public boolean hasAdSchedule()Immutable. The targeted schedule.
.google.ads.googleads.v18.common.AdScheduleInfo ad_schedule = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasAdSchedulein interfaceFeedItemTargetOrBuilder- Returns:
- Whether the adSchedule field is set.
-
getAdSchedule
Immutable. The targeted schedule.
.google.ads.googleads.v18.common.AdScheduleInfo ad_schedule = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdSchedulein interfaceFeedItemTargetOrBuilder- Returns:
- The adSchedule.
-
getAdScheduleOrBuilder
Immutable. The targeted schedule.
.google.ads.googleads.v18.common.AdScheduleInfo ad_schedule = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdScheduleOrBuilderin interfaceFeedItemTargetOrBuilder
-
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 FeedItemTarget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemTarget parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemTarget parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemTarget parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemTarget parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FeedItemTarget parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FeedItemTarget parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FeedItemTarget parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FeedItemTarget 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 FeedItemTarget.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
-