# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/telemetry_metric/v1/keyapis_telemetry_metric_measurement_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nIkeyapis/telemetry_metric/v1/keyapis_telemetry_metric_measurement_v1.proto\x12\x1bkeyapis.telemetry_metric.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x01\n\x19GetMeasurementListRequest\x12>\n\x06\x66ilter\x18\x01 \x01(\x0b\x32..keyapis.telemetry_metric.v1.MeasurementFilter\x12@\n\x06paging\x18\x02 \x01(\x0b\x32..keyapis.telemetry_metric.v1.MeasurementPagingH\x00\x42\x0c\n\npagination\"\xb4\x01\n\"GetMeasurementConvertedListRequest\x12>\n\x06\x66ilter\x18\x01 \x01(\x0b\x32..keyapis.telemetry_metric.v1.MeasurementFilter\x12@\n\x06paging\x18\x02 \x01(\x0b\x32..keyapis.telemetry_metric.v1.MeasurementPagingH\x00\x42\x0c\n\npagination\"^\n\x1aGetMeasurementListResponse\x12\x38\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32(.keyapis.telemetry_metric.v1.MeasurementH\x00\x42\x06\n\x04type\"g\n#GetMeasurementConvertedListResponse\x12\x38\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32(.keyapis.telemetry_metric.v1.MeasurementH\x00\x42\x06\n\x04type\"\xa6\x03\n\x11MeasurementFilter\x12\x10\n\x08\x66ias_ids\x18\x01 \x03(\t\x12\x12\n\ndevice_ids\x18\x02 \x03(\x05\x12\x15\n\rindicator_ids\x18\x03 \x03(\x05\x12\x33\n\x0f\x62\x65gin_synced_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rend_synced_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rdevice_models\x18\x06 \x03(\t\x12I\n\x0c\x64\x65vice_types\x18\x07 \x03(\x0e\x32\x33.keyapis.telemetry_metric.v1.Measurement.DeviceType\x12I\n\x0cmetric_types\x18\x08 \x03(\x0e\x32\x33.keyapis.telemetry_metric.v1.Measurement.MetricType\x12?\n\x1bis_border_measurements_only\x18\t \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\\\n\x1aGetMeasurementCountRequest\x12>\n\x06\x66ilter\x18\x01 \x01(\x0b\x32..keyapis.telemetry_metric.v1.MeasurementFilter\"e\n#GetMeasurementConvertedCountRequest\x12>\n\x06\x66ilter\x18\x01 \x01(\x0b\x32..keyapis.telemetry_metric.v1.MeasurementFilter\"5\n\x1bGetMeasurementCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x42\x06\n\x04type\">\n$GetMeasurementConvertedCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x42\x06\n\x04type\"\xe6\x02\n\x11MeasurementPaging\x12Q\n\rorder_by_type\x18\x01 \x01(\x0e\x32:.keyapis.telemetry_metric.v1.MeasurementPaging.OrderByType\x12T\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32<.keyapis.telemetry_metric.v1.MeasurementPaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\"I\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x10\n\x0cINDICATOR_ID\x10\x01\x12\r\n\tSYNCED_AT\x10\x02\">\n\rDirectionType\x12\x1a\n\x16\x44IRECTION_TYPE_UNKNOWN\x10\x00\x12\x08\n\x04\x44\x45SC\x10\x01\x12\x07\n\x03\x41SC\x10\x02\"U\n\x16PostMeasurementRequest\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32(.keyapis.telemetry_metric.v1.MeasurementB\x03\xe0\x41\x02\"\x19\n\x17PostMeasurementResponse\"_\n PostMeasurementHalfDuplexRequest\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32(.keyapis.telemetry_metric.v1.MeasurementB\x03\xe0\x41\x02\"#\n!PostMeasurementHalfDuplexResponse\"\xa9\t\n\x0bMeasurement\x12\x19\n\x0cindicator_id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\x02\x42\x03\xe0\x41\x02\x12-\n\tsynced_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\x07\x66ias_id\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\tdevice_id\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x35\n\x10\x64\x65vice_parent_id\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x32\n\x0c\x64\x65vice_model\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12H\n\x0b\x64\x65vice_type\x18\x08 \x01(\x0e\x32\x33.keyapis.telemetry_metric.v1.Measurement.DeviceType\x12H\n\x0bmetric_type\x18\t \x01(\x0e\x32\x33.keyapis.telemetry_metric.v1.Measurement.MetricType\x12\x33\n\nchanged_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x12\n\nutc_offset\x18\x0b \x01(\x05\x12\x44\n\tunit_type\x18\x0c \x01(\x0e\x32\x31.keyapis.telemetry_metric.v1.Measurement.UnitType\"\xd0\x01\n\nDeviceType\x12\x17\n\x13\x44\x45VICE_TYPE_UNKNOWN\x10\x00\x12\x07\n\x03HUB\x10\x01\x12\x1a\n\x16PULSE_COUNTER_RECORDER\x10\x02\x12\x1d\n\x19PULSE_COUNTER_RECORDER_LR\x10\x03\x12\x13\n\x0fMETERING_DEVICE\x10\x04\x12\x17\n\x13INTERFACE_CONVERTER\x10\x05\x12\r\n\tM_BUS_HUB\x10\x06\x12\x1b\n\x17\x43OMMUNICATION_MODULE_LR\x10\x07\x12\x0b\n\x07\x42\x41SE_LR\x10\x08\"h\n\nMetricType\x12\x17\n\x13METRIC_TYPE_UNKNOWN\x10\x00\x12\r\n\tHOT_WATER\x10\x01\x12\x0e\n\nCOLD_WATER\x10\x02\x12\x08\n\x04HEAT\x10\x03\x12\x07\n\x03GAS\x10\x04\x12\x0f\n\x0b\x45LECTRICITY\x10\x05\"\x91\x02\n\x08UnitType\x12\x15\n\x11UNIT_TYPE_UNKNOWN\x10\x00\x12\x0b\n\x07PERCENT\x10\x01\x12\x05\n\x01\x43\x10\x02\x12\x06\n\x02WT\x10\x03\x12\x08\n\x04GKAL\x10\x04\x12\t\n\x05VALUE\x10\x05\x12\x07\n\x03KWH\x10\x06\x12\n\n\x06KG_CM2\x10\x07\x12\x0b\n\x07KGF_CM2\x10\x08\x12\x06\n\x02M3\x10\t\x12\x08\n\x04M3_H\x10\n\x12\x07\n\x03MPA\x10\x0b\x12\x06\n\x02MS\x10\x0c\x12\x0b\n\x07\x42OOLEAN\x10\r\x12\x05\n\x01T\x10\x0e\x12\x07\n\x03T_H\x10\x0f\x12\x05\n\x01H\x10\x10\x12\x12\n\x0eNON_MEASURABLE\x10\x11\x12\x07\n\x03IMP\x10\x12\x12\x05\n\x01J\x10\x13\x12\x06\n\x02KJ\x10\x14\x12\x06\n\x02GJ\x10\x15\x12\x07\n\x03WTH\x10\x16\x12\x07\n\x03KWT\x10\x17\x12\x07\n\x03MIN\x10\x18\x12\x05\n\x01S\x10\x19\x32\xa4\t\n\x12MeasurementService\x12\xaa\x01\n\x0fPostMeasurement\x12\x33.keyapis.telemetry_metric.v1.PostMeasurementRequest\x1a\x34.keyapis.telemetry_metric.v1.PostMeasurementResponse\",\x82\xd3\xe4\x93\x02&\"$/telemetry_metric/api/v1/measurement\x12\x9e\x01\n\x19PostMeasurementHalfDuplex\x12=.keyapis.telemetry_metric.v1.PostMeasurementHalfDuplexRequest\x1a>.keyapis.telemetry_metric.v1.PostMeasurementHalfDuplexResponse\"\x00(\x01\x12\xba\x01\n\x12GetMeasurementList\x12\x36.keyapis.telemetry_metric.v1.GetMeasurementListRequest\x1a\x37.keyapis.telemetry_metric.v1.GetMeasurementListResponse\"1\x82\xd3\xe4\x93\x02+\x12)/telemetry_metric/api/v1/measurement/list0\x01\x12\xbc\x01\n\x13GetMeasurementCount\x12\x37.keyapis.telemetry_metric.v1.GetMeasurementCountRequest\x1a\x38.keyapis.telemetry_metric.v1.GetMeasurementCountResponse\"2\x82\xd3\xe4\x93\x02,\x12*/telemetry_metric/api/v1/measurement/count\x12\xdf\x01\n\x1bGetMeasurementConvertedList\x12?.keyapis.telemetry_metric.v1.GetMeasurementConvertedListRequest\x1a@.keyapis.telemetry_metric.v1.GetMeasurementConvertedListResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/telemetry_metric/api/v1/measurement/converted/list0\x01\x12\xe1\x01\n\x1cGetMeasurementConvertedCount\x12@.keyapis.telemetry_metric.v1.GetMeasurementConvertedCountRequest\x1a\x41.keyapis.telemetry_metric.v1.GetMeasurementConvertedCountResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/telemetry_metric/api/v1/measurement/converted/countB\xdc\x01\n\x1eru.keyapis.telemetry_metric.v1B\x1dKeyapisTelemetryMetricV1ProtoH\x03P\x00Z\x1c/keyapis_telemetry_metric_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x19KEYAPISTELEMETRYMETRICYV1\xaa\x02\x1aKeyapis.TelemetryMetric.V1\xca\x02\x1aKeyapis\\TelemetryMetric\\V1\xea\x02\x1cKeyapis::TelemetryMetric::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'keyapis.telemetry_metric.v1.keyapis_telemetry_metric_measurement_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\036ru.keyapis.telemetry_metric.v1B\035KeyapisTelemetryMetricV1ProtoH\003P\000Z\034/keyapis_telemetry_metric_v1\330\001\001\370\001\001\242\002\031KEYAPISTELEMETRYMETRICYV1\252\002\032Keyapis.TelemetryMetric.V1\312\002\032Keyapis\\TelemetryMetric\\V1\352\002\034Keyapis::TelemetryMetric::V1'
  _POSTMEASUREMENTREQUEST.fields_by_name['data']._options = None
  _POSTMEASUREMENTREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _POSTMEASUREMENTHALFDUPLEXREQUEST.fields_by_name['data']._options = None
  _POSTMEASUREMENTHALFDUPLEXREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _MEASUREMENT.fields_by_name['indicator_id']._options = None
  _MEASUREMENT.fields_by_name['indicator_id']._serialized_options = b'\340A\002'
  _MEASUREMENT.fields_by_name['value']._options = None
  _MEASUREMENT.fields_by_name['value']._serialized_options = b'\340A\002'
  _MEASUREMENT.fields_by_name['changed_at']._options = None
  _MEASUREMENT.fields_by_name['changed_at']._serialized_options = b'\340A\003'
  _MEASUREMENTSERVICE.methods_by_name['PostMeasurement']._options = None
  _MEASUREMENTSERVICE.methods_by_name['PostMeasurement']._serialized_options = b'\202\323\344\223\002&\"$/telemetry_metric/api/v1/measurement'
  _MEASUREMENTSERVICE.methods_by_name['GetMeasurementList']._options = None
  _MEASUREMENTSERVICE.methods_by_name['GetMeasurementList']._serialized_options = b'\202\323\344\223\002+\022)/telemetry_metric/api/v1/measurement/list'
  _MEASUREMENTSERVICE.methods_by_name['GetMeasurementCount']._options = None
  _MEASUREMENTSERVICE.methods_by_name['GetMeasurementCount']._serialized_options = b'\202\323\344\223\002,\022*/telemetry_metric/api/v1/measurement/count'
  _MEASUREMENTSERVICE.methods_by_name['GetMeasurementConvertedList']._options = None
  _MEASUREMENTSERVICE.methods_by_name['GetMeasurementConvertedList']._serialized_options = b'\202\323\344\223\0025\0223/telemetry_metric/api/v1/measurement/converted/list'
  _MEASUREMENTSERVICE.methods_by_name['GetMeasurementConvertedCount']._options = None
  _MEASUREMENTSERVICE.methods_by_name['GetMeasurementConvertedCount']._serialized_options = b'\202\323\344\223\0026\0224/telemetry_metric/api/v1/measurement/converted/count'
  _globals['_GETMEASUREMENTLISTREQUEST']._serialized_start=235
  _globals['_GETMEASUREMENTLISTREQUEST']._serialized_end=406
  _globals['_GETMEASUREMENTCONVERTEDLISTREQUEST']._serialized_start=409
  _globals['_GETMEASUREMENTCONVERTEDLISTREQUEST']._serialized_end=589
  _globals['_GETMEASUREMENTLISTRESPONSE']._serialized_start=591
  _globals['_GETMEASUREMENTLISTRESPONSE']._serialized_end=685
  _globals['_GETMEASUREMENTCONVERTEDLISTRESPONSE']._serialized_start=687
  _globals['_GETMEASUREMENTCONVERTEDLISTRESPONSE']._serialized_end=790
  _globals['_MEASUREMENTFILTER']._serialized_start=793
  _globals['_MEASUREMENTFILTER']._serialized_end=1215
  _globals['_GETMEASUREMENTCOUNTREQUEST']._serialized_start=1217
  _globals['_GETMEASUREMENTCOUNTREQUEST']._serialized_end=1309
  _globals['_GETMEASUREMENTCONVERTEDCOUNTREQUEST']._serialized_start=1311
  _globals['_GETMEASUREMENTCONVERTEDCOUNTREQUEST']._serialized_end=1412
  _globals['_GETMEASUREMENTCOUNTRESPONSE']._serialized_start=1414
  _globals['_GETMEASUREMENTCOUNTRESPONSE']._serialized_end=1467
  _globals['_GETMEASUREMENTCONVERTEDCOUNTRESPONSE']._serialized_start=1469
  _globals['_GETMEASUREMENTCONVERTEDCOUNTRESPONSE']._serialized_end=1531
  _globals['_MEASUREMENTPAGING']._serialized_start=1534
  _globals['_MEASUREMENTPAGING']._serialized_end=1892
  _globals['_MEASUREMENTPAGING_ORDERBYTYPE']._serialized_start=1755
  _globals['_MEASUREMENTPAGING_ORDERBYTYPE']._serialized_end=1828
  _globals['_MEASUREMENTPAGING_DIRECTIONTYPE']._serialized_start=1830
  _globals['_MEASUREMENTPAGING_DIRECTIONTYPE']._serialized_end=1892
  _globals['_POSTMEASUREMENTREQUEST']._serialized_start=1894
  _globals['_POSTMEASUREMENTREQUEST']._serialized_end=1979
  _globals['_POSTMEASUREMENTRESPONSE']._serialized_start=1981
  _globals['_POSTMEASUREMENTRESPONSE']._serialized_end=2006
  _globals['_POSTMEASUREMENTHALFDUPLEXREQUEST']._serialized_start=2008
  _globals['_POSTMEASUREMENTHALFDUPLEXREQUEST']._serialized_end=2103
  _globals['_POSTMEASUREMENTHALFDUPLEXRESPONSE']._serialized_start=2105
  _globals['_POSTMEASUREMENTHALFDUPLEXRESPONSE']._serialized_end=2140
  _globals['_MEASUREMENT']._serialized_start=2143
  _globals['_MEASUREMENT']._serialized_end=3336
  _globals['_MEASUREMENT_DEVICETYPE']._serialized_start=2746
  _globals['_MEASUREMENT_DEVICETYPE']._serialized_end=2954
  _globals['_MEASUREMENT_METRICTYPE']._serialized_start=2956
  _globals['_MEASUREMENT_METRICTYPE']._serialized_end=3060
  _globals['_MEASUREMENT_UNITTYPE']._serialized_start=3063
  _globals['_MEASUREMENT_UNITTYPE']._serialized_end=3336
  _globals['_MEASUREMENTSERVICE']._serialized_start=3339
  _globals['_MEASUREMENTSERVICE']._serialized_end=4527
# @@protoc_insertion_point(module_scope)
