Class AdMediaDeliveryConfig.Builder (0.54.0)

public static final class AdMediaDeliveryConfig.Builder extends GeneratedMessage.Builder<AdMediaDeliveryConfig.Builder> implements AdMediaDeliveryConfigOrBuilder

Parameters about this CDN config of a CDN used for delivering ad media.

Protobuf type google.ads.admanager.v1.AdMediaDeliveryConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAdditionalDeliverySettings(MediaLocation value)

public AdMediaDeliveryConfig.Builder addAdditionalDeliverySettings(MediaLocation value)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MediaLocation
Returns
Type Description
AdMediaDeliveryConfig.Builder

addAdditionalDeliverySettings(MediaLocation.Builder builderForValue)

public AdMediaDeliveryConfig.Builder addAdditionalDeliverySettings(MediaLocation.Builder builderForValue)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue MediaLocation.Builder
Returns
Type Description
AdMediaDeliveryConfig.Builder

addAdditionalDeliverySettings(int index, MediaLocation value)

public AdMediaDeliveryConfig.Builder addAdditionalDeliverySettings(int index, MediaLocation value)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value MediaLocation
Returns
Type Description
AdMediaDeliveryConfig.Builder

addAdditionalDeliverySettings(int index, MediaLocation.Builder builderForValue)

public AdMediaDeliveryConfig.Builder addAdditionalDeliverySettings(int index, MediaLocation.Builder builderForValue)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue MediaLocation.Builder
Returns
Type Description
AdMediaDeliveryConfig.Builder

addAdditionalDeliverySettingsBuilder()

public MediaLocation.Builder addAdditionalDeliverySettingsBuilder()

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MediaLocation.Builder

addAdditionalDeliverySettingsBuilder(int index)

public MediaLocation.Builder addAdditionalDeliverySettingsBuilder(int index)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MediaLocation.Builder

addAllAdditionalDeliverySettings(Iterable<? extends MediaLocation> values)

public AdMediaDeliveryConfig.Builder addAllAdditionalDeliverySettings(Iterable<? extends MediaLocation> values)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.MediaLocation>
Returns
Type Description
AdMediaDeliveryConfig.Builder

build()

public AdMediaDeliveryConfig build()
Returns
Type Description
AdMediaDeliveryConfig

buildPartial()

public AdMediaDeliveryConfig buildPartial()
Returns
Type Description
AdMediaDeliveryConfig

clear()

public AdMediaDeliveryConfig.Builder clear()
Returns
Type Description
AdMediaDeliveryConfig.Builder
Overrides

clearAdditionalDeliverySettings()

public AdMediaDeliveryConfig.Builder clearAdditionalDeliverySettings()

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdMediaDeliveryConfig.Builder

clearDeliverySettings()

public AdMediaDeliveryConfig.Builder clearDeliverySettings()

Optional. Config for the delivery location that will override the default. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. Null if overrideDefaultDeliverySettings is false.

.google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdMediaDeliveryConfig.Builder

clearOverrideDefaultDeliverySettings()

public AdMediaDeliveryConfig.Builder clearOverrideDefaultDeliverySettings()

Optional. Whether to override the default delivery CDN. If false, deliverySettings must be null.

optional bool override_default_delivery_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdMediaDeliveryConfig.Builder

This builder for chaining.

getAdditionalDeliverySettings(int index)

public MediaLocation getAdditionalDeliverySettings(int index)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MediaLocation

getAdditionalDeliverySettingsBuilder(int index)

public MediaLocation.Builder getAdditionalDeliverySettingsBuilder(int index)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MediaLocation.Builder

getAdditionalDeliverySettingsBuilderList()

public List<MediaLocation.Builder> getAdditionalDeliverySettingsBuilderList()

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getAdditionalDeliverySettingsCount()

public int getAdditionalDeliverySettingsCount()

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdditionalDeliverySettingsList()

public List<MediaLocation> getAdditionalDeliverySettingsList()

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<MediaLocation>

getAdditionalDeliverySettingsOrBuilder(int index)

public MediaLocationOrBuilder getAdditionalDeliverySettingsOrBuilder(int index)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MediaLocationOrBuilder

getAdditionalDeliverySettingsOrBuilderList()

public List<? extends MediaLocationOrBuilder> getAdditionalDeliverySettingsOrBuilderList()

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.MediaLocationOrBuilder>

getDefaultInstanceForType()

