Enum CandleInterval

java.lang.Object
java.lang.Enum<CandleInterval>
ru.tinkoff.piapi.contract.v1.CandleInterval
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<CandleInterval>

public enum CandleInterval extends Enum<CandleInterval> implements com.google.protobuf.ProtocolMessageEnum
Интервал свечей.
 
Protobuf enum tinkoff.public.invest.api.contract.v1.CandleInterval
  • Enum Constant Details

    • CANDLE_INTERVAL_UNSPECIFIED

      public static final CandleInterval CANDLE_INTERVAL_UNSPECIFIED
      Интервал не определён.
       
      CANDLE_INTERVAL_UNSPECIFIED = 0;
    • CANDLE_INTERVAL_1_MIN

      public static final CandleInterval CANDLE_INTERVAL_1_MIN
      1 минута.
       
      CANDLE_INTERVAL_1_MIN = 1;
    • CANDLE_INTERVAL_5_MIN

      public static final CandleInterval CANDLE_INTERVAL_5_MIN
      5 минут.
       
      CANDLE_INTERVAL_5_MIN = 2;
    • CANDLE_INTERVAL_15_MIN

      public static final CandleInterval CANDLE_INTERVAL_15_MIN
      15 минут.
       
      CANDLE_INTERVAL_15_MIN = 3;
    • CANDLE_INTERVAL_HOUR

      public static final CandleInterval CANDLE_INTERVAL_HOUR
      1 час.
       
      CANDLE_INTERVAL_HOUR = 4;
    • CANDLE_INTERVAL_DAY

      public static final CandleInterval CANDLE_INTERVAL_DAY
      1 день.
       
      CANDLE_INTERVAL_DAY = 5;
    • UNRECOGNIZED

      public static final CandleInterval UNRECOGNIZED
  • Field Details

    • CANDLE_INTERVAL_UNSPECIFIED_VALUE

      public static final int CANDLE_INTERVAL_UNSPECIFIED_VALUE
      Интервал не определён.
       
      CANDLE_INTERVAL_UNSPECIFIED = 0;
      See Also:
    • CANDLE_INTERVAL_1_MIN_VALUE

      public static final int CANDLE_INTERVAL_1_MIN_VALUE
      1 минута.
       
      CANDLE_INTERVAL_1_MIN = 1;
      See Also:
    • CANDLE_INTERVAL_5_MIN_VALUE

      public static final int CANDLE_INTERVAL_5_MIN_VALUE
      5 минут.
       
      CANDLE_INTERVAL_5_MIN = 2;
      See Also:
    • CANDLE_INTERVAL_15_MIN_VALUE

      public static final int CANDLE_INTERVAL_15_MIN_VALUE
      15 минут.
       
      CANDLE_INTERVAL_15_MIN = 3;
      See Also:
    • CANDLE_INTERVAL_HOUR_VALUE

      public static final int CANDLE_INTERVAL_HOUR_VALUE
      1 час.
       
      CANDLE_INTERVAL_HOUR = 4;
      See Also:
    • CANDLE_INTERVAL_DAY_VALUE

      public static final int CANDLE_INTERVAL_DAY_VALUE
      1 день.
       
      CANDLE_INTERVAL_DAY = 5;
      See Also:
  • Method Details

    • values

      public static CandleInterval[] 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 CandleInterval 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 CandleInterval 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 CandleInterval 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<CandleInterval> 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 CandleInterval 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