Class CampaignFeed.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
- com.google.ads.googleads.v15.resources.CampaignFeed.Builder
-
- All Implemented Interfaces:
CampaignFeedOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- CampaignFeed
public static final class CampaignFeed.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder> implements CampaignFeedOrBuilder
A campaign feed.
Protobuf typegoogle.ads.googleads.v15.resources.CampaignFeed
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CampaignFeed.BuilderaddAllPlaceholderTypes(java.lang.Iterable<? extends PlaceholderTypeEnum.PlaceholderType> values)Indicates which placeholder types the feed may populate under the connected campaign.CampaignFeed.BuilderaddAllPlaceholderTypesValue(java.lang.Iterable<java.lang.Integer> values)Indicates which placeholder types the feed may populate under the connected campaign.CampaignFeed.BuilderaddPlaceholderTypes(PlaceholderTypeEnum.PlaceholderType value)Indicates which placeholder types the feed may populate under the connected campaign.CampaignFeed.BuilderaddPlaceholderTypesValue(int value)Indicates which placeholder types the feed may populate under the connected campaign.CampaignFeed.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CampaignFeedbuild()CampaignFeedbuildPartial()CampaignFeed.Builderclear()CampaignFeed.BuilderclearCampaign()Immutable.CampaignFeed.BuilderclearFeed()Immutable.CampaignFeed.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CampaignFeed.BuilderclearMatchingFunction()Matching function associated with the CampaignFeed.CampaignFeed.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CampaignFeed.BuilderclearPlaceholderTypes()Indicates which placeholder types the feed may populate under the connected campaign.CampaignFeed.BuilderclearResourceName()Immutable.CampaignFeed.BuilderclearStatus()Output only.CampaignFeed.Builderclone()java.lang.StringgetCampaign()Immutable.com.google.protobuf.ByteStringgetCampaignBytes()Immutable.CampaignFeedgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetFeed()Immutable.com.google.protobuf.ByteStringgetFeedBytes()Immutable.MatchingFunctiongetMatchingFunction()Matching function associated with the CampaignFeed.MatchingFunction.BuildergetMatchingFunctionBuilder()Matching function associated with the CampaignFeed.MatchingFunctionOrBuildergetMatchingFunctionOrBuilder()Matching function associated with the CampaignFeed.PlaceholderTypeEnum.PlaceholderTypegetPlaceholderTypes(int index)Indicates which placeholder types the feed may populate under the connected campaign.intgetPlaceholderTypesCount()Indicates which placeholder types the feed may populate under the connected campaign.java.util.List<PlaceholderTypeEnum.PlaceholderType>getPlaceholderTypesList()Indicates which placeholder types the feed may populate under the connected campaign.intgetPlaceholderTypesValue(int index)Indicates which placeholder types the feed may populate under the connected campaign.java.util.List<java.lang.Integer>getPlaceholderTypesValueList()Indicates which placeholder types the feed may populate under the connected campaign.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.FeedLinkStatusEnum.FeedLinkStatusgetStatus()Output only.intgetStatusValue()Output only.booleanhasCampaign()Immutable.booleanhasFeed()Immutable.booleanhasMatchingFunction()Matching function associated with the CampaignFeed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CampaignFeed.BuildermergeFrom(CampaignFeed other)CampaignFeed.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CampaignFeed.BuildermergeFrom(com.google.protobuf.Message other)CampaignFeed.BuildermergeMatchingFunction(MatchingFunction value)Matching function associated with the CampaignFeed.CampaignFeed.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CampaignFeed.BuildersetCampaign(java.lang.String value)Immutable.CampaignFeed.BuildersetCampaignBytes(com.google.protobuf.ByteString value)Immutable.CampaignFeed.BuildersetFeed(java.lang.String value)Immutable.CampaignFeed.BuildersetFeedBytes(com.google.protobuf.ByteString value)Immutable.CampaignFeed.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CampaignFeed.BuildersetMatchingFunction(MatchingFunction value)Matching function associated with the CampaignFeed.CampaignFeed.BuildersetMatchingFunction(MatchingFunction.Builder builderForValue)Matching function associated with the CampaignFeed.CampaignFeed.BuildersetPlaceholderTypes(int index, PlaceholderTypeEnum.PlaceholderType value)Indicates which placeholder types the feed may populate under the connected campaign.CampaignFeed.BuildersetPlaceholderTypesValue(int index, int value)Indicates which placeholder types the feed may populate under the connected campaign.CampaignFeed.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CampaignFeed.BuildersetResourceName(java.lang.String value)Immutable.CampaignFeed.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Immutable.CampaignFeed.BuildersetStatus(FeedLinkStatusEnum.FeedLinkStatus value)Output only.CampaignFeed.BuildersetStatusValue(int value)Output only.CampaignFeed.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
clear
public CampaignFeed.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
getDefaultInstanceForType
public CampaignFeed getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CampaignFeed build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CampaignFeed buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CampaignFeed.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
setField
public CampaignFeed.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
clearField
public CampaignFeed.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
clearOneof
public CampaignFeed.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
setRepeatedField
public CampaignFeed.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
addRepeatedField
public CampaignFeed.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
mergeFrom
public CampaignFeed.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CampaignFeed.Builder>
-
mergeFrom
public CampaignFeed.Builder mergeFrom(CampaignFeed other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
mergeFrom
public CampaignFeed.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CampaignFeed.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the campaign feed. Campaign feed resource names have the form: `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceCampaignFeedOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the campaign feed. Campaign feed resource names have the form: `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceCampaignFeedOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public CampaignFeed.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the campaign feed. Campaign feed resource names have the form: `customers/{customer_id}/campaignFeeds/{campaign_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 CampaignFeed.Builder clearResourceName()
Immutable. The resource name of the campaign feed. Campaign feed resource names have the form: `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public CampaignFeed.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the campaign feed. Campaign feed resource names have the form: `customers/{customer_id}/campaignFeeds/{campaign_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 to which the CampaignFeed belongs.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasFeedin interfaceCampaignFeedOrBuilder- Returns:
- Whether the feed field is set.
-
getFeed
public java.lang.String getFeed()
Immutable. The feed to which the CampaignFeed belongs.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getFeedin interfaceCampaignFeedOrBuilder- Returns:
- The feed.
-
getFeedBytes
public com.google.protobuf.ByteString getFeedBytes()
Immutable. The feed to which the CampaignFeed belongs.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getFeedBytesin interfaceCampaignFeedOrBuilder- Returns:
- The bytes for feed.
-
setFeed
public CampaignFeed.Builder setFeed(java.lang.String value)
Immutable. The feed to which the CampaignFeed belongs.
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 CampaignFeed.Builder clearFeed()
Immutable. The feed to which the CampaignFeed belongs.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setFeedBytes
public CampaignFeed.Builder setFeedBytes(com.google.protobuf.ByteString value)
Immutable. The feed to which the CampaignFeed belongs.
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.
-
hasCampaign
public boolean hasCampaign()
Immutable. The campaign to which the CampaignFeed belongs.
optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasCampaignin interfaceCampaignFeedOrBuilder- Returns:
- Whether the campaign field is set.
-
getCampaign
public java.lang.String getCampaign()
Immutable. The campaign to which the CampaignFeed belongs.
optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceCampaignFeedOrBuilder- Returns:
- The campaign.
-
getCampaignBytes
public com.google.protobuf.ByteString getCampaignBytes()
Immutable. The campaign to which the CampaignFeed belongs.
optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignBytesin interfaceCampaignFeedOrBuilder- Returns:
- The bytes for campaign.
-
setCampaign
public CampaignFeed.Builder setCampaign(java.lang.String value)
Immutable. The campaign to which the CampaignFeed belongs.
optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The campaign to set.- Returns:
- This builder for chaining.
-
clearCampaign
public CampaignFeed.Builder clearCampaign()
Immutable. The campaign to which the CampaignFeed belongs.
optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCampaignBytes
public CampaignFeed.Builder setCampaignBytes(com.google.protobuf.ByteString value)
Immutable. The campaign to which the CampaignFeed belongs.
optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for campaign 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 campaign. Required.
repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;- Specified by:
getPlaceholderTypesListin interfaceCampaignFeedOrBuilder- Returns:
- A list containing the placeholderTypes.
-
getPlaceholderTypesCount
public int getPlaceholderTypesCount()
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;- Specified by:
getPlaceholderTypesCountin interfaceCampaignFeedOrBuilder- Returns:
- The count of placeholderTypes.
-
getPlaceholderTypes
public PlaceholderTypeEnum.PlaceholderType getPlaceholderTypes(int index)
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;- Specified by:
getPlaceholderTypesin interfaceCampaignFeedOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The placeholderTypes at the given index.
-
setPlaceholderTypes
public CampaignFeed.Builder setPlaceholderTypes(int index, PlaceholderTypeEnum.PlaceholderType value)
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v15.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 CampaignFeed.Builder addPlaceholderTypes(PlaceholderTypeEnum.PlaceholderType value)
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;- Parameters:
value- The placeholderTypes to add.- Returns:
- This builder for chaining.
-
addAllPlaceholderTypes
public CampaignFeed.Builder addAllPlaceholderTypes(java.lang.Iterable<? extends PlaceholderTypeEnum.PlaceholderType> values)
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;- Parameters:
values- The placeholderTypes to add.- Returns:
- This builder for chaining.
-
clearPlaceholderTypes
public CampaignFeed.Builder clearPlaceholderTypes()
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v15.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 campaign. Required.
repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;- Specified by:
getPlaceholderTypesValueListin interfaceCampaignFeedOrBuilder- 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 campaign. Required.
repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;- Specified by:
getPlaceholderTypesValuein interfaceCampaignFeedOrBuilder- 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 CampaignFeed.Builder setPlaceholderTypesValue(int index, int value)
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v15.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 CampaignFeed.Builder addPlaceholderTypesValue(int value)
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v15.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 CampaignFeed.Builder addAllPlaceholderTypesValue(java.lang.Iterable<java.lang.Integer> values)
Indicates which placeholder types the feed may populate under the connected campaign. Required.
repeated .google.ads.googleads.v15.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 CampaignFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v15.common.MatchingFunction matching_function = 5;- Specified by:
hasMatchingFunctionin interfaceCampaignFeedOrBuilder- Returns:
- Whether the matchingFunction field is set.
-
getMatchingFunction
public MatchingFunction getMatchingFunction()
Matching function associated with the CampaignFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v15.common.MatchingFunction matching_function = 5;- Specified by:
getMatchingFunctionin interfaceCampaignFeedOrBuilder- Returns:
- The matchingFunction.
-
setMatchingFunction
public CampaignFeed.Builder setMatchingFunction(MatchingFunction value)
Matching function associated with the CampaignFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v15.common.MatchingFunction matching_function = 5;
-
setMatchingFunction
public CampaignFeed.Builder setMatchingFunction(MatchingFunction.Builder builderForValue)
Matching function associated with the CampaignFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v15.common.MatchingFunction matching_function = 5;
-
mergeMatchingFunction
public CampaignFeed.Builder mergeMatchingFunction(MatchingFunction value)
Matching function associated with the CampaignFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v15.common.MatchingFunction matching_function = 5;
-
clearMatchingFunction
public CampaignFeed.Builder clearMatchingFunction()
Matching function associated with the CampaignFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v15.common.MatchingFunction matching_function = 5;
-
getMatchingFunctionBuilder
public MatchingFunction.Builder getMatchingFunctionBuilder()
Matching function associated with the CampaignFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v15.common.MatchingFunction matching_function = 5;
-
getMatchingFunctionOrBuilder
public MatchingFunctionOrBuilder getMatchingFunctionOrBuilder()
Matching function associated with the CampaignFeed. The matching function is used to filter the set of feed items selected. Required.
.google.ads.googleads.v15.common.MatchingFunction matching_function = 5;- Specified by:
getMatchingFunctionOrBuilderin interfaceCampaignFeedOrBuilder
-
getStatusValue
public int getStatusValue()
Output only. Status of the campaign feed. This field is read-only.
.google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceCampaignFeedOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public CampaignFeed.Builder setStatusValue(int value)
Output only. Status of the campaign feed. This field is read-only.
.google.ads.googleads.v15.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 campaign feed. This field is read-only.
.google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceCampaignFeedOrBuilder- Returns:
- The status.
-
setStatus
public CampaignFeed.Builder setStatus(FeedLinkStatusEnum.FeedLinkStatus value)
Output only. Status of the campaign feed. This field is read-only.
.google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public CampaignFeed.Builder clearStatus()
Output only. Status of the campaign feed. This field is read-only.
.google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final CampaignFeed.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
mergeUnknownFields
public final CampaignFeed.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignFeed.Builder>
-
-