Class ExtensionFeedItem
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.ExtensionFeedItem
- All Implemented Interfaces:
ExtensionFeedItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ExtensionFeedItem
extends com.google.protobuf.GeneratedMessageV3
implements ExtensionFeedItemOrBuilder
An extension feed item.Protobuf type
google.ads.googleads.v18.resources.ExtensionFeedItem- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn extension feed item.static enumstatic 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 intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleangetAdSchedules(int index) List of non-overlapping schedules specifying all time intervals for which the feed item may serve.intList of non-overlapping schedules specifying all time intervals for which the feed item may serve.List of non-overlapping schedules specifying all time intervals for which the feed item may serve.getAdSchedulesOrBuilder(int index) List of non-overlapping schedules specifying all time intervals for which the feed item may serve.List<? extends AdScheduleInfoOrBuilder>List of non-overlapping schedules specifying all time intervals for which the feed item may serve.Output only.Output only.App extension.App extension.Call extension.Call extension.Callout extension.Callout extension.static ExtensionFeedItemstatic final com.google.protobuf.Descriptors.DescriptorThe targeted device.intThe targeted device.End time in which this feed item is no longer effective and will stop serving.com.google.protobuf.ByteStringEnd time in which this feed item is no longer effective and will stop serving.Output only.intOutput only.Hotel Callout extension.Hotel Callout extension.longgetId()Output only.Immutable.Immutable.Output only.Output only.com.google.protobuf.Parser<ExtensionFeedItem>Price extension.Price extension.Promotion extension.Promotion extension.Immutable.com.google.protobuf.ByteStringImmutable.intSitelink.Sitelink.Start time in which this feed item is effective and can begin serving.com.google.protobuf.ByteStringStart time in which this feed item is effective and can begin serving.Output only.intOutput only.Structured snippet extension.Structured snippet extension.The targeted ad group.com.google.protobuf.ByteStringThe targeted ad group.The targeted campaign.com.google.protobuf.ByteStringThe targeted campaign.The targeted geo target constant.com.google.protobuf.ByteStringThe targeted geo target constant.The targeted keyword.The targeted keyword.Text message extension.Text message extension.booleanOutput only.booleanApp extension.booleanCall extension.booleanCallout extension.booleanEnd time in which this feed item is no longer effective and will stop serving.inthashCode()booleanHotel Callout extension.booleanhasId()Output only.booleanImmutable.booleanOutput only.booleanPrice extension.booleanPromotion extension.booleanSitelink.booleanStart time in which this feed item is effective and can begin serving.booleanStructured snippet extension.booleanThe targeted ad group.booleanThe targeted campaign.booleanThe targeted geo target constant.booleanThe targeted keyword.booleanText message extension.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ExtensionFeedItem.Builderstatic ExtensionFeedItem.BuildernewBuilder(ExtensionFeedItem prototype) protected ExtensionFeedItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ExtensionFeedItemparseDelimitedFrom(InputStream input) static ExtensionFeedItemparseDelimitedFrom(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(InputStream input) static ExtensionFeedItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExtensionFeedItemparseFrom(ByteBuffer data) static ExtensionFeedItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ExtensionFeedItem>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:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
EXTENSION_TYPE_FIELD_NUMBER
public static final int EXTENSION_TYPE_FIELD_NUMBER- See Also:
-
START_DATE_TIME_FIELD_NUMBER
public static final int START_DATE_TIME_FIELD_NUMBER- See Also:
-
END_DATE_TIME_FIELD_NUMBER
public static final int END_DATE_TIME_FIELD_NUMBER- See Also:
-
AD_SCHEDULES_FIELD_NUMBER
public static final int AD_SCHEDULES_FIELD_NUMBER- See Also:
-
DEVICE_FIELD_NUMBER
public static final int DEVICE_FIELD_NUMBER- See Also:
-
TARGETED_GEO_TARGET_CONSTANT_FIELD_NUMBER
public static final int TARGETED_GEO_TARGET_CONSTANT_FIELD_NUMBER- See Also:
-
TARGETED_KEYWORD_FIELD_NUMBER
public static final int TARGETED_KEYWORD_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
SITELINK_FEED_ITEM_FIELD_NUMBER
public static final int SITELINK_FEED_ITEM_FIELD_NUMBER- See Also:
-
STRUCTURED_SNIPPET_FEED_ITEM_FIELD_NUMBER
public static final int STRUCTURED_SNIPPET_FEED_ITEM_FIELD_NUMBER- See Also:
-
APP_FEED_ITEM_FIELD_NUMBER
public static final int APP_FEED_ITEM_FIELD_NUMBER- See Also:
-
CALL_FEED_ITEM_FIELD_NUMBER
public static final int CALL_FEED_ITEM_FIELD_NUMBER- See Also:
-
CALLOUT_FEED_ITEM_FIELD_NUMBER
public static final int CALLOUT_FEED_ITEM_FIELD_NUMBER- See Also:
-
TEXT_MESSAGE_FEED_ITEM_FIELD_NUMBER
public static final int TEXT_MESSAGE_FEED_ITEM_FIELD_NUMBER- See Also:
-
PRICE_FEED_ITEM_FIELD_NUMBER
public static final int PRICE_FEED_ITEM_FIELD_NUMBER- See Also:
-
PROMOTION_FEED_ITEM_FIELD_NUMBER
public static final int PROMOTION_FEED_ITEM_FIELD_NUMBER- See Also:
-
LOCATION_FEED_ITEM_FIELD_NUMBER
public static final int LOCATION_FEED_ITEM_FIELD_NUMBER- See Also:
-
AFFILIATE_LOCATION_FEED_ITEM_FIELD_NUMBER
public static final int AFFILIATE_LOCATION_FEED_ITEM_FIELD_NUMBER- See Also:
-
HOTEL_CALLOUT_FEED_ITEM_FIELD_NUMBER
public static final int HOTEL_CALLOUT_FEED_ITEM_FIELD_NUMBER- See Also:
-
IMAGE_FEED_ITEM_FIELD_NUMBER
public static final int IMAGE_FEED_ITEM_FIELD_NUMBER- See Also:
-
TARGETED_CAMPAIGN_FIELD_NUMBER
public static final int TARGETED_CAMPAIGN_FIELD_NUMBER- See Also:
-
TARGETED_AD_GROUP_FIELD_NUMBER
public static final int TARGETED_AD_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
-
getExtensionCase
- Specified by:
getExtensionCasein interfaceExtensionFeedItemOrBuilder
-
getServingResourceTargetingCase
- Specified by:
getServingResourceTargetingCasein interfaceExtensionFeedItemOrBuilder
-
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.v18.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
Output only. The extension type of the extension feed item. This field is read-only.
.google.ads.googleads.v18.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
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
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
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.v18.common.AdScheduleInfo ad_schedules = 16;- Specified by:
getAdSchedulesListin interfaceExtensionFeedItemOrBuilder
-
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.v18.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.v18.common.AdScheduleInfo ad_schedules = 16;- Specified by:
getAdSchedulesCountin interfaceExtensionFeedItemOrBuilder
-
getAdSchedules
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.v18.common.AdScheduleInfo ad_schedules = 16;- Specified by:
getAdSchedulesin interfaceExtensionFeedItemOrBuilder
-
getAdSchedulesOrBuilder
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.v18.common.AdScheduleInfo ad_schedules = 16;- Specified by:
getAdSchedulesOrBuilderin interfaceExtensionFeedItemOrBuilder
-
getDeviceValue
public int getDeviceValue()The targeted device.
.google.ads.googleads.v18.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;- Specified by:
getDeviceValuein interfaceExtensionFeedItemOrBuilder- Returns:
- The enum numeric value on the wire for device.
-
getDevice
The targeted device.
.google.ads.googleads.v18.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
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.v18.common.KeywordInfo targeted_keyword = 22;- Specified by:
hasTargetedKeywordin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the targetedKeyword field is set.
-
getTargetedKeyword
The targeted keyword.
.google.ads.googleads.v18.common.KeywordInfo targeted_keyword = 22;- Specified by:
getTargetedKeywordin interfaceExtensionFeedItemOrBuilder- Returns:
- The targetedKeyword.
-
getTargetedKeywordOrBuilder
The targeted keyword.
.google.ads.googleads.v18.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.v18.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
Output only. Status of the feed item. This field is read-only.
.google.ads.googleads.v18.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceExtensionFeedItemOrBuilder- Returns:
- The status.
-
hasSitelinkFeedItem
public boolean hasSitelinkFeedItem()Sitelink.
.google.ads.googleads.v18.common.SitelinkFeedItem sitelink_feed_item = 2;- Specified by:
hasSitelinkFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the sitelinkFeedItem field is set.
-
getSitelinkFeedItem
Sitelink.
.google.ads.googleads.v18.common.SitelinkFeedItem sitelink_feed_item = 2;- Specified by:
getSitelinkFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The sitelinkFeedItem.
-
getSitelinkFeedItemOrBuilder
Sitelink.
.google.ads.googleads.v18.common.SitelinkFeedItem sitelink_feed_item = 2;- Specified by:
getSitelinkFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasStructuredSnippetFeedItem
public boolean hasStructuredSnippetFeedItem()Structured snippet extension.
.google.ads.googleads.v18.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;- Specified by:
hasStructuredSnippetFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the structuredSnippetFeedItem field is set.
-
getStructuredSnippetFeedItem
Structured snippet extension.
.google.ads.googleads.v18.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;- Specified by:
getStructuredSnippetFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The structuredSnippetFeedItem.
-
getStructuredSnippetFeedItemOrBuilder
Structured snippet extension.
.google.ads.googleads.v18.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;- Specified by:
getStructuredSnippetFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasAppFeedItem
public boolean hasAppFeedItem()App extension.
.google.ads.googleads.v18.common.AppFeedItem app_feed_item = 7;- Specified by:
hasAppFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the appFeedItem field is set.
-
getAppFeedItem
App extension.
.google.ads.googleads.v18.common.AppFeedItem app_feed_item = 7;- Specified by:
getAppFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The appFeedItem.
-
getAppFeedItemOrBuilder
App extension.
.google.ads.googleads.v18.common.AppFeedItem app_feed_item = 7;- Specified by:
getAppFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasCallFeedItem
public boolean hasCallFeedItem()Call extension.
.google.ads.googleads.v18.common.CallFeedItem call_feed_item = 8;- Specified by:
hasCallFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the callFeedItem field is set.
-
getCallFeedItem
Call extension.
.google.ads.googleads.v18.common.CallFeedItem call_feed_item = 8;- Specified by:
getCallFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The callFeedItem.
-
getCallFeedItemOrBuilder
Call extension.
.google.ads.googleads.v18.common.CallFeedItem call_feed_item = 8;- Specified by:
getCallFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasCalloutFeedItem
public boolean hasCalloutFeedItem()Callout extension.
.google.ads.googleads.v18.common.CalloutFeedItem callout_feed_item = 9;- Specified by:
hasCalloutFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the calloutFeedItem field is set.
-
getCalloutFeedItem
Callout extension.
.google.ads.googleads.v18.common.CalloutFeedItem callout_feed_item = 9;- Specified by:
getCalloutFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The calloutFeedItem.
-
getCalloutFeedItemOrBuilder
Callout extension.
.google.ads.googleads.v18.common.CalloutFeedItem callout_feed_item = 9;- Specified by:
getCalloutFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasTextMessageFeedItem
public boolean hasTextMessageFeedItem()Text message extension.
.google.ads.googleads.v18.common.TextMessageFeedItem text_message_feed_item = 10;- Specified by:
hasTextMessageFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the textMessageFeedItem field is set.
-
getTextMessageFeedItem
Text message extension.
.google.ads.googleads.v18.common.TextMessageFeedItem text_message_feed_item = 10;- Specified by:
getTextMessageFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The textMessageFeedItem.
-
getTextMessageFeedItemOrBuilder
Text message extension.
.google.ads.googleads.v18.common.TextMessageFeedItem text_message_feed_item = 10;- Specified by:
getTextMessageFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasPriceFeedItem
public boolean hasPriceFeedItem()Price extension.
.google.ads.googleads.v18.common.PriceFeedItem price_feed_item = 11;- Specified by:
hasPriceFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the priceFeedItem field is set.
-
getPriceFeedItem
Price extension.
.google.ads.googleads.v18.common.PriceFeedItem price_feed_item = 11;- Specified by:
getPriceFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The priceFeedItem.
-
getPriceFeedItemOrBuilder
Price extension.
.google.ads.googleads.v18.common.PriceFeedItem price_feed_item = 11;- Specified by:
getPriceFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasPromotionFeedItem
public boolean hasPromotionFeedItem()Promotion extension.
.google.ads.googleads.v18.common.PromotionFeedItem promotion_feed_item = 12;- Specified by:
hasPromotionFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the promotionFeedItem field is set.
-
getPromotionFeedItem
Promotion extension.
.google.ads.googleads.v18.common.PromotionFeedItem promotion_feed_item = 12;- Specified by:
getPromotionFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The promotionFeedItem.
-
getPromotionFeedItemOrBuilder
Promotion extension.
.google.ads.googleads.v18.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.v18.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLocationFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the locationFeedItem field is set.
-
getLocationFeedItem
Output only. Location extension. Locations are synced from a Business Profile into a feed. This field is read-only.
.google.ads.googleads.v18.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocationFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The locationFeedItem.
-
getLocationFeedItemOrBuilder
Output only. Location extension. Locations are synced from a Business Profile into a feed. This field is read-only.
.google.ads.googleads.v18.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.v18.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
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.v18.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAffiliateLocationFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The affiliateLocationFeedItem.
-
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.v18.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.v18.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;- Specified by:
hasHotelCalloutFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the hotelCalloutFeedItem field is set.
-
getHotelCalloutFeedItem
Hotel Callout extension.
.google.ads.googleads.v18.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;- Specified by:
getHotelCalloutFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The hotelCalloutFeedItem.
-
getHotelCalloutFeedItemOrBuilder
Hotel Callout extension.
.google.ads.googleads.v18.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;- Specified by:
getHotelCalloutFeedItemOrBuilderin interfaceExtensionFeedItemOrBuilder
-
hasImageFeedItem
public boolean hasImageFeedItem()Immutable. Advertiser provided image extension.
.google.ads.googleads.v18.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasImageFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- Whether the imageFeedItem field is set.
-
getImageFeedItem
Immutable. Advertiser provided image extension.
.google.ads.googleads.v18.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getImageFeedItemin interfaceExtensionFeedItemOrBuilder- Returns:
- The imageFeedItem.
-
getImageFeedItemOrBuilder
Immutable. Advertiser provided image extension.
.google.ads.googleads.v18.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
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
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
- 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 ExtensionFeedItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExtensionFeedItem parseFrom(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
- Throws:
IOException
-
parseFrom
public static ExtensionFeedItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ExtensionFeedItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ExtensionFeedItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ExtensionFeedItem 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 ExtensionFeedItem.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
-