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 FRIDAYFRIDAY = 471398751;INVALIDINVALID = 530283991;MONDAYMONDAY = 132310288;SATURDAYSATURDAY = 279037881;SUNDAYSUNDAY = 309626320;THURSDAYTHURSDAY = 207198682;TUESDAYTUESDAY = 277509677;UNDEFINED_DAYA value indicating that the enum field is not set.UNRECOGNIZEDWEDNESDAYWEDNESDAY = 422029110;
-
Field Summary
Fields Modifier and Type Field Description static intFRIDAY_VALUEFRIDAY = 471398751;static intINVALID_VALUEINVALID = 530283991;static intMONDAY_VALUEMONDAY = 132310288;static intSATURDAY_VALUESATURDAY = 279037881;static intSUNDAY_VALUESUNDAY = 309626320;static intTHURSDAY_VALUETHURSDAY = 207198682;static intTUESDAY_VALUETUESDAY = 277509677;static intUNDEFINED_DAY_VALUEA value indicating that the enum field is not set.static intWEDNESDAY_VALUEWEDNESDAY = 422029110;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ResourcePolicyWeeklyCycleDayOfWeek.DayforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ResourcePolicyWeeklyCycleDayOfWeek.Day>internalGetValueMap()static ResourcePolicyWeeklyCycleDayOfWeek.DayvalueOf(int value)Deprecated.static ResourcePolicyWeeklyCycleDayOfWeek.DayvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ResourcePolicyWeeklyCycleDayOfWeek.DayvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-