- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public interface DatabaseEncryptionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
DatabaseEncryption.State | The state. |
getStateValue()
public abstract int getStateValue()
The desired state of etcd encryption.
.google.container.v1.DatabaseEncryption.State state = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the currentState field is set. |