Class PatchDeployments.RecurringSchedule (2.29.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
TypeDescription
int

FREQUENCY_FIELD_NUMBER

public static final int FREQUENCY_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_EXECUTE_TIME_FIELD_NUMBER

public static final int LAST_EXECUTE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

MONTHLY_FIELD_NUMBER

public static final int MONTHLY_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_EXECUTE_TIME_FIELD_NUMBER

public static final int NEXT_EXECUTE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_OF_DAY_FIELD_NUMBER

public static final int TIME_OF_DAY_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

WEEKLY_FIELD_NUMBER

public static final int WEEKLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PatchDeployments.RecurringSchedule getDefaultInstance()
Returns
TypeDescription
PatchDeployments.RecurringSchedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PatchDeployments.RecurringSchedule.Builder newBuilder()
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

newBuilder(PatchDeployments.RecurringSchedule prototype)

public static PatchDeployments.RecurringSchedule.Builder newBuilder(PatchDeployments.RecurringSchedule prototype)
Parameter
NameDescription
prototypePatchDeployments.RecurringSchedule
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

parseDelimitedFrom(InputStream input)

public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PatchDeployments.RecurringSchedule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchDeployments.RecurringSchedule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchDeployments.RecurringSchedule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PatchDeployments.RecurringSchedule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.RecurringSchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

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

getParserForType()

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

getScheduleConfigCase()

public PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase()
Returns
TypeDescription
PatchDeployments.RecurringSchedule.ScheduleConfigCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

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.

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.

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 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.v1beta.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.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the weekly field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PatchDeployments.RecurringSchedule.Builder newBuilderForType()
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchDeployments.RecurringSchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PatchDeployments.RecurringSchedule.Builder toBuilder()
Returns
TypeDescription
PatchDeployments.RecurringSchedule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException