Interface ClusterOrBuilder

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

@Generated public interface ClusterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasGcpConfig

      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];
      Returns:
      Whether the gcpConfig field is set.
    • getGcpConfig

      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];
      Returns:
      The gcpConfig.
    • getGcpConfigOrBuilder

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

      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];
      Returns:
      The name.
    • getNameBytes

      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];
      Returns:
      The bytes for name.
    • hasCreateTime

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

      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];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

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

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

      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];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

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

      int getLabelsCount()
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

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

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

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

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

      String getLabelsOrThrow(String key)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasCapacityConfig

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

      CapacityConfig getCapacityConfig()
       Required. Capacity configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.CapacityConfig capacity_config = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The capacityConfig.
    • getCapacityConfigOrBuilder

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

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

      RebalanceConfig getRebalanceConfig()
       Optional. Rebalance configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.RebalanceConfig rebalance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The rebalanceConfig.
    • getRebalanceConfigOrBuilder

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

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

      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];
      Returns:
      The state.
    • hasSatisfiesPzi

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

      boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The satisfiesPzi.
    • hasSatisfiesPzs

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

      boolean getSatisfiesPzs()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The satisfiesPzs.
    • hasTlsConfig

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

      TlsConfig getTlsConfig()
       Optional. TLS configuration for the Kafka cluster.
       
      .google.cloud.managedkafka.v1.TlsConfig tls_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The tlsConfig.
    • getTlsConfigOrBuilder

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

      Cluster.PlatformConfigCase getPlatformConfigCase()