Class AdGroupAsset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAsset.Builder>
-
- com.google.ads.googleads.v14.resources.AdGroupAsset.Builder
-
- All Implemented Interfaces:
AdGroupAssetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- AdGroupAsset
public static final class AdGroupAsset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAsset.Builder> implements AdGroupAssetOrBuilder
A link between an ad group and an asset.
Protobuf typegoogle.ads.googleads.v14.resources.AdGroupAsset
-
-
Method Summary
-
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<AdGroupAsset.Builder>
-
clear
public AdGroupAsset.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<AdGroupAsset.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<AdGroupAsset.Builder>
-
getDefaultInstanceForType
public AdGroupAsset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AdGroupAsset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AdGroupAsset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AdGroupAsset.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<AdGroupAsset.Builder>
-
setField
public AdGroupAsset.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<AdGroupAsset.Builder>
-
clearField
public AdGroupAsset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAsset.Builder>
-
clearOneof
public AdGroupAsset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAsset.Builder>
-
setRepeatedField
public AdGroupAsset.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<AdGroupAsset.Builder>
-
addRepeatedField
public AdGroupAsset.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<AdGroupAsset.Builder>
-
mergeFrom
public AdGroupAsset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdGroupAsset.Builder>
-
mergeFrom
public AdGroupAsset.Builder mergeFrom(AdGroupAsset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAsset.Builder>
-
mergeFrom
public AdGroupAsset.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<AdGroupAsset.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the ad group asset. AdGroupAsset resource names have the form: `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAdGroupAssetOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the ad group asset. AdGroupAsset resource names have the form: `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAdGroupAssetOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public AdGroupAsset.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the ad group asset. AdGroupAsset resource names have the form: `customers/{customer_id}/adGroupAssets/{ad_group_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
public AdGroupAsset.Builder clearResourceName()
Immutable. The resource name of the ad group asset. AdGroupAsset resource names have the form: `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public AdGroupAsset.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the ad group asset. AdGroupAsset resource names have the form: `customers/{customer_id}/adGroupAssets/{ad_group_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.
-
getAdGroup
public java.lang.String getAdGroup()
Required. Immutable. The ad group to which the asset is linked.
string ad_group = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupin interfaceAdGroupAssetOrBuilder- Returns:
- The adGroup.
-
getAdGroupBytes
public com.google.protobuf.ByteString getAdGroupBytes()
Required. Immutable. The ad group to which the asset is linked.
string ad_group = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupBytesin interfaceAdGroupAssetOrBuilder- Returns:
- The bytes for adGroup.
-
setAdGroup
public AdGroupAsset.Builder setAdGroup(java.lang.String value)
Required. Immutable. The ad group to which the asset is linked.
string ad_group = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The adGroup to set.- Returns:
- This builder for chaining.
-
clearAdGroup
public AdGroupAsset.Builder clearAdGroup()
Required. Immutable. The ad group to which the asset is linked.
string ad_group = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAdGroupBytes
public AdGroupAsset.Builder setAdGroupBytes(com.google.protobuf.ByteString value)
Required. Immutable. The ad group to which the asset is linked.
string ad_group = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for adGroup to set.- Returns:
- This builder for chaining.
-
getAsset
public java.lang.String getAsset()
Required. Immutable. The asset which is linked to the ad group.
string asset = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetin interfaceAdGroupAssetOrBuilder- Returns:
- The asset.
-
getAssetBytes
public com.google.protobuf.ByteString getAssetBytes()
Required. Immutable. The asset which is linked to the ad group.
string asset = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetBytesin interfaceAdGroupAssetOrBuilder- Returns:
- The bytes for asset.
-
setAsset
public AdGroupAsset.Builder setAsset(java.lang.String value)
Required. Immutable. The asset which is linked to the ad group.
string asset = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The asset to set.- Returns:
- This builder for chaining.
-
clearAsset
public AdGroupAsset.Builder clearAsset()
Required. Immutable. The asset which is linked to the ad group.
string asset = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAssetBytes
public AdGroupAsset.Builder setAssetBytes(com.google.protobuf.ByteString value)
Required. Immutable. The asset which is linked to the ad group.
string asset = 3 [(.google.api.field_behavior) = REQUIRED, (.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()
Required. Immutable. Role that the asset takes under the linked ad group.
.google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getFieldTypeValuein interfaceAdGroupAssetOrBuilder- Returns:
- The enum numeric value on the wire for fieldType.
-
setFieldTypeValue
public AdGroupAsset.Builder setFieldTypeValue(int value)
Required. Immutable. Role that the asset takes under the linked ad group.
.google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for fieldType to set.- Returns:
- This builder for chaining.
-
getFieldType
public AssetFieldTypeEnum.AssetFieldType getFieldType()
Required. Immutable. Role that the asset takes under the linked ad group.
.google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getFieldTypein interfaceAdGroupAssetOrBuilder- Returns:
- The fieldType.
-
setFieldType
public AdGroupAsset.Builder setFieldType(AssetFieldTypeEnum.AssetFieldType value)
Required. Immutable. Role that the asset takes under the linked ad group.
.google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The fieldType to set.- Returns:
- This builder for chaining.
-
clearFieldType
public AdGroupAsset.Builder clearFieldType()
Required. Immutable. Role that the asset takes under the linked ad group.
.google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
getSourceValue
public int getSourceValue()
Output only. Source of the adgroup asset link.
.google.ads.googleads.v14.enums.AssetSourceEnum.AssetSource source = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceValuein interfaceAdGroupAssetOrBuilder- Returns:
- The enum numeric value on the wire for source.
-
setSourceValue
public AdGroupAsset.Builder setSourceValue(int value)
Output only. Source of the adgroup asset link.
.google.ads.googleads.v14.enums.AssetSourceEnum.AssetSource source = 6 [(.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
public AssetSourceEnum.AssetSource getSource()
Output only. Source of the adgroup asset link.
.google.ads.googleads.v14.enums.AssetSourceEnum.AssetSource source = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourcein interfaceAdGroupAssetOrBuilder- Returns:
- The source.
-
setSource
public AdGroupAsset.Builder setSource(AssetSourceEnum.AssetSource value)
Output only. Source of the adgroup asset link.
.google.ads.googleads.v14.enums.AssetSourceEnum.AssetSource source = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
public AdGroupAsset.Builder clearSource()
Output only. Source of the adgroup asset link.
.google.ads.googleads.v14.enums.AssetSourceEnum.AssetSource source = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
Status of the ad group asset.
.google.ads.googleads.v14.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Specified by:
getStatusValuein interfaceAdGroupAssetOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public AdGroupAsset.Builder setStatusValue(int value)
Status of the ad group asset.
.google.ads.googleads.v14.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public AssetLinkStatusEnum.AssetLinkStatus getStatus()
Status of the ad group asset.
.google.ads.googleads.v14.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Specified by:
getStatusin interfaceAdGroupAssetOrBuilder- Returns:
- The status.
-
setStatus
public AdGroupAsset.Builder setStatus(AssetLinkStatusEnum.AssetLinkStatus value)
Status of the ad group asset.
.google.ads.googleads.v14.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public AdGroupAsset.Builder clearStatus()
Status of the ad group asset.
.google.ads.googleads.v14.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.v14.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusValuein interfaceAdGroupAssetOrBuilder- Returns:
- The enum numeric value on the wire for primaryStatus.
-
setPrimaryStatusValue
public AdGroupAsset.Builder setPrimaryStatusValue(int 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.v14.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 7 [(.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
public AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus 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.v14.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusin interfaceAdGroupAssetOrBuilder- Returns:
- The primaryStatus.
-
setPrimaryStatus
public AdGroupAsset.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.v14.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The primaryStatus to set.- Returns:
- This builder for chaining.
-
clearPrimaryStatus
public AdGroupAsset.Builder 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.v14.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPrimaryStatusDetailsList
public java.util.List<AssetLinkPrimaryStatusDetails> getPrimaryStatusDetailsList()
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsListin interfaceAdGroupAssetOrBuilder
-
getPrimaryStatusDetailsCount
public int getPrimaryStatusDetailsCount()
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsCountin interfaceAdGroupAssetOrBuilder
-
getPrimaryStatusDetails
public AssetLinkPrimaryStatusDetails getPrimaryStatusDetails(int index)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsin interfaceAdGroupAssetOrBuilder
-
setPrimaryStatusDetails
public AdGroupAsset.Builder setPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails value)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setPrimaryStatusDetails
public AdGroupAsset.Builder setPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails.Builder builderForValue)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPrimaryStatusDetails
public AdGroupAsset.Builder addPrimaryStatusDetails(AssetLinkPrimaryStatusDetails value)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPrimaryStatusDetails
public AdGroupAsset.Builder addPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails value)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPrimaryStatusDetails
public AdGroupAsset.Builder addPrimaryStatusDetails(AssetLinkPrimaryStatusDetails.Builder builderForValue)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPrimaryStatusDetails
public AdGroupAsset.Builder addPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails.Builder builderForValue)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllPrimaryStatusDetails
public AdGroupAsset.Builder addAllPrimaryStatusDetails(java.lang.Iterable<? extends AssetLinkPrimaryStatusDetails> values)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearPrimaryStatusDetails
public AdGroupAsset.Builder clearPrimaryStatusDetails()
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removePrimaryStatusDetails
public AdGroupAsset.Builder removePrimaryStatusDetails(int index)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPrimaryStatusDetailsBuilder
public AssetLinkPrimaryStatusDetails.Builder getPrimaryStatusDetailsBuilder(int index)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPrimaryStatusDetailsOrBuilder
public AssetLinkPrimaryStatusDetailsOrBuilder getPrimaryStatusDetailsOrBuilder(int index)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsOrBuilderin interfaceAdGroupAssetOrBuilder
-
getPrimaryStatusDetailsOrBuilderList
public java.util.List<? extends AssetLinkPrimaryStatusDetailsOrBuilder> getPrimaryStatusDetailsOrBuilderList()
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusDetailsOrBuilderListin interfaceAdGroupAssetOrBuilder
-
addPrimaryStatusDetailsBuilder
public AssetLinkPrimaryStatusDetails.Builder addPrimaryStatusDetailsBuilder()
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPrimaryStatusDetailsBuilder
public AssetLinkPrimaryStatusDetails.Builder addPrimaryStatusDetailsBuilder(int index)
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPrimaryStatusDetailsBuilderList
public java.util.List<AssetLinkPrimaryStatusDetails.Builder> getPrimaryStatusDetailsBuilderList()
Output only. Provides the details of the primary status and its associated reasons.
repeated .google.ads.googleads.v14.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPrimaryStatusReasonsList
public java.util.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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsListin interfaceAdGroupAssetOrBuilder- 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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsCountin interfaceAdGroupAssetOrBuilder- 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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsin interfaceAdGroupAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The primaryStatusReasons at the given index.
-
setPrimaryStatusReasons
public AdGroupAsset.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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.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 AdGroupAsset.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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
addAllPrimaryStatusReasons
public AdGroupAsset.Builder addAllPrimaryStatusReasons(java.lang.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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
clearPrimaryStatusReasons
public AdGroupAsset.Builder 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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPrimaryStatusReasonsValueList
public java.util.List<java.lang.Integer> 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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValueListin interfaceAdGroupAssetOrBuilder- 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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValuein interfaceAdGroupAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of primaryStatusReasons at the given index.
-
setPrimaryStatusReasonsValue
public AdGroupAsset.Builder setPrimaryStatusReasonsValue(int index, int 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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.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
public AdGroupAsset.Builder addPrimaryStatusReasonsValue(int 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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.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
public AdGroupAsset.Builder addAllPrimaryStatusReasonsValue(java.lang.Iterable<java.lang.Integer> 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.v14.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.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 AdGroupAsset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAsset.Builder>
-
mergeUnknownFields
public final AdGroupAsset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAsset.Builder>
-
-