Interface NodePool.NodeConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodePool.NodeConfig,NodePool.NodeConfig.Builder
- Enclosing class:
- NodePool
public static interface NodePool.NodeConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Optional.com.google.protobuf.ByteStringOptional.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
-
getLabelsCount
int getLabelsCount()Optional. The Kubernetes node labels
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. The Kubernetes node labels
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. The Kubernetes node labels
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. The Kubernetes node labels
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. The Kubernetes node labels
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getNodeStorageSchema
String getNodeStorageSchema()Optional. Name for the storage schema of worker nodes. Warning: Configurable node local storage schema feature is an experimental feature, and is not recommended for general use in production clusters/nodepools.
string node_storage_schema = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The nodeStorageSchema.
-
getNodeStorageSchemaBytes
com.google.protobuf.ByteString getNodeStorageSchemaBytes()Optional. Name for the storage schema of worker nodes. Warning: Configurable node local storage schema feature is an experimental feature, and is not recommended for general use in production clusters/nodepools.
string node_storage_schema = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for nodeStorageSchema.
-