Package com.google.cloud.managedkafka.v1
Interface CapacityConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CapacityConfig,CapacityConfig.Builder
@Generated
public interface CapacityConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
getVcpuCount
long getVcpuCount()Required. The number of vCPUs to provision for the cluster. Minimum: 3.
int64 vcpu_count = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The vcpuCount.
-
getMemoryBytes
long getMemoryBytes()Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
int64 memory_bytes = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The memoryBytes.
-