- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class NodePool.Builder extends GeneratedMessageV3.Builder<NodePool.Builder> implements NodePoolOrBuilder
NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
Protobuf type google.container.v1beta1.NodePool
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodePool.BuilderImplements
NodePoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllConditions(Iterable<? extends StatusCondition> values)
public NodePool.Builder addAllConditions(Iterable<? extends StatusCondition> values)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.container.v1beta1.StatusCondition> |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
addAllInstanceGroupUrls(Iterable<String> values)
public NodePool.Builder addAllInstanceGroupUrls(Iterable<String> values)
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The instanceGroupUrls to add. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
addAllLocations(Iterable<String> values)
public NodePool.Builder addAllLocations(Iterable<String> values)
The list of Google Compute Engine zones in which the NodePool's nodes should be located.
If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.
Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The locations to add. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
addConditions(StatusCondition value)
public NodePool.Builder addConditions(StatusCondition value)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameter | |
---|---|
Name | Description |
value | StatusCondition |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
addConditions(StatusCondition.Builder builderForValue)
public NodePool.Builder addConditions(StatusCondition.Builder builderForValue)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameter | |
---|---|
Name | Description |
builderForValue | StatusCondition.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
addConditions(int index, StatusCondition value)
public NodePool.Builder addConditions(int index, StatusCondition value)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameters | |
---|---|
Name | Description |
index | int |
value | StatusCondition |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
addConditions(int index, StatusCondition.Builder builderForValue)
public NodePool.Builder addConditions(int index, StatusCondition.Builder builderForValue)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
addConditionsBuilder()
public StatusCondition.Builder addConditionsBuilder()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Returns | |
---|---|
Type | Description |
StatusCondition.Builder |
addConditionsBuilder(int index)
public StatusCondition.Builder addConditionsBuilder(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StatusCondition.Builder |
addInstanceGroupUrls(String value)
public NodePool.Builder addInstanceGroupUrls(String value)
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;
Parameter | |
---|---|
Name | Description |
value | String The instanceGroupUrls to add. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
addInstanceGroupUrlsBytes(ByteString value)
public NodePool.Builder addInstanceGroupUrlsBytes(ByteString value)
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the instanceGroupUrls to add. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
addLocations(String value)
public NodePool.Builder addLocations(String value)
The list of Google Compute Engine zones in which the NodePool's nodes should be located.
If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.
Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;
Parameter | |
---|---|
Name | Description |
value | String The locations to add. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
addLocationsBytes(ByteString value)
public NodePool.Builder addLocationsBytes(ByteString value)
The list of Google Compute Engine zones in which the NodePool's nodes should be located.
If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.
Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the locations to add. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
build()
public NodePool build()
Returns | |
---|---|
Type | Description |
NodePool |
buildPartial()
public NodePool buildPartial()
Returns | |
---|---|
Type | Description |
NodePool |
clear()
public NodePool.Builder clear()
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearAutoscaling()
public NodePool.Builder clearAutoscaling()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearBestEffortProvisioning()
public NodePool.Builder clearBestEffortProvisioning()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearConditions()
public NodePool.Builder clearConditions()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearConfig()
public NodePool.Builder clearConfig()
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearEtag()
public NodePool.Builder clearEtag()
This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 110;
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NodePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearInitialNodeCount()
public NodePool.Builder clearInitialNodeCount()
The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.
int32 initial_node_count = 3;
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clearInstanceGroupUrls()
public NodePool.Builder clearInstanceGroupUrls()
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clearLocations()
public NodePool.Builder clearLocations()
The list of Google Compute Engine zones in which the NodePool's nodes should be located.
If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.
Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clearManagement()
public NodePool.Builder clearManagement()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearMaxPodsConstraint()
public NodePool.Builder clearMaxPodsConstraint()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearName()
public NodePool.Builder clearName()
The name of the node pool.
string name = 1;
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clearNetworkConfig()
public NodePool.Builder clearNetworkConfig()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearPlacementPolicy()
public NodePool.Builder clearPlacementPolicy()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearPodIpv4CidrSize()
public NodePool.Builder clearPodIpv4CidrSize()
[Output only] The pod CIDR block size per node in this node pool.
int32 pod_ipv4_cidr_size = 7;
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clearQueuedProvisioning()
public NodePool.Builder clearQueuedProvisioning()
Specifies the configuration of queued provisioning.
.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 112;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearSelfLink()
public NodePool.Builder clearSelfLink()
[Output only] Server-defined URL for the resource.
string self_link = 100;
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clearStatus()
public NodePool.Builder clearStatus()
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clearStatusMessage() (deprecated)
public NodePool.Builder clearStatusMessage()
Deprecated. google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=4037
[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
string status_message = 104 [deprecated = true];
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clearUpdateInfo()
public NodePool.Builder clearUpdateInfo()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearUpgradeSettings()
public NodePool.Builder clearUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
Returns | |
---|---|
Type | Description |
NodePool.Builder |
clearVersion()
public NodePool.Builder clearVersion()
The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.
string version = 101;
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
clone()
public NodePool.Builder clone()
Returns | |
---|---|
Type | Description |
NodePool.Builder |
getAutoscaling()
public NodePoolAutoscaling getAutoscaling()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
Returns | |
---|---|
Type | Description |
NodePoolAutoscaling | The autoscaling. |
getAutoscalingBuilder()
public NodePoolAutoscaling.Builder getAutoscalingBuilder()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
Returns | |
---|---|
Type | Description |
NodePoolAutoscaling.Builder |
getAutoscalingOrBuilder()
public NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
Returns | |
---|---|
Type | Description |
NodePoolAutoscalingOrBuilder |
getBestEffortProvisioning()
public BestEffortProvisioning getBestEffortProvisioning()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
Returns | |
---|---|
Type | Description |
BestEffortProvisioning | The bestEffortProvisioning. |
getBestEffortProvisioningBuilder()
public BestEffortProvisioning.Builder getBestEffortProvisioningBuilder()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
Returns | |
---|---|
Type | Description |
BestEffortProvisioning.Builder |
getBestEffortProvisioningOrBuilder()
public BestEffortProvisioningOrBuilder getBestEffortProvisioningOrBuilder()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
Returns | |
---|---|
Type | Description |
BestEffortProvisioningOrBuilder |
getConditions(int index)
public StatusCondition getConditions(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StatusCondition |
getConditionsBuilder(int index)
public StatusCondition.Builder getConditionsBuilder(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StatusCondition.Builder |
getConditionsBuilderList()
public List<StatusCondition.Builder> getConditionsBuilderList()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Returns | |
---|---|
Type | Description |
List<Builder> |
getConditionsCount()
public int getConditionsCount()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Returns | |
---|---|
Type | Description |
int |
getConditionsList()
public List<StatusCondition> getConditionsList()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Returns | |
---|---|
Type | Description |
List<StatusCondition> |
getConditionsOrBuilder(int index)
public StatusConditionOrBuilder getConditionsOrBuilder(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StatusConditionOrBuilder |
getConditionsOrBuilderList()
public List<? extends StatusConditionOrBuilder> getConditionsOrBuilderList()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Returns | |
---|---|
Type | Description |
List<? extends com.google.container.v1beta1.StatusConditionOrBuilder> |
getConfig()
public NodeConfig getConfig()
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
Returns | |
---|---|
Type | Description |
NodeConfig | The config. |
getConfigBuilder()
public NodeConfig.Builder getConfigBuilder()
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
getConfigOrBuilder()
public NodeConfigOrBuilder getConfigOrBuilder()
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
Returns | |
---|---|
Type | Description |
NodeConfigOrBuilder |
getDefaultInstanceForType()
public NodePool getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NodePool |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEtag()
public String getEtag()
This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 110;
Returns | |
---|---|
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 110;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for etag. |
getInitialNodeCount()
public int getInitialNodeCount()
The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.
int32 initial_node_count = 3;
Returns | |
---|---|
Type | Description |
int | The initialNodeCount. |
getInstanceGroupUrls(int index)
public String getInstanceGroupUrls(int index)
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The instanceGroupUrls at the given index. |
getInstanceGroupUrlsBytes(int index)
public ByteString getInstanceGroupUrlsBytes(int index)
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the instanceGroupUrls at the given index. |
getInstanceGroupUrlsCount()
public int getInstanceGroupUrlsCount()
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;
Returns | |
---|---|
Type | Description |
int | The count of instanceGroupUrls. |
getInstanceGroupUrlsList()
public ProtocolStringList getInstanceGroupUrlsList()
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the instanceGroupUrls. |
getLocations(int index)
public String getLocations(int index)
The list of Google Compute Engine zones in which the NodePool's nodes should be located.
If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.
Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The locations at the given index. |
getLocationsBytes(int index)
public ByteString getLocationsBytes(int index)
The list of Google Compute Engine zones in which the NodePool's nodes should be located.
If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.
Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the locations at the given index. |
getLocationsCount()
public int getLocationsCount()
The list of Google Compute Engine zones in which the NodePool's nodes should be located.
If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.
Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;
Returns | |
---|---|
Type | Description |
int | The count of locations. |
getLocationsList()
public ProtocolStringList getLocationsList()
The list of Google Compute Engine zones in which the NodePool's nodes should be located.
If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.
Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the locations. |
getManagement()
public NodeManagement getManagement()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
Returns | |
---|---|
Type | Description |
NodeManagement | The management. |
getManagementBuilder()
public NodeManagement.Builder getManagementBuilder()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
Returns | |
---|---|
Type | Description |
NodeManagement.Builder |
getManagementOrBuilder()
public NodeManagementOrBuilder getManagementOrBuilder()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
Returns | |
---|---|
Type | Description |
NodeManagementOrBuilder |
getMaxPodsConstraint()
public MaxPodsConstraint getMaxPodsConstraint()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
Returns | |
---|---|
Type | Description |
MaxPodsConstraint | The maxPodsConstraint. |
getMaxPodsConstraintBuilder()
public MaxPodsConstraint.Builder getMaxPodsConstraintBuilder()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
Returns | |
---|---|
Type | Description |
MaxPodsConstraint.Builder |
getMaxPodsConstraintOrBuilder()
public MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
Returns | |
---|---|
Type | Description |
MaxPodsConstraintOrBuilder |
getName()
public String getName()
The name of the node pool.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the node pool.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNetworkConfig()
public NodeNetworkConfig getNetworkConfig()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig | The networkConfig. |
getNetworkConfigBuilder()
public NodeNetworkConfig.Builder getNetworkConfigBuilder()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
getNetworkConfigOrBuilder()
public NodeNetworkConfigOrBuilder getNetworkConfigOrBuilder()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
Returns | |
---|---|
Type | Description |
NodeNetworkConfigOrBuilder |
getPlacementPolicy()
public NodePool.PlacementPolicy getPlacementPolicy()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
Returns | |
---|---|
Type | Description |
NodePool.PlacementPolicy | The placementPolicy. |
getPlacementPolicyBuilder()
public NodePool.PlacementPolicy.Builder getPlacementPolicyBuilder()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
Returns | |
---|---|
Type | Description |
NodePool.PlacementPolicy.Builder |
getPlacementPolicyOrBuilder()
public NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
Returns | |
---|---|
Type | Description |
NodePool.PlacementPolicyOrBuilder |
getPodIpv4CidrSize()
public int getPodIpv4CidrSize()
[Output only] The pod CIDR block size per node in this node pool.
int32 pod_ipv4_cidr_size = 7;
Returns | |
---|---|
Type | Description |
int | The podIpv4CidrSize. |
getQueuedProvisioning()
public NodePool.QueuedProvisioning getQueuedProvisioning()
Specifies the configuration of queued provisioning.
.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 112;
Returns | |
---|---|
Type | Description |
NodePool.QueuedProvisioning | The queuedProvisioning. |
getQueuedProvisioningBuilder()
public NodePool.QueuedProvisioning.Builder getQueuedProvisioningBuilder()
Specifies the configuration of queued provisioning.
.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 112;
Returns | |
---|---|
Type | Description |
NodePool.QueuedProvisioning.Builder |
getQueuedProvisioningOrBuilder()
public NodePool.QueuedProvisioningOrBuilder getQueuedProvisioningOrBuilder()
Specifies the configuration of queued provisioning.
.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 112;
Returns | |
---|---|
Type | Description |
NodePool.QueuedProvisioningOrBuilder |
getSelfLink()
public String getSelfLink()
[Output only] Server-defined URL for the resource.
string self_link = 100;
Returns | |
---|---|
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output only] Server-defined URL for the resource.
string self_link = 100;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for selfLink. |
getStatus()
public NodePool.Status getStatus()
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;
Returns | |
---|---|
Type | Description |
NodePool.Status | The status. |
getStatusMessage() (deprecated)
public String getStatusMessage()
Deprecated. google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=4037
[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
string status_message = 104 [deprecated = true];
Returns | |
---|---|
Type | Description |
String | The statusMessage. |
getStatusMessageBytes() (deprecated)
public ByteString getStatusMessageBytes()
Deprecated. google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=4037
[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
string status_message = 104 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for statusMessage. |
getStatusValue()
public int getStatusValue()
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for status. |
getUpdateInfo()
public NodePool.UpdateInfo getUpdateInfo()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NodePool.UpdateInfo | The updateInfo. |
getUpdateInfoBuilder()
public NodePool.UpdateInfo.Builder getUpdateInfoBuilder()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NodePool.UpdateInfo.Builder |
getUpdateInfoOrBuilder()
public NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NodePool.UpdateInfoOrBuilder |
getUpgradeSettings()
public NodePool.UpgradeSettings getUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
Returns | |
---|---|
Type | Description |
NodePool.UpgradeSettings | The upgradeSettings. |
getUpgradeSettingsBuilder()
public NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
Returns | |
---|---|
Type | Description |
NodePool.UpgradeSettings.Builder |
getUpgradeSettingsOrBuilder()
public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
Returns | |
---|---|
Type | Description |
NodePool.UpgradeSettingsOrBuilder |
getVersion()
public String getVersion()
The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.
string version = 101;
Returns | |
---|---|
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.
string version = 101;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for version. |
hasAutoscaling()
public boolean hasAutoscaling()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the autoscaling field is set. |
hasBestEffortProvisioning()
public boolean hasBestEffortProvisioning()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
Returns | |
---|---|
Type | Description |
boolean | Whether the bestEffortProvisioning field is set. |
hasConfig()
public boolean hasConfig()
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the config field is set. |
hasManagement()
public boolean hasManagement()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the management field is set. |
hasMaxPodsConstraint()
public boolean hasMaxPodsConstraint()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the maxPodsConstraint field is set. |
hasNetworkConfig()
public boolean hasNetworkConfig()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
Returns | |
---|---|
Type | Description |
boolean | Whether the networkConfig field is set. |
hasPlacementPolicy()
public boolean hasPlacementPolicy()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
Returns | |
---|---|
Type | Description |
boolean | Whether the placementPolicy field is set. |
hasQueuedProvisioning()
public boolean hasQueuedProvisioning()
Specifies the configuration of queued provisioning.
.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 112;
Returns | |
---|---|
Type | Description |
boolean | Whether the queuedProvisioning field is set. |
hasUpdateInfo()
public boolean hasUpdateInfo()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateInfo field is set. |
hasUpgradeSettings()
public boolean hasUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
Returns | |
---|---|
Type | Description |
boolean | Whether the upgradeSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAutoscaling(NodePoolAutoscaling value)
public NodePool.Builder mergeAutoscaling(NodePoolAutoscaling value)
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
Parameter | |
---|---|
Name | Description |
value | NodePoolAutoscaling |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeBestEffortProvisioning(BestEffortProvisioning value)
public NodePool.Builder mergeBestEffortProvisioning(BestEffortProvisioning value)
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
Parameter | |
---|---|
Name | Description |
value | BestEffortProvisioning |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeConfig(NodeConfig value)
public NodePool.Builder mergeConfig(NodeConfig value)
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
Parameter | |
---|---|
Name | Description |
value | NodeConfig |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeFrom(NodePool other)
public NodePool.Builder mergeFrom(NodePool other)
Parameter | |
---|---|
Name | Description |
other | NodePool |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NodePool.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeManagement(NodeManagement value)
public NodePool.Builder mergeManagement(NodeManagement value)
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
Parameter | |
---|---|
Name | Description |
value | NodeManagement |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeMaxPodsConstraint(MaxPodsConstraint value)
public NodePool.Builder mergeMaxPodsConstraint(MaxPodsConstraint value)
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
Parameter | |
---|---|
Name | Description |
value | MaxPodsConstraint |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeNetworkConfig(NodeNetworkConfig value)
public NodePool.Builder mergeNetworkConfig(NodeNetworkConfig value)
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
Parameter | |
---|---|
Name | Description |
value | NodeNetworkConfig |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergePlacementPolicy(NodePool.PlacementPolicy value)
public NodePool.Builder mergePlacementPolicy(NodePool.PlacementPolicy value)
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
Parameter | |
---|---|
Name | Description |
value | NodePool.PlacementPolicy |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeQueuedProvisioning(NodePool.QueuedProvisioning value)
public NodePool.Builder mergeQueuedProvisioning(NodePool.QueuedProvisioning value)
Specifies the configuration of queued provisioning.
.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 112;
Parameter | |
---|---|
Name | Description |
value | NodePool.QueuedProvisioning |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeUpdateInfo(NodePool.UpdateInfo value)
public NodePool.Builder mergeUpdateInfo(NodePool.UpdateInfo value)
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | NodePool.UpdateInfo |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
mergeUpgradeSettings(NodePool.UpgradeSettings value)
public NodePool.Builder mergeUpgradeSettings(NodePool.UpgradeSettings value)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
Parameter | |
---|---|
Name | Description |
value | NodePool.UpgradeSettings |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
removeConditions(int index)
public NodePool.Builder removeConditions(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setAutoscaling(NodePoolAutoscaling value)
public NodePool.Builder setAutoscaling(NodePoolAutoscaling value)
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
Parameter | |
---|---|
Name | Description |
value | NodePoolAutoscaling |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setAutoscaling(NodePoolAutoscaling.Builder builderForValue)
public NodePool.Builder setAutoscaling(NodePoolAutoscaling.Builder builderForValue)
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | NodePoolAutoscaling.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setBestEffortProvisioning(BestEffortProvisioning value)
public NodePool.Builder setBestEffortProvisioning(BestEffortProvisioning value)
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
Parameter | |
---|---|
Name | Description |
value | BestEffortProvisioning |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setBestEffortProvisioning(BestEffortProvisioning.Builder builderForValue)
public NodePool.Builder setBestEffortProvisioning(BestEffortProvisioning.Builder builderForValue)
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
Parameter | |
---|---|
Name | Description |
builderForValue | BestEffortProvisioning.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setConditions(int index, StatusCondition value)
public NodePool.Builder setConditions(int index, StatusCondition value)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameters | |
---|---|
Name | Description |
index | int |
value | StatusCondition |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setConditions(int index, StatusCondition.Builder builderForValue)
public NodePool.Builder setConditions(int index, StatusCondition.Builder builderForValue)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setConfig(NodeConfig value)
public NodePool.Builder setConfig(NodeConfig value)
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
Parameter | |
---|---|
Name | Description |
value | NodeConfig |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setConfig(NodeConfig.Builder builderForValue)
public NodePool.Builder setConfig(NodeConfig.Builder builderForValue)
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
Parameter | |
---|---|
Name | Description |
builderForValue | NodeConfig.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setEtag(String value)
public NodePool.Builder setEtag(String value)
This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 110;
Parameter | |
---|---|
Name | Description |
value | String The etag to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public NodePool.Builder setEtagBytes(ByteString value)
This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 110;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NodePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setInitialNodeCount(int value)
public NodePool.Builder setInitialNodeCount(int value)
The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.
int32 initial_node_count = 3;
Parameter | |
---|---|
Name | Description |
value | int The initialNodeCount to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setInstanceGroupUrls(int index, String value)
public NodePool.Builder setInstanceGroupUrls(int index, String value)
[Output only] The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The instanceGroupUrls to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setLocations(int index, String value)
public NodePool.Builder setLocations(int index, String value)
The list of Google Compute Engine zones in which the NodePool's nodes should be located.
If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead.
Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The locations to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setManagement(NodeManagement value)
public NodePool.Builder setManagement(NodeManagement value)
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
Parameter | |
---|---|
Name | Description |
value | NodeManagement |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setManagement(NodeManagement.Builder builderForValue)
public NodePool.Builder setManagement(NodeManagement.Builder builderForValue)
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | NodeManagement.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setMaxPodsConstraint(MaxPodsConstraint value)
public NodePool.Builder setMaxPodsConstraint(MaxPodsConstraint value)
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
Parameter | |
---|---|
Name | Description |
value | MaxPodsConstraint |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setMaxPodsConstraint(MaxPodsConstraint.Builder builderForValue)
public NodePool.Builder setMaxPodsConstraint(MaxPodsConstraint.Builder builderForValue)
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | MaxPodsConstraint.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setName(String value)
public NodePool.Builder setName(String value)
The name of the node pool.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public NodePool.Builder setNameBytes(ByteString value)
The name of the node pool.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setNetworkConfig(NodeNetworkConfig value)
public NodePool.Builder setNetworkConfig(NodeNetworkConfig value)
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
Parameter | |
---|---|
Name | Description |
value | NodeNetworkConfig |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setNetworkConfig(NodeNetworkConfig.Builder builderForValue)
public NodePool.Builder setNetworkConfig(NodeNetworkConfig.Builder builderForValue)
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
Parameter | |
---|---|
Name | Description |
builderForValue | NodeNetworkConfig.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setPlacementPolicy(NodePool.PlacementPolicy value)
public NodePool.Builder setPlacementPolicy(NodePool.PlacementPolicy value)
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
Parameter | |
---|---|
Name | Description |
value | NodePool.PlacementPolicy |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setPlacementPolicy(NodePool.PlacementPolicy.Builder builderForValue)
public NodePool.Builder setPlacementPolicy(NodePool.PlacementPolicy.Builder builderForValue)
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
Parameter | |
---|---|
Name | Description |
builderForValue | NodePool.PlacementPolicy.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setPodIpv4CidrSize(int value)
public NodePool.Builder setPodIpv4CidrSize(int value)
[Output only] The pod CIDR block size per node in this node pool.
int32 pod_ipv4_cidr_size = 7;
Parameter | |
---|---|
Name | Description |
value | int The podIpv4CidrSize to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setQueuedProvisioning(NodePool.QueuedProvisioning value)
public NodePool.Builder setQueuedProvisioning(NodePool.QueuedProvisioning value)
Specifies the configuration of queued provisioning.
.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 112;
Parameter | |
---|---|
Name | Description |
value | NodePool.QueuedProvisioning |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setQueuedProvisioning(NodePool.QueuedProvisioning.Builder builderForValue)
public NodePool.Builder setQueuedProvisioning(NodePool.QueuedProvisioning.Builder builderForValue)
Specifies the configuration of queued provisioning.
.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 112;
Parameter | |
---|---|
Name | Description |
builderForValue | NodePool.QueuedProvisioning.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setSelfLink(String value)
public NodePool.Builder setSelfLink(String value)
[Output only] Server-defined URL for the resource.
string self_link = 100;
Parameter | |
---|---|
Name | Description |
value | String The selfLink to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setSelfLinkBytes(ByteString value)
public NodePool.Builder setSelfLinkBytes(ByteString value)
[Output only] Server-defined URL for the resource.
string self_link = 100;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for selfLink to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setStatus(NodePool.Status value)
public NodePool.Builder setStatus(NodePool.Status value)
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;
Parameter | |
---|---|
Name | Description |
value | NodePool.Status The status to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setStatusMessage(String value) (deprecated)
public NodePool.Builder setStatusMessage(String value)
Deprecated. google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=4037
[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
string status_message = 104 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | String The statusMessage to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setStatusMessageBytes(ByteString value) (deprecated)
public NodePool.Builder setStatusMessageBytes(ByteString value)
Deprecated. google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=4037
[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
string status_message = 104 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for statusMessage to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setStatusValue(int value)
public NodePool.Builder setStatusValue(int value)
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for status to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setUpdateInfo(NodePool.UpdateInfo value)
public NodePool.Builder setUpdateInfo(NodePool.UpdateInfo value)
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | NodePool.UpdateInfo |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setUpdateInfo(NodePool.UpdateInfo.Builder builderForValue)
public NodePool.Builder setUpdateInfo(NodePool.UpdateInfo.Builder builderForValue)
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | NodePool.UpdateInfo.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setUpgradeSettings(NodePool.UpgradeSettings value)
public NodePool.Builder setUpgradeSettings(NodePool.UpgradeSettings value)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
Parameter | |
---|---|
Name | Description |
value | NodePool.UpgradeSettings |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)
public NodePool.Builder setUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
Parameter | |
---|---|
Name | Description |
builderForValue | NodePool.UpgradeSettings.Builder |
Returns | |
---|---|
Type | Description |
NodePool.Builder |
setVersion(String value)
public NodePool.Builder setVersion(String value)
The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.
string version = 101;
Parameter | |
---|---|
Name | Description |
value | String The version to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public NodePool.Builder setVersionBytes(ByteString value)
The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.
string version = 101;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
NodePool.Builder | This builder for chaining. |