Class PatchDeployments.RecurringSchedule.Builder (2.57.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchDeployments.RecurringSchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder
Overrides

build()

public PatchDeployments.RecurringSchedule build()
Returns
Type Description
PatchDeployments.RecurringSchedule

buildPartial()

public PatchDeployments.RecurringSchedule buildPartial()
Returns
Type Description
PatchDeployments.RecurringSchedule

clear()

public PatchDeployments.RecurringSchedule.Builder clear()
Returns
Type Description
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
Type Description
PatchDeployments.RecurringSchedule.Builder

clearField(Descriptors.FieldDescriptor field)

public PatchDeployments.RecurringSchedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
PatchDeployments.RecurringSchedule.Builder

clearNextExecuteTime()

public PatchDeployments.RecurringSchedule.Builder clearNextExecuteTime()

Output only. The time the next patch job is scheduled to run.

.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchDeployments.RecurringSchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder
Overrides

clearScheduleConfig()

public PatchDeployments.RecurringSchedule.Builder clearScheduleConfig()
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

clearStartTime()

public PatchDeployments.RecurringSchedule.Builder clearStartTime()

Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.

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

Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

clearTimeOfDay()

public PatchDeployments.RecurringSchedule.Builder clearTimeOfDay()

Required. Time of the day to run a recurring deployment.

.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

clearTimeZone()

public PatchDeployments.RecurringSchedule.Builder clearTimeZone()

Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.

.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

clearWeekly()

public PatchDeployments.RecurringSchedule.Builder clearWeekly()

Required. Schedule with weekly executions.

.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

clone()

public PatchDeployments.RecurringSchedule.Builder clone()
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder
Overrides

getDefaultInstanceForType()

public PatchDeployments.RecurringSchedule getDefaultInstanceForType()
Returns
Type Description
PatchDeployments.RecurringSchedule

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

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
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

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
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

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
Type Description
TimestampOrBuilder

getFrequency()

public PatchDeployments.RecurringSchedule.Frequency getFrequency()

Required. The frequency unit of this recurring schedule.

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

Returns
Type Description
PatchDeployments.RecurringSchedule.Frequency

The frequency.

getFrequencyValue()

public int getFrequencyValue()

Required. The frequency unit of this recurring schedule.

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

Returns
Type Description
int

The enum numeric value on the wire for frequency.

getLastExecuteTime()

public Timestamp getLastExecuteTime()

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

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

Returns
Type Description
Timestamp

The lastExecuteTime.

getLastExecuteTimeBuilder()

public Timestamp.Builder getLastExecuteTimeBuilder()

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

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

Returns
Type Description
Builder

getLastExecuteTimeOrBuilder()

public TimestampOrBuilder getLastExecuteTimeOrBuilder()

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

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

Returns
Type Description
TimestampOrBuilder

getMonthly()

public PatchDeployments.MonthlySchedule getMonthly()

Required. Schedule with monthly executions.

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

Returns
Type Description
PatchDeployments.MonthlySchedule

The monthly.

getMonthlyBuilder()

public PatchDeployments.MonthlySchedule.Builder getMonthlyBuilder()

Required. Schedule with monthly executions.

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

Returns
Type Description
PatchDeployments.MonthlySchedule.Builder

getMonthlyOrBuilder()

public PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder()

Required. Schedule with monthly executions.

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

Returns
Type Description
PatchDeployments.MonthlyScheduleOrBuilder

getNextExecuteTime()

public Timestamp getNextExecuteTime()

Output only. The time the next patch job is scheduled to run.

.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The nextExecuteTime.

getNextExecuteTimeBuilder()

public Timestamp.Builder getNextExecuteTimeBuilder()

Output only. The time the next patch job is scheduled to run.

.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getNextExecuteTimeOrBuilder()

public TimestampOrBuilder getNextExecuteTimeOrBuilder()

Output only. The time the next patch job is scheduled to run.

.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getScheduleConfigCase()

public PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase()
Returns
Type Description
PatchDeployments.RecurringSchedule.ScheduleConfigCase

getStartTime()

public Timestamp getStartTime()

Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.

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

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.

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

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.

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

Returns
Type Description
TimestampOrBuilder

getTimeOfDay()

public TimeOfDay getTimeOfDay()

Required. Time of the day to run a recurring deployment.

.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDay

The timeOfDay.

getTimeOfDayBuilder()

public TimeOfDay.Builder getTimeOfDayBuilder()

Required. Time of the day to run a recurring deployment.

.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDay.Builder

getTimeOfDayOrBuilder()

public TimeOfDayOrBuilder getTimeOfDayOrBuilder()

Required. Time of the day to run a recurring deployment.

.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

getTimeZone()

public TimeZone getTimeZone()

Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.

.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeZone

The timeZone.

getTimeZoneBuilder()

public TimeZone.Builder getTimeZoneBuilder()

Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.

.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeZone.Builder

getTimeZoneOrBuilder()

public TimeZoneOrBuilder getTimeZoneOrBuilder()

Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.

.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeZoneOrBuilder

getWeekly()

public PatchDeployments.WeeklySchedule getWeekly()

Required. Schedule with weekly executions.

.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchDeployments.WeeklySchedule

The weekly.

getWeeklyBuilder()

public PatchDeployments.WeeklySchedule.Builder getWeeklyBuilder()

Required. Schedule with weekly executions.

.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchDeployments.WeeklySchedule.Builder

getWeeklyOrBuilder()

public PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder()

Required. Schedule with weekly executions.

.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PatchDeployments.WeeklyScheduleOrBuilder

hasEndTime()

public boolean hasEndTime()

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
Type Description
boolean

Whether the endTime field is set.

hasLastExecuteTime()

public boolean hasLastExecuteTime()

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

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

Returns
Type Description
boolean

Whether the lastExecuteTime field is set.

hasMonthly()

public boolean hasMonthly()

Required. Schedule with monthly executions.

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

Returns
Type Description
boolean

Whether the monthly field is set.

hasNextExecuteTime()

public boolean hasNextExecuteTime()

Output only. The time the next patch job is scheduled to run.

.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the nextExecuteTime field is set.

hasStartTime()

public boolean hasStartTime()

Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.

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

Returns
Type Description
boolean

Whether the startTime field is set.

hasTimeOfDay()

public boolean hasTimeOfDay()

Required. Time of the day to run a recurring deployment.

.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the timeOfDay field is set.

hasTimeZone()

public boolean hasTimeZone()

Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.

.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the timeZone field is set.

hasWeekly()

public boolean hasWeekly()

Required. Schedule with weekly executions.

.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the weekly field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public PatchDeployments.RecurringSchedule.Builder mergeEndTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

mergeFrom(PatchDeployments.RecurringSchedule other)

public PatchDeployments.RecurringSchedule.Builder mergeFrom(PatchDeployments.RecurringSchedule other)
Parameter
Name Description
other PatchDeployments.RecurringSchedule
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PatchDeployments.RecurringSchedule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder
Overrides

mergeLastExecuteTime(Timestamp value)

public PatchDeployments.RecurringSchedule.Builder mergeLastExecuteTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

mergeMonthly(PatchDeployments.MonthlySchedule value)

public PatchDeployments.RecurringSchedule.Builder mergeMonthly(PatchDeployments.MonthlySchedule value)

Required. Schedule with monthly executions.

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

Parameter
Name Description
value PatchDeployments.MonthlySchedule
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

mergeNextExecuteTime(Timestamp value)

public PatchDeployments.RecurringSchedule.Builder mergeNextExecuteTime(Timestamp value)

Output only. The time the next patch job is scheduled to run.

.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

mergeStartTime(Timestamp value)

public PatchDeployments.RecurringSchedule.Builder mergeStartTime(Timestamp value)

Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

mergeTimeOfDay(TimeOfDay value)

public PatchDeployments.RecurringSchedule.Builder mergeTimeOfDay(TimeOfDay value)

Required. Time of the day to run a recurring deployment.

.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value com.google.type.TimeOfDay
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

mergeTimeZone(TimeZone value)

public PatchDeployments.RecurringSchedule.Builder mergeTimeZone(TimeZone value)

Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.

.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value com.google.type.TimeZone
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchDeployments.RecurringSchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder
Overrides

mergeWeekly(PatchDeployments.WeeklySchedule value)

public PatchDeployments.RecurringSchedule.Builder mergeWeekly(PatchDeployments.WeeklySchedule value)

Required. Schedule with weekly executions.

.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PatchDeployments.WeeklySchedule
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setEndTime(Timestamp value)

public PatchDeployments.RecurringSchedule.Builder setEndTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setEndTime(Timestamp.Builder builderForValue)

public PatchDeployments.RecurringSchedule.Builder setEndTime(Timestamp.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PatchDeployments.RecurringSchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder
Overrides

setFrequency(PatchDeployments.RecurringSchedule.Frequency value)

public PatchDeployments.RecurringSchedule.Builder setFrequency(PatchDeployments.RecurringSchedule.Frequency value)

Required. The frequency unit of this recurring schedule.

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

Parameter
Name Description
value PatchDeployments.RecurringSchedule.Frequency

The frequency to set.

Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

This builder for chaining.

setFrequencyValue(int value)

public PatchDeployments.RecurringSchedule.Builder setFrequencyValue(int value)

Required. The frequency unit of this recurring schedule.

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

Parameter
Name Description
value int

The enum numeric value on the wire for frequency to set.

Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

This builder for chaining.

setLastExecuteTime(Timestamp value)

public PatchDeployments.RecurringSchedule.Builder setLastExecuteTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setLastExecuteTime(Timestamp.Builder builderForValue)

public PatchDeployments.RecurringSchedule.Builder setLastExecuteTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setMonthly(PatchDeployments.MonthlySchedule value)

public PatchDeployments.RecurringSchedule.Builder setMonthly(PatchDeployments.MonthlySchedule value)

Required. Schedule with monthly executions.

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

Parameter
Name Description
value PatchDeployments.MonthlySchedule
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setMonthly(PatchDeployments.MonthlySchedule.Builder builderForValue)

public PatchDeployments.RecurringSchedule.Builder setMonthly(PatchDeployments.MonthlySchedule.Builder builderForValue)

Required. Schedule with monthly executions.

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

Parameter
Name Description
builderForValue PatchDeployments.MonthlySchedule.Builder
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setNextExecuteTime(Timestamp value)

public PatchDeployments.RecurringSchedule.Builder setNextExecuteTime(Timestamp value)

Output only. The time the next patch job is scheduled to run.

.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setNextExecuteTime(Timestamp.Builder builderForValue)

public PatchDeployments.RecurringSchedule.Builder setNextExecuteTime(Timestamp.Builder builderForValue)

Output only. The time the next patch job is scheduled to run.

.google.protobuf.Timestamp next_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PatchDeployments.RecurringSchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder
Overrides

setStartTime(Timestamp value)

public PatchDeployments.RecurringSchedule.Builder setStartTime(Timestamp value)

Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setStartTime(Timestamp.Builder builderForValue)

public PatchDeployments.RecurringSchedule.Builder setStartTime(Timestamp.Builder builderForValue)

Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setTimeOfDay(TimeOfDay value)

public PatchDeployments.RecurringSchedule.Builder setTimeOfDay(TimeOfDay value)

Required. Time of the day to run a recurring deployment.

.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value com.google.type.TimeOfDay
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setTimeOfDay(TimeOfDay.Builder builderForValue)

public PatchDeployments.RecurringSchedule.Builder setTimeOfDay(TimeOfDay.Builder builderForValue)

Required. Time of the day to run a recurring deployment.

.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue com.google.type.TimeOfDay.Builder
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setTimeZone(TimeZone value)

public PatchDeployments.RecurringSchedule.Builder setTimeZone(TimeZone value)

Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.

.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value com.google.type.TimeZone
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setTimeZone(TimeZone.Builder builderForValue)

public PatchDeployments.RecurringSchedule.Builder setTimeZone(TimeZone.Builder builderForValue)

Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.

.google.type.TimeZone time_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue com.google.type.TimeZone.Builder
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final PatchDeployments.RecurringSchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder
Overrides

setWeekly(PatchDeployments.WeeklySchedule value)

public PatchDeployments.RecurringSchedule.Builder setWeekly(PatchDeployments.WeeklySchedule value)

Required. Schedule with weekly executions.

.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PatchDeployments.WeeklySchedule
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

setWeekly(PatchDeployments.WeeklySchedule.Builder builderForValue)

public PatchDeployments.RecurringSchedule.Builder setWeekly(PatchDeployments.WeeklySchedule.Builder builderForValue)

Required. Schedule with weekly executions.

.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PatchDeployments.WeeklySchedule.Builder
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder