public interface ConnectClusterOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsConfig(String key)
public abstract 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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsLabels(String key)
public abstract boolean containsLabels(String key)Optional. Labels as key value pairs.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCapacityConfig()
public abstract CapacityConfig getCapacityConfig()Required. Capacity configuration for the Kafka Connect cluster.
.google.cloud.managedkafka.v1.CapacityConfig capacity_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CapacityConfig |
The capacityConfig. |
getCapacityConfigOrBuilder()
public abstract CapacityConfigOrBuilder getCapacityConfigOrBuilder()Required. Capacity configuration for the Kafka Connect cluster.
.google.cloud.managedkafka.v1.CapacityConfig capacity_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CapacityConfigOrBuilder |
|
getConfig() (deprecated)
public abstract Map<String,String> getConfig()Use #getConfigMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getConfigCount()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
int |
|
getConfigMap()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getConfigOrDefault(String key, String defaultValue)
public abstract 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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getConfigOrThrow(String key)
public abstract 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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getCreateTime()
public abstract Timestamp getCreateTime()Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getGcpConfig()
public abstract 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 | |
|---|---|
| Type | Description |
ConnectGcpConfig |
The gcpConfig. |
getGcpConfigOrBuilder()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
ConnectGcpConfigOrBuilder |
|
getKafkaCluster()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The kafkaCluster. |
getKafkaClusterBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for kafkaCluster. |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public abstract int getLabelsCount()Optional. Labels as key value pairs.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public abstract Map<String,String> getLabelsMap()Optional. Labels as key value pairs.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)Optional. Labels as key value pairs.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)Optional. Labels as key value pairs.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getName()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPlatformConfigCase()
public abstract ConnectCluster.PlatformConfigCase getPlatformConfigCase()| Returns | |
|---|---|
| Type | Description |
ConnectCluster.PlatformConfigCase |
|
getState()
public abstract ConnectCluster.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 | |
|---|---|
| Type | Description |
ConnectCluster.State |
The state. |
getStateValue()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public abstract 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 | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCapacityConfig()
public abstract boolean hasCapacityConfig()Required. Capacity configuration for the Kafka Connect cluster.
.google.cloud.managedkafka.v1.CapacityConfig capacity_config = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the capacityConfig field is set. |
hasCreateTime()
public abstract boolean hasCreateTime()Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasGcpConfig()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the gcpConfig field is set. |
hasUpdateTime()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |