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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeManagement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NodeManagement build()
buildPartial()
public NodeManagement buildPartial()
clear()
public NodeManagement.Builder clear()
Overrides
clearAutoRepair()
public NodeManagement.Builder clearAutoRepair()
Whether the nodes will be automatically repaired.
bool auto_repair = 2;
clearAutoUpgrade()
public NodeManagement.Builder clearAutoUpgrade()
Whether the nodes will be automatically upgraded.
bool auto_upgrade = 1;
clearField(Descriptors.FieldDescriptor field)
public NodeManagement.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeManagement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpgradeOptions()
public NodeManagement.Builder clearUpgradeOptions()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
clone()
public NodeManagement.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpgradeOptions()
public AutoUpgradeOptions getUpgradeOptions()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
getUpgradeOptionsBuilder()
public AutoUpgradeOptions.Builder getUpgradeOptionsBuilder()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
getUpgradeOptionsOrBuilder()
public AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBuilder()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NodeManagement other)
public NodeManagement.Builder mergeFrom(NodeManagement other)
public NodeManagement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NodeManagement.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeManagement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public NodeManagement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeManagement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeManagement.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;