Class AwsNodeManagement.Builder (0.42.0)

public static final class AwsNodeManagement.Builder extends GeneratedMessageV3.Builder<AwsNodeManagement.Builder> implements AwsNodeManagementOrBuilder

AwsNodeManagement defines the set of node management features turned on for an AWS node pool.

Protobuf type google.cloud.gkemulticloud.v1.AwsNodeManagement

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsNodeManagement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsNodeManagement.Builder
Overrides

build()

public AwsNodeManagement build()
Returns
Type Description
AwsNodeManagement

buildPartial()

public AwsNodeManagement buildPartial()
Returns
Type Description
AwsNodeManagement

clear()

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

clearAutoRepair()

public AwsNodeManagement.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
AwsNodeManagement.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AwsNodeManagement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsNodeManagement.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsNodeManagement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsNodeManagement.Builder
Overrides

clone()

public AwsNodeManagement.Builder clone()
Returns
Type Description
AwsNodeManagement.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
Type Description
boolean

The autoRepair.

getDefaultInstanceForType()

public AwsNodeManagement getDefaultInstanceForType()
Returns
Type Description
AwsNodeManagement

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsNodeManagement other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodeManagement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsNodeManagement.Builder
Overrides

setAutoRepair(boolean value)

public AwsNodeManagement.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
AwsNodeManagement.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsNodeManagement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsNodeManagement.Builder
Overrides

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

public AwsNodeManagement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsNodeManagement.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodeManagement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsNodeManagement.Builder
Overrides