Class AdGroupFeed.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
- com.google.ads.googleads.v14.resources.AdGroupFeed.Builder
-
- All Implemented Interfaces:
AdGroupFeedOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- AdGroupFeed
public static final class AdGroupFeed.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder> implements AdGroupFeedOrBuilder
An ad group feed.
Protobuf typegoogle.ads.googleads.v14.resources.AdGroupFeed
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdGroupFeed.Builder
addAllPlaceholderTypes(java.lang.Iterable<? extends PlaceholderTypeEnum.PlaceholderType> values)
Indicates which placeholder types the feed may populate under the connected ad group.AdGroupFeed.Builder
addAllPlaceholderTypesValue(java.lang.Iterable<java.lang.Integer> values)
Indicates which placeholder types the feed may populate under the connected ad group.AdGroupFeed.Builder
addPlaceholderTypes(PlaceholderTypeEnum.PlaceholderType value)
Indicates which placeholder types the feed may populate under the connected ad group.AdGroupFeed.Builder
addPlaceholderTypesValue(int value)
Indicates which placeholder types the feed may populate under the connected ad group.AdGroupFeed.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AdGroupFeed
build()
AdGroupFeed
buildPartial()
AdGroupFeed.Builder
clear()
AdGroupFeed.Builder
clearAdGroup()
Immutable.AdGroupFeed.Builder
clearFeed()
Immutable.AdGroupFeed.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AdGroupFeed.Builder
clearMatchingFunction()
Matching function associated with the AdGroupFeed.AdGroupFeed.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AdGroupFeed.Builder
clearPlaceholderTypes()
Indicates which placeholder types the feed may populate under the connected ad group.AdGroupFeed.Builder
clearResourceName()
Immutable.AdGroupFeed.Builder
clearStatus()
Output only.AdGroupFeed.Builder
clone()
java.lang.String
getAdGroup()
Immutable.com.google.protobuf.ByteString
getAdGroupBytes()
Immutable.AdGroupFeed
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getFeed()
Immutable.com.google.protobuf.ByteString
getFeedBytes()
Immutable.MatchingFunction
getMatchingFunction()
Matching function associated with the AdGroupFeed.MatchingFunction.Builder
getMatchingFunctionBuilder()
Matching function associated with the AdGroupFeed.MatchingFunctionOrBuilder
getMatchingFunctionOrBuilder()
Matching function associated with the AdGroupFeed.PlaceholderTypeEnum.PlaceholderType
getPlaceholderTypes(int index)
Indicates which placeholder types the feed may populate under the connected ad group.int
getPlaceholderTypesCount()
Indicates which placeholder types the feed may populate under the connected ad group.java.util.List<PlaceholderTypeEnum.PlaceholderType>
getPlaceholderTypesList()
Indicates which placeholder types the feed may populate under the connected ad group.int
getPlaceholderTypesValue(int index)
Indicates which placeholder types the feed may populate under the connected ad group.java.util.List<java.lang.Integer>
getPlaceholderTypesValueList()
Indicates which placeholder types the feed may populate under the connected ad group.java.lang.String
getResourceName()
Immutable.com.google.protobuf.ByteString
getResourceNameBytes()
Immutable.FeedLinkStatusEnum.FeedLinkStatus
getStatus()
Output only.int
getStatusValue()
Output only.boolean
hasAdGroup()
Immutable.boolean
hasFeed()
Immutable.boolean
hasMatchingFunction()
Matching function associated with the AdGroupFeed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AdGroupFeed.Builder
mergeFrom(AdGroupFeed other)
AdGroupFeed.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AdGroupFeed.Builder
mergeFrom(com.google.protobuf.Message other)
AdGroupFeed.Builder
mergeMatchingFunction(MatchingFunction value)
Matching function associated with the AdGroupFeed.AdGroupFeed.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AdGroupFeed.Builder
setAdGroup(java.lang.String value)
Immutable.AdGroupFeed.Builder
setAdGroupBytes(com.google.protobuf.ByteString value)
Immutable.AdGroupFeed.Builder
setFeed(java.lang.String value)
Immutable.AdGroupFeed.Builder
setFeedBytes(com.google.protobuf.ByteString value)
Immutable.AdGroupFeed.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AdGroupFeed.Builder
setMatchingFunction(MatchingFunction value)
Matching function associated with the AdGroupFeed.AdGroupFeed.Builder
setMatchingFunction(MatchingFunction.Builder builderForValue)
Matching function associated with the AdGroupFeed.AdGroupFeed.Builder
setPlaceholderTypes(int index, PlaceholderTypeEnum.PlaceholderType value)
Indicates which placeholder types the feed may populate under the connected ad group.AdGroupFeed.Builder
setPlaceholderTypesValue(int index, int value)
Indicates which placeholder types the feed may populate under the connected ad group.AdGroupFeed.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
AdGroupFeed.Builder
setResourceName(java.lang.String value)
Immutable.AdGroupFeed.Builder
setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable.AdGroupFeed.Builder
setStatus(FeedLinkStatusEnum.FeedLinkStatus value)
Output only.AdGroupFeed.Builder
setStatusValue(int value)
Output only.AdGroupFeed.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
clear
public AdGroupFeed.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
getDefaultInstanceForType
public AdGroupFeed getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AdGroupFeed build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AdGroupFeed buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AdGroupFeed.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
setField
public AdGroupFeed.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
clearField
public AdGroupFeed.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
clearOneof
public AdGroupFeed.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
setRepeatedField
public AdGroupFeed.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
addRepeatedField
public AdGroupFeed.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
mergeFrom
public AdGroupFeed.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AdGroupFeed.Builder>
-
mergeFrom
public AdGroupFeed.Builder mergeFrom(AdGroupFeed other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
mergeFrom
public AdGroupFeed.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AdGroupFeed.Builder>
- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the ad group feed. Ad group feed resource names have the form: `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getResourceName
in interfaceAdGroupFeedOrBuilder
- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the ad group feed. Ad group feed resource names have the form: `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getResourceNameBytes
in interfaceAdGroupFeedOrBuilder
- Returns:
- The bytes for resourceName.
-
setResourceName
public AdGroupFeed.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the ad group feed. Ad group feed resource names have the form: `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public AdGroupFeed.Builder clearResourceName()
Immutable. The resource name of the ad group feed. Ad group feed resource names have the form: `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setResourceNameBytes
public AdGroupFeed.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the ad group feed. Ad group feed resource names have the form: `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
hasFeed
public boolean hasFeed()
Immutable. The feed being linked to the ad group.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
hasFeed
in interfaceAdGroupFeedOrBuilder
- Returns:
- Whether the feed field is set.
-
getFeed
public java.lang.String getFeed()
Immutable. The feed being linked to the ad group.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getFeed
in interfaceAdGroupFeedOrBuilder
- Returns:
- The feed.
-
getFeedBytes
public com.google.protobuf.ByteString getFeedBytes()
Immutable. The feed being linked to the ad group.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getFeedBytes
in interfaceAdGroupFeedOrBuilder
- Returns:
- The bytes for feed.
-
setFeed
public AdGroupFeed.Builder setFeed(java.lang.String value)
Immutable. The feed being linked to the ad group.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The feed to set.- Returns:
- This builder for chaining.
-
clearFeed
public AdGroupFeed.Builder clearFeed()
Immutable. The feed being linked to the ad group.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setFeedBytes
public AdGroupFeed.Builder setFeedBytes(com.google.protobuf.ByteString value)
Immutable. The feed being linked to the ad group.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for feed to set.- Returns:
- This builder for chaining.
-
hasAdGroup
public boolean hasAdGroup()
Immutable. The ad group being linked to the feed.
optional string ad_group = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
hasAdGroup
in interfaceAdGroupFeedOrBuilder
- Returns:
- Whether the adGroup field is set.
-
getAdGroup
public java.lang.String getAdGroup()
Immutable. The ad group being linked to the feed.
optional string ad_group = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getAdGroup
in interfaceAdGroupFeedOrBuilder
- Returns:
- The adGroup.
-
getAdGroupBytes
public com.google.protobuf.ByteString getAdGroupBytes()
Immutable. The ad group being linked to the feed.
optional string ad_group = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getAdGroupBytes
in interfaceAdGroupFeedOrBuilder
- Returns:
- The bytes for adGroup.
-
setAdGroup
public AdGroupFeed.Builder setAdGroup(java.lang.String value)
Immutable. The ad group being linked to the feed.
optional string ad_group = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The adGroup to set.- Returns:
- This builder for chaining.
-
clearAdGroup
public AdGroupFeed.Builder clearAdGroup()
Immutable. The ad group being linked to the feed.
optional string ad_group = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setAdGroupBytes
public AdGroupFeed.Builder setAdGroupBytes(com.google.protobuf.ByteString value)
Immutable. The ad group being linked to the feed.
optional string ad_group = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for adGroup to set.- Returns:
- This builder for chaining.
-
getPlaceholderTypesList
public java.util.List<PlaceholderTypeEnum.PlaceholderType> getPlaceholderTypesList()
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Specified by:
getPlaceholderTypesList
in interfaceAdGroupFeedOrBuilder
- Returns:
- A list containing the placeholderTypes.
-
getPlaceholderTypesCount
public int getPlaceholderTypesCount()
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Specified by:
getPlaceholderTypesCount
in interfaceAdGroupFeedOrBuilder
- Returns:
- The count of placeholderTypes.
-
getPlaceholderTypes
public PlaceholderTypeEnum.PlaceholderType getPlaceholderTypes(int index)
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Specified by:
getPlaceholderTypes
in interfaceAdGroupFeedOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The placeholderTypes at the given index.
-
setPlaceholderTypes
public AdGroupFeed.Builder setPlaceholderTypes(int index, PlaceholderTypeEnum.PlaceholderType value)
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Parameters:
index
- The index to set the value at.value
- The placeholderTypes to set.- Returns:
- This builder for chaining.
-
addPlaceholderTypes
public AdGroupFeed.Builder addPlaceholderTypes(PlaceholderTypeEnum.PlaceholderType value)
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Parameters:
value
- The placeholderTypes to add.- Returns:
- This builder for chaining.
-
addAllPlaceholderTypes
public AdGroupFeed.Builder addAllPlaceholderTypes(java.lang.Iterable<? extends PlaceholderTypeEnum.PlaceholderType> values)
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Parameters:
values
- The placeholderTypes to add.- Returns:
- This builder for chaining.
-
clearPlaceholderTypes
public AdGroupFeed.Builder clearPlaceholderTypes()
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Returns:
- This builder for chaining.
-
getPlaceholderTypesValueList
public java.util.List<java.lang.Integer> getPlaceholderTypesValueList()
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Specified by:
getPlaceholderTypesValueList
in interfaceAdGroupFeedOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for placeholderTypes.
-
getPlaceholderTypesValue
public int getPlaceholderTypesValue(int index)
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Specified by:
getPlaceholderTypesValue
in interfaceAdGroupFeedOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of placeholderTypes at the given index.
-
setPlaceholderTypesValue
public AdGroupFeed.Builder setPlaceholderTypesValue(int index, int value)
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for placeholderTypes to set.- Returns:
- This builder for chaining.
-
addPlaceholderTypesValue
public AdGroupFeed.Builder addPlaceholderTypesValue(int value)
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Parameters:
value
- The enum numeric value on the wire for placeholderTypes to add.- Returns:
- This builder for chaining.
-
addAllPlaceholderTypesValue
public AdGroupFeed.Builder addAllPlaceholderTypesValue(java.lang.Iterable<java.lang.Integer> values)
Indicates which placeholder types the feed may populate under the connected ad group. Required.
repeated .google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
- Parameters:
values
- The enum numeric values on the wire for placeholderTypes to add.- Returns:
- This builder for chaining.
-
hasMatchingFunction
public boolean hasMatchingFunction()
Matching function associated with the AdGroupFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
- Specified by:
hasMatchingFunction
in interfaceAdGroupFeedOrBuilder
- Returns:
- Whether the matchingFunction field is set.
-
getMatchingFunction
public MatchingFunction getMatchingFunction()
Matching function associated with the AdGroupFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
- Specified by:
getMatchingFunction
in interfaceAdGroupFeedOrBuilder
- Returns:
- The matchingFunction.
-
setMatchingFunction
public AdGroupFeed.Builder setMatchingFunction(MatchingFunction value)
Matching function associated with the AdGroupFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
-
setMatchingFunction
public AdGroupFeed.Builder setMatchingFunction(MatchingFunction.Builder builderForValue)
Matching function associated with the AdGroupFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
-
mergeMatchingFunction
public AdGroupFeed.Builder mergeMatchingFunction(MatchingFunction value)
Matching function associated with the AdGroupFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
-
clearMatchingFunction
public AdGroupFeed.Builder clearMatchingFunction()
Matching function associated with the AdGroupFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
-
getMatchingFunctionBuilder
public MatchingFunction.Builder getMatchingFunctionBuilder()
Matching function associated with the AdGroupFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
-
getMatchingFunctionOrBuilder
public MatchingFunctionOrBuilder getMatchingFunctionOrBuilder()
Matching function associated with the AdGroupFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v14.common.MatchingFunction matching_function = 5;
- Specified by:
getMatchingFunctionOrBuilder
in interfaceAdGroupFeedOrBuilder
-
getStatusValue
public int getStatusValue()
Output only. Status of the ad group feed. This field is read-only.
.google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusValue
in interfaceAdGroupFeedOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public AdGroupFeed.Builder setStatusValue(int value)
Output only. Status of the ad group feed. This field is read-only.
.google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public FeedLinkStatusEnum.FeedLinkStatus getStatus()
Output only. Status of the ad group feed. This field is read-only.
.google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatus
in interfaceAdGroupFeedOrBuilder
- Returns:
- The status.
-
setStatus
public AdGroupFeed.Builder setStatus(FeedLinkStatusEnum.FeedLinkStatus value)
Output only. Status of the ad group feed. This field is read-only.
.google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public AdGroupFeed.Builder clearStatus()
Output only. Status of the ad group feed. This field is read-only.
.google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AdGroupFeed.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
mergeUnknownFields
public final AdGroupFeed.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupFeed.Builder>
-
-