Interface DatabaseEncryptionOrBuilder (2.44.0)

public interface DatabaseEncryptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCurrentState()

public abstract DatabaseEncryption.CurrentState getCurrentState()

Output only. The current state of etcd encryption.

optional .google.container.v1.DatabaseEncryption.CurrentState current_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DatabaseEncryption.CurrentState

The currentState.

getCurrentStateValue()

public abstract int getCurrentStateValue()

Output only. The current state of etcd encryption.

optional .google.container.v1.DatabaseEncryption.CurrentState current_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for currentState.

getDecryptionKeys(int index)

public abstract String getDecryptionKeys(int index)

Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in key_name.

Each item is a CloudKMS key resource.

repeated string decryption_keys = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The decryptionKeys at the given index.

getDecryptionKeysBytes(int index)

public abstract ByteString getDecryptionKeysBytes(int index)

Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in key_name.

Each item is a CloudKMS key resource.

repeated string decryption_keys = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the decryptionKeys at the given index.

getDecryptionKeysCount()

public abstract int getDecryptionKeysCount()

Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in key_name.

Each item is a CloudKMS key resource.

repeated string decryption_keys = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of decryptionKeys.

getDecryptionKeysList()

public abstract List<String> getDecryptionKeysList()

Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in key_name.

Each item is a CloudKMS key resource.

repeated string decryption_keys = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<String>

A list containing the decryptionKeys.

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.

getLastOperationErrors(int index)

public abstract DatabaseEncryption.OperationError getLastOperationErrors(int index)

Output only. Records errors seen during DatabaseEncryption update operations.

repeated .google.container.v1.DatabaseEncryption.OperationError last_operation_errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseEncryption.OperationError

getLastOperationErrorsCount()

public abstract int getLastOperationErrorsCount()

Output only. Records errors seen during DatabaseEncryption update operations.

repeated .google.container.v1.DatabaseEncryption.OperationError last_operation_errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getLastOperationErrorsList()

public abstract List<DatabaseEncryption.OperationError> getLastOperationErrorsList()

Output only. Records errors seen during DatabaseEncryption update operations.

repeated .google.container.v1.DatabaseEncryption.OperationError last_operation_errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<OperationError>

getLastOperationErrorsOrBuilder(int index)

public abstract DatabaseEncryption.OperationErrorOrBuilder getLastOperationErrorsOrBuilder(int index)

Output only. Records errors seen during DatabaseEncryption update operations.

repeated .google.container.v1.DatabaseEncryption.OperationError last_operation_errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseEncryption.OperationErrorOrBuilder

getLastOperationErrorsOrBuilderList()

public abstract List<? extends DatabaseEncryption.OperationErrorOrBuilder> getLastOperationErrorsOrBuilderList()

Output only. Records errors seen during DatabaseEncryption update operations.

repeated .google.container.v1.DatabaseEncryption.OperationError last_operation_errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.container.v1.DatabaseEncryption.OperationErrorOrBuilder>

getState()

public abstract DatabaseEncryption.State getState()

The desired state of etcd encryption.

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

Returns
TypeDescription
DatabaseEncryption.State

The state.

getStateValue()

public abstract int getStateValue()

The desired state of etcd encryption.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasCurrentState()

public abstract boolean hasCurrentState()

Output only. The current state of etcd encryption.

optional .google.container.v1.DatabaseEncryption.CurrentState current_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the currentState field is set.