Class PatchDeployments.RecurringSchedule.Builder (2.16.0)

public static final class PatchDeployments.RecurringSchedule.Builder extends GeneratedMessageV3.Builder<PatchDeployments.RecurringSchedule.Builder> implements PatchDeployments.RecurringScheduleOrBuilder

Sets the time for recurring patch deployments.

Protobuf type google.cloud.osconfig.v1beta.RecurringSchedule

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchDeployments.RecurringSchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder
Overrides

build()

public PatchDeployments.RecurringSchedule build()
Returns
TypeDescription
PatchDeployments.RecurringSchedule

buildPartial()

public PatchDeployments.RecurringSchedule buildPartial()
Returns
TypeDescription
PatchDeployments.RecurringSchedule

clear()

public PatchDeployments.RecurringSchedule.Builder clear()
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder
Overrides

clearEndTime()

public PatchDeployments.RecurringSchedule.Builder clearEndTime()

Optional. The end time at which a recurring patch deployment schedule is no longer active.

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

Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

clearField(Descriptors.FieldDescriptor field)

public PatchDeployments.RecurringSchedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder
Overrides

clearFrequency()

public PatchDeployments.RecurringSchedule.Builder clearFrequency()

Required. The frequency unit of this recurring schedule.

.google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

This builder for chaining.

clearLastExecuteTime()

public PatchDeployments.RecurringSchedule.Builder clearLastExecuteTime()

Output only. The time the last patch job ran successfully.

.google.protobuf.Timestamp last_execute_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

clearMonthly()

public PatchDeployments.RecurringSchedule.Builder clearMonthly()

Required. Schedule with monthly executions.

.google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

clearNextExecuteTime(