Package com.google.cloud.compute.v1
Interface SignedUrlKeyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SignedUrlKey,SignedUrlKey.Builder
@Generated
public interface SignedUrlKeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionName of the key.com.google.protobuf.ByteStringName of the key.128-bit key value used for signing the URL.com.google.protobuf.ByteString128-bit key value used for signing the URL.booleanName of the key.boolean128-bit key value used for signing the URL.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasKeyName
boolean hasKeyName()Name of the key. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
- Whether the keyName field is set.
-
getKeyName
String getKeyName()Name of the key. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
- The keyName.
-
getKeyNameBytes
com.google.protobuf.ByteString getKeyNameBytes()Name of the key. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
- The bytes for keyName.
-
hasKeyValue
boolean hasKeyValue()128-bit key value used for signing the URL. The key value must be a validRFC 4648 Section 5 base64url encoded string.
optional string key_value = 504106897;- Returns:
- Whether the keyValue field is set.
-
getKeyValue
String getKeyValue()128-bit key value used for signing the URL. The key value must be a validRFC 4648 Section 5 base64url encoded string.
optional string key_value = 504106897;- Returns:
- The keyValue.
-
getKeyValueBytes
com.google.protobuf.ByteString getKeyValueBytes()128-bit key value used for signing the URL. The key value must be a validRFC 4648 Section 5 base64url encoded string.
optional string key_value = 504106897;- Returns:
- The bytes for keyValue.
-