Interface GcpConfigOrBuilder (0.9.0)

public interface GcpConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessConfig()

public abstract AccessConfig getAccessConfig()

Required. Access configuration for the Kafka cluster.

.google.cloud.managedkafka.v1.AccessConfig access_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessConfig

The accessConfig.

getAccessConfigOrBuilder()

public abstract AccessConfigOrBuilder getAccessConfigOrBuilder()

Required. Access configuration for the Kafka cluster.

.google.cloud.managedkafka.v1.AccessConfig access_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessConfigOrBuilder

getKmsKey()

public abstract String getKmsKey()

Optional. Immutable. The Cloud KMS Key name to use for encryption. The key must be located in the same region as the cluster and cannot be changed. Structured like: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.

string kms_key = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The kmsKey.

getKmsKeyBytes()

public abstract ByteString getKmsKeyBytes()

Optional. Immutable. The Cloud KMS Key name to use for encryption. The key must be located in the same region as the cluster and cannot be changed. Structured like: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.

string kms_key = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for kmsKey.

hasAccessConfig()

public abstract boolean hasAccessConfig()

Required. Access configuration for the Kafka cluster.

.google.cloud.managedkafka.v1.AccessConfig access_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the accessConfig field is set.