public static final class NodeManagement.Builder extends GeneratedMessageV3.Builder<NodeManagement.Builder> implements NodeManagementOrBuilder
NodeManagement defines the set of node management services turned on for the
node pool.
Protobuf type google.container.v1beta1.NodeManagement
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeManagement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NodeManagement build()
Returns
buildPartial()
public NodeManagement buildPartial()
Returns
clear()
public NodeManagement.Builder clear()
Returns
Overrides
clearAutoRepair()
public NodeManagement.Builder clearAutoRepair()
Whether the nodes will be automatically repaired.
bool auto_repair = 2;
Returns
clearAutoUpgrade()
public NodeManagement.Builder clearAutoUpgrade()
Whether the nodes will be automatically upgraded.
bool auto_upgrade = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public NodeManagement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeManagement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpgradeOptions()
public NodeManagement.Builder clearUpgradeOptions()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
Returns
clone()
public NodeManagement.Builder clone()
Returns
Overrides
getAutoRepair()
public boolean getAutoRepair()
Whether the nodes will be automatically repaired.
bool auto_repair = 2;
Returns
Type | Description |
boolean | The autoRepair.
|
getAutoUpgrade()
public boolean getAutoUpgrade()
Whether the nodes will be automatically upgraded.
bool auto_upgrade = 1;
Returns
Type | Description |
boolean | The autoUpgrade.
|
getDefaultInstanceForType()
public NodeManagement getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpgradeOptions()
public AutoUpgradeOptions getUpgradeOptions()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
Returns
getUpgradeOptionsBuilder()
public AutoUpgradeOptions.Builder getUpgradeOptionsBuilder()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
Returns
getUpgradeOptionsOrBuilder()
public AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBuilder()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
Returns
hasUpgradeOptions()
public boolean hasUpgradeOptions()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
Returns
Type | Description |
boolean | Whether the upgradeOptions field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NodeManagement other)
public NodeManagement.Builder mergeFrom(NodeManagement other)
Parameter
Returns
public NodeManagement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodeManagement.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeManagement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpgradeOptions(AutoUpgradeOptions value)
public NodeManagement.Builder mergeUpgradeOptions(AutoUpgradeOptions value)
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
Parameter
Returns
setAutoRepair(boolean value)
public NodeManagement.Builder setAutoRepair(boolean value)
Whether the nodes will be automatically repaired.
bool auto_repair = 2;
Parameter
Name | Description |
value | boolean
The autoRepair to set.
|
Returns
setAutoUpgrade(boolean value)
public NodeManagement.Builder setAutoUpgrade(boolean value)
Whether the nodes will be automatically upgraded.
bool auto_upgrade = 1;
Parameter
Name | Description |
value | boolean
The autoUpgrade to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NodeManagement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeManagement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeManagement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpgradeOptions(AutoUpgradeOptions value)
public NodeManagement.Builder setUpgradeOptions(AutoUpgradeOptions value)
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
Parameter
Returns
setUpgradeOptions(AutoUpgradeOptions.Builder builderForValue)
public NodeManagement.Builder setUpgradeOptions(AutoUpgradeOptions.Builder builderForValue)
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
Parameter
Returns