Interface CryptoKeyConfigOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getKeyReference()
      The name of the key which is used to encrypt/decrypt customer data.
      com.google.protobuf.ByteString getKeyReferenceBytes()
      The name of the key which is used to encrypt/decrypt customer data.
      • 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

      • getKeyReference

        String getKeyReference()
         The name of the key which is used to encrypt/decrypt customer data. For key
         in Cloud KMS, the key should be in the format of
         `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
         
        string key_reference = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The keyReference.
      • getKeyReferenceBytes

        com.google.protobuf.ByteString getKeyReferenceBytes()
         The name of the key which is used to encrypt/decrypt customer data. For key
         in Cloud KMS, the key should be in the format of
         `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
         
        string key_reference = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for keyReference.