Package com.google.cloud.netapp.v1
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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels as key value pairscom.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetCryptoKeyName()Required.com.google.protobuf.ByteStringgetCryptoKeyNameBytes()Required.StringgetDescription()Description of the KmsConfig.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the KmsConfig.StringgetInstructions()Output only.com.google.protobuf.ByteStringgetInstructionsBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels as key value pairsMap<String,String>getLabelsMap()Labels as key value pairsStringgetLabelsOrDefault(String key, String defaultValue)Labels as key value pairsStringgetLabelsOrThrow(String key)Labels as key value pairsStringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetServiceAccount()Output only.com.google.protobuf.ByteStringgetServiceAccountBytes()Output only.KmsConfig.StategetState()Output only.StringgetStateDetails()Output only.com.google.protobuf.ByteStringgetStateDetailsBytes()Output only.intgetStateValue()Output only.booleanhasCreateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
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.
-
-