Class PatchDeployments.RecurringSchedule.Builder (2.5.2)

Stay organized with collections Save and categorize content based on your preferences.
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()

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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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 n