public AdMediaDeliveryConfig getDefaultInstanceForType()
Returns
Type Description
AdMediaDeliveryConfig

getDeliverySettings()

public MediaLocation getDeliverySettings()

Optional. Config for the delivery location that will override the default. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. Null if overrideDefaultDeliverySettings is false.

.google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MediaLocation

The deliverySettings.

getDeliverySettingsBuilder()

public MediaLocation.Builder getDeliverySettingsBuilder()

Optional. Config for the delivery location that will override the default. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. Null if overrideDefaultDeliverySettings is false.

.google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MediaLocation.Builder

getDeliverySettingsOrBuilder()

public MediaLocationOrBuilder getDeliverySettingsOrBuilder()

Optional. Config for the delivery location that will override the default. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. Null if overrideDefaultDeliverySettings is false.

.google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MediaLocationOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOverrideDefaultDeliverySettings()

public boolean getOverrideDefaultDeliverySettings()

Optional. Whether to override the default delivery CDN. If false, deliverySettings must be null.

optional bool override_default_delivery_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The overrideDefaultDeliverySettings.

hasDeliverySettings()

public boolean hasDeliverySettings()

Optional. Config for the delivery location that will override the default. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. Null if overrideDefaultDeliverySettings is false.

.google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the deliverySettings field is set.

hasOverrideDefaultDeliverySettings()

public boolean hasOverrideDefaultDeliverySettings()

Optional. Whether to override the default delivery CDN. If false, deliverySettings must be null.

optional bool override_default_delivery_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the overrideDefaultDeliverySettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeliverySettings(MediaLocation value)

public AdMediaDeliveryConfig.Builder mergeDeliverySettings(MediaLocation value)

Optional. Config for the delivery location that will override the default. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. Null if overrideDefaultDeliverySettings is false.

.google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MediaLocation
Returns
Type Description
AdMediaDeliveryConfig.Builder

mergeFrom(AdMediaDeliveryConfig other)

public AdMediaDeliveryConfig.Builder mergeFrom(AdMediaDeliveryConfig other)
Parameter
Name Description
other AdMediaDeliveryConfig
Returns
Type Description
AdMediaDeliveryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AdMediaDeliveryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdMediaDeliveryConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AdMediaDeliveryConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AdMediaDeliveryConfig.Builder
Overrides

removeAdditionalDeliverySettings(int index)

public AdMediaDeliveryConfig.Builder removeAdditionalDeliverySettings(int index)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AdMediaDeliveryConfig.Builder

setAdditionalDeliverySettings(int index, MediaLocation value)

public AdMediaDeliveryConfig.Builder setAdditionalDeliverySettings(int index, MediaLocation value)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value MediaLocation
Returns
Type Description
AdMediaDeliveryConfig.Builder

setAdditionalDeliverySettings(int index, MediaLocation.Builder builderForValue)

public AdMediaDeliveryConfig.Builder setAdditionalDeliverySettings(int index, MediaLocation.Builder builderForValue)

Optional. List of additional delivery locations. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. In your stream create request, you can set the value of the dai-dlid parameter to the name of the MediaLocation you want to use.

repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue MediaLocation.Builder
Returns
Type Description
AdMediaDeliveryConfig.Builder

setDeliverySettings(MediaLocation value)

public AdMediaDeliveryConfig.Builder setDeliverySettings(MediaLocation value)

Optional. Config for the delivery location that will override the default. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. Null if overrideDefaultDeliverySettings is false.

.google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MediaLocation
Returns
Type Description
AdMediaDeliveryConfig.Builder

setDeliverySettings(MediaLocation.Builder builderForValue)

public AdMediaDeliveryConfig.Builder setDeliverySettings(MediaLocation.Builder builderForValue)

Optional. Config for the delivery location that will override the default. From MediaLocationDto, the URL prefix field represents the hostname of the external CDN and the security policy will be ignored. Null if overrideDefaultDeliverySettings is false.

.google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue MediaLocation.Builder
Returns
Type Description
AdMediaDeliveryConfig.Builder

setOverrideDefaultDeliverySettings(boolean value)

public AdMediaDeliveryConfig.Builder setOverrideDefaultDeliverySettings(boolean value)

Optional. Whether to override the default delivery CDN. If false, deliverySettings must be null.

optional bool override_default_delivery_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The overrideDefaultDeliverySettings to set.

Returns
Type Description
AdMediaDeliveryConfig.Builder

This builder for chaining.