Package ru.tinkoff.piapi.contract.v1
Enum ShareType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ShareType>
Тип акций.Protobuf enum
tinkoff.public.invest.api.contract.v1.ShareType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionАмериканские депозитарные распискиЗакрытый инвестиционный фондОбыкновеннаяГлобальные депозитарные распискиТоварищество с ограниченной ответственностьюАкции из реестра Нью-ЙоркаПривилегированнаяТраст недвижимостиЗначение не определено. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intАмериканские депозитарные распискиstatic final intЗакрытый инвестиционный фондstatic final intОбыкновеннаяstatic final intГлобальные депозитарные распискиstatic final intТоварищество с ограниченной ответственностьюstatic final intАкции из реестра Нью-Йоркаstatic final intПривилегированнаяstatic final intТраст недвижимостиstatic final intЗначение не определено. -
Method Summary
Modifier and TypeMethodDescriptionstatic ShareTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ShareType>static ShareTypevalueOf(int value) Deprecated.static ShareTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ShareTypeReturns the enum constant of this type with the specified name.static ShareType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SHARE_TYPE_UNSPECIFIED
Значение не определено.
SHARE_TYPE_UNSPECIFIED = 0; -
SHARE_TYPE_COMMON
Обыкновенная
SHARE_TYPE_COMMON = 1; -
SHARE_TYPE_PREFERRED
Привилегированная
SHARE_TYPE_PREFERRED = 2; -
SHARE_TYPE_ADR
Американские депозитарные расписки
SHARE_TYPE_ADR = 3; -
SHARE_TYPE_GDR
Глобальные депозитарные расписки
SHARE_TYPE_GDR = 4; -
SHARE_TYPE_MLP
Товарищество с ограниченной ответственностью
SHARE_TYPE_MLP = 5; -
SHARE_TYPE_NY_REG_SHRS
Акции из реестра Нью-Йорка
SHARE_TYPE_NY_REG_SHRS = 6; -
SHARE_TYPE_CLOSED_END_FUND
Закрытый инвестиционный фонд
SHARE_TYPE_CLOSED_END_FUND = 7; -
SHARE_TYPE_REIT
Траст недвижимости
SHARE_TYPE_REIT = 8; -
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
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-