Class PatchDeployments.RecurringSchedule (2.44.0)

public static final class PatchDeployments.RecurringSchedule extends GeneratedMessageV3 implements PatchDeployments.RecurringScheduleOrBuilder

Sets the time for recurring patch deployments.

Protobuf type google.cloud.osconfig.v1beta.RecurringSchedule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PatchDeployments.RecurringSchedule

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

FREQUENCY_FIELD_NUMBER

public static final int FREQUENCY_FIELD_NUMBER
Field Value
Type Description
int

LAST_EXECUTE_TIME_FIELD_NUMBER

public static final int LAST_EXECUTE_TIME_FIELD_NUMBER
Field Value
Type Description
int

MONTHLY_FIELD_NUMBER

public static final int MONTHLY_FIELD_NUMBER
Field Value
Type Description
int

NEXT_EXECUTE_TIME_FIELD_NUMBER

public static final int NEXT_EXECUTE_TIME_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

TIME_OF_DAY_FIELD_NUMBER

public static final int TIME_OF_DAY_FIELD_NUMBER
Field Value
Type Description
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
Type Description
int

WEEKLY_FIELD_NUMBER

public static final int WEEKLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PatchDeployments.RecurringSchedule getDefaultInstance()
Returns
Type Description
PatchDeployments.RecurringSchedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PatchDeployments.RecurringSchedule.Builder newBuilder()
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

newBuilder(PatchDeployments.RecurringSchedule prototype)

public static PatchDeployments.RecurringSchedule.Builder newBuilder(PatchDeployments.RecurringSchedule prototype)
Parameter
Name Description
prototype PatchDeployments.RecurringSchedule
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder

parseDelimitedFrom(InputStream input)

public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PatchDeployments.RecurringSchedule parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchDeployments.RecurringSchedule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchDeployments.RecurringSchedule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PatchDeployments.RecurringSchedule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchDeployments.RecurringSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PatchDeployments.RecurringSchedule> parser()
Returns
Type Description
Parser<RecurringSchedule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

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.

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.

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

getParserForType()

public Parser<PatchDeployments.RecurringSchedule> getParserForType()
Returns
Type Description
Parser<RecurringSchedule>
Overrides

getScheduleConfigCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
Timestamp

The startTime.

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.

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

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchDeployments.RecurringSchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PatchDeployments.RecurringSchedule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException