Class SourceContentConfig (0.54.0)

public final class SourceContentConfig extends GeneratedMessage 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 Fields

DEFAULT_DELIVERY_SETTINGS_FIELD_NUMBER

public static final int DEFAULT_DELIVERY_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

INGEST_SETTINGS_FIELD_NUMBER

public static final int INGEST_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SourceContentConfig getDefaultInstance()
Returns
Type Description
SourceContentConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SourceContentConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.

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

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 SourceContentConfig.Builder newBuilderForType()
Returns
Type Description
SourceContentConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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