Interface TlsConfigOrBuilder (0.24.0)

public interface TlsConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSslPrincipalMappingRules()

public abstract String getSslPrincipalMappingRules()

Optional. A list of rules for mapping from SSL principal names to short names. These are applied in order by Kafka. Refer to the Apache Kafka documentation for ssl.principal.mapping.rules for the precise formatting details and syntax. Example: "RULE:^CN=(.?),OU=ServiceUsers.$/$1@example.com/,DEFAULT"

This is a static Kafka broker configuration. Setting or modifying this field will trigger a rolling restart of the Kafka brokers to apply the change. An empty string means no rules are applied (Kafka default).

string ssl_principal_mapping_rules = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslPrincipalMappingRules.

getSslPrincipalMappingRulesBytes()

public abstract ByteString getSslPrincipalMappingRulesBytes()

Optional. A list of rules for mapping from SSL principal names to short names. These are applied in order by Kafka. Refer to the Apache Kafka documentation for ssl.principal.mapping.rules for the precise formatting details and syntax. Example: "RULE:^CN=(.?),OU=ServiceUsers.$/$1@example.com/,DEFAULT"

This is a static Kafka broker configuration. Setting or modifying this field will trigger a rolling restart of the Kafka brokers to apply the change. An empty string means no rules are applied (Kafka default).

string ssl_principal_mapping_rules = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslPrincipalMappingRules.

getTrustConfig()

public abstract TrustConfig getTrustConfig()

Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication.

.google.cloud.managedkafka.v1.TrustConfig trust_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TrustConfig

The trustConfig.

getTrustConfigOrBuilder()

public abstract TrustConfigOrBuilder getTrustConfigOrBuilder()

Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication.

.google.cloud.managedkafka.v1.TrustConfig trust_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TrustConfigOrBuilder

hasTrustConfig()

public abstract boolean hasTrustConfig()

Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication.

.google.cloud.managedkafka.v1.TrustConfig trust_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the trustConfig field is set.