Interface KmsWrappedCryptoKeyOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCryptoKeyName()
      Required.
      com.google.protobuf.ByteString getCryptoKeyNameBytes()
      Required.
      com.google.protobuf.ByteString getWrappedKey()
      Required.
      • 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

      • getWrappedKey

        com.google.protobuf.ByteString getWrappedKey()
         Required. The wrapped data crypto key.
         
        bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The wrappedKey.
      • getCryptoKeyName

        String getCryptoKeyName()
         Required. The resource name of the KMS CryptoKey to use for unwrapping.
         
        string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The cryptoKeyName.
      • getCryptoKeyNameBytes

        com.google.protobuf.ByteString getCryptoKeyNameBytes()
         Required. The resource name of the KMS CryptoKey to use for unwrapping.
         
        string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for cryptoKeyName.