Class AzureNodeManagement.Builder (0.84.0)

public static final class AzureNodeManagement.Builder extends GeneratedMessage.Builder<AzureNodeManagement.Builder> implements AzureNodeManagementOrBuilder

AzureNodeManagement defines the set of node management features turned on for an Azure node pool.

Protobuf type google.cloud.gkemulticloud.v1.AzureNodeManagement

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public AzureNodeManagement build()
Returns
Type Description
AzureNodeManagement

buildPartial()

public AzureNodeManagement buildPartial()
Returns
Type Description
AzureNodeManagement

clear()

public AzureNodeManagement.Builder clear()
Returns
Type Description
AzureNodeManagement.Builder
Overrides

clearAutoRepair()

public AzureNodeManagement.Builder clearAutoRepair()

Optional. Whether or not the nodes will be automatically repaired. When set to true, the nodes in this node pool will be monitored and if they fail health checks consistently over a period of time, an automatic repair action will be triggered to replace them with new nodes.

bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureNodeManagement.Builder

This builder for chaining.

getAutoRepair()

public boolean getAutoRepair()

Optional. Whether or not the nodes will be automatically repaired. When set to true, the nodes in this node pool will be monitored and if they fail health checks consistently over a period of time, an automatic repair action will be triggered to replace them with new nodes.

bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The autoRepair.

getDefaultInstanceForType()

public AzureNodeManagement getDefaultInstanceForType()
Returns
Type Description
AzureNodeManagement

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureNodeManagement other)

public AzureNodeManagement.Builder mergeFrom(AzureNodeManagement other)
Parameter
Name Description
other AzureNodeManagement
Returns
Type Description
AzureNodeManagement.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureNodeManagement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureNodeManagement.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AzureNodeManagement.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AzureNodeManagement.Builder
Overrides

setAutoRepair(boolean value)

public AzureNodeManagement.Builder setAutoRepair(boolean value)

Optional. Whether or not the nodes will be automatically repaired. When set to true, the nodes in this node pool will be monitored and if they fail health checks consistently over a period of time, an automatic repair action will be triggered to replace them with new nodes.

bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The autoRepair to set.

Returns
Type Description
AzureNodeManagement.Builder

This builder for chaining.