public final class WeekDayOfMonth extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DAY_OF_WEEK_FIELD_NUMBER
public static final int DAY_OF_WEEK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WEEK_OF_MONTH_FIELD_NUMBER
public static final int WEEK_OF_MONTH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static WeekDayOfMonth getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WeekDayOfMonth.Builder newBuilder()
newBuilder(WeekDayOfMonth prototype)
public static WeekDayOfMonth.Builder newBuilder(WeekDayOfMonth prototype)
public static WeekDayOfMonth parseDelimitedFrom(InputStream input)
public static WeekDayOfMonth parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WeekDayOfMonth parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WeekDayOfMonth parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(CodedInputStream input)
public static WeekDayOfMonth parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(InputStream input)
public static WeekDayOfMonth parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WeekDayOfMonth parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WeekDayOfMonth> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getParserForType()
public Parser<WeekDayOfMonth> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WeekDayOfMonth.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WeekDayOfMonth.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public WeekDayOfMonth.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides