Package com.google.cloud.osconfig.v1beta
Class PatchDeployments.RecurringSchedule
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1beta.PatchDeployments.RecurringSchedule
- All Implemented Interfaces:
PatchDeployments.RecurringScheduleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PatchDeployments
public static final class PatchDeployments.RecurringSchedule
extends com.google.protobuf.GeneratedMessage
implements PatchDeployments.RecurringScheduleOrBuilder
Sets the time for recurring patch deployments.Protobuf type
google.cloud.osconfig.v1beta.RecurringSchedule- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSets the time for recurring patch deployments.static enumSpecifies the frequency of the recurring patch deployments.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.Parser<PatchDeployments.RecurringSchedule>intcom.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Required.Required.Required.Required.Required.Required.booleanOptional.inthashCode()booleanOutput only.booleanRequired.booleanOutput only.booleanOptional.booleanRequired.booleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(PatchDeployments.RecurringSchedule prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PatchDeployments.RecurringSchedule>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER- See Also:
-
TIME_OF_DAY_FIELD_NUMBER
public static final int TIME_OF_DAY_FIELD_NUMBER- See Also:
-
FREQUENCY_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER- See Also:
-
WEEKLY_FIELD_NUMBER
public static final int WEEKLY_FIELD_NUMBER- See Also:
-
MONTHLY_FIELD_NUMBER
public static final int MONTHLY_FIELD_NUMBER- See Also:
-
LAST_EXECUTE_TIME_FIELD_NUMBER
public static final int LAST_EXECUTE_TIME_FIELD_NUMBER- See Also:
-
NEXT_EXECUTE_TIME_FIELD_NUMBER
public static final int NEXT_EXECUTE_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getScheduleConfigCase
- Specified by:
getScheduleConfigCasein interfacePatchDeployments.RecurringScheduleOrBuilder
-
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];- Specified by:
hasTimeZonein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- Whether the timeZone field is set.
-
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];- Specified by:
getTimeZonein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The timeZone.
-
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];- Specified by:
getTimeZoneOrBuilderin interfacePatchDeployments.RecurringScheduleOrBuilder
-
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];- Specified by:
hasStartTimein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.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];- Specified by:
getStartTimein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getStartTimeOrBuilderin interfacePatchDeployments.RecurringScheduleOrBuilder
-
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];- Specified by:
hasEndTimein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.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];- Specified by:
getEndTimein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getEndTimeOrBuilderin interfacePatchDeployments.RecurringScheduleOrBuilder
-
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];- Specified by:
hasTimeOfDayin interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- Whether the timeOfDay field is set.
-
getTimeOfDay
Required. Time of the day to run a recurring deployment.
.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTimeOfDayin interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The timeOfDay.
-
getTimeOfDayOrBuilder
Required. Time of the day to run a recurring deployment.
.google.type.TimeOfDay time_of_day = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTimeOfDayOrBuilderin interfacePatchDeployments.RecurringScheduleOrBuilder
-
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];- Specified by:
getFrequencyValuein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The enum numeric value on the wire for frequency.
-
getFrequency
Required. The frequency unit of this recurring schedule.
.google.cloud.osconfig.v1beta.RecurringSchedule.Frequency frequency = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFrequencyin interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The frequency.
-
hasWeekly
public boolean hasWeekly()Required. Schedule with weekly executions.
.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasWeeklyin interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- Whether the weekly field is set.
-
getWeekly
Required. Schedule with weekly executions.
.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getWeeklyin interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The weekly.
-
getWeeklyOrBuilder
Required. Schedule with weekly executions.
.google.cloud.osconfig.v1beta.WeeklySchedule weekly = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getWeeklyOrBuilderin interfacePatchDeployments.RecurringScheduleOrBuilder
-
hasMonthly
public boolean hasMonthly()Required. Schedule with monthly executions.
.google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasMonthlyin interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- Whether the monthly field is set.
-
getMonthly
Required. Schedule with monthly executions.
.google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMonthlyin interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The monthly.
-
getMonthlyOrBuilder
Required. Schedule with monthly executions.
.google.cloud.osconfig.v1beta.MonthlySchedule monthly = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMonthlyOrBuilderin interfacePatchDeployments.RecurringScheduleOrBuilder
-
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];- Specified by:
hasLastExecuteTimein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- Whether the lastExecuteTime field is set.
-
getLastExecuteTime
public com.google.protobuf.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];- Specified by:
getLastExecuteTimein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The lastExecuteTime.
-
getLastExecuteTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getLastExecuteTimeOrBuilderin interfacePatchDeployments.RecurringScheduleOrBuilder
-
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];- Specified by:
hasNextExecuteTimein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- Whether the nextExecuteTime field is set.
-
getNextExecuteTime
public com.google.protobuf.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];- Specified by:
getNextExecuteTimein interfacePatchDeployments.RecurringScheduleOrBuilder- Returns:
- The nextExecuteTime.
-
getNextExecuteTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getNextExecuteTimeOrBuilderin interfacePatchDeployments.RecurringScheduleOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.RecurringSchedule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.RecurringSchedule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.RecurringSchedule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.RecurringSchedule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchDeployments.RecurringSchedule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PatchDeployments.RecurringSchedule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PatchDeployments.RecurringSchedule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PatchDeployments.RecurringSchedule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PatchDeployments.RecurringSchedule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static PatchDeployments.RecurringSchedule.Builder newBuilder(PatchDeployments.RecurringSchedule prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchDeployments.RecurringSchedule.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-