{
  "files": [
    {
      "name": "keyapis/telemetry_control/v1/keyapis_telemetry_control_building_gis_v1.proto",
      "description": "Сервис реализует функционал управления атрибутами выгрузки показаний в ГИС ЖКХ по объектам строительства телеметрии",
      "package": "keyapis.telemetry_control.v1",
      "hasEnums": false,
      "hasExtensions": false,
      "hasMessages": true,
      "hasServices": true,
      "enums": [],
      "extensions": [],
      "messages": [
        {
          "name": "BuildingGisAttributes",
          "longName": "BuildingGisAttributes",
          "fullName": "keyapis.telemetry_control.v1.BuildingGisAttributes",
          "description": "Атрибуты выгрузки показаний в ГИС ЖКХ объекта строительства",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "id",
              "description": "Идентификатор объекта строительства",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            },
            {
              "name": "hot_water",
              "description": "Горячая вода",
              "label": "",
              "type": "Attributes",
              "longType": "BuildingGisAttributes.Attributes",
              "fullType": "keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "cold_water",
              "description": "Холодная вода",
              "label": "",
              "type": "Attributes",
              "longType": "BuildingGisAttributes.Attributes",
              "fullType": "keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 3
            },
            {
              "name": "heat",
              "description": "Теплоэнергия",
              "label": "",
              "type": "Attributes",
              "longType": "BuildingGisAttributes.Attributes",
              "fullType": "keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 4
            },
            {
              "name": "gas",
              "description": "Газ",
              "label": "",
              "type": "Attributes",
              "longType": "BuildingGisAttributes.Attributes",
              "fullType": "keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 5
            },
            {
              "name": "electricity",
              "description": "Электроэнергия",
              "label": "",
              "type": "Attributes",
              "longType": "BuildingGisAttributes.Attributes",
              "fullType": "keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 6
            }
          ]
        },
        {
          "name": "Attributes",
          "longName": "BuildingGisAttributes.Attributes",
          "fullName": "keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes",
          "description": "Атрибуты выгрузки показаний для типа ресурса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "is_enabled",
              "description": "Флаг включения передачи показаний",
              "label": "",
              "type": "bool",
              "longType": "bool",
              "fullType": "bool",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            },
            {
              "name": "start_day",
              "description": "Число месяца начала передачи показаний.\n# Диапазон: 15..25",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 2
            }
          ]
        },
        {
          "name": "GetBuildingGisAttributesRequest",
          "longName": "GetBuildingGisAttributesRequest",
          "fullName": "keyapis.telemetry_control.v1.GetBuildingGisAttributesRequest",
          "description": "Запрос получения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "id",
              "description": "Идентификатор объекта строительства",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            }
          ]
        },
        {
          "name": "GetBuildingGisAttributesResponse",
          "longName": "GetBuildingGisAttributesResponse",
          "fullName": "keyapis.telemetry_control.v1.GetBuildingGisAttributesResponse",
          "description": "Ответ на запрос получения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Атрибутов выгрузки показаний в ГИС ЖКХ",
              "label": "",
              "type": "BuildingGisAttributes",
              "longType": "BuildingGisAttributes",
              "fullType": "keyapis.telemetry_control.v1.BuildingGisAttributes",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "PutBuildingGisAttributesRequest",
          "longName": "PutBuildingGisAttributesRequest",
          "fullName": "keyapis.telemetry_control.v1.PutBuildingGisAttributesRequest",
          "description": "Запрос сохранения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Атрибуты выгрузки показаний в ГИС ЖКХ объекта строительства",
              "label": "",
              "type": "BuildingGisAttributes",
              "longType": "BuildingGisAttributes",
              "fullType": "keyapis.telemetry_control.v1.BuildingGisAttributes",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            }
          ]
        },
        {
          "name": "PutBuildingGisAttributesResponse",
          "longName": "PutBuildingGisAttributesResponse",
          "fullName": "keyapis.telemetry_control.v1.PutBuildingGisAttributesResponse",
          "description": "Ответ на запрос сохранения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Объект строительства",
              "label": "",
              "type": "BuildingGisAttributes",
              "longType": "BuildingGisAttributes",
              "fullType": "keyapis.telemetry_control.v1.BuildingGisAttributes",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            }
          ]
        }
      ],
      "services": [
        {
          "name": "BuildingGisService",
          "longName": "BuildingGisService",
          "fullName": "keyapis.telemetry_control.v1.BuildingGisService",
          "description": "Сервис управления атрибутами выгрузки показаний в ГИС ЖКХ по объектам строительства.\nАвторизация:\n  - Authorization: Bearer token",
          "methods": [
            {
              "name": "GetBuildingGisAttributes",
              "description": "Метод получения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства.\nМетод доступен для: Token: admin",
              "requestType": "GetBuildingGisAttributesRequest",
              "requestLongType": "GetBuildingGisAttributesRequest",
              "requestFullType": "keyapis.telemetry_control.v1.GetBuildingGisAttributesRequest",
              "requestStreaming": false,
              "responseType": "GetBuildingGisAttributesResponse",
              "responseLongType": "GetBuildingGisAttributesResponse",
              "responseFullType": "keyapis.telemetry_control.v1.GetBuildingGisAttributesResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "GET",
                      "pattern": "/telemetry_control/api/v1/building_gis_attributes/{id}"
                    }
                  ]
                }
              }
            },
            {
              "name": "PutBuildingGisAttributes",
              "description": "Метод сохранения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства.\nМетод доступен для: Token: admin",
              "requestType": "PutBuildingGisAttributesRequest",
              "requestLongType": "PutBuildingGisAttributesRequest",
              "requestFullType": "keyapis.telemetry_control.v1.PutBuildingGisAttributesRequest",
              "requestStreaming": false,
              "responseType": "PutBuildingGisAttributesResponse",
              "responseLongType": "PutBuildingGisAttributesResponse",
              "responseFullType": "keyapis.telemetry_control.v1.PutBuildingGisAttributesResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "PUT",
                      "pattern": "/telemetry_control/api/v1/building_gis_attributes/{data.id}",
                      "body": "*"
                    }
                  ]
                }
              }
            }
          ]
        }
      ],
      "syntax": "proto3"
    }
  ],
  "scalarValueTypes": [
    {
      "protoType": "double",
      "notes": "",
      "cppType": "double",
      "csType": "double",
      "goType": "float64",
      "javaType": "double",
      "phpType": "float",
      "pythonType": "float",
      "rubyType": "Float"
    },
    {
      "protoType": "float",
      "notes": "",
      "cppType": "float",
      "csType": "float",
      "goType": "float32",
      "javaType": "float",
      "phpType": "float",
      "pythonType": "float",
      "rubyType": "Float"
    },
    {
      "protoType": "int32",
      "notes": "Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.",
      "cppType": "int32",
      "csType": "int",
      "goType": "int32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "int64",
      "notes": "Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.",
      "cppType": "int64",
      "csType": "long",
      "goType": "int64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum"
    },
    {
      "protoType": "uint32",
      "notes": "Uses variable-length encoding.",
      "cppType": "uint32",
      "csType": "uint",
      "goType": "uint32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int/long",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "uint64",
      "notes": "Uses variable-length encoding.",
      "cppType": "uint64",
      "csType": "ulong",
      "goType": "uint64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "sint32",
      "notes": "Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.",
      "cppType": "int32",
      "csType": "int",
      "goType": "int32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "sint64",
      "notes": "Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.",
      "cppType": "int64",
      "csType": "long",
      "goType": "int64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum"
    },
    {
      "protoType": "fixed32",
      "notes": "Always four bytes. More efficient than uint32 if values are often greater than 2^28.",
      "cppType": "uint32",
      "csType": "uint",
      "goType": "uint32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "fixed64",
      "notes": "Always eight bytes. More efficient than uint64 if values are often greater than 2^56.",
      "cppType": "uint64",
      "csType": "ulong",
      "goType": "uint64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum"
    },
    {
      "protoType": "sfixed32",
      "notes": "Always four bytes.",
      "cppType": "int32",
      "csType": "int",
      "goType": "int32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "sfixed64",
      "notes": "Always eight bytes.",
      "cppType": "int64",
      "csType": "long",
      "goType": "int64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum"
    },
    {
      "protoType": "bool",
      "notes": "",
      "cppType": "bool",
      "csType": "bool",
      "goType": "bool",
      "javaType": "boolean",
      "phpType": "boolean",
      "pythonType": "boolean",
      "rubyType": "TrueClass/FalseClass"
    },
    {
      "protoType": "string",
      "notes": "A string must always contain UTF-8 encoded or 7-bit ASCII text.",
      "cppType": "string",
      "csType": "string",
      "goType": "string",
      "javaType": "String",
      "phpType": "string",
      "pythonType": "str/unicode",
      "rubyType": "String (UTF-8)"
    },
    {
      "protoType": "bytes",
      "notes": "May contain any arbitrary sequence of bytes.",
      "cppType": "string",
      "csType": "ByteString",
      "goType": "[]byte",
      "javaType": "ByteString",
      "phpType": "string",
      "pythonType": "str",
      "rubyType": "String (ASCII-8BIT)"
    }
  ]
}