Class Cluster.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
com.google.cloud.managedkafka.v1.Cluster.Builder
All Implemented Interfaces:
ClusterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Cluster

public static final class Cluster.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder> implements ClusterOrBuilder
 An Apache Kafka cluster deployed in a location.
 
Protobuf type google.cloud.managedkafka.v1.Cluster
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • clear

      public Cluster.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • getDefaultInstanceForType

      public Cluster getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Cluster build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Cluster buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Cluster.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.Builder>
    • mergeFrom

      public Cluster.Builder mergeFrom(Cluster other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • mergeFrom

      public Cluster.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.Builder>
      Throws:
      IOException
    • getPlatformConfigCase

      public Cluster.PlatformConfigCase getPlatformConfigCase()
      Specified by:
      getPlatformConfigCase in interface ClusterOrBuilder
    • clearPlatformConfig

      public Cluster.Builder clearPlatformConfig()
    • hasGcpConfig

      public boolean hasGcpConfig()
       Required. Configuration properties for a Kafka cluster deployed to Google
       Cloud Platform.
       
      .google.cloud.managedkafka.v1.GcpConfig gcp_config = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasGcpConfig in interface ClusterOrBuilder
      Returns:
      Whether the gcpConfig field is set.
    • getGcpConfig

      public GcpConfig getGcpConfig()
       Required. Configuration properties for a Kafka cluster deployed to Google
       Cloud Platform.
       
      .google.cloud.managedkafka.v1.GcpConfig gcp_config = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGcpConfig in interface ClusterOrBuilder
      Returns:
      The gcpConfig.
    • setGcpConfig

      public Cluster.Builder setGcpConfig(GcpConfig value)
       Required. Configuration properties for a Kafka cluster deployed to Google
       Cloud Platform.
       
      .google.cloud.managedkafka.v1.GcpConfig gcp_config = 9 [(.google.api.field_behavior) = REQUIRED];
    • setGcpConfig

      public Cluster.Builder setGcpConfig(GcpConfig.Builder builderForValue)
       Required. Configuration properties for a Kafka cluster deployed to Google
       Cloud Platform.
       
      .google.cloud.managedkafka.v1.GcpConfig gcp_config = 9 [(.google.api.field_behavior) = REQUIRED];
    • mergeGcpConfig

      public Cluster.Builder mergeGcpConfig(GcpConfig value)
       Required. Configuration properties for a Kafka cluster deployed to Google
       Cloud Platform.
       
      .google.cloud.managedkafka.v1.GcpConfig gcp_config = 9 [(.google.api.field_behavior) = REQUIRED];
    • clearGcpConfig

      public Cluster.Builder clearGcpConfig()
       Required. Configuration properties for a Kafka cluster deployed to Google
       Cloud Platform.
       
      .google.cloud.managedkafka.v1.GcpConfig gcp_config = 9 [(.google.api.field_behavior) = REQUIRED];
    • getGcpConfigBuilder

      public GcpConfig.Builder getGcpConfigBuilder()
       Required. Configuration properties for a Kafka cluster deployed to Google
       Cloud Platform.
       
      .google.cloud.managedkafka.v1.GcpConfig gcp_config = 9 [(.google.api.field_behavior) = REQUIRED];
    • getGcpConfigOrBuilder

      public GcpConfigOrBuilder getGcpConfigOrBuilder()
       Required. Configuration properties for a Kafka cluster deployed to Google
       Cloud Platform.
       
      .google.cloud.managedkafka.v1.GcpConfig gcp_config = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGcpConfigOrBuilder in interface ClusterOrBuilder
    • getName

      public String getName()
       Identifier. The name of the cluster. Structured like:
       projects/{project_number}/locations/{location}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ClusterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the cluster. Structured like:
       projects/{project_number}/locations/{location}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ClusterOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Cluster.Builder setName(String value)
       Identifier. The name of the cluster. Structured like:
       projects/{project_number}/locations/{location}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Cluster.Builder clearName()
       Identifier. The name of the cluster. Structured like:
       projects/{project_number}/locations/{location}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Cluster.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the cluster. Structured like:
       projects/{project_number}/locations/{location}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ClusterOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ClusterOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Cluster.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Cluster.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Cluster.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Cluster.Builder clearCreateTime()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ClusterOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ClusterOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ClusterOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Cluster.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Cluster.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Cluster.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Cluster.Builder clearUpdateTime()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ClusterOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ClusterOrBuilder
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface ClusterOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface ClusterOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ClusterOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface ClusterOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface ClusterOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface ClusterOrBuilder
    • clearLabels

      public Cluster.Builder clearLabels()
    • removeLabels

      public Cluster.Builder removeLabels(String key)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Cluster.Builder putLabels(String key, String value)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Cluster.Builder putAllLabels(Map<String,String> values)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasCapacityConfig

      public boolean hasCapacityConfig()
       Required. Capacity configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.CapacityConfig capacity_config = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasCapacityConfig in interface ClusterOrBuilder
      Returns:
      Whether the capacityConfig field is set.
    • getCapacityConfig

      public CapacityConfig getCapacityConfig()
       Required. Capacity configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.CapacityConfig capacity_config = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCapacityConfig in interface ClusterOrBuilder
      Returns:
      The capacityConfig.
    • setCapacityConfig

      public Cluster.Builder setCapacityConfig(CapacityConfig value)
       Required. Capacity configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.CapacityConfig capacity_config = 5 [(.google.api.field_behavior) = REQUIRED];
    • setCapacityConfig

      public Cluster.Builder setCapacityConfig(CapacityConfig.Builder builderForValue)
       Required. Capacity configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.CapacityConfig capacity_config = 5 [(.google.api.field_behavior) = REQUIRED];
    • mergeCapacityConfig

      public Cluster.Builder mergeCapacityConfig(CapacityConfig value)
       Required. Capacity configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.CapacityConfig capacity_config = 5 [(.google.api.field_behavior) = REQUIRED];
    • clearCapacityConfig

      public Cluster.Builder clearCapacityConfig()
       Required. Capacity configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.CapacityConfig capacity_config = 5 [(.google.api.field_behavior) = REQUIRED];
    • getCapacityConfigBuilder

      public CapacityConfig.Builder getCapacityConfigBuilder()
       Required. Capacity configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.CapacityConfig capacity_config = 5 [(.google.api.field_behavior) = REQUIRED];
    • getCapacityConfigOrBuilder

      public CapacityConfigOrBuilder getCapacityConfigOrBuilder()
       Required. Capacity configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.CapacityConfig capacity_config = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCapacityConfigOrBuilder in interface ClusterOrBuilder
    • hasRebalanceConfig

      public boolean hasRebalanceConfig()
       Optional. Rebalance configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.RebalanceConfig rebalance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasRebalanceConfig in interface ClusterOrBuilder
      Returns:
      Whether the rebalanceConfig field is set.
    • getRebalanceConfig

      public RebalanceConfig getRebalanceConfig()
       Optional. Rebalance configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.RebalanceConfig rebalance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRebalanceConfig in interface ClusterOrBuilder
      Returns:
      The rebalanceConfig.
    • setRebalanceConfig

      public Cluster.Builder setRebalanceConfig(RebalanceConfig value)
       Optional. Rebalance configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.RebalanceConfig rebalance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setRebalanceConfig

      public Cluster.Builder setRebalanceConfig(RebalanceConfig.Builder builderForValue)
       Optional. Rebalance configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.RebalanceConfig rebalance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • mergeRebalanceConfig

      public Cluster.Builder mergeRebalanceConfig(RebalanceConfig value)
       Optional. Rebalance configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.RebalanceConfig rebalance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearRebalanceConfig

      public Cluster.Builder clearRebalanceConfig()
       Optional. Rebalance configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.RebalanceConfig rebalance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getRebalanceConfigBuilder

      public RebalanceConfig.Builder getRebalanceConfigBuilder()
       Optional. Rebalance configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.RebalanceConfig rebalance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getRebalanceConfigOrBuilder

      public RebalanceConfigOrBuilder getRebalanceConfigOrBuilder()
       Optional. Rebalance configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.RebalanceConfig rebalance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRebalanceConfigOrBuilder in interface ClusterOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. The current state of the cluster.
       
      .google.cloud.managedkafka.v1.Cluster.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface ClusterOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Cluster.Builder setStateValue(int value)
       Output only. The current state of the cluster.
       
      .google.cloud.managedkafka.v1.Cluster.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Cluster.State getState()
       Output only. The current state of the cluster.
       
      .google.cloud.managedkafka.v1.Cluster.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface ClusterOrBuilder
      Returns:
      The state.
    • setState

      public Cluster.Builder setState(Cluster.State value)
       Output only. The current state of the cluster.
       
      .google.cloud.managedkafka.v1.Cluster.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Cluster.Builder clearState()
       Output only. The current state of the cluster.
       
      .google.cloud.managedkafka.v1.Cluster.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasSatisfiesPzi

      public boolean hasSatisfiesPzi()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSatisfiesPzi in interface ClusterOrBuilder
      Returns:
      Whether the satisfiesPzi field is set.
    • getSatisfiesPzi

      public boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzi in interface ClusterOrBuilder
      Returns:
      The satisfiesPzi.
    • setSatisfiesPzi

      public Cluster.Builder setSatisfiesPzi(boolean value)
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzi to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzi

      public Cluster.Builder clearSatisfiesPzi()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasSatisfiesPzs

      public boolean hasSatisfiesPzs()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSatisfiesPzs in interface ClusterOrBuilder
      Returns:
      Whether the satisfiesPzs field is set.
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzs in interface ClusterOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      public Cluster.Builder setSatisfiesPzs(boolean value)
       Output only. Reserved for future use.
       
      optional bool satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzs to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzs

      public Cluster.Builder clearSatisfiesPzs()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasTlsConfig

      public boolean hasTlsConfig()
       Optional. TLS configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.TlsConfig tls_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTlsConfig in interface ClusterOrBuilder
      Returns:
      Whether the tlsConfig field is set.
    • getTlsConfig

      public TlsConfig getTlsConfig()
       Optional. TLS configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.TlsConfig tls_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTlsConfig in interface ClusterOrBuilder
      Returns:
      The tlsConfig.
    • setTlsConfig

      public Cluster.Builder setTlsConfig(TlsConfig value)
       Optional. TLS configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.TlsConfig tls_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • setTlsConfig

      public Cluster.Builder setTlsConfig(TlsConfig.Builder builderForValue)
       Optional. TLS configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.TlsConfig tls_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • mergeTlsConfig

      public Cluster.Builder mergeTlsConfig(TlsConfig value)
       Optional. TLS configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.TlsConfig tls_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • clearTlsConfig

      public Cluster.Builder clearTlsConfig()
       Optional. TLS configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.TlsConfig tls_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getTlsConfigBuilder

      public TlsConfig.Builder getTlsConfigBuilder()
       Optional. TLS configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.TlsConfig tls_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getTlsConfigOrBuilder

      public TlsConfigOrBuilder getTlsConfigOrBuilder()
       Optional. TLS configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.TlsConfig tls_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTlsConfigOrBuilder in interface ClusterOrBuilder