Class SourceContentConfig.Builder (0.54.0)

public static final class SourceContentConfig.Builder extends GeneratedMessage.Builder<SourceContentConfig.Builder> implements SourceContentConfigOrBuilder

Parameters about this CDN config as a source of content. This facilitates fetching the original content for conditioning and delivering the original content as part of a modified stream.

Protobuf type google.ads.admanager.v1.SourceContentConfig

Static Methods

getDescriptor()

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

Methods

build()

public SourceContentConfig build()
Returns
Type Description
SourceContentConfig

buildPartial()

public SourceContentConfig buildPartial()
Returns
Type Description
SourceContentConfig

clear()

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

clearDefaultDeliverySettings()

public SourceContentConfig.Builder clearDefaultDeliverySettings()

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceContentConfig.Builder

clearIngestSettings()

public SourceContentConfig.Builder clearIngestSettings()

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceContentConfig.Builder

getDefaultDeliverySettings()

public MediaLocation getDefaultDeliverySettings()

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MediaLocation

The defaultDeliverySettings.

getDefaultDeliverySettingsBuilder()

public MediaLocation.Builder getDefaultDeliverySettingsBuilder()

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MediaLocation.Builder

getDefaultDeliverySettingsOrBuilder()

public MediaLocationOrBuilder getDefaultDeliverySettingsOrBuilder()

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MediaLocationOrBuilder

getDefaultInstanceForType()

public SourceContentConfig getDefaultInstanceForType()
Returns
Type Description
SourceContentConfig

getDescriptorForType()

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

getIngestSettings()

public MediaLocation getIngestSettings()

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MediaLocation

The ingestSettings.

getIngestSettingsBuilder()

public MediaLocation.Builder getIngestSettingsBuilder()

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MediaLocation.Builder

getIngestSettingsOrBuilder()

public MediaLocationOrBuilder getIngestSettingsOrBuilder()

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MediaLocationOrBuilder

hasDefaultDeliverySettings()

public boolean hasDefaultDeliverySettings()

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the defaultDeliverySettings field is set.

hasIngestSettings()

public boolean hasIngestSettings()

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the ingestSettings field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDefaultDeliverySettings(MediaLocation value)

public SourceContentConfig.Builder mergeDefaultDeliverySettings(MediaLocation value)

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MediaLocation
Returns
Type Description
SourceContentConfig.Builder

mergeFrom(SourceContentConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIngestSettings(MediaLocation value)

public SourceContentConfig.Builder mergeIngestSettings(MediaLocation value)

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MediaLocation
Returns
Type Description
SourceContentConfig.Builder

setDefaultDeliverySettings(MediaLocation value)

public SourceContentConfig.Builder setDefaultDeliverySettings(MediaLocation value)

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MediaLocation
Returns
Type Description
SourceContentConfig.Builder

setDefaultDeliverySettings(MediaLocation.Builder builderForValue)

public SourceContentConfig.Builder setDefaultDeliverySettings(MediaLocation.Builder builderForValue)

Required. Default config for how DAI should deliver the non-modified media segments. At delivery time, we replace the ingest location's URL prefix with the delivery location's URL prefix and use the security policy from the delivery settings to determine how DAI needs to deliver the media so that users can access it. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED];

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

setIngestSettings(MediaLocation value)

public SourceContentConfig.Builder setIngestSettings(MediaLocation value)

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MediaLocation
Returns
Type Description
SourceContentConfig.Builder

setIngestSettings(MediaLocation.Builder builderForValue)

public SourceContentConfig.Builder setIngestSettings(MediaLocation.Builder builderForValue)

Required. Config for how DAI should ingest media. At ingest time, we match the URL prefix of media in a stream's playlist with an ingest location and use the authentication credentials from the corresponding ingest settings to download the media. This value is required for a valid source content config.

.google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED];

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