# Протокол

## Оглавление

- [deviceapis/device/v1/deviceapis_device_capability_v1.proto](#deviceapis_device_v1_deviceapis_device_capability_v1-proto)
    - [CapabilityService](#deviceapis-device-v1-CapabilityService)
  
    - [Capability](#deviceapis-device-v1-Capability)
    - [Capability.EncryptionProfile](#deviceapis-device-v1-Capability-EncryptionProfile)
    - [CapabilityFilter](#deviceapis-device-v1-CapabilityFilter)
    - [GetCapabilityListRequest](#deviceapis-device-v1-GetCapabilityListRequest)
    - [GetCapabilityListResponse](#deviceapis-device-v1-GetCapabilityListResponse)
  


## [Схема классов](/svg/protos/key/deviceapis/device/v1/deviceapis_device_capability_v1.proto.svg)
<a href="/svg/protos/key/deviceapis/device/v1/deviceapis_device_capability_v1.proto.svg"><img src="/svg/protos/key/deviceapis/device/v1/deviceapis_device_capability_v1.proto.svg" alt="/svg/protos/key/deviceapis/device/v1/deviceapis_device_capability_v1.proto.svg" style="height:100%;"></a>




<a name="deviceapis_device_v1_deviceapis_device_capability_v1-proto"></a>

## [deviceapis/device/v1/deviceapis_device_capability_v1.proto](/protos/key/deviceapis/device/v1/deviceapis_device_capability_v1.proto)
Сервис возможностей устройства


<a name="deviceapis-device-v1-CapabilityService"></a>

### CapabilityService
 Сервис возможностей устройства

| Название метода | Описание | Тип запроса | Тип ответа |
| --------------- | -------- | ----------- | -----------|
| <a id="deviceapis-device-v1-GetCapabilityList"></a> [GetCapabilityList](#deviceapis-device-v1-GetCapabilityList) | Метод получения возможностей устройства | [deviceapis.device.v1.GetCapabilityListRequest](#deviceapis-device-v1-GetCapabilityListRequest) | [deviceapis.device.v1.GetCapabilityListResponse](#deviceapis-device-v1-GetCapabilityListResponse) |

 <!-- end services -->


<a name="deviceapis-device-v1-Capability"></a>


### [Capability](#deviceapis-device-v1-Capability)
 Возможность устройства


| Поле | Описание | Тип | Признак |
| ---- | -------- | --- | ------- |
| <a id="deviceapis-device-v1-Capability-encryption_profile"></a> [encryption_profile](#deviceapis-device-v1-Capability-encryption_profile) | Профиль шифрования |  optional  [deviceapis.device.v1.Capability.EncryptionProfile](#deviceapis-device-v1-Capability-EncryptionProfile) | <nil>|






<a name="deviceapis-device-v1-Capability-EncryptionProfile"></a>


### [Capability.EncryptionProfile](#deviceapis-device-v1-Capability-EncryptionProfile)
 Профиль шифрования






<a name="deviceapis-device-v1-CapabilityFilter"></a>


### [CapabilityFilter](#deviceapis-device-v1-CapabilityFilter)
 Фильтр возможностей устройства






<a name="deviceapis-device-v1-GetCapabilityListRequest"></a>


### [GetCapabilityListRequest](#deviceapis-device-v1-GetCapabilityListRequest)
 Запрос получения возможностей устройства


| Поле | Описание | Тип | Признак |
| ---- | -------- | --- | ------- |
| <a id="deviceapis-device-v1-GetCapabilityListRequest-filter"></a> [filter](#deviceapis-device-v1-GetCapabilityListRequest-filter) | Фильтр возможностей устройства |    [deviceapis.device.v1.CapabilityFilter](#deviceapis-device-v1-CapabilityFilter) | <nil>|






<a name="deviceapis-device-v1-GetCapabilityListResponse"></a>


### [GetCapabilityListResponse](#deviceapis-device-v1-GetCapabilityListResponse)
 Ответ на запрос получения возможностей устройства


| Поле | Описание | Тип | Признак |
| ---- | -------- | --- | ------- |
| <a id="deviceapis-device-v1-GetCapabilityListResponse-data"></a> [data](#deviceapis-device-v1-GetCapabilityListResponse-data) | Список Capability |  repeated  [deviceapis.device.v1.Capability](#deviceapis-device-v1-Capability) | <nil>|





 <!-- end messages -->

 <!-- end enums -->

 <!-- end HasExtensions -->



## Скалярные типы значений
<a id="scalar-types"></a>

| .proto Type | Примечание | Python | Go | Ruby | C# | C++ | Java | PHP |
| ----------- | ---------- | ------ | -- | ---- | -- | --- | ---- | --- |
| [double](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) |  | float | float64 | Float | double | double | double | float |
| [float](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) |  | float | float32 | Float | float | float | float | float |
| [int32](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int | int32 | Bignum or Fixnum (as required) | int | int32 | int | integer |
| [int64](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int/long | int64 | Bignum | long | int64 | long | integer/string |
| [uint32](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Uses variable-length encoding. | int/long | uint32 | Bignum or Fixnum (as required) | uint | uint32 | int | integer |
| [uint64](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Uses variable-length encoding. | int/long | uint64 | Bignum or Fixnum (as required) | ulong | uint64 | long | integer/string |
| [sint32](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int | int32 | Bignum or Fixnum (as required) | int | int32 | int | integer |
| [sint64](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int/long | int64 | Bignum | long | int64 | long | integer/string |
| [fixed32](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | int | uint32 | Bignum or Fixnum (as required) | uint | uint32 | int | integer |
| [fixed64](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | int/long | uint64 | Bignum | ulong | uint64 | long | integer/string |
| [sfixed32](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Always four bytes. | int | int32 | Bignum or Fixnum (as required) | int | int32 | int | integer |
| [sfixed64](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | Always eight bytes. | int/long | int64 | Bignum | long | int64 | long | integer/string |
| [bool](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) |  | boolean | bool | TrueClass/FalseClass | bool | bool | boolean | boolean |
| [string](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | A string must always contain UTF-8 encoded or 7-bit ASCII text. | str/unicode | string | String (UTF-8) | string | string | String | string |
| [bytes](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf/) | May contain any arbitrary sequence of bytes. | str | []byte | String (ASCII-8BIT) | ByteString | string | ByteString | string |

