Class AzureNodeManagement.Builder (0.40.0)

public static final class AzureNodeManagement.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureNodeManagement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureNodeManagement.Builder
Overrides

build()

public AzureNodeManagement build()
Returns
TypeDescription
AzureNodeManagement

buildPartial()

public AzureNodeManagement buildPartial()
Returns
TypeDescription
AzureNodeManagement

clear()

public AzureNodeManagement.Builder clear()
Returns
TypeDescription
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
TypeDescription
AzureNodeManagement.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AzureNodeManagement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AzureNodeManagement.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureNodeManagement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AzureNodeManagement.Builder
Overrides

clone()

public AzureNodeManagement.Builder clone()
Returns
TypeDescription
AzureNodeManagement.Builder
Overrides

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
TypeDescription
boolean

The autoRepair.

getDefaultInstanceForType()

public AzureNodeManagement getDefaultInstanceForType()
Returns
TypeDescription
AzureNodeManagement

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AzureNodeManagement other)

public AzureNodeManagement.Builder mergeFrom(AzureNodeManagement other)
Parameter
NameDescription
otherAzureNodeManagement
Returns
TypeDescription
AzureNodeManagement.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureNodeManagement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureNodeManagement.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AzureNodeManagement.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AzureNodeManagement.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureNodeManagement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The autoRepair to set.

Returns
TypeDescription
AzureNodeManagement.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AzureNodeManagement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureNodeManagement.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AzureNodeManagement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AzureNodeManagement.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureNodeManagement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureNodeManagement.Builder
Overrides