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 Details

  • Field Details

    • 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:
    • FRIDAY_VALUE

      public static final int FRIDAY_VALUE
      FRIDAY = 471398751;
      See Also:
    • INVALID_VALUE

      public static final int INVALID_VALUE
      INVALID = 530283991;
      See Also:
    • MONDAY_VALUE

      public static final int MONDAY_VALUE
      MONDAY = 132310288;
      See Also:
    • SATURDAY_VALUE

      public static final int SATURDAY_VALUE
      SATURDAY = 279037881;
      See Also:
    • SUNDAY_VALUE

      public static final int SUNDAY_VALUE
      SUNDAY = 309626320;
      See Also:
    • THURSDAY_VALUE

      public static final int THURSDAY_VALUE
      THURSDAY = 207198682;
      See Also:
    • TUESDAY_VALUE

      public static final int TUESDAY_VALUE
      TUESDAY = 277509677;
      See Also:
    • WEDNESDAY_VALUE

      public static final int WEDNESDAY_VALUE
      WEDNESDAY = 422029110;
      See Also:
  • Method Details

    • values

      public static ResourcePolicyWeeklyCycleDayOfWeek.Day[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null