/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/netapp/v1/kms.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.netapp.v1;
public interface KmsConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.netapp.v1.KmsConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Identifier. Name of the KmsConfig.
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Identifier. Name of the KmsConfig.
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* 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];
*
* @return The cryptoKeyName.
*/
java.lang.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];
*
* @return The bytes for cryptoKeyName.
*/
com.google.protobuf.ByteString getCryptoKeyNameBytes();
/**
*
*
*
* Output only. State of the KmsConfig.
*
*
*
* .google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. State of the KmsConfig.
*
*
*
* .google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloud.netapp.v1.KmsConfig.State getState();
/**
*
*
*
* Output only. State details of the KmsConfig.
*
*
* string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The stateDetails.
*/
java.lang.String getStateDetails();
/**
*
*
*
* Output only. State details of the KmsConfig.
*
*
* string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for stateDetails.
*/
com.google.protobuf.ByteString getStateDetailsBytes();
/**
*
*
*
* Output only. Create time of the KmsConfig.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. Create time of the KmsConfig.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. Create time of the KmsConfig.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Description of the KmsConfig.
*
*
* string description = 6;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Description of the KmsConfig.
*
*
* string description = 6;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Labels as key value pairs
*
*
* map<string, string> labels = 7;
*/
int getLabelsCount();
/**
*
*
*
* Labels as key value pairs
*
*
* map<string, string> labels = 7;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* Labels as key value pairs
*
*
* map<string, string> labels = 7;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Labels as key value pairs
*
*
* map<string, string> labels = 7;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Labels as key value pairs
*
*
* map<string, string> labels = 7;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* Output only. Instructions to provide the access to the customer provided
* encryption key.
*
*
* string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The instructions.
*/
java.lang.String getInstructions();
/**
*
*
*
* Output only. Instructions to provide the access to the customer provided
* encryption key.
*
*
* string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for instructions.
*/
com.google.protobuf.ByteString getInstructionsBytes();
/**
*
*
*
* 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];
*
* @return The serviceAccount.
*/
java.lang.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];
*
* @return The bytes for serviceAccount.
*/
com.google.protobuf.ByteString getServiceAccountBytes();
}