Interface SignedUrlKeyOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SignedUrlKey, SignedUrlKey.Builder

    public interface SignedUrlKeyOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getKeyName()
      Name of the key.
      com.google.protobuf.ByteString getKeyNameBytes()
      Name of the key.
      String getKeyValue()
      128-bit key value used for signing the URL.
      com.google.protobuf.ByteString getKeyValueBytes()
      128-bit key value used for signing the URL.
      boolean hasKeyName()
      Name of the key.
      boolean hasKeyValue()
      128-bit key value used for signing the URL.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasKeyName

        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]([-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 with RFC1035. 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 with RFC1035. 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 valid RFC 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 valid RFC 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 valid RFC 4648 Section 5 base64url encoded string.
         
        optional string key_value = 504106897;
        Returns:
        The bytes for keyValue.