public static final class NodePool.LocalDiskEncryption.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder> implements NodePool.LocalDiskEncryptionOrBuilder
Configuration for CMEK support for edge machine local disk encryption.Protobuf type
google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryptiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NodePool.LocalDiskEncryption build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NodePool.LocalDiskEncryption buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NodePool.LocalDiskEncryption.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption.Builder mergeFrom(NodePool.LocalDiskEncryption other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public NodePool.LocalDiskEncryption.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodePool.LocalDiskEncryption.Builder>IOExceptionpublic 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) = { ... }
getKmsKey in interface NodePool.LocalDiskEncryptionOrBuilderpublic 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) = { ... }
getKmsKeyBytes in interface NodePool.LocalDiskEncryptionOrBuilderpublic NodePool.LocalDiskEncryption.Builder setKmsKey(String value)
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) = { ... }
value - The kmsKey to set.public NodePool.LocalDiskEncryption.Builder clearKmsKey()
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) = { ... }
public NodePool.LocalDiskEncryption.Builder setKmsKeyBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for kmsKey to set.public 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) = { ... }
getKmsKeyActiveVersion in interface NodePool.LocalDiskEncryptionOrBuilderpublic 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) = { ... }
getKmsKeyActiveVersionBytes in interface NodePool.LocalDiskEncryptionOrBuilderpublic NodePool.LocalDiskEncryption.Builder setKmsKeyActiveVersion(String value)
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) = { ... }
value - The kmsKeyActiveVersion to set.public NodePool.LocalDiskEncryption.Builder clearKmsKeyActiveVersion()
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) = { ... }
public NodePool.LocalDiskEncryption.Builder setKmsKeyActiveVersionBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for kmsKeyActiveVersion to set.public 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];
getKmsKeyStateValue in interface NodePool.LocalDiskEncryptionOrBuilderpublic NodePool.LocalDiskEncryption.Builder setKmsKeyStateValue(int value)
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];
value - The enum numeric value on the wire for kmsKeyState to set.public 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];
getKmsKeyState in interface NodePool.LocalDiskEncryptionOrBuilderpublic NodePool.LocalDiskEncryption.Builder setKmsKeyState(KmsKeyState value)
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];
value - The kmsKeyState to set.public NodePool.LocalDiskEncryption.Builder clearKmsKeyState()
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];
public 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];
hasKmsStatus in interface NodePool.LocalDiskEncryptionOrBuilderpublic 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];
getKmsStatus in interface NodePool.LocalDiskEncryptionOrBuilderpublic NodePool.LocalDiskEncryption.Builder setKmsStatus(com.google.rpc.Status value)
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];
public NodePool.LocalDiskEncryption.Builder setKmsStatus(com.google.rpc.Status.Builder builderForValue)
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];
public NodePool.LocalDiskEncryption.Builder mergeKmsStatus(com.google.rpc.Status value)
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];
public NodePool.LocalDiskEncryption.Builder clearKmsStatus()
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];
public com.google.rpc.Status.Builder getKmsStatusBuilder()
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];
public 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];
getKmsStatusOrBuilder in interface NodePool.LocalDiskEncryptionOrBuilderpublic final NodePool.LocalDiskEncryption.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>public final NodePool.LocalDiskEncryption.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.LocalDiskEncryption.Builder>Copyright © 2024 Google LLC. All rights reserved.