public static final class CdnConfig.Builder extends GeneratedMessage.Builder<CdnConfig.Builder> implements CdnConfigOrBuilderA CdnConfig encapsulates information about where and how to ingest and deliver content enabled for DAI (Dynamic Ad Insertion).
Protobuf type google.ads.admanager.v1.CdnConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CdnConfig.BuilderImplements
CdnConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CdnConfig build()| Returns | |
|---|---|
| Type | Description |
CdnConfig |
|
buildPartial()
public CdnConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
CdnConfig |
|
clear()
public CdnConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
clearAdMediaDeliveryConfig()
public CdnConfig.Builder clearAdMediaDeliveryConfig()Optional. Config of CDN to deliver ad media.
.google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
clearCdnConfigStatus()
public CdnConfig.Builder clearCdnConfigStatus()Output only. The status of the CDN config.
optional .google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus cdn_config_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
clearCdnConfigType()
public CdnConfig.Builder clearCdnConfigType()Required. The type of CDN config represented by this CdnConfig.
optional .google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType cdn_config_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
clearDisplayName()
public CdnConfig.Builder clearDisplayName()Required. The name of the CdnConfig. This value is required to create a CDN config and has a maximum length of 255 characters.
optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
clearName()
public CdnConfig.Builder clearName() Identifier. The resource name of the CdnConfig.
Format: networks/{network_code}/cdnConfigs/{cdn_config_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
clearSourceContentConfig()
public CdnConfig.Builder clearSourceContentConfig()Optional. 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.
.google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
getAdMediaDeliveryConfig()
public AdMediaDeliveryConfig getAdMediaDeliveryConfig()Optional. Config of CDN to deliver ad media.
.google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdMediaDeliveryConfig |
The adMediaDeliveryConfig. |
getAdMediaDeliveryConfigBuilder()
public AdMediaDeliveryConfig.Builder getAdMediaDeliveryConfigBuilder()Optional. Config of CDN to deliver ad media.
.google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdMediaDeliveryConfig.Builder |
|
getAdMediaDeliveryConfigOrBuilder()
public AdMediaDeliveryConfigOrBuilder getAdMediaDeliveryConfigOrBuilder()Optional. Config of CDN to deliver ad media.
.google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdMediaDeliveryConfigOrBuilder |
|
getCdnConfigStatus()
public CdnConfigStatusEnum.CdnConfigStatus getCdnConfigStatus()Output only. The status of the CDN config.
optional .google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus cdn_config_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CdnConfigStatusEnum.CdnConfigStatus |
The cdnConfigStatus. |
getCdnConfigStatusValue()
public int getCdnConfigStatusValue()Output only. The status of the CDN config.
optional .google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus cdn_config_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for cdnConfigStatus. |
getCdnConfigType()
public CdnConfigTypeEnum.CdnConfigType getCdnConfigType()Required. The type of CDN config represented by this CdnConfig.
optional .google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType cdn_config_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CdnConfigTypeEnum.CdnConfigType |
The cdnConfigType. |
getCdnConfigTypeValue()
public int getCdnConfigTypeValue()Required. The type of CDN config represented by this CdnConfig.
optional .google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType cdn_config_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for cdnConfigType. |
getDefaultInstanceForType()
public CdnConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CdnConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Required. The name of the CdnConfig. This value is required to create a CDN config and has a maximum length of 255 characters.
optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. The name of the CdnConfig. This value is required to create a CDN config and has a maximum length of 255 characters.
optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName() Identifier. The resource name of the CdnConfig.
Format: networks/{network_code}/cdnConfigs/{cdn_config_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the CdnConfig.
Format: networks/{network_code}/cdnConfigs/{cdn_config_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSourceContentConfig()
public SourceContentConfig getSourceContentConfig()Optional. 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.
.google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceContentConfig |
The sourceContentConfig. |
getSourceContentConfigBuilder()
public SourceContentConfig.Builder getSourceContentConfigBuilder()Optional. 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.
.google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceContentConfig.Builder |
|
getSourceContentConfigOrBuilder()
public SourceContentConfigOrBuilder getSourceContentConfigOrBuilder()Optional. 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.
.google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceContentConfigOrBuilder |
|
hasAdMediaDeliveryConfig()
public boolean hasAdMediaDeliveryConfig()Optional. Config of CDN to deliver ad media.
.google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adMediaDeliveryConfig field is set. |
hasCdnConfigStatus()
public boolean hasCdnConfigStatus()Output only. The status of the CDN config.
optional .google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus cdn_config_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cdnConfigStatus field is set. |
hasCdnConfigType()
public boolean hasCdnConfigType()Required. The type of CDN config represented by this CdnConfig.
optional .google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType cdn_config_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cdnConfigType field is set. |
hasDisplayName()
public boolean hasDisplayName()Required. The name of the CdnConfig. This value is required to create a CDN config and has a maximum length of 255 characters.
optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasSourceContentConfig()
public boolean hasSourceContentConfig()Optional. 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.
.google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceContentConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdMediaDeliveryConfig(AdMediaDeliveryConfig value)
public CdnConfig.Builder mergeAdMediaDeliveryConfig(AdMediaDeliveryConfig value)Optional. Config of CDN to deliver ad media.
.google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AdMediaDeliveryConfig |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
mergeFrom(CdnConfig other)
public CdnConfig.Builder mergeFrom(CdnConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
CdnConfig |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CdnConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CdnConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
mergeSourceContentConfig(SourceContentConfig value)
public CdnConfig.Builder mergeSourceContentConfig(SourceContentConfig value)Optional. 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.
.google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SourceContentConfig |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
setAdMediaDeliveryConfig(AdMediaDeliveryConfig value)
public CdnConfig.Builder setAdMediaDeliveryConfig(AdMediaDeliveryConfig value)Optional. Config of CDN to deliver ad media.
.google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AdMediaDeliveryConfig |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
setAdMediaDeliveryConfig(AdMediaDeliveryConfig.Builder builderForValue)
public CdnConfig.Builder setAdMediaDeliveryConfig(AdMediaDeliveryConfig.Builder builderForValue)Optional. Config of CDN to deliver ad media.
.google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AdMediaDeliveryConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
setCdnConfigStatus(CdnConfigStatusEnum.CdnConfigStatus value)
public CdnConfig.Builder setCdnConfigStatus(CdnConfigStatusEnum.CdnConfigStatus value)Output only. The status of the CDN config.
optional .google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus cdn_config_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CdnConfigStatusEnum.CdnConfigStatusThe cdnConfigStatus to set. |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
setCdnConfigStatusValue(int value)
public CdnConfig.Builder setCdnConfigStatusValue(int value)Output only. The status of the CDN config.
optional .google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus cdn_config_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for cdnConfigStatus to set. |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
setCdnConfigType(CdnConfigTypeEnum.CdnConfigType value)
public CdnConfig.Builder setCdnConfigType(CdnConfigTypeEnum.CdnConfigType value)Required. The type of CDN config represented by this CdnConfig.
optional .google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType cdn_config_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CdnConfigTypeEnum.CdnConfigTypeThe cdnConfigType to set. |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
setCdnConfigTypeValue(int value)
public CdnConfig.Builder setCdnConfigTypeValue(int value)Required. The type of CDN config represented by this CdnConfig.
optional .google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType cdn_config_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for cdnConfigType to set. |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
setDisplayName(String value)
public CdnConfig.Builder setDisplayName(String value)Required. The name of the CdnConfig. This value is required to create a CDN config and has a maximum length of 255 characters.
optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public CdnConfig.Builder setDisplayNameBytes(ByteString value)Required. The name of the CdnConfig. This value is required to create a CDN config and has a maximum length of 255 characters.
optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
setName(String value)
public CdnConfig.Builder setName(String value) Identifier. The resource name of the CdnConfig.
Format: networks/{network_code}/cdnConfigs/{cdn_config_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public CdnConfig.Builder setNameBytes(ByteString value) Identifier. The resource name of the CdnConfig.
Format: networks/{network_code}/cdnConfigs/{cdn_config_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
This builder for chaining. |
setSourceContentConfig(SourceContentConfig value)
public CdnConfig.Builder setSourceContentConfig(SourceContentConfig value)Optional. 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.
.google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SourceContentConfig |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|
setSourceContentConfig(SourceContentConfig.Builder builderForValue)
public CdnConfig.Builder setSourceContentConfig(SourceContentConfig.Builder builderForValue)Optional. 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.
.google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SourceContentConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
CdnConfig.Builder |
|