Enum ShareType

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

public enum ShareType extends Enum<ShareType> implements com.google.protobuf.ProtocolMessageEnum
Тип акций.
 
Protobuf enum tinkoff.public.invest.api.contract.v1.ShareType
  • Enum Constant Details

    • SHARE_TYPE_UNSPECIFIED

      public static final ShareType SHARE_TYPE_UNSPECIFIED
      Значение не определено.
       
      SHARE_TYPE_UNSPECIFIED = 0;
    • SHARE_TYPE_COMMON

      public static final ShareType SHARE_TYPE_COMMON
      Обыкновенная
       
      SHARE_TYPE_COMMON = 1;
    • SHARE_TYPE_PREFERRED

      public static final ShareType SHARE_TYPE_PREFERRED
      Привилегированная
       
      SHARE_TYPE_PREFERRED = 2;
    • SHARE_TYPE_ADR

      public static final ShareType SHARE_TYPE_ADR
      Американские депозитарные расписки
       
      SHARE_TYPE_ADR = 3;
    • SHARE_TYPE_GDR

      public static final ShareType SHARE_TYPE_GDR
      Глобальные депозитарные расписки
       
      SHARE_TYPE_GDR = 4;
    • SHARE_TYPE_MLP

      public static final ShareType SHARE_TYPE_MLP
      Товарищество с ограниченной ответственностью
       
      SHARE_TYPE_MLP = 5;
    • SHARE_TYPE_NY_REG_SHRS

      public static final ShareType SHARE_TYPE_NY_REG_SHRS
      Акции из реестра Нью-Йорка
       
      SHARE_TYPE_NY_REG_SHRS = 6;
    • SHARE_TYPE_CLOSED_END_FUND

      public static final ShareType SHARE_TYPE_CLOSED_END_FUND
      Закрытый инвестиционный фонд
       
      SHARE_TYPE_CLOSED_END_FUND = 7;
    • SHARE_TYPE_REIT

      public static final ShareType SHARE_TYPE_REIT
      Траст недвижимости
       
      SHARE_TYPE_REIT = 8;
    • UNRECOGNIZED

      public static final ShareType UNRECOGNIZED
  • Field Details

    • SHARE_TYPE_UNSPECIFIED_VALUE

      public static final int SHARE_TYPE_UNSPECIFIED_VALUE
      Значение не определено.
       
      SHARE_TYPE_UNSPECIFIED = 0;
      See Also:
    • SHARE_TYPE_COMMON_VALUE

      public static final int SHARE_TYPE_COMMON_VALUE
      Обыкновенная
       
      SHARE_TYPE_COMMON = 1;
      See Also:
    • SHARE_TYPE_PREFERRED_VALUE

      public static final int SHARE_TYPE_PREFERRED_VALUE
      Привилегированная
       
      SHARE_TYPE_PREFERRED = 2;
      See Also:
    • SHARE_TYPE_ADR_VALUE

      public static final int SHARE_TYPE_ADR_VALUE
      Американские депозитарные расписки
       
      SHARE_TYPE_ADR = 3;
      See Also:
    • SHARE_TYPE_GDR_VALUE

      public static final int SHARE_TYPE_GDR_VALUE
      Глобальные депозитарные расписки
       
      SHARE_TYPE_GDR = 4;
      See Also:
    • SHARE_TYPE_MLP_VALUE

      public static final int SHARE_TYPE_MLP_VALUE
      Товарищество с ограниченной ответственностью
       
      SHARE_TYPE_MLP = 5;
      See Also:
    • SHARE_TYPE_NY_REG_SHRS_VALUE

      public static final int SHARE_TYPE_NY_REG_SHRS_VALUE
      Акции из реестра Нью-Йорка
       
      SHARE_TYPE_NY_REG_SHRS = 6;
      See Also:
    • SHARE_TYPE_CLOSED_END_FUND_VALUE

      public static final int SHARE_TYPE_CLOSED_END_FUND_VALUE
      Закрытый инвестиционный фонд
       
      SHARE_TYPE_CLOSED_END_FUND = 7;
      See Also:
    • SHARE_TYPE_REIT_VALUE

      public static final int SHARE_TYPE_REIT_VALUE
      Траст недвижимости
       
      SHARE_TYPE_REIT = 8;
      See Also:
  • Method Details

    • values

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