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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PatchDeployments.RecurringSchedule.Builder newBuilder()
newBuilder(PatchDeployments.RecurringSchedule prototype)
public static PatchDeployments.RecurringSchedule.Builder newBuilder(PatchDeployments.RecurringSchedule prototype)
public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input)
public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PatchDeployments.RecurringSchedule parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.RecurringSchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PatchDeployments.RecurringSchedule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.RecurringSchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.RecurringSchedule parseFrom(CodedInputStream input)
public static PatchDeployments.RecurringSchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.RecurringSchedule parseFrom(InputStream input)
public static PatchDeployments.RecurringSchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PatchDeployments.RecurringSchedule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public PatchDeployments.RecurringSchedule getDefaultInstanceForType()
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];
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];
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];
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.
|
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];
getMonthly()
public PatchDeployments.MonthlySchedule getMonthly()
Required. Schedule with monthly executions.
.google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];
getMonthlyOrBuilder()
public PatchDeployments.MonthlyScheduleOrBuilder getMonthlyOrBuilder()
Required. Schedule with monthly executions.
.google.cloud.osconfig.v1.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];
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];
getParserForType()
public Parser<PatchDeployments.RecurringSchedule> getParserForType()
Overrides
getScheduleConfigCase()
public PatchDeployments.RecurringSchedule.ScheduleConfigCase getScheduleConfigCase()
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];
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.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
getWeeklyOrBuilder()
public PatchDeployments.WeeklyScheduleOrBuilder getWeeklyOrBuilder()
Required. Schedule with weekly executions.
.google.cloud.osconfig.v1.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PatchDeployments.RecurringSchedule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchDeployments.RecurringSchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PatchDeployments.RecurringSchedule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides