Interface SignedUrlKeyOrBuilder (1.12.1)

public interface SignedUrlKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyName()

public abstract String getKeyName()

Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string key_name = 500938859;

Returns
TypeDescription
String

The keyName.

getKeyNameBytes()

public abstract ByteString getKeyNameBytes()

Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string key_name = 500938859;

Returns
TypeDescription
ByteString

The bytes for keyName.

getKeyValue()

public abstract String getKeyValue()

128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string.

optional string key_value = 504106897;

Returns
TypeDescription
String

The keyValue.

getKeyValueBytes()

public abstract ByteString getKeyValueBytes()

128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string.

optional string key_value = 504106897;

Returns
TypeDescription
ByteString

The bytes for keyValue.

hasKeyName()

public abstract boolean hasKeyName()

Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string key_name = 500938859;

Returns
TypeDescription
boolean

Whether the keyName field is set.

hasKeyValue()

public abstract boolean hasKeyValue()

128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string.

optional string key_value = 504106897;

Returns
TypeDescription
boolean

Whether the keyValue field is set.