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 enum
google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek.Day-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFRIDAY = 471398751;INVALID = 530283991;MONDAY = 132310288;SATURDAY = 279037881;SUNDAY = 309626320;THURSDAY = 207198682;TUESDAY = 277509677;A value indicating that the enum field is not set.WEDNESDAY = 422029110; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFRIDAY = 471398751;static final intINVALID = 530283991;static final intMONDAY = 132310288;static final intSATURDAY = 279037881;static final intSUNDAY = 309626320;static final intTHURSDAY = 207198682;static final intTUESDAY = 277509677;static final intA value indicating that the enum field is not set.static final intWEDNESDAY = 422029110; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ResourcePolicyWeeklyCycleDayOfWeek.Day>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_DAY
A value indicating that the enum field is not set.
UNDEFINED_DAY = 0; -
FRIDAY
FRIDAY = 471398751; -
INVALID
INVALID = 530283991; -
MONDAY
MONDAY = 132310288; -
SATURDAY
SATURDAY = 279037881; -
SUNDAY
SUNDAY = 309626320; -
THURSDAY
THURSDAY = 207198682; -
TUESDAY
TUESDAY = 277509677; -
WEDNESDAY
WEDNESDAY = 422029110; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_DAY_VALUE
public static final int UNDEFINED_DAY_VALUEA value indicating that the enum field is not set.
UNDEFINED_DAY = 0;- See Also:
-
FRIDAY_VALUE
public static final int FRIDAY_VALUEFRIDAY = 471398751;- See Also:
-
INVALID_VALUE
public static final int INVALID_VALUEINVALID = 530283991;- See Also:
-
MONDAY_VALUE
public static final int MONDAY_VALUEMONDAY = 132310288;- See Also:
-
SATURDAY_VALUE
public static final int SATURDAY_VALUESATURDAY = 279037881;- See Also:
-
SUNDAY_VALUE
public static final int SUNDAY_VALUESUNDAY = 309626320;- See Also:
-
THURSDAY_VALUE
public static final int THURSDAY_VALUETHURSDAY = 207198682;- See Also:
-
TUESDAY_VALUE
public static final int TUESDAY_VALUETUESDAY = 277509677;- See Also:
-
WEDNESDAY_VALUE
public static final int WEDNESDAY_VALUEWEDNESDAY = 422029110;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- 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 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
-