Interface DatabaseEncryptionOrBuilder (2.11.0)

public interface DatabaseEncryptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyName()

public abstract 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
TypeDescription
String

The keyName.

getKeyNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for keyName.

getState()

public abstract DatabaseEncryption.State getState()

Denotes the state of etcd encryption.

.google.container.v1.DatabaseEncryption.State state = 2;

Returns
TypeDescription
DatabaseEncryption.State

The state.

getStateValue()

public abstract int getStateValue()

Denotes the state of etcd encryption.

.google.container.v1.DatabaseEncryption.State state = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for state.