Class NodePool.LocalDiskEncryption (0.39.0)

publicstaticfinalclass NodePool.LocalDiskEncryptionextendsGeneratedMessageV3implementsNodePool.LocalDiskEncryptionOrBuilder

Configuration for CMEK support for edge machine local disk encryption.

Protobuf type google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

KMS_KEY_ACTIVE_VERSION_FIELD_NUMBER

publicstaticfinalintKMS_KEY_ACTIVE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

KMS_KEY_FIELD_NUMBER

publicstaticfinalintKMS_KEY_FIELD_NUMBER
Field Value
Type Description
int

KMS_KEY_STATE_FIELD_NUMBER

publicstaticfinalintKMS_KEY_STATE_FIELD_NUMBER
Field Value
Type Description
int

KMS_STATUS_FIELD_NUMBER

publicstaticfinalintKMS_STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticNodePool.LocalDiskEncryptiongetDefaultInstance()
Returns
Type Description
NodePool.LocalDiskEncryption

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticNodePool.LocalDiskEncryption.BuildernewBuilder()
Returns
Type Description
NodePool.LocalDiskEncryption.Builder

newBuilder(NodePool.LocalDiskEncryption prototype)

publicstaticNodePool.LocalDiskEncryption.BuildernewBuilder(NodePool.LocalDiskEncryptionprototype)
Parameter
Name Description
prototype NodePool.LocalDiskEncryption
Returns
Type Description
NodePool.LocalDiskEncryption.Builder

parseDelimitedFrom(InputStream input)

publicstaticNodePool.LocalDiskEncryptionparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.LocalDiskEncryptionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticNodePool.LocalDiskEncryptionparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.LocalDiskEncryptionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticNodePool.LocalDiskEncryptionparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.LocalDiskEncryptionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticNodePool.LocalDiskEncryptionparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.LocalDiskEncryptionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticNodePool.LocalDiskEncryptionparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.LocalDiskEncryptionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticNodePool.LocalDiskEncryptionparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticNodePool.LocalDiskEncryptionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.LocalDiskEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<NodePool.LocalDiskEncryption>parser()
Returns
Type Description
Parser<LocalDiskEncryption>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicNodePool.LocalDiskEncryptiongetDefaultInstanceForType()
Returns
Type Description
NodePool.LocalDiskEncryption

getKmsKey()

publicStringgetKmsKey()

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
Type Description
String

The kmsKey.

getKmsKeyActiveVersion()

publicStringgetKmsKeyActiveVersion()

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
Type Description
String

The kmsKeyActiveVersion.

getKmsKeyActiveVersionBytes()

publicByteStringgetKmsKeyActiveVersionBytes()

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
Type Description
ByteString

The bytes for kmsKeyActiveVersion.

getKmsKeyBytes()

publicByteStringgetKmsKeyBytes()

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
Type Description
ByteString

The bytes for kmsKey.

getKmsKeyState()

publicKmsKeyStategetKmsKeyState()

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
Type Description
KmsKeyState

The kmsKeyState.

getKmsKeyStateValue()

publicintgetKmsKeyStateValue()

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
Type Description
int

The enum numeric value on the wire for kmsKeyState.

getKmsStatus()

publicStatusgetKmsStatus()

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
Type Description
com.google.rpc.Status

The kmsStatus.

getKmsStatusOrBuilder()

publicStatusOrBuildergetKmsStatusOrBuilder()

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
Type Description
com.google.rpc.StatusOrBuilder

getParserForType()

publicParser<NodePool.LocalDiskEncryption>getParserForType()
Returns
Type Description
Parser<LocalDiskEncryption>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasKmsStatus()

publicbooleanhasKmsStatus()

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
Type Description
boolean

Whether the kmsStatus field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicNodePool.LocalDiskEncryption.BuildernewBuilderForType()
Returns
Type Description
NodePool.LocalDiskEncryption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedNodePool.LocalDiskEncryption.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NodePool.LocalDiskEncryption.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicNodePool.LocalDiskEncryption.BuildertoBuilder()
Returns
Type Description
NodePool.LocalDiskEncryption.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.