Class UserManagedKeysConfig (2.57.0)

public final class UserManagedKeysConfig extends GeneratedMessageV3 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

Static Fields

AGGREGATION_CA_FIELD_NUMBER

public static final int AGGREGATION_CA_FIELD_NUMBER
Field Value
Type Description
int

CLUSTER_CA_FIELD_NUMBER

public static final int CLUSTER_CA_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_PLANE_DISK_ENCRYPTION_KEY_FIELD_NUMBER

public static final int CONTROL_PLANE_DISK_ENCRYPTION_KEY_FIELD_NUMBER
Field Value
Type Description
int

ETCD_API_CA_FIELD_NUMBER

public static final int ETCD_API_CA_FIELD_NUMBER
Field Value
Type Description
int

ETCD_PEER_CA_FIELD_NUMBER

public static final int ETCD_PEER_CA_FIELD_NUMBER
Field Value
Type Description
int

GKEOPS_ETCD_BACKUP_ENCRYPTION_KEY_FIELD_NUMBER

public static final int GKEOPS_ETCD_BACKUP_ENCRYPTION_KEY_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ACCOUNT_SIGNING_KEYS_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_SIGNING_KEYS_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ACCOUNT_VERIFICATION_KEYS_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_VERIFICATION_KEYS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UserManagedKeysConfig getDefaultInstance()
Returns
Type Description
UserManagedKeysConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UserManagedKeysConfig.Builder newBuilder()
Returns
Type Description
UserManagedKeysConfig.Builder

newBuilder(UserManagedKeysConfig prototype)

public static UserManagedKeysConfig.Builder newBuilder(UserManagedKeysConfig prototype)
Parameter
Name Description
prototype UserManagedKeysConfig
Returns
Type Description
UserManagedKeysConfig.Builder

parseDelimitedFrom(InputStream input)

public static UserManagedKeysConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserManagedKeysConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UserManagedKeysConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UserManagedKeysConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UserManagedKeysConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UserManagedKeysConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UserManagedKeysConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UserManagedKeysConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UserManagedKeysConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserManagedKeysConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UserManagedKeysConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UserManagedKeysConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserManagedKeysConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UserManagedKeysConfig> parser()
Returns
Type Description
Parser<UserManagedKeysConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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) = { ... }

Returns
Type Description
String

The aggregationCa.

getAggregationCaBytes()

public ByteString getAggregationCaBytes()

The Certificate Authority Service caPool to use for the aggregation CA in this cluster.

string aggregation_ca = 15 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for aggregationCa.

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) = { ... }

Returns
Type Description
String

The clusterCa.

getClusterCaBytes()

public ByteString getClusterCaBytes()

The Certificate Authority Service caPool to use for the cluster CA in this cluster.

string cluster_ca = 10 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for clusterCa.

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) = { ... }

Returns
Type Description
String

The controlPlaneDiskEncryptionKey.

getControlPlaneDiskEncryptionKeyBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for controlPlaneDiskEncryptionKey.

getDefaultInstanceForType()

public UserManagedKeysConfig getDefaultInstanceForType()
Returns
Type Description
UserManagedKeysConfig

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) = { ... }

Returns
Type Description
String

The etcdApiCa.

getEtcdApiCaBytes()

public 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) = { ... }

Returns
Type Description
ByteString

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) = { ... }

Returns
Type Description
String

The etcdPeerCa.

getEtcdPeerCaBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for etcdPeerCa.

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) = { ... }

Returns
Type Description
String

The gkeopsEtcdBackupEncryptionKey.

getGkeopsEtcdBackupEncryptionKeyBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for gkeopsEtcdBackupEncryptionKey.

getParserForType()

public Parser<UserManagedKeysConfig> getParserForType()
Returns
Type Description
Parser<UserManagedKeysConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceAccountSigningKeys(int index)

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) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The serviceAccountSigningKeys at the given index.

getServiceAccountSigningKeysBytes(int index)

public 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) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the serviceAccountSigningKeys at the given index.

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) = { ... }

Returns
Type Description
int

The count of serviceAccountSigningKeys.

getServiceAccountSigningKeysList()

public 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) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the serviceAccountSigningKeys.

getServiceAccountVerificationKeys(int index)

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) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The serviceAccountVerificationKeys at the given index.

getServiceAccountVerificationKeysBytes(int index)

public 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) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the serviceAccountVerificationKeys at the given index.

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) = { ... }

Returns
Type Description
int

The count of serviceAccountVerificationKeys.

getServiceAccountVerificationKeysList()

public 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) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the serviceAccountVerificationKeys.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UserManagedKeysConfig.Builder newBuilderForType()
Returns
Type Description
UserManagedKeysConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UserManagedKeysConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UserManagedKeysConfig.Builder toBuilder()
Returns
Type Description
UserManagedKeysConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException