Interface EncryptionInfoOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.rpc.Status
    Output only.
    com.google.rpc.StatusOrBuilder
    Output only.
    Output only.
    int
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.

    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

    • getEncryptionTypeValue

      int getEncryptionTypeValue()
       Output only. The type of encryption.
       
      .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for encryptionType.
    • getEncryptionType

      EncryptionInfo.Type getEncryptionType()
       Output only. The type of encryption.
       
      .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The encryptionType.
    • hasEncryptionStatus

      boolean hasEncryptionStatus()
       Output only. If present, the status of a recent encrypt/decrypt call on
       underlying data for this database or backup. Regardless of status, data is
       always encrypted at rest.
       
      .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the encryptionStatus field is set.
    • getEncryptionStatus

      com.google.rpc.Status getEncryptionStatus()
       Output only. If present, the status of a recent encrypt/decrypt call on
       underlying data for this database or backup. Regardless of status, data is
       always encrypted at rest.
       
      .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The encryptionStatus.
    • getEncryptionStatusOrBuilder

      com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder()
       Output only. If present, the status of a recent encrypt/decrypt call on
       underlying data for this database or backup. Regardless of status, data is
       always encrypted at rest.
       
      .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getKmsKeyVersion

      String getKmsKeyVersion()
       Output only. A Cloud KMS key version that is being used to protect the
       database or backup.
       
      string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The kmsKeyVersion.
    • getKmsKeyVersionBytes

      com.google.protobuf.ByteString getKmsKeyVersionBytes()
       Output only. A Cloud KMS key version that is being used to protect the
       database or backup.
       
      string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for kmsKeyVersion.