Enum ReportingDataAnnotation.Color

java.lang.Object
java.lang.Enum<ReportingDataAnnotation.Color>
com.google.analytics.admin.v1alpha.ReportingDataAnnotation.Color
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ReportingDataAnnotation.Color>
Enclosing class:
ReportingDataAnnotation

public static enum ReportingDataAnnotation.Color extends Enum<ReportingDataAnnotation.Color> implements com.google.protobuf.ProtocolMessageEnum
 Colors that may be used for this Reporting Data Annotation
 
Protobuf enum google.analytics.admin.v1alpha.ReportingDataAnnotation.Color
  • Enum Constant Details

  • Field Details

    • COLOR_UNSPECIFIED_VALUE

      public static final int COLOR_UNSPECIFIED_VALUE
       Color unknown or not specified.
       
      COLOR_UNSPECIFIED = 0;
      See Also:
    • PURPLE_VALUE

      public static final int PURPLE_VALUE
       Purple color.
       
      PURPLE = 1;
      See Also:
    • BROWN_VALUE

      public static final int BROWN_VALUE
       Brown color.
       
      BROWN = 2;
      See Also:
    • BLUE_VALUE

      public static final int BLUE_VALUE
       Blue color.
       
      BLUE = 3;
      See Also:
    • GREEN_VALUE

      public static final int GREEN_VALUE
       Green color.
       
      GREEN = 4;
      See Also:
    • RED_VALUE

      public static final int RED_VALUE
       Red color.
       
      RED = 5;
      See Also:
    • CYAN_VALUE

      public static final int CYAN_VALUE
       Cyan color.
       
      CYAN = 6;
      See Also:
    • ORANGE_VALUE

      public static final int ORANGE_VALUE
       Orange color. (Only used for system-generated annotations)
       
      ORANGE = 7;
      See Also:
  • Method Details

    • values

      public static ReportingDataAnnotation.Color[] 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 ReportingDataAnnotation.Color 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 ReportingDataAnnotation.Color 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 ReportingDataAnnotation.Color 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<ReportingDataAnnotation.Color> 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 ReportingDataAnnotation.Color 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