Package com.google.container.v1
Interface DatabaseEncryptionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DatabaseEncryption,DatabaseEncryption.Builder
@Generated
public interface DatabaseEncryptionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.intOutput only.getDecryptionKeys(int index) Output only.com.google.protobuf.ByteStringgetDecryptionKeysBytes(int index) Output only.intOutput only.Output only.Name of CloudKMS key to use for the encryption of secrets in etcd.com.google.protobuf.ByteStringName of CloudKMS key to use for the encryption of secrets in etcd.getLastOperationErrors(int index) Output only.intOutput only.Output only.getLastOperationErrorsOrBuilder(int index) Output only.List<? extends DatabaseEncryption.OperationErrorOrBuilder>Output only.getState()The desired state of etcd encryption.intThe desired state of etcd encryption.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.v1.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.v1.DatabaseEncryption.State state = 2;- Returns:
- The state.
-
hasCurrentState
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:
- Whether the currentState field is set.
-
getCurrentStateValue
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:
- The enum numeric value on the wire for currentState.
-
getCurrentState
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:
- The currentState.
-
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:
- A list containing the decryptionKeys.
-
getDecryptionKeysCount
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:
- The count of decryptionKeys.
-
getDecryptionKeys
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];- Parameters:
index- The index of the element to return.- Returns:
- The decryptionKeys at the given index.
-
getDecryptionKeysBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the decryptionKeys at the given index.
-
getLastOperationErrorsList
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]; -
getLastOperationErrors
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]; -
getLastOperationErrorsCount
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]; -
getLastOperationErrorsOrBuilderList
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]; -
getLastOperationErrorsOrBuilder
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];
-