Interface NodePoolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodePool,NodePool.Builder
public interface NodePoolOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels associated with this resource.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels associated with this resource.Map<String,String>getLabelsMap()Labels associated with this resource.StringgetLabelsOrDefault(String key, String defaultValue)Labels associated with this resource.StringgetLabelsOrThrow(String key)Labels associated with this resource.NodePool.LocalDiskEncryptiongetLocalDiskEncryption()Optional.NodePool.LocalDiskEncryptionOrBuildergetLocalDiskEncryptionOrBuilder()Optional.StringgetMachineFilter()Only machines matching this filter will be allowed to join the node pool.com.google.protobuf.ByteStringgetMachineFilterBytes()Only machines matching this filter will be allowed to join the node pool.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.intgetNodeCount()Required.StringgetNodeLocation()Name of the Google Distributed Cloud Edge zone where this node pool will be created.com.google.protobuf.ByteStringgetNodeLocationBytes()Name of the Google Distributed Cloud Edge zone where this node pool will be created.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasLocalDiskEncryption()Optional.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
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];
-
-