Package ru.tinkoff.piapi.contract.v1
Enum AccountStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AccountStatus>
public enum AccountStatus
extends Enum<AccountStatus>
implements com.google.protobuf.ProtocolMessageEnum
Статус счёта.Protobuf enum
tinkoff.public.invest.api.contract.v1.AccountStatus-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionЗакрытый счёт.Новый, в процессе открытия.Открытый и активный счёт.Статус счёта не определён. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intЗакрытый счёт.static final intНовый, в процессе открытия.static final intОткрытый и активный счёт.static final intСтатус счёта не определён. -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountStatusforNumber(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<AccountStatus>static AccountStatusvalueOf(int value) Deprecated.static AccountStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static AccountStatusReturns the enum constant of this type with the specified name.static AccountStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACCOUNT_STATUS_UNSPECIFIED
Статус счёта не определён.
ACCOUNT_STATUS_UNSPECIFIED = 0; -
ACCOUNT_STATUS_NEW
Новый, в процессе открытия.
ACCOUNT_STATUS_NEW = 1; -
ACCOUNT_STATUS_OPEN
Открытый и активный счёт.
ACCOUNT_STATUS_OPEN = 2; -
ACCOUNT_STATUS_CLOSED
Закрытый счёт.
ACCOUNT_STATUS_CLOSED = 3; -
UNRECOGNIZED
-
-
Field Details
-
ACCOUNT_STATUS_UNSPECIFIED_VALUE
public static final int ACCOUNT_STATUS_UNSPECIFIED_VALUEСтатус счёта не определён.
ACCOUNT_STATUS_UNSPECIFIED = 0;- See Also:
-
ACCOUNT_STATUS_NEW_VALUE
public static final int ACCOUNT_STATUS_NEW_VALUEНовый, в процессе открытия.
ACCOUNT_STATUS_NEW = 1;- See Also:
-
ACCOUNT_STATUS_OPEN_VALUE
public static final int ACCOUNT_STATUS_OPEN_VALUEОткрытый и активный счёт.
ACCOUNT_STATUS_OPEN = 2;- See Also:
-
ACCOUNT_STATUS_CLOSED_VALUE
public static final int ACCOUNT_STATUS_CLOSED_VALUEЗакрытый счёт.
ACCOUNT_STATUS_CLOSED = 3;- 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
-