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
    Required.
    com.google.protobuf.ByteString
    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 Details

    • getKeyReference

      String getKeyReference()
       Required. 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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The keyReference.
    • getKeyReferenceBytes

      com.google.protobuf.ByteString getKeyReferenceBytes()
       Required. 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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for keyReference.