Class UserManagedKeysConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.UserManagedKeysConfig
All Implemented Interfaces:
UserManagedKeysConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UserManagedKeysConfig extends com.google.protobuf.GeneratedMessage implements UserManagedKeysConfigOrBuilder
 UserManagedKeysConfig holds the resource address to Keys which are used
 for signing certs and token that are used for communication within cluster.
 
Protobuf type google.container.v1.UserManagedKeysConfig
See Also:
  • Field Details

    • CLUSTER_CA_FIELD_NUMBER

      public static final int CLUSTER_CA_FIELD_NUMBER
      See Also:
    • ETCD_API_CA_FIELD_NUMBER

      public static final int ETCD_API_CA_FIELD_NUMBER
      See Also:
    • ETCD_PEER_CA_FIELD_NUMBER

      public static final int ETCD_PEER_CA_FIELD_NUMBER
      See Also:
    • SERVICE_ACCOUNT_SIGNING_KEYS_FIELD_NUMBER

      public static final int SERVICE_ACCOUNT_SIGNING_KEYS_FIELD_NUMBER
      See Also:
    • SERVICE_ACCOUNT_VERIFICATION_KEYS_FIELD_NUMBER

      public static final int SERVICE_ACCOUNT_VERIFICATION_KEYS_FIELD_NUMBER
      See Also:
    • AGGREGATION_CA_FIELD_NUMBER

      public static final int AGGREGATION_CA_FIELD_NUMBER
      See Also:
    • CONTROL_PLANE_DISK_ENCRYPTION_KEY_FIELD_NUMBER

      public static final int CONTROL_PLANE_DISK_ENCRYPTION_KEY_FIELD_NUMBER
      See Also:
    • CONTROL_PLANE_DISK_ENCRYPTION_KEY_VERSIONS_FIELD_NUMBER

      public static final int CONTROL_PLANE_DISK_ENCRYPTION_KEY_VERSIONS_FIELD_NUMBER
      See Also:
    • GKEOPS_ETCD_BACKUP_ENCRYPTION_KEY_FIELD_NUMBER

      public static final int GKEOPS_ETCD_BACKUP_ENCRYPTION_KEY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getClusterCa

      public String getClusterCa()
       The Certificate Authority Service caPool to use for the cluster CA in this
       cluster.
       
      string cluster_ca = 10 [(.google.api.resource_reference) = { ... }
      Specified by:
      getClusterCa in interface UserManagedKeysConfigOrBuilder
      Returns:
      The clusterCa.
    • getClusterCaBytes

      public com.google.protobuf.ByteString getClusterCaBytes()
       The Certificate Authority Service caPool to use for the cluster CA in this
       cluster.
       
      string cluster_ca = 10 [(.google.api.resource_reference) = { ... }
      Specified by:
      getClusterCaBytes in interface UserManagedKeysConfigOrBuilder
      Returns:
      The bytes for clusterCa.
    • getEtcdApiCa

      public String getEtcdApiCa()
       Resource path of the Certificate Authority Service caPool to use for the
       etcd API CA in this cluster.
       
      string etcd_api_ca = 11 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEtcdApiCa in interface UserManagedKeysConfigOrBuilder
      Returns:
      The etcdApiCa.
    • getEtcdApiCaBytes

      public com.google.protobuf.ByteString getEtcdApiCaBytes()
       Resource path of the Certificate Authority Service caPool to use for the
       etcd API CA in this cluster.
       
      string etcd_api_ca = 11 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEtcdApiCaBytes in interface UserManagedKeysConfigOrBuilder
      Returns:
      The bytes for etcdApiCa.
    • getEtcdPeerCa

      public String getEtcdPeerCa()
       Resource path of the Certificate Authority Service caPool to use for the
       etcd peer CA in this cluster.
       
      string etcd_peer_ca = 12 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEtcdPeerCa in interface UserManagedKeysConfigOrBuilder
      Returns:
      The etcdPeerCa.
    • getEtcdPeerCaBytes

      public com.google.protobuf.ByteString getEtcdPeerCaBytes()
       Resource path of the Certificate Authority Service caPool to use for the
       etcd peer CA in this cluster.
       
      string etcd_peer_ca = 12 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEtcdPeerCaBytes in interface UserManagedKeysConfigOrBuilder
      Returns:
      The bytes for etcdPeerCa.
    • getServiceAccountSigningKeysList

      public com.google.protobuf.ProtocolStringList getServiceAccountSigningKeysList()
       The Cloud KMS cryptoKeyVersions to use for signing service account JWTs
       issued by this cluster.
      
       Format:
       `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
       
      repeated string service_account_signing_keys = 13 [(.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccountSigningKeysList in interface UserManagedKeysConfigOrBuilder
      Returns:
      A list containing the serviceAccountSigningKeys.
    • getServiceAccountSigningKeysCount

      public int getServiceAccountSigningKeysCount()
       The Cloud KMS cryptoKeyVersions to use for signing service account JWTs
       issued by this cluster.
      
       Format:
       `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
       
      repeated string service_account_signing_keys = 13 [(.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccountSigningKeysCount in interface UserManagedKeysConfigOrBuilder
      Returns:
      The count of serviceAccountSigningKeys.
    • getServiceAccountSigningKeys

      public String getServiceAccountSigningKeys(int index)
       The Cloud KMS cryptoKeyVersions to use for signing service account JWTs
       issued by this cluster.
      
       Format:
       `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
       
      repeated string service_account_signing_keys = 13 [(.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccountSigningKeys in interface UserManagedKeysConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The serviceAccountSigningKeys at the given index.
    • getServiceAccountSigningKeysBytes

      public com.google.protobuf.ByteString getServiceAccountSigningKeysBytes(int index)
       The Cloud KMS cryptoKeyVersions to use for signing service account JWTs
       issued by this cluster.
      
       Format:
       `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
       
      repeated string service_account_signing_keys = 13 [(.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccountSigningKeysBytes in interface UserManagedKeysConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the serviceAccountSigningKeys at the given index.
    • getServiceAccountVerificationKeysList

      public com.google.protobuf.ProtocolStringList getServiceAccountVerificationKeysList()
       The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs
       issued by this cluster.
      
       Format:
       `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
       
      repeated string service_account_verification_keys = 14 [(.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccountVerificationKeysList in interface UserManagedKeysConfigOrBuilder
      Returns:
      A list containing the serviceAccountVerificationKeys.
    • getServiceAccountVerificationKeysCount

      public int getServiceAccountVerificationKeysCount()
       The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs
       issued by this cluster.
      
       Format:
       `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
       
      repeated string service_account_verification_keys = 14 [(.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccountVerificationKeysCount in interface UserManagedKeysConfigOrBuilder
      Returns:
      The count of serviceAccountVerificationKeys.
    • getServiceAccountVerificationKeys

      public String getServiceAccountVerificationKeys(int index)
       The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs
       issued by this cluster.
      
       Format:
       `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
       
      repeated string service_account_verification_keys = 14 [(.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccountVerificationKeys in interface UserManagedKeysConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The serviceAccountVerificationKeys at the given index.
    • getServiceAccountVerificationKeysBytes

      public com.google.protobuf.ByteString getServiceAccountVerificationKeysBytes(int index)
       The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs
       issued by this cluster.
      
       Format:
       `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
       
      repeated string service_account_verification_keys = 14 [(.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccountVerificationKeysBytes in interface UserManagedKeysConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the serviceAccountVerificationKeys at the given index.
    • getAggregationCa

      public String getAggregationCa()
       The Certificate Authority Service caPool to use for the aggregation CA in
       this cluster.
       
      string aggregation_ca = 15 [(.google.api.resource_reference) = { ... }
      Specified by:
      getAggregationCa in interface UserManagedKeysConfigOrBuilder
      Returns:
      The aggregationCa.
    • getAggregationCaBytes

      public com.google.protobuf.ByteString getAggregationCaBytes()
       The Certificate Authority Service caPool to use for the aggregation CA in
       this cluster.
       
      string aggregation_ca = 15 [(.google.api.resource_reference) = { ... }
      Specified by:
      getAggregationCaBytes in interface UserManagedKeysConfigOrBuilder
      Returns:
      The bytes for aggregationCa.
    • getControlPlaneDiskEncryptionKey

      public String getControlPlaneDiskEncryptionKey()
       The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control
       plane nodes.
       
      string control_plane_disk_encryption_key = 16 [(.google.api.resource_reference) = { ... }
      Specified by:
      getControlPlaneDiskEncryptionKey in interface UserManagedKeysConfigOrBuilder
      Returns:
      The controlPlaneDiskEncryptionKey.
    • getControlPlaneDiskEncryptionKeyBytes

      public com.google.protobuf.ByteString getControlPlaneDiskEncryptionKeyBytes()
       The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control
       plane nodes.
       
      string control_plane_disk_encryption_key = 16 [(.google.api.resource_reference) = { ... }
      Specified by:
      getControlPlaneDiskEncryptionKeyBytes in interface UserManagedKeysConfigOrBuilder
      Returns:
      The bytes for controlPlaneDiskEncryptionKey.
    • getControlPlaneDiskEncryptionKeyVersionsList

      public com.google.protobuf.ProtocolStringList getControlPlaneDiskEncryptionKeyVersionsList()
       Output only. All of the versions of the Cloud KMS cryptoKey that are used
       by Confidential Hyperdisks on the control plane nodes.
       
      repeated string control_plane_disk_encryption_key_versions = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlPlaneDiskEncryptionKeyVersionsList in interface UserManagedKeysConfigOrBuilder
      Returns:
      A list containing the controlPlaneDiskEncryptionKeyVersions.
    • getControlPlaneDiskEncryptionKeyVersionsCount

      public int getControlPlaneDiskEncryptionKeyVersionsCount()
       Output only. All of the versions of the Cloud KMS cryptoKey that are used
       by Confidential Hyperdisks on the control plane nodes.
       
      repeated string control_plane_disk_encryption_key_versions = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlPlaneDiskEncryptionKeyVersionsCount in interface UserManagedKeysConfigOrBuilder
      Returns:
      The count of controlPlaneDiskEncryptionKeyVersions.
    • getControlPlaneDiskEncryptionKeyVersions

      public String getControlPlaneDiskEncryptionKeyVersions(int index)
       Output only. All of the versions of the Cloud KMS cryptoKey that are used
       by Confidential Hyperdisks on the control plane nodes.
       
      repeated string control_plane_disk_encryption_key_versions = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlPlaneDiskEncryptionKeyVersions in interface UserManagedKeysConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The controlPlaneDiskEncryptionKeyVersions at the given index.
    • getControlPlaneDiskEncryptionKeyVersionsBytes

      public com.google.protobuf.ByteString getControlPlaneDiskEncryptionKeyVersionsBytes(int index)
       Output only. All of the versions of the Cloud KMS cryptoKey that are used
       by Confidential Hyperdisks on the control plane nodes.
       
      repeated string control_plane_disk_encryption_key_versions = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlPlaneDiskEncryptionKeyVersionsBytes in interface UserManagedKeysConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the controlPlaneDiskEncryptionKeyVersions at the given index.
    • getGkeopsEtcdBackupEncryptionKey

      public String getGkeopsEtcdBackupEncryptionKey()
       Resource path of the Cloud KMS cryptoKey to use for encryption of internal
       etcd backups.
       
      string gkeops_etcd_backup_encryption_key = 17 [(.google.api.resource_reference) = { ... }
      Specified by:
      getGkeopsEtcdBackupEncryptionKey in interface UserManagedKeysConfigOrBuilder
      Returns:
      The gkeopsEtcdBackupEncryptionKey.
    • getGkeopsEtcdBackupEncryptionKeyBytes

      public com.google.protobuf.ByteString getGkeopsEtcdBackupEncryptionKeyBytes()
       Resource path of the Cloud KMS cryptoKey to use for encryption of internal
       etcd backups.
       
      string gkeops_etcd_backup_encryption_key = 17 [(.google.api.resource_reference) = { ... }
      Specified by:
      getGkeopsEtcdBackupEncryptionKeyBytes in interface UserManagedKeysConfigOrBuilder
      Returns:
      The bytes for gkeopsEtcdBackupEncryptionKey.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UserManagedKeysConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserManagedKeysConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserManagedKeysConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserManagedKeysConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserManagedKeysConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserManagedKeysConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserManagedKeysConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserManagedKeysConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UserManagedKeysConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UserManagedKeysConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserManagedKeysConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserManagedKeysConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UserManagedKeysConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UserManagedKeysConfig.Builder newBuilder()
    • newBuilder

      public static UserManagedKeysConfig.Builder newBuilder(UserManagedKeysConfig prototype)
    • toBuilder

      public UserManagedKeysConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UserManagedKeysConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UserManagedKeysConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UserManagedKeysConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<UserManagedKeysConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public UserManagedKeysConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder