- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PatchDeployments.RecurringSchedule.BuilderImplements
PatchDeployments.RecurringScheduleOrBuilderStatic 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 |
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 |
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 |
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 | |
---|---|
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.v1.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 |
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.v1.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 |
getDefaultInstanceForType()
public PatchDeployments.RecurringSchedule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PatchDeployments.RecurringSchedule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
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.v1.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 |
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 | |
---|---|
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 |
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 | |
---|---|
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.v1.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.v1.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.v1.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 |
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 |
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 | |
---|---|
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.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | PatchDeployments.WeeklySchedule.Builder |
Returns | |
---|---|
Type | Description |
PatchDeployments.RecurringSchedule.Builder |