Class ExtensionFeedItem
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.resources.ExtensionFeedItem
-
- All Implemented Interfaces:
ExtensionFeedItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class ExtensionFeedItem extends com.google.protobuf.GeneratedMessageV3 implements ExtensionFeedItemOrBuilder
An extension feed item.
Protobuf typegoogle.ads.googleads.v10.resources.ExtensionFeedItem- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtensionFeedItem.BuilderAn extension feed item.static classExtensionFeedItem.ExtensionCasestatic classExtensionFeedItem.ServingResourceTargetingCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)AdScheduleInfogetAdSchedules(int index)List of non-overlapping schedules specifying all time intervals for which the feed item may serve.intgetAdSchedulesCount()List of non-overlapping schedules specifying all time intervals for which the feed item may serve.java.util.List<AdScheduleInfo>getAdSchedulesList()List of non-overlapping schedules specifying all time intervals for which the feed item may serve.AdScheduleInfoOrBuildergetAdSchedulesOrBuilder(int index)List of non-overlapping schedules specifying all time intervals for which the feed item may serve.java.util.List<? extends AdScheduleInfoOrBuilder>getAdSchedulesOrBuilderList()List of non-overlapping schedules specifying all time intervals for which the feed item may serve.AffiliateLocationFeedItemgetAffiliateLocationFeedItem()Output only.AffiliateLocationFeedItemOrBuildergetAffiliateLocationFeedItemOrBuilder()Output only.AppFeedItemgetAppFeedItem()App extension.AppFeedItemOrBuildergetAppFeedItemOrBuilder()App extension.CallFeedItemgetCallFeedItem()Call extension.CallFeedItemOrBuildergetCallFeedItemOrBuilder()Call extension.CalloutFeedItemgetCalloutFeedItem()Callout extension.CalloutFeedItemOrBuildergetCalloutFeedItemOrBuilder()Callout extension.static ExtensionFeedItemgetDefaultInstance()ExtensionFeedItemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()FeedItemTargetDeviceEnum.FeedItemTargetDevicegetDevice()The targeted device.intgetDeviceValue()The targeted device.java.lang.StringgetEndDateTime()End time in which this feed item is no longer effective and will stop serving.com.google.protobuf.ByteStringgetEndDateTimeBytes()End time in which this feed item is no longer effective and will stop serving.ExtensionFeedItem.ExtensionCasegetExtensionCase()ExtensionTypeEnum.ExtensionTypegetExtensionType()Output only.intgetExtensionTypeValue()Output only.HotelCalloutFeedItemgetHotelCalloutFeedItem()Hotel Callout extension.HotelCalloutFeedItemOrBuildergetHotelCalloutFeedItemOrBuilder()Hotel Callout extension.longgetId()Output only.ImageFeedItemgetImageFeedItem()Immutable.ImageFeedItemOrBuildergetImageFeedItemOrBuilder()Immutable.LocationFeedItemgetLocationFeedItem()Output only.LocationFeedItemOrBuildergetLocationFeedItemOrBuilder()Output only.com.google.protobuf.Parser<ExtensionFeedItem>getParserForType()PriceFeedItemgetPriceFeedItem()Price extension.PriceFeedItemOrBuildergetPriceFeedItemOrBuilder()Price extension.PromotionFeedItemgetPromotionFeedItem()Promotion extension.PromotionFeedItemOrBuildergetPromotionFeedItemOrBuilder()Promotion extension.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.intgetSerializedSize()ExtensionFeedItem.ServingResourceTargetingCasegetServingResourceTargetingCase()SitelinkFeedItemgetSitelinkFeedItem()Sitelink extension.SitelinkFeedItemOrBuildergetSitelinkFeedItemOrBuilder()Sitelink extension.java.lang.StringgetStartDateTime()Start time in which this feed item is effective and can begin serving.com.google.protobuf.ByteStringgetStartDateTimeBytes()Start time in which this feed item is effective and can begin serving.FeedItemStatusEnum.FeedItemStatusgetStatus()Output only.intgetStatusValue()Output only.StructuredSnippetFeedItemgetStructuredSnippetFeedItem()Structured snippet extension.StructuredSnippetFeedItemOrBuildergetStructuredSnippetFeedItemOrBuilder()Structured snippet extension.java.lang.StringgetTargetedAdGroup()The targeted ad group.com.google.protobuf.ByteStringgetTargetedAdGroupBytes()The targeted ad group.java.lang.StringgetTargetedCampaign()The targeted campaign.com.google.protobuf.ByteStringgetTargetedCampaignBytes()The targeted campaign.java.lang.StringgetTargetedGeoTargetConstant()The targeted geo target constant.com.google.protobuf.ByteStringgetTargetedGeoTargetConstantBytes()The targeted geo target constant.KeywordInfogetTargetedKeyword()The targeted keyword.KeywordInfoOrBuildergetTargetedKeywordOrBuilder()The targeted keyword.TextMessageFeedItemgetTextMessageFeedItem()Text message extension.TextMessageFeedItemOrBuildergetTextMessageFeedItemOrBuilder()Text message extension.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAffiliateLocationFeedItem()Output only.booleanhasAppFeedItem()App extension.booleanhasCallFeedItem()Call extension.booleanhasCalloutFeedItem()Callout extension.booleanhasEndDateTime()End time in which this feed item is no longer effective and will stop serving.inthashCode()booleanhasHotelCalloutFeedItem()Hotel Callout extension.booleanhasId()Output only.booleanhasImageFeedItem()Immutable.booleanhasLocationFeedItem()Output only.booleanhasPriceFeedItem()Price extension.booleanhasPromotionFeedItem()Promotion extension.booleanhasSitelinkFeedItem()Sitelink extension.booleanhasStartDateTime()Start time in which this feed item is effective and can begin serving.booleanhasStructuredSnippetFeedItem()Structured snippet extension.booleanhasTargetedAdGroup()The targeted ad group.booleanhasTargetedCampaign()The targeted campaign.booleanhasTargetedGeoTargetConstant()The targeted geo target constant.booleanhasTargetedKeyword()The targeted keyword.booleanhasTextMessageFeedItem()Text message extension.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ExtensionFeedItem.BuildernewBuilder()static ExtensionFeedItem.BuildernewBuilder(ExtensionFeedItem prototype)ExtensionFeedItem.BuildernewBuilderForType()protected ExtensionFeedItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ExtensionFeedItemparseDelimitedFrom(java.io.InputStream input)static ExtensionFeedItemparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExtensionFeedItemparseFrom(byte[] data)static ExtensionFeedItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExtensionFeedItemparseFrom(com.google.protobuf.ByteString data)static ExtensionFeedItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExtensionFeedItemparseFrom(com.google.protobuf.CodedInputStream input)static ExtensionFeedItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExtensionFeedItemparseFrom(java.io.InputStream input)static ExtensionFeedItemparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExtensionFeedItemparseFrom(java.nio.ByteBuffer data)static ExtensionFeedItemparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ExtensionFeedItem>parser()ExtensionFeedItem.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTENSION_TYPE_FIELD_NUMBER
public static final int EXTENSION_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_DATE_TIME_FIELD_NUMBER
public static final int START_DATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_DATE_TIME_FIELD_NUMBER
public static final int END_DATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AD_SCHEDULES_FIELD_NUMBER
public static final int AD_SCHEDULES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEVICE_FIELD_NUMBER
public static final int DEVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGETED_GEO_TARGET_CONSTANT_FIELD_NUMBER
public static final int TARGETED_GEO_TARGET_CONSTANT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGETED_KEYWORD_FIELD_NUMBER
public static final int TARGETED_KEYWORD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SITELINK_FEED_ITEM_FIELD_NUMBER
public static final int SITELINK_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRUCTURED_SNIPPET_FEED_ITEM_FIELD_NUMBER
public static final int STRUCTURED_SNIPPET_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_FEED_ITEM_FIELD_NUMBER
public static final int APP_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_FEED_ITEM_FIELD_NUMBER
public static final int CALL_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALLOUT_FEED_ITEM_FIELD_NUMBER
public static final int CALLOUT_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_MESSAGE_FEED_ITEM_FIELD_NUMBER
public static final int TEXT_MESSAGE_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRICE_FEED_ITEM_FIELD_NUMBER
public static final int PRICE_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMOTION_FEED_ITEM_FIELD_NUMBER
public static final int PROMOTION_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCATION_FEED_ITEM_FIELD_NUMBER
public static final int LOCATION_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AFFILIATE_LOCATION_FEED_ITEM_FIELD_NUMBER
public static final int AFFILIATE_LOCATION_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOTEL_CALLOUT_FEED_ITEM_FIELD_NUMBER
public static final int HOTEL_CALLOUT_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_FEED_ITEM_FIELD_NUMBER
public static final int IMAGE_FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGETED_CAMPAIGN_FIELD_NUMBER
public static final int TARGETED_CAMPAIGN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGETED_AD_GROUP_FIELD_NUMBER
public static final int TARGETED_AD_GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getExtensionCase
public ExtensionFeedItem.ExtensionCase getExtensionCase()
- Specified by:
getExtensionCasein interfaceExtensionFeedItemOrBuilder
-
getServingResourceTargetingCase
public ExtensionFeedItem.ServingResourceTargetingCase getServingResourceTargetingCase()
- Specified by:
getServingResourceTargetingCasein interfaceExtensionFeedItemOrBuilder
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the extension feed item. Extension feed item resource names have the form: `customers/{customer_id}/extensionFeedItems/{feed_item_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceExtensionFeedItemOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the extension feed item. Extension feed item resource names have the form: `customers/{customer_id}/extensionFeedItems/{feed_item_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceExtensionFeedItemOrBuilder- Returns:
- The bytes for resourceName.
-
hasId
public boolean hasId()
Output only. The ID of this feed item. Read-only.
optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
Output only. The ID of this feed item. Read-only.
optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceExtensionFeedItemOrBuilder- Returns:
- The id.
-
getExtensionTypeValue
public int getExtensionTypeValue()
Output only. The extension type of the extension feed item. This field is read-only.
.google.ads.googleads.v10.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExtensionTypeValuein interfaceExtensionFeedItemOrBuilder- Returns:
- The enum numeric value on the wire for extensionType.
-
getExtensionType
public ExtensionTypeEnum.ExtensionType getExtensionType()
Output only. The extension type of the extension feed item. This field is read-only.
.google.ads.googleads.v10.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExtensionTypein interfaceExtensionFeedItemOrBuilder- Returns:
- The extensionType.
-
hasStartDateTime
public boolean hasStartDateTime()
Start time in which this feed item is effective and can begin serving. The time is in the customer's time zone. The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
optional string start_date_time = 26;- Specified by:
hasStartDateTimein interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the startDateTime field is set.
-
getStartDateTime
public java.lang.String getStartDateTime()
Start time in which this feed item is effective and can begin serving. The time is in the customer's time zone. The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
optional string start_date_time = 26;- Specified by:
getStartDateTimein interfaceExtensionFeedItemOrBuilder- Returns:
- The startDateTime.
-
getStartDateTimeBytes
public com.google.protobuf.ByteString getStartDateTimeBytes()
Start time in which this feed item is effective and can begin serving. The time is in the customer's time zone. The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
optional string start_date_time = 26;- Specified by:
getStartDateTimeBytesin interfaceExtensionFeedItemOrBuilder- Returns:
- The bytes for startDateTime.
-
hasEndDateTime
public boolean hasEndDateTime()
End time in which this feed item is no longer effective and will stop serving. The time is in the customer's time zone. The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
optional string end_date_time = 27;- Specified by:
hasEndDateTimein interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the endDateTime field is set.
-
getEndDateTime
public java.lang.String getEndDateTime()
End time in which this feed item is no longer effective and will stop serving. The time is in the customer's time zone. The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
optional string end_date_time = 27;- Specified by:
getEndDateTimein interfaceExtensionFeedItemOrBuilder- Returns:
- The endDateTime.
-
getEndDateTimeBytes
public com.google.protobuf.ByteString getEndDateTimeBytes()
End time in which this feed item is no longer effective and will stop serving. The time is in the customer's time zone. The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
optional string end_date_time = 27;- Specified by:
getEndDateTimeBytesin interfaceExtensionFeedItemOrBuilder- Returns:
- The bytes for endDateTime.
-
getAdSchedulesList
public java.util.List<AdScheduleInfo> getAdSchedulesList()
List of non-overlapping schedules specifying all time intervals for which the feed item may serve. There can be a maximum of 6 schedules per day.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;- Specified by:
getAdSchedulesListin interfaceExtensionFeedItemOrBuilder
-
getAdSchedulesOrBuilderList
public java.util.List<? extends AdScheduleInfoOrBuilder> getAdSchedulesOrBuilderList()
List of non-overlapping schedules specifying all time intervals for which the feed item may serve. There can be a maximum of 6 schedules per day.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;- Specified by:
getAdSchedulesOrBuilderListin interfaceExtensionFeedItemOrBuilder
-
getAdSchedulesCount
public int getAdSchedulesCount()
List of non-overlapping schedules specifying all time intervals for which the feed item may serve. There can be a maximum of 6 schedules per day.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;- Specified by:
getAdSchedulesCountin interfaceExtensionFeedItemOrBuilder
-
getAdSchedules
public AdScheduleInfo getAdSchedules(int index)
List of non-overlapping schedules specifying all time intervals for which the feed item may serve. There can be a maximum of 6 schedules per day.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;- Specified by:
getAdSchedulesin interfaceExtensionFeedItemOrBuilder
-
getAdSchedulesOrBuilder
public AdScheduleInfoOrBuilder getAdSchedulesOrBuilder(int index)
List of non-overlapping schedules specifying all time intervals for which the feed item may serve. There can be a maximum of 6 schedules per day.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedules = 16;- Specified by:
getAdSchedulesOrBuilderin interfaceExtensionFeedItemOrBuilder
-
getDeviceValue
public int getDeviceValue()
The targeted device.
.google.ads.googleads.v10.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;- Specified by:
getDeviceValuein interfaceExtensionFeedItemOrBuilder- Returns:
- The enum numeric value on the wire for device.
-
getDevice
public FeedItemTargetDeviceEnum.FeedItemTargetDevice getDevice()
The targeted device.
.google.ads.googleads.v10.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;- Specified by:
getDevicein interfaceExtensionFeedItemOrBuilder- Returns:
- The device.
-
hasTargetedGeoTargetConstant
public boolean hasTargetedGeoTargetConstant()
The targeted geo target constant.
optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }- Specified by:
hasTargetedGeoTargetConstantin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the targetedGeoTargetConstant field is set.
-
getTargetedGeoTargetConstant
public java.lang.String getTargetedGeoTargetConstant()
The targeted geo target constant.
optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetedGeoTargetConstantin interfaceExtensionFeedItemOrBuilder- Returns:
- The targetedGeoTargetConstant.
-
getTargetedGeoTargetConstantBytes
public com.google.protobuf.ByteString getTargetedGeoTargetConstantBytes()
The targeted geo target constant.
optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetedGeoTargetConstantBytesin interfaceExtensionFeedItemOrBuilder- Returns:
- The bytes for targetedGeoTargetConstant.
-
hasTargetedKeyword
public boolean hasTargetedKeyword()
The targeted keyword.
.google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;- Specified by:
hasTargetedKeywordin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the targetedKeyword field is set.
-
getTargetedKeyword
public KeywordInfo getTargetedKeyword()
The targeted keyword.
.google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;- Specified by:
getTargetedKeywordin interfaceExtensionFeedItemOrBuilder- Returns:
- The targetedKeyword.
-
getTargetedKeywordOrBuilder
public KeywordInfoOrBuilder getTargetedKeywordOrBuilder()
The targeted keyword.
.google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;- Specified by:
getTargetedKeywordOrBuilderin interfaceExtensionFeedItemOrBuilder
-
getStatusValue
public int getStatusValue()
Output only. Status of the feed item. This field is read-only.
.google.ads.googleads.v10.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceExtensionFeedItemOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public FeedItemStatusEnum.FeedItemStatus getStatus()
Output only. Status of the feed item. This field is read-only.
.google.ads.googleads.v10.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceExtensionFeedItemOrBuilder- Returns:
- The status.
-
hasSitelinkFeedItem
public boolean hasSitelinkFeedItem()
Sitelink extension.
.google.ads.googleads.v10.common.SitelinkFeedItem sitelink_feed_item = 2;- Specified by:
hasSitelinkFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the sitelinkFeedItem field is set.
-
getSitelinkFeedItem
public SitelinkFeedItem getSitelinkFeedItem()
Sitelink extension.
.google.ads.googleads.v10.common.SitelinkFeedItem sitelink_feed_item = 2;- Specified by:
getSitelinkFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The sitelinkFeedItem.
-
getSitelinkFeedItemOrBuilder
public SitelinkFeedItemOrBuilder getSitelinkFeedItemOrBuilder()
Sitelink extension.
.google.ads.googleads.v10.common.SitelinkFeedItem sitelink_feed_item = 2;- Specified by:
getSitelinkFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasStructuredSnippetFeedItem
public boolean hasStructuredSnippetFeedItem()
Structured snippet extension.
.google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;- Specified by:
hasStructuredSnippetFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the structuredSnippetFeedItem field is set.
-
getStructuredSnippetFeedItem
public StructuredSnippetFeedItem getStructuredSnippetFeedItem()
Structured snippet extension.
.google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;- Specified by:
getStructuredSnippetFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The structuredSnippetFeedItem.
-
getStructuredSnippetFeedItemOrBuilder
public StructuredSnippetFeedItemOrBuilder getStructuredSnippetFeedItemOrBuilder()
Structured snippet extension.
.google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;- Specified by:
getStructuredSnippetFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasAppFeedItem
public boolean hasAppFeedItem()
App extension.
.google.ads.googleads.v10.common.AppFeedItem app_feed_item = 7;- Specified by:
hasAppFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the appFeedItem field is set.
-
getAppFeedItem
public AppFeedItem getAppFeedItem()
App extension.
.google.ads.googleads.v10.common.AppFeedItem app_feed_item = 7;- Specified by:
getAppFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The appFeedItem.
-
getAppFeedItemOrBuilder
public AppFeedItemOrBuilder getAppFeedItemOrBuilder()
App extension.
.google.ads.googleads.v10.common.AppFeedItem app_feed_item = 7;- Specified by:
getAppFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasCallFeedItem
public boolean hasCallFeedItem()
Call extension.
.google.ads.googleads.v10.common.CallFeedItem call_feed_item = 8;- Specified by:
hasCallFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the callFeedItem field is set.
-
getCallFeedItem
public CallFeedItem getCallFeedItem()
Call extension.
.google.ads.googleads.v10.common.CallFeedItem call_feed_item = 8;- Specified by:
getCallFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The callFeedItem.
-
getCallFeedItemOrBuilder
public CallFeedItemOrBuilder getCallFeedItemOrBuilder()
Call extension.
.google.ads.googleads.v10.common.CallFeedItem call_feed_item = 8;- Specified by:
getCallFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasCalloutFeedItem
public boolean hasCalloutFeedItem()
Callout extension.
.google.ads.googleads.v10.common.CalloutFeedItem callout_feed_item = 9;- Specified by:
hasCalloutFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the calloutFeedItem field is set.
-
getCalloutFeedItem
public CalloutFeedItem getCalloutFeedItem()
Callout extension.
.google.ads.googleads.v10.common.CalloutFeedItem callout_feed_item = 9;- Specified by:
getCalloutFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The calloutFeedItem.
-
getCalloutFeedItemOrBuilder
public CalloutFeedItemOrBuilder getCalloutFeedItemOrBuilder()
Callout extension.
.google.ads.googleads.v10.common.CalloutFeedItem callout_feed_item = 9;- Specified by:
getCalloutFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasTextMessageFeedItem
public boolean hasTextMessageFeedItem()
Text message extension.
.google.ads.googleads.v10.common.TextMessageFeedItem text_message_feed_item = 10;- Specified by:
hasTextMessageFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the textMessageFeedItem field is set.
-
getTextMessageFeedItem
public TextMessageFeedItem getTextMessageFeedItem()
Text message extension.
.google.ads.googleads.v10.common.TextMessageFeedItem text_message_feed_item = 10;- Specified by:
getTextMessageFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The textMessageFeedItem.
-
getTextMessageFeedItemOrBuilder
public TextMessageFeedItemOrBuilder getTextMessageFeedItemOrBuilder()
Text message extension.
.google.ads.googleads.v10.common.TextMessageFeedItem text_message_feed_item = 10;- Specified by:
getTextMessageFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasPriceFeedItem
public boolean hasPriceFeedItem()
Price extension.
.google.ads.googleads.v10.common.PriceFeedItem price_feed_item = 11;- Specified by:
hasPriceFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the priceFeedItem field is set.
-
getPriceFeedItem
public PriceFeedItem getPriceFeedItem()
Price extension.
.google.ads.googleads.v10.common.PriceFeedItem price_feed_item = 11;- Specified by:
getPriceFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The priceFeedItem.
-
getPriceFeedItemOrBuilder
public PriceFeedItemOrBuilder getPriceFeedItemOrBuilder()
Price extension.
.google.ads.googleads.v10.common.PriceFeedItem price_feed_item = 11;- Specified by:
getPriceFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasPromotionFeedItem
public boolean hasPromotionFeedItem()
Promotion extension.
.google.ads.googleads.v10.common.PromotionFeedItem promotion_feed_item = 12;- Specified by:
hasPromotionFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the promotionFeedItem field is set.
-
getPromotionFeedItem
public PromotionFeedItem getPromotionFeedItem()
Promotion extension.
.google.ads.googleads.v10.common.PromotionFeedItem promotion_feed_item = 12;- Specified by:
getPromotionFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The promotionFeedItem.
-
getPromotionFeedItemOrBuilder
public PromotionFeedItemOrBuilder getPromotionFeedItemOrBuilder()
Promotion extension.
.google.ads.googleads.v10.common.PromotionFeedItem promotion_feed_item = 12;- Specified by:
getPromotionFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasLocationFeedItem
public boolean hasLocationFeedItem()
Output only. Location extension. Locations are synced from a Business Profile into a feed. This field is read-only.
.google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLocationFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the locationFeedItem field is set.
-
getLocationFeedItem
public LocationFeedItem getLocationFeedItem()
Output only. Location extension. Locations are synced from a Business Profile into a feed. This field is read-only.
.google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocationFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The locationFeedItem.
-
getLocationFeedItemOrBuilder
public LocationFeedItemOrBuilder getLocationFeedItemOrBuilder()
Output only. Location extension. Locations are synced from a Business Profile into a feed. This field is read-only.
.google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocationFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasAffiliateLocationFeedItem
public boolean hasAffiliateLocationFeedItem()
Output only. Affiliate location extension. Feed locations are populated by Google Ads based on a chain ID. This field is read-only.
.google.ads.googleads.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAffiliateLocationFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the affiliateLocationFeedItem field is set.
-
getAffiliateLocationFeedItem
public AffiliateLocationFeedItem getAffiliateLocationFeedItem()
Output only. Affiliate location extension. Feed locations are populated by Google Ads based on a chain ID. This field is read-only.
.google.ads.googleads.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAffiliateLocationFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The affiliateLocationFeedItem.
-
getAffiliateLocationFeedItemOrBuilder
public AffiliateLocationFeedItemOrBuilder getAffiliateLocationFeedItemOrBuilder()
Output only. Affiliate location extension. Feed locations are populated by Google Ads based on a chain ID. This field is read-only.
.google.ads.googleads.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAffiliateLocationFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasHotelCalloutFeedItem
public boolean hasHotelCalloutFeedItem()
Hotel Callout extension.
.google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;- Specified by:
hasHotelCalloutFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the hotelCalloutFeedItem field is set.
-
getHotelCalloutFeedItem
public HotelCalloutFeedItem getHotelCalloutFeedItem()
Hotel Callout extension.
.google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;- Specified by:
getHotelCalloutFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The hotelCalloutFeedItem.
-
getHotelCalloutFeedItemOrBuilder
public HotelCalloutFeedItemOrBuilder getHotelCalloutFeedItemOrBuilder()
Hotel Callout extension.
.google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;- Specified by:
getHotelCalloutFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasImageFeedItem
public boolean hasImageFeedItem()
Immutable. Advertiser provided image extension.
.google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasImageFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the imageFeedItem field is set.
-
getImageFeedItem
public ImageFeedItem getImageFeedItem()
Immutable. Advertiser provided image extension.
.google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getImageFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The imageFeedItem.
-
getImageFeedItemOrBuilder
public ImageFeedItemOrBuilder getImageFeedItemOrBuilder()
Immutable. Advertiser provided image extension.
.google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getImageFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasTargetedCampaign
public boolean hasTargetedCampaign()
The targeted campaign.
string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }- Specified by:
hasTargetedCampaignin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the targetedCampaign field is set.
-
getTargetedCampaign
public java.lang.String getTargetedCampaign()
The targeted campaign.
string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetedCampaignin interfaceExtensionFeedItemOrBuilder- Returns:
- The targetedCampaign.
-
getTargetedCampaignBytes
public com.google.protobuf.ByteString getTargetedCampaignBytes()
The targeted campaign.
string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetedCampaignBytesin interfaceExtensionFeedItemOrBuilder- Returns:
- The bytes for targetedCampaign.
-
hasTargetedAdGroup
public boolean hasTargetedAdGroup()
The targeted ad group.
string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }- Specified by:
hasTargetedAdGroupin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the targetedAdGroup field is set.
-
getTargetedAdGroup
public java.lang.String getTargetedAdGroup()
The targeted ad group.
string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetedAdGroupin interfaceExtensionFeedItemOrBuilder- Returns:
- The targetedAdGroup.
-
getTargetedAdGroupBytes
public com.google.protobuf.ByteString getTargetedAdGroupBytes()
The targeted ad group.
string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }- Specified by:
getTargetedAdGroupBytesin interfaceExtensionFeedItemOrBuilder- Returns:
- The bytes for targetedAdGroup.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 ExtensionFeedItem parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExtensionFeedItem parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExtensionFeedItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExtensionFeedItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExtensionFeedItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExtensionFeedItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExtensionFeedItem parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ExtensionFeedItem parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ExtensionFeedItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ExtensionFeedItem parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ExtensionFeedItem parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ExtensionFeedItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ExtensionFeedItem.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ExtensionFeedItem.Builder newBuilder()
-
newBuilder
public static ExtensionFeedItem.Builder newBuilder(ExtensionFeedItem prototype)
-
toBuilder
public ExtensionFeedItem.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ExtensionFeedItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ExtensionFeedItem getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ExtensionFeedItem> parser()
-
getParserForType
public com.google.protobuf.Parser<ExtensionFeedItem> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ExtensionFeedItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-