Send feedback
  
   
 
  
    
      Class NodePool.LocalDiskEncryption (0.61.0)
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
  
   
  
    
  
  
    
    
    
    
  Version 0.61.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  NodePool . LocalDiskEncryption   extends   GeneratedMessageV3   implements   NodePool . 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 
  
    
public   static   final   int   KMS_KEY_ACTIVE_VERSION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  KMS_KEY_FIELD_NUMBER 
  
    
public   static   final   int   KMS_KEY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  KMS_KEY_STATE_FIELD_NUMBER 
  
    
public   static   final   int   KMS_KEY_STATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  KMS_STATUS_FIELD_NUMBER 
  
    
public   static   final   int   KMS_STATUS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  RESOURCE_STATE_FIELD_NUMBER 
  
    
public   static   final   int   RESOURCE_STATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   NodePool . LocalDiskEncryption   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   NodePool . LocalDiskEncryption . Builder   newBuilder ()  
  
  newBuilder(NodePool.LocalDiskEncryption prototype) 
  
    
public   static   NodePool . LocalDiskEncryption . Builder   newBuilder ( NodePool . LocalDiskEncryption   prototype )  
  
  
  
    
public   static   NodePool . LocalDiskEncryption   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   NodePool . LocalDiskEncryption   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   NodePool . LocalDiskEncryption   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<NodePool . LocalDiskEncryption >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   NodePool . LocalDiskEncryption   getDefaultInstanceForType ()  
  
  getKmsKey() 
  
    
public   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  
      
        Type Description  
      
        String The kmsKey.
 
     
  
  getKmsKeyActiveVersion() 
  
    
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) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        String The kmsKeyActiveVersion.
 
     
  
  getKmsKeyActiveVersionBytes() 
  
    
public   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  
      
        Type Description  
      
        ByteString The bytes for kmsKeyActiveVersion.
 
     
  
  getKmsKeyBytes() 
  
    
public   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  
      
        Type Description  
      
        ByteString The bytes for kmsKey.
 
     
  
  getKmsKeyState() 
  
    
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];
 
getKmsKeyStateValue() 
  
    
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];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for kmsKeyState.
 
     
  
  getKmsStatus() 
  
    
public   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  
      
        Type Description  
      
        com.google.rpc.Status The kmsStatus.
 
     
  
  getKmsStatusOrBuilder() 
  
    
public   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];
    
      
        Returns  
      
        Type Description  
      
        com.google.rpc.StatusOrBuilder  
     
  
  getParserForType() 
  
    
public   Parser<NodePool . LocalDiskEncryption >  getParserForType ()  
  
  Overrides 
  
  getResourceState() 
  
    
public   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];
 
getResourceStateValue() 
  
    
public   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  
      
        Type Description  
      
        int The enum numeric value on the wire for resourceState.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hasKmsStatus() 
  
    
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];
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the kmsStatus field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   NodePool . LocalDiskEncryption . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   NodePool . LocalDiskEncryption . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   NodePool . LocalDiskEncryption . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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-29 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]