public static final class WeekDayOfMonth.Builder extends GeneratedMessageV3.Builder<WeekDayOfMonth.Builder> implements WeekDayOfMonthOrBuilder
WeekDayOfMonth
defines the week day of the month on which the backups will
run. The message combines a WeekOfMonth
and DayOfWeek
to produce values
like FIRST
/MONDAY
or LAST
/FRIDAY
.
Protobuf type google.cloud.backupdr.v1.WeekDayOfMonth
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WeekDayOfMonth.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WeekDayOfMonth build()
buildPartial()
public WeekDayOfMonth buildPartial()
clear()
public WeekDayOfMonth.Builder clear()
Overrides
clearDayOfWeek()
public WeekDayOfMonth.Builder clearDayOfWeek()
Required. Specifies the day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public WeekDayOfMonth.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WeekDayOfMonth.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWeekOfMonth()
public WeekDayOfMonth.Builder clearWeekOfMonth()
Required. Specifies the week of the month.
.google.cloud.backupdr.v1.WeekDayOfMonth.WeekOfMonth week_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public WeekDayOfMonth.Builder clone()
Overrides
getDayOfWeek()
public DayOfWeek getDayOfWeek()
Required. Specifies the day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
com.google.type.DayOfWeek |
The dayOfWeek.
|
getDayOfWeekValue()
public int getDayOfWeekValue()
Required. Specifies the day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for dayOfWeek.
|
getDefaultInstanceForType()
public WeekDayOfMonth getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getWeekOfMonth()
public WeekDayOfMonth.WeekOfMonth getWeekOfMonth()
Required. Specifies the week of the month.
.google.cloud.backupdr.v1.WeekDayOfMonth.WeekOfMonth week_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
getWeekOfMonthValue()
public int getWeekOfMonthValue()
Required. Specifies the week of the month.
.google.cloud.backupdr.v1.WeekDayOfMonth.WeekOfMonth week_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for weekOfMonth.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WeekDayOfMonth other)
public WeekDayOfMonth.Builder mergeFrom(WeekDayOfMonth other)
public WeekDayOfMonth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WeekDayOfMonth.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WeekDayOfMonth.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDayOfWeek(DayOfWeek value)
public WeekDayOfMonth.Builder setDayOfWeek(DayOfWeek value)
Required. Specifies the day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
com.google.type.DayOfWeek
The dayOfWeek to set.
|
setDayOfWeekValue(int value)
public WeekDayOfMonth.Builder setDayOfWeekValue(int value)
Required. Specifies the day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for dayOfWeek to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public WeekDayOfMonth.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WeekDayOfMonth.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WeekDayOfMonth.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWeekOfMonth(WeekDayOfMonth.WeekOfMonth value)
public WeekDayOfMonth.Builder setWeekOfMonth(WeekDayOfMonth.WeekOfMonth value)
Required. Specifies the week of the month.
.google.cloud.backupdr.v1.WeekDayOfMonth.WeekOfMonth week_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
setWeekOfMonthValue(int value)
public WeekDayOfMonth.Builder setWeekOfMonthValue(int value)
Required. Specifies the week of the month.
.google.cloud.backupdr.v1.WeekDayOfMonth.WeekOfMonth week_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for weekOfMonth to set.
|