Package com.google.cloud.managedkafka.v1
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 Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.Required.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.Optional.booleanOutput only.booleanOutput only.getState()Output only.intOutput only.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanRequired.booleanOutput only.booleanRequired.booleanOptional.booleanOutput only.booleanOutput only.booleanOptional.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
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()
-