Class NodePool.ExclusionUntilEndOfSupport.Builder (2.96.0)

public static final class NodePool.ExclusionUntilEndOfSupport.Builder extends GeneratedMessage.Builder<NodePool.ExclusionUntilEndOfSupport.Builder> implements NodePool.ExclusionUntilEndOfSupportOrBuilder

Defines the maintenance exclusion for the node pool.

Protobuf type google.container.v1beta1.NodePool.ExclusionUntilEndOfSupport

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearEnabled()

public NodePool.ExclusionUntilEndOfSupport.Builder clearEnabled()

Optional. Indicates whether the exclusion is enabled.

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

Returns
Type Description
NodePool.ExclusionUntilEndOfSupport.Builder

This builder for chaining.

clearEndTime()

public NodePool.ExclusionUntilEndOfSupport.Builder clearEndTime()

Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NodePool.ExclusionUntilEndOfSupport.Builder

clearStartTime()

public NodePool.ExclusionUntilEndOfSupport.Builder clearStartTime()

Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NodePool.ExclusionUntilEndOfSupport.Builder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Optional. Indicates whether the exclusion is enabled.

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

Returns
Type Description
boolean

The enabled.

getEndTime()

public Timestamp getEndTime()

Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public NodePool.ExclusionUntilEndOfSupport.Builder mergeEndTime(Timestamp value)

Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

mergeFrom(NodePool.ExclusionUntilEndOfSupport other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public NodePool.ExclusionUntilEndOfSupport.Builder mergeStartTime(Timestamp value)

Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setEnabled(boolean value)

public NodePool.ExclusionUntilEndOfSupport.Builder setEnabled(boolean value)

Optional. Indicates whether the exclusion is enabled.

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

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
NodePool.ExclusionUntilEndOfSupport.Builder

This builder for chaining.

setEndTime(Timestamp value)

public NodePool.ExclusionUntilEndOfSupport.Builder setEndTime(Timestamp value)

Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setEndTime(Timestamp.Builder builderForValue)

public NodePool.ExclusionUntilEndOfSupport.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setStartTime(Timestamp value)

public NodePool.ExclusionUntilEndOfSupport.Builder setStartTime(Timestamp value)

Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setStartTime(Timestamp.Builder builderForValue)

public NodePool.ExclusionUntilEndOfSupport.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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