Interface TlsConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TlsConfig, TlsConfig.Builder

@Generated public interface TlsConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasTrustConfig

      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:
      Whether the trustConfig field is set.
    • getTrustConfig

      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:
      The trustConfig.
    • getTrustConfigOrBuilder

      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];
    • getSslPrincipalMappingRules

      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:
      The sslPrincipalMappingRules.
    • getSslPrincipalMappingRulesBytes

      com.google.protobuf.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:
      The bytes for sslPrincipalMappingRules.