public final class WeekDayOfMonth extends GeneratedMessage 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > WeekDayOfMonthImplements
WeekDayOfMonthOrBuilderStatic 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()| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static WeekDayOfMonth.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth.Builder |
|
newBuilder(WeekDayOfMonth prototype)
public static WeekDayOfMonth.Builder newBuilder(WeekDayOfMonth prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
WeekDayOfMonth |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth.Builder |
|
parseDelimitedFrom(InputStream input)
public static WeekDayOfMonth parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static WeekDayOfMonth parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static WeekDayOfMonth parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static WeekDayOfMonth parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static WeekDayOfMonth parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static WeekDayOfMonth parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WeekDayOfMonth parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<WeekDayOfMonth> parser()| Returns | |
|---|---|
| Type | Description |
Parser<WeekDayOfMonth> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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()| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth |
|
getParserForType()
public Parser<WeekDayOfMonth> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<WeekDayOfMonth> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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];
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth.WeekOfMonth |
The weekOfMonth. |
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()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public WeekDayOfMonth.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected WeekDayOfMonth.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth.Builder |
|
toBuilder()
public WeekDayOfMonth.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
WeekDayOfMonth.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|