Class NodePool.Builder (0.69.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.75.0 (latest)
- 0.73.0
- 0.72.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.67.0
- 0.65.0
- 0.64.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
publicstaticfinalclass NodePool.BuilderextendsGeneratedMessageV3.Builder<NodePool.Builder>implementsNodePoolOrBuilderA set of Kubernetes nodes in a cluster with common configuration and specification.
Protobuf type google.cloud.edgecontainer.v1.NodePool
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodePool.BuilderImplements
NodePoolOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicNodePool.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
build()
publicNodePoolbuild()| Returns | |
|---|---|
| Type | Description |
NodePool |
|
buildPartial()
publicNodePoolbuildPartial()| Returns | |
|---|---|
| Type | Description |
NodePool |
|
clear()
publicNodePool.Builderclear()| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
clearCreateTime()
publicNodePool.BuilderclearCreateTime()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 |
NodePool.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicNodePool.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
clearLabels()
publicNodePool.BuilderclearLabels()| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
clearLocalDiskEncryption()
publicNodePool.BuilderclearLocalDiskEncryption()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 |
NodePool.Builder |
|
clearMachineFilter()
publicNodePool.BuilderclearMachineFilter()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 |
NodePool.Builder |
This builder for chaining. |
clearName()
publicNodePool.BuilderclearName()Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
clearNodeConfig()
publicNodePool.BuilderclearNodeConfig()Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
clearNodeCount()
publicNodePool.BuilderclearNodeCount()Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
clearNodeLocation()
publicNodePool.BuilderclearNodeLocation() 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 |
NodePool.Builder |
This builder for chaining. |
clearNodeVersion()
publicNodePool.BuilderclearNodeVersion()Output only. The lowest release version among all worker nodes.
string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicNodePool.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
clearUpdateTime()
publicNodePool.BuilderclearUpdateTime()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 |
NodePool.Builder |
|
clone()
publicNodePool.Builderclone()| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
containsLabels(String key)
publicbooleancontainsLabels(Stringkey)Labels associated with this resource.
map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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. |
getCreateTimeBuilder()
publicTimestamp.BuildergetCreateTimeBuilder()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 |
Builder |
|
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()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 |
TimestampOrBuilder |
|
getDefaultInstanceForType()
publicNodePoolgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NodePool |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabels() (deprecated)
publicMap<String,String>getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)Labels associated with this resource.
map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| 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];
| Returns | |
|---|---|
| Type | Description |
NodePool.LocalDiskEncryption |
The localDiskEncryption. |
getLocalDiskEncryptionBuilder()
publicNodePool.LocalDiskEncryption.BuildergetLocalDiskEncryptionBuilder()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 |
NodePool.LocalDiskEncryption.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
NodePool.LocalDiskEncryptionOrBuilder |
|
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. |
getMutableLabels() (deprecated)
publicMap<String,String>getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
publicStringgetName()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. |
getNodeConfig()
publicNodePool.NodeConfiggetNodeConfig()Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NodePool.NodeConfig |
The nodeConfig. |
getNodeConfigBuilder()
publicNodePool.NodeConfig.BuildergetNodeConfigBuilder()Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NodePool.NodeConfig.Builder |
|
getNodeConfigOrBuilder()
publicNodePool.NodeConfigOrBuildergetNodeConfigOrBuilder()Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NodePool.NodeConfigOrBuilder |
|
getNodeCount()
publicintgetNodeCount()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. |
getNodeVersion()
publicStringgetNodeVersion()Output only. The lowest release version among all worker nodes.
string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The nodeVersion. |
getNodeVersionBytes()
publicByteStringgetNodeVersionBytes()Output only. The lowest release version among all worker nodes.
string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nodeVersion. |
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. |
getUpdateTimeBuilder()
publicTimestamp.BuildergetUpdateTimeBuilder()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 |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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. |
hasNodeConfig()
publicbooleanhasNodeConfig()Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nodeConfig 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. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
publicNodePool.BuildermergeCreateTime(Timestampvalue)Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
mergeFrom(NodePool other)
publicNodePool.BuildermergeFrom(NodePoolother)| Parameter | |
|---|---|
| Name | Description |
other |
NodePool |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicNodePool.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicNodePool.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
mergeLocalDiskEncryption(NodePool.LocalDiskEncryption value)
publicNodePool.BuildermergeLocalDiskEncryption(NodePool.LocalDiskEncryptionvalue)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];
| Parameter | |
|---|---|
| Name | Description |
value |
NodePool.LocalDiskEncryption |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
mergeNodeConfig(NodePool.NodeConfig value)
publicNodePool.BuildermergeNodeConfig(NodePool.NodeConfigvalue)Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
NodePool.NodeConfig |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalNodePool.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
mergeUpdateTime(Timestamp value)
publicNodePool.BuildermergeUpdateTime(Timestampvalue)Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
putAllLabels(Map<String,String> values)
publicNodePool.BuilderputAllLabels(Map<String,String>values)Labels associated with this resource.
map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
putLabels(String key, String value)
publicNodePool.BuilderputLabels(Stringkey,Stringvalue)Labels associated with this resource.
map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
removeLabels(String key)
publicNodePool.BuilderremoveLabels(Stringkey)Labels associated with this resource.
map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setCreateTime(Timestamp value)
publicNodePool.BuildersetCreateTime(Timestampvalue)Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
publicNodePool.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicNodePool.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setLocalDiskEncryption(NodePool.LocalDiskEncryption value)
publicNodePool.BuildersetLocalDiskEncryption(NodePool.LocalDiskEncryptionvalue)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];
| Parameter | |
|---|---|
| Name | Description |
value |
NodePool.LocalDiskEncryption |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setLocalDiskEncryption(NodePool.LocalDiskEncryption.Builder builderForValue)
publicNodePool.BuildersetLocalDiskEncryption(NodePool.LocalDiskEncryption.BuilderbuilderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NodePool.LocalDiskEncryption.Builder |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setMachineFilter(String value)
publicNodePool.BuildersetMachineFilter(Stringvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
String The machineFilter to set. |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
setMachineFilterBytes(ByteString value)
publicNodePool.BuildersetMachineFilterBytes(ByteStringvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for machineFilter to set. |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
setName(String value)
publicNodePool.BuildersetName(Stringvalue)Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The name to set. |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
publicNodePool.BuildersetNameBytes(ByteStringvalue)Required. The resource name of the node pool.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
setNodeConfig(NodePool.NodeConfig value)
publicNodePool.BuildersetNodeConfig(NodePool.NodeConfigvalue)Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
NodePool.NodeConfig |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setNodeConfig(NodePool.NodeConfig.Builder builderForValue)
publicNodePool.BuildersetNodeConfig(NodePool.NodeConfig.BuilderbuilderForValue)Optional. Configuration for each node in the NodePool
.google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NodePool.NodeConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setNodeCount(int value)
publicNodePool.BuildersetNodeCount(intvalue)Required. The number of nodes in the pool.
int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
int The nodeCount to set. |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
setNodeLocation(String value)
publicNodePool.BuildersetNodeLocation(Stringvalue) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
String The nodeLocation to set. |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
setNodeLocationBytes(ByteString value)
publicNodePool.BuildersetNodeLocationBytes(ByteStringvalue) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for nodeLocation to set. |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
setNodeVersion(String value)
publicNodePool.BuildersetNodeVersion(Stringvalue)Output only. The lowest release version among all worker nodes.
string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
String The nodeVersion to set. |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
setNodeVersionBytes(ByteString value)
publicNodePool.BuildersetNodeVersionBytes(ByteStringvalue)Output only. The lowest release version among all worker nodes.
string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for nodeVersion to set. |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicNodePool.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalNodePool.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setUpdateTime(Timestamp value)
publicNodePool.BuildersetUpdateTime(Timestampvalue)Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
publicNodePool.BuildersetUpdateTime(Timestamp.BuilderbuilderForValue)Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
NodePool.Builder |
|