public final class NodePool extends com.google.protobuf.GeneratedMessageV3 implements NodePoolOrBuilder
A set of Kubernetes nodes in a cluster with common configuration and specification.Protobuf type
google.cloud.edgecontainer.v1.NodePool| Modifier and Type | Class and Description |
|---|---|
static class |
NodePool.Builder
A set of Kubernetes nodes in a cluster with common configuration and
specification.
|
static class |
NodePool.LocalDiskEncryption
Configuration for CMEK support for edge machine local disk encryption.
|
static interface |
NodePool.LocalDiskEncryptionOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
LOCAL_DISK_ENCRYPTION_FIELD_NUMBER |
static int |
MACHINE_FILTER_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NODE_COUNT_FIELD_NUMBER |
static int |
NODE_LOCATION_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels associated with this resource.
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static NodePool |
getDefaultInstance() |
NodePool |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this resource.
|
Map<String,String> |
getLabelsMap()
Labels associated with this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this resource.
|
String |
getLabelsOrThrow(String key)
Labels associated with this resource.
|
NodePool.LocalDiskEncryption |
getLocalDiskEncryption()
Optional.
|
NodePool.LocalDiskEncryptionOrBuilder |
getLocalDiskEncryptionOrBuilder()
Optional.
|
String |
getMachineFilter()
Only machines matching this filter will be allowed to join the node pool.
|
com.google.protobuf.ByteString |
getMachineFilterBytes()
Only machines matching this filter will be allowed to join the node pool.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
int |
getNodeCount()
Required.
|
String |
getNodeLocation()
Name of the Google Distributed Cloud Edge zone where this node pool will be
created.
|
com.google.protobuf.ByteString |
getNodeLocationBytes()
Name of the Google Distributed Cloud Edge zone where this node pool will be
created.
|
com.google.protobuf.Parser<NodePool> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasLocalDiskEncryption()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static NodePool.Builder |
newBuilder() |
static NodePool.Builder |
newBuilder(NodePool prototype) |
NodePool.Builder |
newBuilderForType() |
protected NodePool.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static NodePool |
parseDelimitedFrom(InputStream input) |
static NodePool |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePool |
parseFrom(byte[] data) |
static NodePool |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePool |
parseFrom(ByteBuffer data) |
static NodePool |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePool |
parseFrom(com.google.protobuf.ByteString data) |
static NodePool |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePool |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NodePool |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePool |
parseFrom(InputStream input) |
static NodePool |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NodePool> |
parser() |
NodePool.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int NODE_LOCATION_FIELD_NUMBER
public static final int NODE_COUNT_FIELD_NUMBER
public static final int MACHINE_FILTER_FIELD_NUMBER
public static final int LOCAL_DISK_ENCRYPTION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface NodePoolOrBuilderpublic 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) = { ... }
getNameBytes in interface NodePoolOrBuilderpublic boolean hasCreateTime()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface NodePoolOrBuilderpublic 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];
getCreateTime in interface NodePoolOrBuilderpublic 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];
getCreateTimeOrBuilder in interface NodePoolOrBuilderpublic 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];
hasUpdateTime in interface NodePoolOrBuilderpublic 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];
getUpdateTime in interface NodePoolOrBuilderpublic 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];
getUpdateTimeOrBuilder in interface NodePoolOrBuilderpublic int getLabelsCount()
NodePoolOrBuilderLabels associated with this resource.
map<string, string> labels = 4;getLabelsCount in interface NodePoolOrBuilderpublic boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;containsLabels in interface NodePoolOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface NodePoolOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;getLabelsMap in interface NodePoolOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrDefault in interface NodePoolOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrThrow in interface NodePoolOrBuilderpublic 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;getNodeLocation in interface NodePoolOrBuilderpublic 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;getNodeLocationBytes in interface NodePoolOrBuilderpublic int getNodeCount()
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];getNodeCount in interface NodePoolOrBuilderpublic 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;getMachineFilter in interface NodePoolOrBuilderpublic 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;getMachineFilterBytes in interface NodePoolOrBuilderpublic 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];
hasLocalDiskEncryption in interface NodePoolOrBuilderpublic 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];
getLocalDiskEncryption in interface NodePoolOrBuilderpublic 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];
getLocalDiskEncryptionOrBuilder in interface NodePoolOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NodePool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePool parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePool parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePool parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePool parseFrom(InputStream input) throws IOException
IOExceptionpublic static NodePool parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NodePool parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NodePool parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NodePool parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NodePool parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NodePool.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NodePool.Builder newBuilder()
public static NodePool.Builder newBuilder(NodePool prototype)
public NodePool.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NodePool.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static NodePool getDefaultInstance()
public static com.google.protobuf.Parser<NodePool> parser()
public com.google.protobuf.Parser<NodePool> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NodePool getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.