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 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

       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

       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

      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:
      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

      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];
      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

      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];
    • 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

      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];