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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getKmsKey()
Immutable.String
getKmsKeyActiveVersion()
Output only.com.google.protobuf.ByteString
getKmsKeyActiveVersionBytes()
Output only.com.google.protobuf.ByteString
getKmsKeyBytes()
Immutable.KmsKeyState
getKmsKeyState()
Output only.int
getKmsKeyStateValue()
Output only.com.google.rpc.Status
getKmsStatus()
Output only.com.google.rpc.StatusOrBuilder
getKmsStatusOrBuilder()
Output only.boolean
hasKmsStatus()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKmsKey
String getKmsKey()
Immutable. 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) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- The kmsKey.
-
getKmsKeyBytes
com.google.protobuf.ByteString getKmsKeyBytes()
Immutable. 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) = IMMUTABLE, (.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
com.google.rpc.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
com.google.rpc.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];
-
-