Class PatchDeployments.RecurringSchedule.Builder (2.41.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.v1.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.v1.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.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
PatchDeployments.RecurringSchedule.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchDeployments.RecurringSchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder
Overrides

clearScheduleConfig()

public PatchDeployments.RecurringSchedule.Builder clearScheduleConfig()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PatchDeployments.RecurringSchedule.Builder

clearWeekly()

public PatchDeployments.RecurringSchedule.Builder clearWeekly()

Required. Schedule with weekly executions.

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

Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getFrequency()

public PatchDeployments.RecurringSchedule.Frequency getFrequency()

Required. The frequency unit of this recurring schedule.

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

Returns
TypeDescription
PatchDeployments.RecurringSchedule.Frequency

The frequency.

getFrequencyValue()

public int getFrequencyValue()

Required. The frequency unit of this recurring schedule.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getMonthly()

public PatchDeployments.MonthlySchedule getMonthly()

Required. Schedule with monthly executions.

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

Returns
TypeDescription
PatchDeployments.MonthlySchedule

The monthly.

getMonthlyBuilder()

public PatchDeployments.MonthlySchedule.Builder getMonthlyBuilder()

Required. Schedule with monthly executions.

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

Returns
TypeDescription
PatchDeployments.MonthlySchedule.Builder

getMonthlyOrBuilder()

public PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder()

Required. Schedule with monthly executions.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getScheduleConfigCase()

public PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.type.TimeZoneOrBuilder

getWeekly()

public PatchDeployments.WeeklySchedule getWeekly()

Required. Schedule with weekly executions.

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

Returns
TypeDescription
PatchDeployments.WeeklySchedule

The weekly.

getWeeklyBuilder()

public PatchDeployments.WeeklySchedule.Builder getWeeklyBuilder()

Required. Schedule with weekly executions.

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

Returns
TypeDescription
PatchDeployments.WeeklySchedule.Builder

getWeeklyOrBuilder()

public PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder()

Required. Schedule with weekly executions.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the lastExecuteTime field is set.

hasMonthly()

public boolean hasMonthly()

Required. Schedule with monthly executions.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeZone field is set.

hasWeekly()

public boolean hasWeekly()

Required. Schedule with weekly executions.

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

Returns
TypeDescription
boolean

Whether the weekly field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

mergeFrom(PatchDeployments.RecurringSchedule other)

public PatchDeployments.RecurringSchedule.Builder mergeFrom(PatchDeployments.RecurringSchedule other)
Parameter
NameDescription
otherPatchDeployments.RecurringSchedule
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PatchDeployments.RecurringSchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PatchDeployments.RecurringSchedule.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

mergeMonthly(PatchDeployments.MonthlySchedule value)

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

Required. Schedule with monthly executions.

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

Parameter
NameDescription
valuePatchDeployments.MonthlySchedule
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuecom.google.type.TimeOfDay
Returns
TypeDescription
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
NameDescription
valuecom.google.type.TimeZone
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchDeployments.RecurringSchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder
Overrides

mergeWeekly(PatchDeployments.WeeklySchedule value)

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

Required. Schedule with weekly executions.

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

Parameter
NameDescription
valuePatchDeployments.WeeklySchedule
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PatchDeployments.RecurringSchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuePatchDeployments.RecurringSchedule.Frequency

The frequency to set.

Returns
TypeDescription
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.v1.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

setMonthly(PatchDeployments.MonthlySchedule value)

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

Required. Schedule with monthly executions.

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

Parameter
NameDescription
valuePatchDeployments.MonthlySchedule
Returns
TypeDescription
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.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValuePatchDeployments.MonthlySchedule.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

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

public PatchDeployments.RecurringSchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valuecom.google.type.TimeOfDay
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.TimeOfDay.Builder
Returns
TypeDescription
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
NameDescription
valuecom.google.type.TimeZone
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.TimeZone.Builder
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final PatchDeployments.RecurringSchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder
Overrides

setWeekly(PatchDeployments.WeeklySchedule value)

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

Required. Schedule with weekly executions.

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

Parameter
NameDescription
valuePatchDeployments.WeeklySchedule
Returns
TypeDescription
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.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValuePatchDeployments.WeeklySchedule.Builder
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder