publicfinalclass NodePoolextendsGeneratedMessageV3implementsNodePoolOrBuilder
A set of Kubernetes nodes in a cluster with common configuration and
specification.
Protobuf type google.cloud.edgecontainer.v1.NodePool
Static Fields
CREATE_TIME_FIELD_NUMBER
publicstaticfinalintCREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
LABELS_FIELD_NUMBER
publicstaticfinalintLABELS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
LOCAL_DISK_ENCRYPTION_FIELD_NUMBER
publicstaticfinalintLOCAL_DISK_ENCRYPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MACHINE_FILTER_FIELD_NUMBER
publicstaticfinalintMACHINE_FILTER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NAME_FIELD_NUMBER
publicstaticfinalintNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NODE_COUNT_FIELD_NUMBER
publicstaticfinalintNODE_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NODE_LOCATION_FIELD_NUMBER
publicstaticfinalintNODE_LOCATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
UPDATE_TIME_FIELD_NUMBER
publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticNodePoolgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticNodePool.BuildernewBuilder()
newBuilder(NodePool prototype)
publicstaticNodePool.BuildernewBuilder(NodePoolprototype)
| Parameter |
| Name |
Description |
prototype |
NodePool
|
publicstaticNodePoolparseDelimitedFrom(InputStreaminput)
publicstaticNodePoolparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticNodePoolparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticNodePoolparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticNodePoolparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticNodePoolparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticNodePoolparseFrom(CodedInputStreaminput)
publicstaticNodePoolparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticNodePoolparseFrom(InputStreaminput)
publicstaticNodePoolparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticNodePoolparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticNodePoolparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<NodePool>parser()
Methods
containsLabels(String key)
publicbooleancontainsLabels(Stringkey)
Labels associated with this resource.
map<string, string> labels = 4;
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCreateTime()
publicTimestampgetCreateTime()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
publicNodePoolgetDefaultInstanceForType()
getLabels()
publicMap<String,String>getLabels()
getLabelsCount()
publicintgetLabelsCount()
Labels associated with this resource.
map<string, string> labels = 4;
| Returns |
| Type |
Description |
int |
getLabelsMap()
publicMap<String,String>getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
getLabelsOrDefault(String key, String defaultValue)
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)
Labels associated with this resource.
map<string, string> labels = 4;
| Returns |
| Type |
Description |
String |
getLabelsOrThrow(String key)
publicStringgetLabelsOrThrow(Stringkey)
Labels associated with this resource.
map<string, string> labels = 4;
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
getLocalDiskEncryption()
publicNodePool.LocalDiskEncryptiongetLocalDiskEncryption()
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()
publicNodePool.LocalDiskEncryptionOrBuildergetLocalDiskEncryptionOrBuilder()
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];
getMachineFilter()
publicStringgetMachineFilter()
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.
string machine_filter = 7;
| Returns |
| Type |
Description |
String |
The machineFilter.
|
getMachineFilterBytes()
publicByteStringgetMachineFilterBytes()
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.
string machine_filter = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for machineFilter.
|
getName()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
publicByteStringgetNameBytes()
Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getNodeCount()
Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The nodeCount.
|
getNodeLocation()
publicStringgetNodeLocation()
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 |
| Type |
Description |
String |
The nodeLocation.
|
getNodeLocationBytes()
publicByteStringgetNodeLocationBytes()
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 |
| Type |
Description |
ByteString |
The bytes for nodeLocation.
|
getParserForType()
publicParser<NodePool>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()
Overrides
getUpdateTime()
publicTimestampgetUpdateTime()
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
publicTimestampOrBuildergetUpdateTimeOrBuilder()
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
publicbooleanhasCreateTime()
Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
hasLocalDiskEncryption()
publicbooleanhasLocalDiskEncryption()
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 |
| Type |
Description |
boolean |
Whether the localDiskEncryption field is set.
|
hasUpdateTime()
publicbooleanhasUpdateTime()
Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protectedMapFieldinternalGetMapField(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicNodePool.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedNodePool.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicNodePool.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides