Package com.google.cloud.compute.v1
Enum ResourcePolicyWeeklyCycleDayOfWeek.Day
- java.lang.Object
-
- java.lang.Enum<ResourcePolicyWeeklyCycleDayOfWeek.Day>
-
- com.google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek.Day
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ResourcePolicyWeeklyCycleDayOfWeek.Day>
- Enclosing class:
- ResourcePolicyWeeklyCycleDayOfWeek
public static enum ResourcePolicyWeeklyCycleDayOfWeek.Day extends Enum<ResourcePolicyWeeklyCycleDayOfWeek.Day> implements com.google.protobuf.ProtocolMessageEnum
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
Protobuf enumgoogle.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek.Day
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FRIDAY
FRIDAY = 471398751;
INVALID
INVALID = 530283991;
MONDAY
MONDAY = 132310288;
SATURDAY
SATURDAY = 279037881;
SUNDAY
SUNDAY = 309626320;
THURSDAY
THURSDAY = 207198682;
TUESDAY
TUESDAY = 277509677;
UNDEFINED_DAY
A value indicating that the enum field is not set.UNRECOGNIZED
WEDNESDAY
WEDNESDAY = 422029110;
-
Field Summary
Fields Modifier and Type Field Description static int
FRIDAY_VALUE
FRIDAY = 471398751;
static int
INVALID_VALUE
INVALID = 530283991;
static int
MONDAY_VALUE
MONDAY = 132310288;
static int
SATURDAY_VALUE
SATURDAY = 279037881;
static int
SUNDAY_VALUE
SUNDAY = 309626320;
static int
THURSDAY_VALUE
THURSDAY = 207198682;
static int
TUESDAY_VALUE
TUESDAY = 277509677;
static int
UNDEFINED_DAY_VALUE
A value indicating that the enum field is not set.static int
WEDNESDAY_VALUE
WEDNESDAY = 422029110;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ResourcePolicyWeeklyCycleDayOfWeek.Day
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<ResourcePolicyWeeklyCycleDayOfWeek.Day>
internalGetValueMap()
static ResourcePolicyWeeklyCycleDayOfWeek.Day
valueOf(int value)
Deprecated.static ResourcePolicyWeeklyCycleDayOfWeek.Day
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ResourcePolicyWeeklyCycleDayOfWeek.Day
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourcePolicyWeeklyCycleDayOfWeek.Day[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_DAY
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day UNDEFINED_DAY
A value indicating that the enum field is not set.
UNDEFINED_DAY = 0;
-
FRIDAY
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day FRIDAY
FRIDAY = 471398751;
-
INVALID
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day INVALID
INVALID = 530283991;
-
MONDAY
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day MONDAY
MONDAY = 132310288;
-
SATURDAY
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day SATURDAY
SATURDAY = 279037881;
-
SUNDAY
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day SUNDAY
SUNDAY = 309626320;
-
THURSDAY
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day THURSDAY
THURSDAY = 207198682;
-
TUESDAY
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day TUESDAY
TUESDAY = 277509677;
-
WEDNESDAY
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day WEDNESDAY
WEDNESDAY = 422029110;
-
UNRECOGNIZED
public static final ResourcePolicyWeeklyCycleDayOfWeek.Day UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_DAY_VALUE
public static final int UNDEFINED_DAY_VALUE
A value indicating that the enum field is not set.
UNDEFINED_DAY = 0;
- See Also:
- Constant Field Values
-
FRIDAY_VALUE
public static final int FRIDAY_VALUE
FRIDAY = 471398751;
- See Also:
- Constant Field Values
-
INVALID_VALUE
public static final int INVALID_VALUE
INVALID = 530283991;
- See Also:
- Constant Field Values
-
MONDAY_VALUE
public static final int MONDAY_VALUE
MONDAY = 132310288;
- See Also:
- Constant Field Values
-
SATURDAY_VALUE
public static final int SATURDAY_VALUE
SATURDAY = 279037881;
- See Also:
- Constant Field Values
-
SUNDAY_VALUE
public static final int SUNDAY_VALUE
SUNDAY = 309626320;
- See Also:
- Constant Field Values
-
THURSDAY_VALUE
public static final int THURSDAY_VALUE
THURSDAY = 207198682;
- See Also:
- Constant Field Values
-
TUESDAY_VALUE
public static final int TUESDAY_VALUE
TUESDAY = 277509677;
- See Also:
- Constant Field Values
-
WEDNESDAY_VALUE
public static final int WEDNESDAY_VALUE
WEDNESDAY = 422029110;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ResourcePolicyWeeklyCycleDayOfWeek.Day[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ResourcePolicyWeeklyCycleDayOfWeek.Day c : ResourcePolicyWeeklyCycleDayOfWeek.Day.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourcePolicyWeeklyCycleDayOfWeek.Day valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ResourcePolicyWeeklyCycleDayOfWeek.Day valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static ResourcePolicyWeeklyCycleDayOfWeek.Day forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ResourcePolicyWeeklyCycleDayOfWeek.Day> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ResourcePolicyWeeklyCycleDayOfWeek.Day valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-