Interface CryptoKeyConfigOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The name of the key which is used to encrypt/decrypt customer data.
    com.google.protobuf.ByteString
    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 Details

    • 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.