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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public Unit.MaintenanceSettings build()
buildPartial()
public Unit.MaintenanceSettings buildPartial()
clear()
public Unit.MaintenanceSettings.Builder clear()
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];
getDefaultInstanceForType()
public Unit.MaintenanceSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Unit.MaintenanceSettings other)
public Unit.MaintenanceSettings.Builder mergeFrom(Unit.MaintenanceSettings other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Unit.MaintenanceSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Unit.MaintenanceSettings.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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];
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];
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
|