Interface DatabaseEncryptionOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getKeyName()
      Name of CloudKMS key to use for the encryption of secrets in etcd.
      com.google.protobuf.ByteString getKeyNameBytes()
      Name of CloudKMS key to use for the encryption of secrets in etcd.
      DatabaseEncryption.State getState()
      The desired state of etcd encryption.
      int getStateValue()
      The desired state of etcd encryption.
      • 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

      • getKeyName

        String getKeyName()
         Name of CloudKMS key to use for the encryption of secrets in etcd.
         Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
         
        string key_name = 1;
        Returns:
        The keyName.
      • getKeyNameBytes

        com.google.protobuf.ByteString getKeyNameBytes()
         Name of CloudKMS key to use for the encryption of secrets in etcd.
         Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
         
        string key_name = 1;
        Returns:
        The bytes for keyName.
      • getStateValue

        int getStateValue()
         The desired state of etcd encryption.
         
        .google.container.v1beta1.DatabaseEncryption.State state = 2;
        Returns:
        The enum numeric value on the wire for state.
      • getState

        DatabaseEncryption.State getState()
         The desired state of etcd encryption.
         
        .google.container.v1beta1.DatabaseEncryption.State state = 2;
        Returns:
        The state.