Interface KmsConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    KmsConfig, KmsConfig.Builder

    public interface KmsConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Output only. Name of the KmsConfig.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. Name of the KmsConfig.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • getCryptoKeyName

        String getCryptoKeyName()
         Required. Customer managed crypto key resource full name. Format:
         projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
         
        string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The cryptoKeyName.
      • getCryptoKeyNameBytes

        com.google.protobuf.ByteString getCryptoKeyNameBytes()
         Required. Customer managed crypto key resource full name. Format:
         projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
         
        string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for cryptoKeyName.
      • getStateValue

        int getStateValue()
         Output only. State of the KmsConfig.
         
        .google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        KmsConfig.State getState()
         Output only. State of the KmsConfig.
         
        .google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • getStateDetails

        String getStateDetails()
         Output only. State details of the KmsConfig.
         
        string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The stateDetails.
      • getStateDetailsBytes

        com.google.protobuf.ByteString getStateDetailsBytes()
         Output only. State details of the KmsConfig.
         
        string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for stateDetails.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. Create time of the KmsConfig.
         
        .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. Create time of the KmsConfig.
         
        .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Create time of the KmsConfig.
         
        .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDescription

        String getDescription()
         Description of the KmsConfig.
         
        string description = 6;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Description of the KmsConfig.
         
        string description = 6;
        Returns:
        The bytes for description.
      • getLabelsCount

        int getLabelsCount()
         Labels as key value pairs
         
        map<string, string> labels = 7;
      • containsLabels

        boolean containsLabels​(String key)
         Labels as key value pairs
         
        map<string, string> labels = 7;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Labels as key value pairs
         
        map<string, string> labels = 7;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Labels as key value pairs
         
        map<string, string> labels = 7;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Labels as key value pairs
         
        map<string, string> labels = 7;
      • getInstructions

        String getInstructions()
         Output only. Instructions to provide the access to the customer provided
         encryption key.
         
        string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The instructions.
      • getInstructionsBytes

        com.google.protobuf.ByteString getInstructionsBytes()
         Output only. Instructions to provide the access to the customer provided
         encryption key.
         
        string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for instructions.
      • getServiceAccount

        String getServiceAccount()
         Output only. The Service account which will have access to the customer
         provided encryption key.
         
        string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        com.google.protobuf.ByteString getServiceAccountBytes()
         Output only. The Service account which will have access to the customer
         provided encryption key.
         
        string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for serviceAccount.