Interface ConnectClusterOrBuilder

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

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

    • hasGcpConfig

      boolean hasGcpConfig()
       Required. Configuration properties for a Kafka Connect cluster deployed
       to Google Cloud Platform.
       
      .google.cloud.managedkafka.v1.ConnectGcpConfig gcp_config = 7 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the gcpConfig field is set.
    • getGcpConfig

      ConnectGcpConfig getGcpConfig()
       Required. Configuration properties for a Kafka Connect cluster deployed
       to Google Cloud Platform.
       
      .google.cloud.managedkafka.v1.ConnectGcpConfig gcp_config = 7 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The gcpConfig.
    • getGcpConfigOrBuilder

      ConnectGcpConfigOrBuilder getGcpConfigOrBuilder()
       Required. Configuration properties for a Kafka Connect cluster deployed
       to Google Cloud Platform.
       
      .google.cloud.managedkafka.v1.ConnectGcpConfig gcp_config = 7 [(.google.api.field_behavior) = REQUIRED];
    • getName

      String getName()
       Identifier. The name of the Kafka Connect cluster. Structured like:
       projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the Kafka Connect cluster. Structured like:
       projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getKafkaCluster

      String getKafkaCluster()
       Required. Immutable. The name of the Kafka cluster this Kafka Connect
       cluster is attached to. Structured like:
       projects/{project}/locations/{location}/clusters/{cluster}
       
      string kafka_cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The kafkaCluster.
    • getKafkaClusterBytes

      com.google.protobuf.ByteString getKafkaClusterBytes()
       Required. Immutable. The name of the Kafka cluster this Kafka Connect
       cluster is attached to. Structured like:
       projects/{project}/locations/{location}/clusters/{cluster}
       
      string kafka_cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for kafkaCluster.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The time when the cluster was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The time when the cluster was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

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

      boolean containsLabels(String key)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 5 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

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

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

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

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

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

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

       Output only. The current state of the cluster.
       
      .google.cloud.managedkafka.v1.ConnectCluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getConfigCount

      int getConfigCount()
       Optional. Configurations for the worker that are overridden from the
       defaults. The key of the map is a Kafka Connect worker property name, for
       example: `exactly.once.source.support`.
       
      map<string, string> config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • containsConfig

      boolean containsConfig(String key)
       Optional. Configurations for the worker that are overridden from the
       defaults. The key of the map is a Kafka Connect worker property name, for
       example: `exactly.once.source.support`.
       
      map<string, string> config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getConfig

      Deprecated.
      Use getConfigMap() instead.
    • getConfigMap

      Map<String,String> getConfigMap()
       Optional. Configurations for the worker that are overridden from the
       defaults. The key of the map is a Kafka Connect worker property name, for
       example: `exactly.once.source.support`.
       
      map<string, string> config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getConfigOrDefault

      String getConfigOrDefault(String key, String defaultValue)
       Optional. Configurations for the worker that are overridden from the
       defaults. The key of the map is a Kafka Connect worker property name, for
       example: `exactly.once.source.support`.
       
      map<string, string> config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getConfigOrThrow

      String getConfigOrThrow(String key)
       Optional. Configurations for the worker that are overridden from the
       defaults. The key of the map is a Kafka Connect worker property name, for
       example: `exactly.once.source.support`.
       
      map<string, string> config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getPlatformConfigCase

      ConnectCluster.PlatformConfigCase getPlatformConfigCase()