Class NodePool.NodePoolMaintenancePolicy.Builder (2.96.0)

public static final class NodePool.NodePoolMaintenancePolicy.Builder extends GeneratedMessage.Builder<NodePool.NodePoolMaintenancePolicy.Builder> implements NodePool.NodePoolMaintenancePolicyOrBuilder

Defines the maintenance policy for the node pool.

Protobuf type google.container.v1.NodePool.NodePoolMaintenancePolicy

Static Methods

getDescriptor()

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

Methods

build()

public NodePool.NodePoolMaintenancePolicy build()
Returns
Type Description
NodePool.NodePoolMaintenancePolicy

buildPartial()

public NodePool.NodePoolMaintenancePolicy buildPartial()
Returns
Type Description
NodePool.NodePoolMaintenancePolicy

clear()

public NodePool.NodePoolMaintenancePolicy.Builder clear()
Returns
Type Description
NodePool.NodePoolMaintenancePolicy.Builder
Overrides

clearExclusionUntilEndOfSupport()

public NodePool.NodePoolMaintenancePolicy.Builder clearExclusionUntilEndOfSupport()

Optional. The exclusion until end of support for the node pool.

.google.container.v1.NodePool.ExclusionUntilEndOfSupport exclusion_until_end_of_support = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodePool.NodePoolMaintenancePolicy.Builder

getDefaultInstanceForType()

public NodePool.NodePoolMaintenancePolicy getDefaultInstanceForType()
Returns
Type Description
NodePool.NodePoolMaintenancePolicy

getDescriptorForType()

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

getExclusionUntilEndOfSupport()

public NodePool.ExclusionUntilEndOfSupport getExclusionUntilEndOfSupport()

Optional. The exclusion until end of support for the node pool.

.google.container.v1.NodePool.ExclusionUntilEndOfSupport exclusion_until_end_of_support = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodePool.ExclusionUntilEndOfSupport

The exclusionUntilEndOfSupport.

getExclusionUntilEndOfSupportBuilder()

public NodePool.ExclusionUntilEndOfSupport.Builder getExclusionUntilEndOfSupportBuilder()

Optional. The exclusion until end of support for the node pool.

.google.container.v1.NodePool.ExclusionUntilEndOfSupport exclusion_until_end_of_support = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodePool.ExclusionUntilEndOfSupport.Builder

getExclusionUntilEndOfSupportOrBuilder()

public NodePool.ExclusionUntilEndOfSupportOrBuilder getExclusionUntilEndOfSupportOrBuilder()

Optional. The exclusion until end of support for the node pool.

.google.container.v1.NodePool.ExclusionUntilEndOfSupport exclusion_until_end_of_support = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodePool.ExclusionUntilEndOfSupportOrBuilder

hasExclusionUntilEndOfSupport()

public boolean hasExclusionUntilEndOfSupport()

Optional. The exclusion until end of support for the node pool.

.google.container.v1.NodePool.ExclusionUntilEndOfSupport exclusion_until_end_of_support = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the exclusionUntilEndOfSupport field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExclusionUntilEndOfSupport(NodePool.ExclusionUntilEndOfSupport value)

public NodePool.NodePoolMaintenancePolicy.Builder mergeExclusionUntilEndOfSupport(NodePool.ExclusionUntilEndOfSupport value)

Optional. The exclusion until end of support for the node pool.

.google.container.v1.NodePool.ExclusionUntilEndOfSupport exclusion_until_end_of_support = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NodePool.ExclusionUntilEndOfSupport
Returns
Type Description
NodePool.NodePoolMaintenancePolicy.Builder

mergeFrom(NodePool.NodePoolMaintenancePolicy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setExclusionUntilEndOfSupport(NodePool.ExclusionUntilEndOfSupport value)

public NodePool.NodePoolMaintenancePolicy.Builder setExclusionUntilEndOfSupport(NodePool.ExclusionUntilEndOfSupport value)

Optional. The exclusion until end of support for the node pool.

.google.container.v1.NodePool.ExclusionUntilEndOfSupport exclusion_until_end_of_support = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NodePool.ExclusionUntilEndOfSupport
Returns
Type Description
NodePool.NodePoolMaintenancePolicy.Builder

setExclusionUntilEndOfSupport(NodePool.ExclusionUntilEndOfSupport.Builder builderForValue)

public NodePool.NodePoolMaintenancePolicy.Builder setExclusionUntilEndOfSupport(NodePool.ExclusionUntilEndOfSupport.Builder builderForValue)

Optional. The exclusion until end of support for the node pool.

.google.container.v1.NodePool.ExclusionUntilEndOfSupport exclusion_until_end_of_support = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue NodePool.ExclusionUntilEndOfSupport.Builder
Returns
Type Description
NodePool.NodePoolMaintenancePolicy.Builder