Interface MediaLocationOrBuilder (0.54.0)

public interface MediaLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Output only. The name of the media location. This value is read-only and is assigned by Google.

optional string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Output only. The name of the media location. This value is read-only and is assigned by Google.

optional string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getSecurityPolicy()

public abstract CdnSecurityPolicy getSecurityPolicy()

Optional. The security policy and authentication credentials needed to access the content in this media location. Optional; if omitted, no security policy will be applied (indicating a public/unprotected location). Must NOT be configured for ad media delivery locations (doing so will trigger a validation error).

.google.ads.admanager.v1.CdnSecurityPolicy security_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CdnSecurityPolicy

The securityPolicy.

getSecurityPolicyOrBuilder()

public abstract CdnSecurityPolicyOrBuilder getSecurityPolicyOrBuilder()

Optional. The security policy and authentication credentials needed to access the content in this media location. Optional; if omitted, no security policy will be applied (indicating a public/unprotected location). Must NOT be configured for ad media delivery locations (doing so will trigger a validation error).

.google.ads.admanager.v1.CdnSecurityPolicy security_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CdnSecurityPolicyOrBuilder

getUrlPrefix()

public abstract String getUrlPrefix()

Required. The URL prefix of the media location. This value is required for a valid media location.

optional string url_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The urlPrefix.

getUrlPrefixBytes()

public abstract ByteString getUrlPrefixBytes()

Required. The URL prefix of the media location. This value is required for a valid media location.

optional string url_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for urlPrefix.

hasDisplayName()

public abstract boolean hasDisplayName()

Output only. The name of the media location. This value is read-only and is assigned by Google.

optional string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the displayName field is set.

hasSecurityPolicy()

public abstract boolean hasSecurityPolicy()

Optional. The security policy and authentication credentials needed to access the content in this media location. Optional; if omitted, no security policy will be applied (indicating a public/unprotected location). Must NOT be configured for ad media delivery locations (doing so will trigger a validation error).

.google.ads.admanager.v1.CdnSecurityPolicy security_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the securityPolicy field is set.

hasUrlPrefix()

public abstract boolean hasUrlPrefix()

Required. The URL prefix of the media location. This value is required for a valid media location.

optional string url_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the urlPrefix field is set.