Class Unit.MaintenanceSettings.Builder (0.15.0)

public static final class Unit.MaintenanceSettings.Builder extends GeneratedMessage.Builder<Unit.MaintenanceSettings.Builder> implements Unit.MaintenanceSettingsOrBuilder

Captures requested directives for performing future maintenance on the unit. This includes a request for the unit to skip maintenance for a period of time and remain pinned to its current release as well as controls for postponing maintenance scheduled in future.

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.MaintenanceSettings

Static Methods

getDescriptor()

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

Methods

build()

public Unit.MaintenanceSettings build()
Returns
Type Description
Unit.MaintenanceSettings

buildPartial()

public Unit.MaintenanceSettings buildPartial()
Returns
Type Description
Unit.MaintenanceSettings

clear()

public Unit.MaintenanceSettings.Builder clear()
Returns
Type Description
Unit.MaintenanceSettings.Builder
Overrides

clearPinnedUntilTime()

public Unit.MaintenanceSettings.Builder clearPinnedUntilTime()

Optional. If present, it fixes the release on the unit until the given time; i.e. changes to the release field will be rejected. Rollouts should and will also respect this by not requesting an upgrade in the first place.

.google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Unit.MaintenanceSettings.Builder

getDefaultInstanceForType()

public Unit.MaintenanceSettings getDefaultInstanceForType()
Returns
Type Description
Unit.MaintenanceSettings

getDescriptorForType()

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

getPinnedUntilTime()

public Timestamp getPinnedUntilTime()

Optional. If present, it fixes the release on the unit until the given time; i.e. changes to the release field will be rejected. Rollouts should and will also respect this by not requesting an upgrade in the first place.

.google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The pinnedUntilTime.

getPinnedUntilTimeBuilder()

public Timestamp.Builder getPinnedUntilTimeBuilder()

Optional. If present, it fixes the release on the unit until the given time; i.e. changes to the release field will be rejected. Rollouts should and will also respect this by not requesting an upgrade in the first place.

.google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getPinnedUntilTimeOrBuilder()

public TimestampOrBuilder getPinnedUntilTimeOrBuilder()

Optional. If present, it fixes the release on the unit until the given time; i.e. changes to the release field will be rejected. Rollouts should and will also respect this by not requesting an upgrade in the first place.

.google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

hasPinnedUntilTime()

public boolean hasPinnedUntilTime()

Optional. If present, it fixes the release on the unit until the given time; i.e. changes to the release field will be rejected. Rollouts should and will also respect this by not requesting an upgrade in the first place.

.google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pinnedUntilTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Unit.MaintenanceSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePinnedUntilTime(Timestamp value)

public Unit.MaintenanceSettings.Builder mergePinnedUntilTime(Timestamp value)

Optional. If present, it fixes the release on the unit until the given time; i.e. changes to the release field will be rejected. Rollouts should and will also respect this by not requesting an upgrade in the first place.

.google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
Unit.MaintenanceSettings.Builder

setPinnedUntilTime(Timestamp value)

public Unit.MaintenanceSettings.Builder setPinnedUntilTime(Timestamp value)

Optional. If present, it fixes the release on the unit until the given time; i.e. changes to the release field will be rejected. Rollouts should and will also respect this by not requesting an upgrade in the first place.

.google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
Unit.MaintenanceSettings.Builder

setPinnedUntilTime(Timestamp.Builder builderForValue)

public Unit.MaintenanceSettings.Builder setPinnedUntilTime(Timestamp.Builder builderForValue)

Optional. If present, it fixes the release on the unit until the given time; i.e. changes to the release field will be rejected. Rollouts should and will also respect this by not requesting an upgrade in the first place.

.google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Unit.MaintenanceSettings.Builder