Interface NodePool.LocalDiskEncryptionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodePool.LocalDiskEncryption,NodePool.LocalDiskEncryption.Builder
- Enclosing class:
- NodePool
public static interface NodePool.LocalDiskEncryptionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.ByteStringOptional.Output only.intOutput only.Output only.Output only.Output only.intOutput only.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
-
getKmsKey
String getKmsKey()Optional. The Cloud KMS CryptoKey e.g. projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} to use for protecting node local disks. If not specified, a Google-managed key will be used instead.string kms_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The kmsKey.
-
getKmsKeyBytes
com.google.protobuf.ByteString getKmsKeyBytes()Optional. The Cloud KMS CryptoKey e.g. projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} to use for protecting node local disks. If not specified, a Google-managed key will be used instead.string kms_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for kmsKey.
-
getKmsKeyActiveVersion
String getKmsKeyActiveVersion()Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local disks. Only applicable if kms_key is set.
string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The kmsKeyActiveVersion.
-
getKmsKeyActiveVersionBytes
com.google.protobuf.ByteString getKmsKeyActiveVersionBytes()Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local disks. Only applicable if kms_key is set.
string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for kmsKeyActiveVersion.
-
getKmsKeyStateValue
int getKmsKeyStateValue()Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then nodes may go offline as they cannot access their local data. This can be caused by a lack of permissions to use the key, or if the key is disabled or deleted.
.google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for kmsKeyState.
-
getKmsKeyState
KmsKeyState getKmsKeyState()Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then nodes may go offline as they cannot access their local data. This can be caused by a lack of permissions to use the key, or if the key is disabled or deleted.
.google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The kmsKeyState.
-
hasKmsStatus
boolean hasKmsStatus()Output only. Error status returned by Cloud KMS when using this key. This field may be populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the error status reported by Cloud KMS.
.google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the kmsStatus field is set.
-
getKmsStatus
Status getKmsStatus()Output only. Error status returned by Cloud KMS when using this key. This field may be populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the error status reported by Cloud KMS.
.google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The kmsStatus.
-
getKmsStatusOrBuilder
StatusOrBuilder getKmsStatusOrBuilder()Output only. Error status returned by Cloud KMS when using this key. This field may be populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the error status reported by Cloud KMS.
.google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceStateValue
int getResourceStateValue()Output only. The current resource state associated with the cmek.
.google.cloud.edgecontainer.v1.ResourceState resource_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for resourceState.
-
getResourceState
ResourceState getResourceState()Output only. The current resource state associated with the cmek.
.google.cloud.edgecontainer.v1.ResourceState resource_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The resourceState.
-