Enum CompetitorType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<CompetitorType>

    public enum CompetitorType
    extends java.lang.Enum<CompetitorType>
    implements com.google.protobuf.Internal.EnumLite
    Protobuf enum streamlayer.inplay.common.CompetitorType
    • Enum Constant Detail

      • COMPETITOR_TYPE_PERSON

        public static final CompetitorType COMPETITOR_TYPE_PERSON
        COMPETITOR_TYPE_PERSON = 0;
      • COMPETITOR_TYPE_TEAM

        public static final CompetitorType COMPETITOR_TYPE_TEAM
        COMPETITOR_TYPE_TEAM = 1;
    • Field Detail

      • COMPETITOR_TYPE_PERSON_VALUE

        public static final int COMPETITOR_TYPE_PERSON_VALUE
        COMPETITOR_TYPE_PERSON = 0;
        See Also:
        Constant Field Values
      • COMPETITOR_TYPE_TEAM_VALUE

        public static final int COMPETITOR_TYPE_TEAM_VALUE
        COMPETITOR_TYPE_TEAM = 1;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static CompetitorType[] 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 (CompetitorType c : CompetitorType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CompetitorType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
      • valueOf

        @Deprecated
        public static CompetitorType 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<CompetitorType> internalGetValueMap()
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()