Interface MediaCdnKeyOrBuilder (0.55.0)

public interface MediaCdnKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyName()

public abstract String getKeyName()

The keyset name of the Media CDN key.

string key_name = 2;

Returns
Type Description
String

The keyName.

getKeyNameBytes()

public abstract ByteString getKeyNameBytes()

The keyset name of the Media CDN key.

string key_name = 2;

Returns
Type Description
ByteString

The bytes for keyName.

getPrivateKey()

public abstract ByteString getPrivateKey()

Input only. 64-byte ed25519 private key for this Media CDN key.

bytes private_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The privateKey.

getTokenConfig()

public abstract MediaCdnKey.TokenConfig getTokenConfig()

Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature.

.google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig token_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MediaCdnKey.TokenConfig

The tokenConfig.

getTokenConfigOrBuilder()

public abstract MediaCdnKey.TokenConfigOrBuilder getTokenConfigOrBuilder()

Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature.

.google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig token_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MediaCdnKey.TokenConfigOrBuilder

hasTokenConfig()

public abstract boolean hasTokenConfig()

Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature.

.google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig token_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tokenConfig field is set.