# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: powerpay_protos/telemetry/measurement.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.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+powerpay_protos/telemetry/measurement.proto\x12\x14powerpay.measurement\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x02\n\x0bMeasurement\x12\x45\n\x12\x65nergy_measurement\x18\x01 \x01(\x0b\x32\'.powerpay.measurement.EnergyMeasurementH\x00\x12\x43\n\x11power_measurement\x18\x02 \x01(\x0b\x32&.powerpay.measurement.PowerMeasurementH\x00\x12K\n\x15\x65nergized_measurement\x18\x03 \x01(\x0b\x32*.powerpay.measurement.EnergizedMeasurementH\x00\x12G\n\x13session_measurement\x18\x04 \x01(\x0b\x32(.powerpay.measurement.SessionMeasurementH\x00\x42\x06\n\x04type\"\x83\x02\n\x11\x45nergyMeasurement\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x39\n\x04unit\x18\x02 \x01(\x0e\x32+.powerpay.measurement.EnergyMeasurementUnit\x12K\n\x04type\x18\x03 \x01(\x0e\x32=.powerpay.measurement.EnergyMeasurement.EnergyMeasurementType\"W\n\x15\x45nergyMeasurementType\x12#\n\x1f\x45NERGY_MEASUREMENT_TYPE_NOT_SET\x10\x00\x12\x0c\n\x08LIFETIME\x10\x01\x12\x0b\n\x07SESSION\x10\x02\"[\n\x10PowerMeasurement\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x38\n\x04unit\x18\x02 \x01(\x0e\x32*.powerpay.measurement.PowerMeasurementUnit\"\xb2\x01\n\x14\x45nergizedMeasurement\x12H\n\x05value\x18\x01 \x01(\x0e\x32\x39.powerpay.measurement.EnergizedMeasurement.EnergizedState\"P\n\x0e\x45nergizedState\x12\x1d\n\x19\x45NERGIZED_STATE_UNDEFINED\x10\x00\x12\r\n\tENERGIZED\x10\x01\x12\x10\n\x0c\x44\x45_ENERGIZED\x10\x02\"\xac\x02\n\x12SessionMeasurement\x12)\n\x05start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03\x65nd\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x17session_consumed_energy\x18\x03 \x01(\x0b\x32\'.powerpay.measurement.EnergyMeasurement\x12<\n\x0bmeter_start\x18\x04 \x01(\x0b\x32\'.powerpay.measurement.EnergyMeasurement\x12:\n\tmeter_end\x18\x05 \x01(\x0b\x32\'.powerpay.measurement.EnergyMeasurement*g\n\x15\x45nergyMeasurementUnit\x12\x17\n\x13\x45NERGY_UNIT_NOT_SET\x10\x00\x12\r\n\tWATT_HOUR\x10\x01\x12\x12\n\x0eKILO_WATT_HOUR\x10\x02\x12\x12\n\x0eMEGA_WATT_HOUR\x10\x03*V\n\x14PowerMeasurementUnit\x12\x16\n\x12POWER_UNIT_NOT_SET\x10\x00\x12\x08\n\x04WATT\x10\x01\x12\r\n\tKILO_WATT\x10\x02\x12\r\n\tMEGA_WATT\x10\x03\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'powerpay_protos.telemetry.measurement_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _globals['_ENERGYMEASUREMENTUNIT']._serialized_start=1255
  _globals['_ENERGYMEASUREMENTUNIT']._serialized_end=1358
  _globals['_POWERMEASUREMENTUNIT']._serialized_start=1360
  _globals['_POWERMEASUREMENTUNIT']._serialized_end=1446
  _globals['_MEASUREMENT']._serialized_start=103
  _globals['_MEASUREMENT']._serialized_end=414
  _globals['_ENERGYMEASUREMENT']._serialized_start=417
  _globals['_ENERGYMEASUREMENT']._serialized_end=676
  _globals['_ENERGYMEASUREMENT_ENERGYMEASUREMENTTYPE']._serialized_start=589
  _globals['_ENERGYMEASUREMENT_ENERGYMEASUREMENTTYPE']._serialized_end=676
  _globals['_POWERMEASUREMENT']._serialized_start=678
  _globals['_POWERMEASUREMENT']._serialized_end=769
  _globals['_ENERGIZEDMEASUREMENT']._serialized_start=772
  _globals['_ENERGIZEDMEASUREMENT']._serialized_end=950
  _globals['_ENERGIZEDMEASUREMENT_ENERGIZEDSTATE']._serialized_start=870
  _globals['_ENERGIZEDMEASUREMENT_ENERGIZEDSTATE']._serialized_end=950
  _globals['_SESSIONMEASUREMENT']._serialized_start=953
  _globals['_SESSIONMEASUREMENT']._serialized_end=1253
# @@protoc_insertion_point(module_scope)
