public static final class PatchDeployments.WeekDayOfMonth.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder> implements PatchDeployments.WeekDayOfMonthOrBuilder
Represents one week day in a month. An example is "the 4th Sunday".Protobuf type
google.cloud.osconfig.v1.WeekDayOfMonthgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PatchDeployments.WeekDayOfMonth build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PatchDeployments.WeekDayOfMonth buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PatchDeployments.WeekDayOfMonth.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth.Builder mergeFrom(PatchDeployments.WeekDayOfMonth other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public PatchDeployments.WeekDayOfMonth.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchDeployments.WeekDayOfMonth.Builder>IOExceptionpublic int getWeekOrdinal()
Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED];getWeekOrdinal in interface PatchDeployments.WeekDayOfMonthOrBuilderpublic PatchDeployments.WeekDayOfMonth.Builder setWeekOrdinal(int value)
Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED];value - The weekOrdinal to set.public PatchDeployments.WeekDayOfMonth.Builder clearWeekOrdinal()
Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED];public int getDayOfWeekValue()
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
getDayOfWeekValue in interface PatchDeployments.WeekDayOfMonthOrBuilderpublic PatchDeployments.WeekDayOfMonth.Builder setDayOfWeekValue(int value)
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for dayOfWeek to set.public com.google.type.DayOfWeek getDayOfWeek()
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
getDayOfWeek in interface PatchDeployments.WeekDayOfMonthOrBuilderpublic PatchDeployments.WeekDayOfMonth.Builder setDayOfWeek(com.google.type.DayOfWeek value)
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
value - The dayOfWeek to set.public PatchDeployments.WeekDayOfMonth.Builder clearDayOfWeek()
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
public int getDayOffset()
Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].
int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL];getDayOffset in interface PatchDeployments.WeekDayOfMonthOrBuilderpublic PatchDeployments.WeekDayOfMonth.Builder setDayOffset(int value)
Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].
int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL];value - The dayOffset to set.public PatchDeployments.WeekDayOfMonth.Builder clearDayOffset()
Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].
int32 day_offset = 3 [(.google.api.field_behavior) = OPTIONAL];public final PatchDeployments.WeekDayOfMonth.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>public final PatchDeployments.WeekDayOfMonth.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder>Copyright © 2024 Google LLC. All rights reserved.