Interface EncryptionKeyOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    int
    Optional.

    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

    • getProviderValue

      int getProviderValue()
       Optional. The provider of the encryption key.
       
      .google.cloud.oracledatabase.v1.EncryptionKey.Provider provider = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for provider.
    • getProvider

      EncryptionKey.Provider getProvider()
       Optional. The provider of the encryption key.
       
      .google.cloud.oracledatabase.v1.EncryptionKey.Provider provider = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The provider.
    • getKmsKey

      String getKmsKey()
       Optional. The KMS key used to encrypt the Autonomous Database.
       This field is required if the provider is GOOGLE_MANAGED.
       The name of the KMS key resource in the following format:
       `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
       
      string kms_key = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The kmsKey.
    • getKmsKeyBytes

      com.google.protobuf.ByteString getKmsKeyBytes()
       Optional. The KMS key used to encrypt the Autonomous Database.
       This field is required if the provider is GOOGLE_MANAGED.
       The name of the KMS key resource in the following format:
       `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
       
      string kms_key = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for kmsKey.