public static final class PatchDeployments.RecurringSchedule extends GeneratedMessageV3 implements PatchDeployments.RecurringScheduleOrBuilder
Sets the time for recurring patch deployments.
Protobuf type google.cloud.osconfig.v1.RecurringSchedule
Static Fields
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
FREQUENCY_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER
Field Value
LAST_EXECUTE_TIME_FIELD_NUMBER
public static final int LAST_EXECUTE_TIME_FIELD_NUMBER
Field Value
MONTHLY_FIELD_NUMBER
public static final int MONTHLY_FIELD_NUMBER
Field Value
NEXT_EXECUTE_TIME_FIELD_NUMBER
public static final int NEXT_EXECUTE_TIME_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
TIME_OF_DAY_FIELD_NUMBER
public static final int TIME_OF_DAY_FIELD_NUMBER
Field Value
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
Field Value
WEEKLY_FIELD_NUMBER
public static final int WEEKLY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PatchDeployments.RecurringSchedule getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PatchDeployments.RecurringSchedule.Builder newBuilder()
Returns
newBuilder(PatchDeployments.RecurringSchedule prototype)
public static PatchDeployments.RecurringSchedule.Builder newBuilder(PatchDeployments.RecurringSchedule prototype)
Parameter
Returns
public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PatchDeployments.RecurringSchedule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.RecurringSchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PatchDeployments.RecurringSchedule parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.RecurringSchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PatchDeployments.RecurringSchedule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PatchDeployments.RecurringSchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PatchDeployments.RecurringSchedule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PatchDeployments.RecurringSchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PatchDeployments.RecurringSchedule> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PatchDeployments.RecurringSchedule getDefaultInstanceForType()
Returns
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
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
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
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
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
getMonthly()
public PatchDeployments.MonthlySchedule getMonthly()
Required. Schedule with monthly executions.
.google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];
Returns
getMonthlyOrBuilder()
public PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder()
Required. Schedule with monthly executions.
.google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
getParserForType()
public Parser<PatchDeployments.RecurringSchedule> getParserForType()
Returns
Overrides
getScheduleConfigCase()
public PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
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
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.
|
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.
|
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 | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getWeekly()
public PatchDeployments.WeeklySchedule getWeekly()
Required. Schedule with weekly executions.
.google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
Returns
getWeeklyOrBuilder()
public PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder()
Required. Schedule with weekly executions.
.google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
Returns
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PatchDeployments.RecurringSchedule.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchDeployments.RecurringSchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PatchDeployments.RecurringSchedule.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions