Class AdMediaDeliveryConfig (0.54.0)

public final class AdMediaDeliveryConfig extends GeneratedMessage implements AdMediaDeliveryConfigOrBuilder

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

Protobuf type google.ads.admanager.v1.AdMediaDeliveryConfig

Static Fields

ADDITIONAL_DELIVERY_SETTINGS_FIELD_NUMBER

public static final int ADDITIONAL_DELIVERY_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

DELIVERY_SETTINGS_FIELD_NUMBER

public static final int DELIVERY_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

OVERRIDE_DEFAULT_DELIVERY_SETTINGS_FIELD_NUMBER

public static final int OVERRIDE_DEFAULT_DELIVERY_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AdMediaDeliveryConfig getDefaultInstance()
Returns
Type Description
AdMediaDeliveryConfig

getDescriptor()

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

newBuilder()

public static AdMediaDeliveryConfig.Builder newBuilder()
Returns
Type Description
AdMediaDeliveryConfig.Builder

newBuilder(AdMediaDeliveryConfig prototype)

public static AdMediaDeliveryConfig.Builder newBuilder(AdMediaDeliveryConfig prototype)
Parameter
Name Description
prototype AdMediaDeliveryConfig
Returns
Type Description
AdMediaDeliveryConfig.Builder

parseDelimitedFrom(InputStream input)

public static AdMediaDeliveryConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdMediaDeliveryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AdMediaDeliveryConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AdMediaDeliveryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AdMediaDeliveryConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AdMediaDeliveryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AdMediaDeliveryConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AdMediaDeliveryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AdMediaDeliveryConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdMediaDeliveryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AdMediaDeliveryConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AdMediaDeliveryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdMediaDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AdMediaDeliveryConfig> parser()
Returns
Type Description
Parser<AdMediaDeliveryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

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

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.

getParserForType()

public Parser<AdMediaDeliveryConfig> getParserForType()
Returns
Type Description
Parser<AdMediaDeliveryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AdMediaDeliveryConfig.Builder newBuilderForType()
Returns
Type Description
AdMediaDeliveryConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AdMediaDeliveryConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AdMediaDeliveryConfig.Builder
Overrides

toBuilder()

public AdMediaDeliveryConfig.Builder toBuilder()
Returns
Type Description
AdMediaDeliveryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException