Class UserManagedKeysConfig.Builder (2.57.0)

public static final class UserManagedKeysConfig.Builder extends GeneratedMessageV3.Builder<UserManagedKeysConfig.Builder> 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 Methods

getDescriptor()

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

Methods

addAllServiceAccountSigningKeys(Iterable<String> values)

public UserManagedKeysConfig.Builder addAllServiceAccountSigningKeys(Iterable<String> values)

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
values Iterable<String>

The serviceAccountSigningKeys to add.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

addAllServiceAccountVerificationKeys(Iterable<String> values)

public UserManagedKeysConfig.Builder addAllServiceAccountVerificationKeys(Iterable<String> values)

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
values Iterable<String>

The serviceAccountVerificationKeys to add.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UserManagedKeysConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides

addServiceAccountSigningKeys(String value)

public UserManagedKeysConfig.Builder addServiceAccountSigningKeys(String value)

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
value String

The serviceAccountSigningKeys to add.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

addServiceAccountSigningKeysBytes(ByteString value)

public UserManagedKeysConfig.Builder addServiceAccountSigningKeysBytes(ByteString value)

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
value ByteString

The bytes of the serviceAccountSigningKeys to add.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

addServiceAccountVerificationKeys(String value)

public UserManagedKeysConfig.Builder addServiceAccountVerificationKeys(String value)

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
value String

The serviceAccountVerificationKeys to add.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

addServiceAccountVerificationKeysBytes(ByteString value)

public UserManagedKeysConfig.Builder addServiceAccountVerificationKeysBytes(ByteString value)

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
value ByteString

The bytes of the serviceAccountVerificationKeys to add.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

build()

public UserManagedKeysConfig build()
Returns
Type Description
UserManagedKeysConfig

buildPartial()

public UserManagedKeysConfig buildPartial()
Returns
Type Description
UserManagedKeysConfig

clear()

public UserManagedKeysConfig.Builder clear()
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides

clearAggregationCa()

public UserManagedKeysConfig.Builder clearAggregationCa()

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
UserManagedKeysConfig.Builder

This builder for chaining.

clearClusterCa()

public UserManagedKeysConfig.Builder clearClusterCa()

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
UserManagedKeysConfig.Builder

This builder for chaining.

clearControlPlaneDiskEncryptionKey()

public UserManagedKeysConfig.Builder clearControlPlaneDiskEncryptionKey()

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
UserManagedKeysConfig.Builder

This builder for chaining.

clearEtcdApiCa()

public UserManagedKeysConfig.Builder clearEtcdApiCa()

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
UserManagedKeysConfig.Builder

This builder for chaining.

clearEtcdPeerCa()

public UserManagedKeysConfig.Builder clearEtcdPeerCa()

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
UserManagedKeysConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UserManagedKeysConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides

clearGkeopsEtcdBackupEncryptionKey()

public UserManagedKeysConfig.Builder clearGkeopsEtcdBackupEncryptionKey()

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
UserManagedKeysConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UserManagedKeysConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides

clearServiceAccountSigningKeys()

public UserManagedKeysConfig.Builder clearServiceAccountSigningKeys()

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
UserManagedKeysConfig.Builder

This builder for chaining.

clearServiceAccountVerificationKeys()

public UserManagedKeysConfig.Builder clearServiceAccountVerificationKeys()

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
UserManagedKeysConfig.Builder

This builder for chaining.

clone()

public UserManagedKeysConfig.Builder clone()
Returns
Type Description
UserManagedKeysConfig.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UserManagedKeysConfig other)

public UserManagedKeysConfig.Builder mergeFrom(UserManagedKeysConfig other)
Parameter
Name Description
other UserManagedKeysConfig
Returns
Type Description
UserManagedKeysConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UserManagedKeysConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UserManagedKeysConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UserManagedKeysConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides

setAggregationCa(String value)

public UserManagedKeysConfig.Builder setAggregationCa(String value)

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

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

Parameter
Name Description
value String

The aggregationCa to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setAggregationCaBytes(ByteString value)

public UserManagedKeysConfig.Builder setAggregationCaBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for aggregationCa to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setClusterCa(String value)

public UserManagedKeysConfig.Builder setClusterCa(String value)

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

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

Parameter
Name Description
value String

The clusterCa to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setClusterCaBytes(ByteString value)

public UserManagedKeysConfig.Builder setClusterCaBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for clusterCa to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setControlPlaneDiskEncryptionKey(String value)

public UserManagedKeysConfig.Builder setControlPlaneDiskEncryptionKey(String value)

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

Parameter
Name Description
value String

The controlPlaneDiskEncryptionKey to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setControlPlaneDiskEncryptionKeyBytes(ByteString value)

public UserManagedKeysConfig.Builder setControlPlaneDiskEncryptionKeyBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for controlPlaneDiskEncryptionKey to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setEtcdApiCa(String value)

public UserManagedKeysConfig.Builder setEtcdApiCa(String value)

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

Parameter
Name Description
value String

The etcdApiCa to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setEtcdApiCaBytes(ByteString value)

public UserManagedKeysConfig.Builder setEtcdApiCaBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for etcdApiCa to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setEtcdPeerCa(String value)

public UserManagedKeysConfig.Builder setEtcdPeerCa(String value)

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

Parameter
Name Description
value String

The etcdPeerCa to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setEtcdPeerCaBytes(ByteString value)

public UserManagedKeysConfig.Builder setEtcdPeerCaBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for etcdPeerCa to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UserManagedKeysConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides

setGkeopsEtcdBackupEncryptionKey(String value)

public UserManagedKeysConfig.Builder setGkeopsEtcdBackupEncryptionKey(String value)

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

Parameter
Name Description
value String

The gkeopsEtcdBackupEncryptionKey to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setGkeopsEtcdBackupEncryptionKeyBytes(ByteString value)

public UserManagedKeysConfig.Builder setGkeopsEtcdBackupEncryptionKeyBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for gkeopsEtcdBackupEncryptionKey to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UserManagedKeysConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides

setServiceAccountSigningKeys(int index, String value)

public UserManagedKeysConfig.Builder setServiceAccountSigningKeys(int index, String value)

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

Parameters
Name Description
index int

The index to set the value at.

value String

The serviceAccountSigningKeys to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setServiceAccountVerificationKeys(int index, String value)

public UserManagedKeysConfig.Builder setServiceAccountVerificationKeys(int index, String value)

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

Parameters
Name Description
index int

The index to set the value at.

value String

The serviceAccountVerificationKeys to set.

Returns
Type Description
UserManagedKeysConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UserManagedKeysConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UserManagedKeysConfig.Builder
Overrides