Package ru.tinkoff.piapi.contract.v1
Enum AccessLevel
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AccessLevel>
public enum AccessLevel
extends Enum<AccessLevel>
implements com.google.protobuf.ProtocolMessageEnum
Уровень доступа к счёту.Protobuf enum
tinkoff.public.invest.api.contract.v1.AccessLevel-
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 AccessLevelforNumber(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<AccessLevel>static AccessLevelvalueOf(int value) Deprecated.static AccessLevelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static AccessLevelReturns the enum constant of this type with the specified name.static AccessLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACCOUNT_ACCESS_LEVEL_UNSPECIFIED
Уровень доступа не определён.
ACCOUNT_ACCESS_LEVEL_UNSPECIFIED = 0; -
ACCOUNT_ACCESS_LEVEL_FULL_ACCESS
Полный доступ к счёту.
ACCOUNT_ACCESS_LEVEL_FULL_ACCESS = 1; -
ACCOUNT_ACCESS_LEVEL_READ_ONLY
Доступ с уровнем прав "только чтение".
ACCOUNT_ACCESS_LEVEL_READ_ONLY = 2; -
ACCOUNT_ACCESS_LEVEL_NO_ACCESS
Доступ отсутствует.
ACCOUNT_ACCESS_LEVEL_NO_ACCESS = 3; -
UNRECOGNIZED
-
-
Field Details
-
ACCOUNT_ACCESS_LEVEL_UNSPECIFIED_VALUE
public static final int ACCOUNT_ACCESS_LEVEL_UNSPECIFIED_VALUEУровень доступа не определён.
ACCOUNT_ACCESS_LEVEL_UNSPECIFIED = 0;- See Also:
-
ACCOUNT_ACCESS_LEVEL_FULL_ACCESS_VALUE
public static final int ACCOUNT_ACCESS_LEVEL_FULL_ACCESS_VALUEПолный доступ к счёту.
ACCOUNT_ACCESS_LEVEL_FULL_ACCESS = 1;- See Also:
-
ACCOUNT_ACCESS_LEVEL_READ_ONLY_VALUE
public static final int ACCOUNT_ACCESS_LEVEL_READ_ONLY_VALUEДоступ с уровнем прав "только чтение".
ACCOUNT_ACCESS_LEVEL_READ_ONLY = 2;- See Also:
-
ACCOUNT_ACCESS_LEVEL_NO_ACCESS_VALUE
public static final int ACCOUNT_ACCESS_LEVEL_NO_ACCESS_VALUEДоступ отсутствует.
ACCOUNT_ACCESS_LEVEL_NO_ACCESS = 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
-