Class CampaignAsset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
com.google.ads.googleads.v18.resources.CampaignAsset.Builder
- All Implemented Interfaces:
CampaignAssetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CampaignAsset
public static final class CampaignAsset.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
implements CampaignAssetOrBuilder
A link between a Campaign and an Asset.Protobuf type
google.ads.googleads.v18.resources.CampaignAsset-
Method Summary
Modifier and TypeMethodDescriptionaddAllPrimaryStatusDetails(Iterable<? extends AssetLinkPrimaryStatusDetails> values) Output only.addAllPrimaryStatusReasons(Iterable<? extends AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason> values) Output only.Output only.addPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails value) Output only.addPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails.Builder builderForValue) Output only.Output only.addPrimaryStatusDetails(AssetLinkPrimaryStatusDetails.Builder builderForValue) Output only.Output only.addPrimaryStatusDetailsBuilder(int index) Output only.Output only.addPrimaryStatusReasonsValue(int value) Output only.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Immutable.Immutable.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Immutable.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.Output only.Immutable.Output only.Status of the campaign asset.clone()getAsset()Immutable.com.google.protobuf.ByteStringImmutable.Immutable.com.google.protobuf.ByteStringImmutable.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorImmutable.intImmutable.Output only.getPrimaryStatusDetails(int index) Output only.getPrimaryStatusDetailsBuilder(int index) Output only.Output only.intOutput only.Output only.getPrimaryStatusDetailsOrBuilder(int index) Output only.List<? extends AssetLinkPrimaryStatusDetailsOrBuilder>Output only.getPrimaryStatusReasons(int index) Output only.intOutput only.Output only.intgetPrimaryStatusReasonsValue(int index) Output only.Output only.intOutput only.Immutable.com.google.protobuf.ByteStringImmutable.Output only.intOutput only.Status of the campaign asset.intStatus of the campaign asset.booleanhasAsset()Immutable.booleanImmutable.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CampaignAsset other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final CampaignAsset.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removePrimaryStatusDetails(int index) Output only.Immutable.setAssetBytes(com.google.protobuf.ByteString value) Immutable.setCampaign(String value) Immutable.setCampaignBytes(com.google.protobuf.ByteString value) Immutable.Immutable.setFieldTypeValue(int value) Immutable.Output only.setPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails value) Output only.setPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails.Builder builderForValue) Output only.setPrimaryStatusReasons(int index, AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason value) Output only.setPrimaryStatusReasonsValue(int index, int value) Output only.setPrimaryStatusValue(int value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.Output only.setSourceValue(int value) Output only.Status of the campaign asset.setStatusValue(int value) Status of the campaign asset.final CampaignAsset.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<CampaignAsset.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<CampaignAsset.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<CampaignAsset.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<CampaignAsset.Builder>
-
setField
public CampaignAsset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
-
setRepeatedField
public CampaignAsset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
-
addRepeatedField
public CampaignAsset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CampaignAsset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
-
mergeFrom
public CampaignAsset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CampaignAsset.Builder>- Throws:
IOException
-
getResourceName
Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceCampaignAssetOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceCampaignAssetOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`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
Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`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.
-
hasCampaign
public boolean hasCampaign()Immutable. The campaign to which the asset is linked.
optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasCampaignin interfaceCampaignAssetOrBuilder- Returns:
- Whether the campaign field is set.
-
getCampaign
Immutable. The campaign to which the asset is linked.
optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceCampaignAssetOrBuilder- Returns:
- The campaign.
-
getCampaignBytes
public com.google.protobuf.ByteString getCampaignBytes()Immutable. The campaign to which the asset is linked.
optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignBytesin interfaceCampaignAssetOrBuilder- Returns:
- The bytes for campaign.
-
setCampaign
Immutable. The campaign to which the asset is linked.
optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The campaign to set.- Returns:
- This builder for chaining.
-
clearCampaign
Immutable. The campaign to which the asset is linked.
optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCampaignBytes
Immutable. The campaign to which the asset is linked.
optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for campaign to set.- Returns:
- This builder for chaining.
-
hasAsset
public boolean hasAsset()Immutable. The asset which is linked to the campaign.
optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasAssetin interfaceCampaignAssetOrBuilder- Returns:
- Whether the asset field is set.
-
getAsset
Immutable. The asset which is linked to the campaign.
optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetin interfaceCampaignAssetOrBuilder- Returns:
- The asset.
-
getAssetBytes
public com.google.protobuf.ByteString getAssetBytes()Immutable. The asset which is linked to the campaign.
optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetBytesin interfaceCampaignAssetOrBuilder- Returns:
- The bytes for asset.
-
setAsset
Immutable. The asset which is linked to the campaign.
optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The asset to set.- Returns:
- This builder for chaining.
-
clearAsset
Immutable. The asset which is linked to the campaign.
optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAssetBytes
Immutable. The asset which is linked to the campaign.
optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for asset to set.- Returns:
- This builder for chaining.
-
getFieldTypeValue
public int getFieldTypeValue()Immutable. Role that the asset takes under the linked campaign. Required.
.google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getFieldTypeValuein interfaceCampaignAssetOrBuilder- Returns:
- The enum numeric value on the wire for fieldType.
-
setFieldTypeValue
Immutable. Role that the asset takes under the linked campaign. Required.
.google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for fieldType to set.- Returns:
- This builder for chaining.
-
getFieldType
Immutable. Role that the asset takes under the linked campaign. Required.
.google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getFieldTypein interfaceCampaignAssetOrBuilder- Returns:
- The fieldType.
-
setFieldType
Immutable. Role that the asset takes under the linked campaign. Required.
.google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The fieldType to set.- Returns:
- This builder for chaining.
-
clearFieldType
Immutable. Role that the asset takes under the linked campaign. Required.
.google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
getSourceValue
public int getSourceValue()Output only. Source of the campaign asset link.
.google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceValuein interfaceCampaignAssetOrBuilder- Returns:
- The enum numeric value on the wire for source.
-
setSourceValue
Output only. Source of the campaign asset link.
.google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for source to set.- Returns:
- This builder for chaining.
-
getSource
Output only. Source of the campaign asset link.
.google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourcein interfaceCampaignAssetOrBuilder- Returns:
- The source.
-
setSource
Output only. Source of the campaign asset link.
.google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
Output only. Source of the campaign asset link.
.google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()Status of the campaign asset.
.google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Specified by:
getStatusValuein interfaceCampaignAssetOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Status of the campaign asset.
.google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Status of the campaign asset.
.google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Specified by:
getStatusin interfaceCampaignAssetOrBuilder- Returns:
- The status.
-
setStatus
Status of the campaign asset.
.google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Status of the campaign asset.
.google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Returns:
- This builder for chaining.
-
getPrimaryStatusValue
public int getPrimaryStatusValue()Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially to differentiate between the plain "status" field, which has advertiser set values of enabled, paused, or removed. The primary status takes into account other signals (for assets its mainly policy and quality approvals) to come up with a more comprehensive status to indicate its serving state.
.google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusValuein interfaceCampaignAssetOrBuilder- Returns:
- The enum numeric value on the wire for primaryStatus.
-
setPrimaryStatusValue
Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially to differentiate between the plain "status" field, which has advertiser set values of enabled, paused, or removed. The primary status takes into account other signals (for assets its mainly policy and quality approvals) to come up with a more comprehensive status to indicate its serving state.
.google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for primaryStatus to set.- Returns:
- This builder for chaining.
-
getPrimaryStatus
Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially to differentiate between the plain "status" field, which has advertiser set values of enabled, paused, or removed. The primary status takes into account other signals (for assets its mainly policy and quality approvals) to come up with a more comprehensive status to indicate its serving state.
.google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusin interfaceCampaignAssetOrBuilder- Returns:
- The primaryStatus.
-
setPrimaryStatus
public CampaignAsset.Builder setPrimaryStatus(AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus value) Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially to differentiate between the plain "status" field, which has advertiser set values of enabled, paused, or removed. The primary status takes into account other signals (for assets its mainly policy and quality approvals) to come up with a more comprehensive status to indicate its serving state.
.google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The primaryStatus to set.- Returns:
- This builder for chaining.
-
clearPrimaryStatus
Output only. Provides the PrimaryStatus of this asset link. Primary status is meant essentially to differentiate between the plain "status" field, which has advertiser set values of enabled, paused, or removed. The primary status takes into account other signals (for assets its mainly policy and quality approvals) to come up with a more comprehensive status to indicate its serving state.
.google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPrimaryStatusDetailsList
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsListin interfaceCampaignAssetOrBuilder
-
getPrimaryStatusDetailsCount
public int getPrimaryStatusDetailsCount()Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsCountin interfaceCampaignAssetOrBuilder
-
getPrimaryStatusDetails
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsin interfaceCampaignAssetOrBuilder
-
setPrimaryStatusDetails
public CampaignAsset.Builder setPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails value) Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setPrimaryStatusDetails
public CampaignAsset.Builder setPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails.Builder builderForValue) Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addPrimaryStatusDetails
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addPrimaryStatusDetails
public CampaignAsset.Builder addPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails value) Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addPrimaryStatusDetails
public CampaignAsset.Builder addPrimaryStatusDetails(AssetLinkPrimaryStatusDetails.Builder builderForValue) Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addPrimaryStatusDetails
public CampaignAsset.Builder addPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails.Builder builderForValue) Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllPrimaryStatusDetails
public CampaignAsset.Builder addAllPrimaryStatusDetails(Iterable<? extends AssetLinkPrimaryStatusDetails> values) Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearPrimaryStatusDetails
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removePrimaryStatusDetails
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPrimaryStatusDetailsBuilder
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPrimaryStatusDetailsOrBuilder
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsOrBuilderin interfaceCampaignAssetOrBuilder
-
getPrimaryStatusDetailsOrBuilderList
public List<? extends AssetLinkPrimaryStatusDetailsOrBuilder> getPrimaryStatusDetailsOrBuilderList()Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsOrBuilderListin interfaceCampaignAssetOrBuilder
-
addPrimaryStatusDetailsBuilder
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addPrimaryStatusDetailsBuilder
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPrimaryStatusDetailsBuilderList
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPrimaryStatusReasonsList
public List<AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason> getPrimaryStatusReasonsList()Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsListin interfaceCampaignAssetOrBuilder- Returns:
- A list containing the primaryStatusReasons.
-
getPrimaryStatusReasonsCount
public int getPrimaryStatusReasonsCount()Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsCountin interfaceCampaignAssetOrBuilder- Returns:
- The count of primaryStatusReasons.
-
getPrimaryStatusReasons
public AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason getPrimaryStatusReasons(int index) Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsin interfaceCampaignAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The primaryStatusReasons at the given index.
-
setPrimaryStatusReasons
public CampaignAsset.Builder setPrimaryStatusReasons(int index, AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason value) Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The primaryStatusReasons to set.- Returns:
- This builder for chaining.
-
addPrimaryStatusReasons
public CampaignAsset.Builder addPrimaryStatusReasons(AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason value) Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
addAllPrimaryStatusReasons
public CampaignAsset.Builder addAllPrimaryStatusReasons(Iterable<? extends AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason> values) Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
clearPrimaryStatusReasons
Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPrimaryStatusReasonsValueList
Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValueListin interfaceCampaignAssetOrBuilder- Returns:
- A list containing the enum numeric values on the wire for primaryStatusReasons.
-
getPrimaryStatusReasonsValue
public int getPrimaryStatusReasonsValue(int index) Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValuein interfaceCampaignAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of primaryStatusReasons at the given index.
-
setPrimaryStatusReasonsValue
Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for primaryStatusReasons to set.- Returns:
- This builder for chaining.
-
addPrimaryStatusReasonsValue
Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
addAllPrimaryStatusReasonsValue
Output only. Provides a list of reasons for why an asset is not serving or not serving at full capacity.
repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The enum numeric values on the wire for primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CampaignAsset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
-
mergeUnknownFields
public final CampaignAsset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
-