Class PatchDeployments.RecurringSchedule (2.5.4)

Stay organized with collections Save and categorize content based on your preferences.
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

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.v1.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.v1.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.v1.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.v1.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