Interface NodePoolOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodePool,NodePool.Builder
@Generated
public interface NodePoolOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels associated with this resource.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.intLabels associated with this resource.Labels associated with this resource.getLabelsOrDefault(String key, String defaultValue) Labels associated with this resource.getLabelsOrThrow(String key) Labels associated with this resource.Optional.Optional.Only machines matching this filter will be allowed to join the node pool.com.google.protobuf.ByteStringOnly machines matching this filter will be allowed to join the node pool.getName()Required.com.google.protobuf.ByteStringRequired.Optional.Optional.intRequired.Name of the Google Distributed Cloud Edge zone where this node pool will be created.com.google.protobuf.ByteStringName of the Google Distributed Cloud Edge zone where this node pool will be created.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.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
-
getName
String getName()Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The time when the node pool 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 node pool 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 node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The time when the node pool 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 node pool 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 node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Labels associated with this resource.
map<string, string> labels = 4; -
containsLabels
Labels associated with this resource.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels associated with this resource.
map<string, string> labels = 4; -
getLabelsOrDefault
Labels associated with this resource.
map<string, string> labels = 4; -
getLabelsOrThrow
Labels associated with this resource.
map<string, string> labels = 4; -
getNodeLocation
String getNodeLocation()Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
string node_location = 8;- Returns:
- The nodeLocation.
-
getNodeLocationBytes
com.google.protobuf.ByteString getNodeLocationBytes()Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
string node_location = 8;- Returns:
- The bytes for nodeLocation.
-
getNodeCount
int getNodeCount()Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The nodeCount.
-
getMachineFilter
String getMachineFilter()Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
string machine_filter = 7;- Returns:
- The machineFilter.
-
getMachineFilterBytes
com.google.protobuf.ByteString getMachineFilterBytes()Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
string machine_filter = 7;- Returns:
- The bytes for machineFilter.
-
hasLocalDiskEncryption
boolean hasLocalDiskEncryption()Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the localDiskEncryption field is set.
-
getLocalDiskEncryption
NodePool.LocalDiskEncryption getLocalDiskEncryption()Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The localDiskEncryption.
-
getLocalDiskEncryptionOrBuilder
NodePool.LocalDiskEncryptionOrBuilder getLocalDiskEncryptionOrBuilder()Optional. Local disk encryption options. This field is only used when enabling CMEK support.
.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getNodeVersion
String getNodeVersion()Output only. The lowest release version among all worker nodes.
string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The nodeVersion.
-
getNodeVersionBytes
com.google.protobuf.ByteString getNodeVersionBytes()Output only. The lowest release version among all worker nodes.
string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for nodeVersion.
-
hasNodeConfig
boolean hasNodeConfig()Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the nodeConfig field is set.
-
getNodeConfig
NodePool.NodeConfig getNodeConfig()Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The nodeConfig.
-
getNodeConfigOrBuilder
NodePool.NodeConfigOrBuilder getNodeConfigOrBuilder()Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];
-