Enum EduData.InstituteSize

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<EduData.InstituteSize>
    Enclosing class:
    EduData

    public static enum EduData.InstituteSize
    extends Enum<EduData.InstituteSize>
    implements com.google.protobuf.ProtocolMessageEnum
     Number of students and staff the institute has.
     
    Protobuf enum google.cloud.channel.v1.EduData.InstituteSize
    • Field Detail

      • INSTITUTE_SIZE_UNSPECIFIED_VALUE

        public static final int INSTITUTE_SIZE_UNSPECIFIED_VALUE
         Not used.
         
        INSTITUTE_SIZE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • SIZE_1_100_VALUE

        public static final int SIZE_1_100_VALUE
         1 - 100
         
        SIZE_1_100 = 1;
        See Also:
        Constant Field Values
      • SIZE_101_500_VALUE

        public static final int SIZE_101_500_VALUE
         101 - 500
         
        SIZE_101_500 = 2;
        See Also:
        Constant Field Values
      • SIZE_501_1000_VALUE

        public static final int SIZE_501_1000_VALUE
         501 - 1,000
         
        SIZE_501_1000 = 3;
        See Also:
        Constant Field Values
      • SIZE_1001_2000_VALUE

        public static final int SIZE_1001_2000_VALUE
         1,001 - 2,000
         
        SIZE_1001_2000 = 4;
        See Also:
        Constant Field Values
      • SIZE_2001_5000_VALUE

        public static final int SIZE_2001_5000_VALUE
         2,001 - 5,000
         
        SIZE_2001_5000 = 5;
        See Also:
        Constant Field Values
      • SIZE_5001_10000_VALUE

        public static final int SIZE_5001_10000_VALUE
         5,001 - 10,000
         
        SIZE_5001_10000 = 6;
        See Also:
        Constant Field Values
      • SIZE_10001_OR_MORE_VALUE

        public static final int SIZE_10001_OR_MORE_VALUE
         10,001 +
         
        SIZE_10001_OR_MORE = 7;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static EduData.InstituteSize 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 EduData.InstituteSize 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 EduData.InstituteSize 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<EduData.InstituteSize> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static EduData.InstituteSize 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