107 lines
3.3 KiB
Python
107 lines
3.3 KiB
Python
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: processvalue.proto
|
|
|
|
import sys
|
|
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import message as _message
|
|
from google.protobuf import reflection as _reflection
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
from google.protobuf import descriptor_pb2
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='processvalue.proto',
|
|
package='Krohne',
|
|
serialized_pb=_b('\n\x12processvalue.proto\x12\x06Krohne\"\x82\x01\n\x0cprocessValue\x12\r\n\x05value\x18\x01 \x02(\x01\x12\x0c\n\x04unit\x18\x02 \x02(\x05\x12/\n\x06status\x18\x03 \x02(\x0e\x32\x1f.Krohne.processValue.statusType\"$\n\nstatusType\x12\t\n\x05valid\x10\x00\x12\x0b\n\x07invalid\x10\x01')
|
|
)
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
|
|
|
|
_PROCESSVALUE_STATUSTYPE = _descriptor.EnumDescriptor(
|
|
name='statusType',
|
|
full_name='Krohne.processValue.statusType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='valid', index=0, number=0,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='invalid', index=1, number=1,
|
|
options=None,
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
options=None,
|
|
serialized_start=125,
|
|
serialized_end=161,
|
|
)
|
|
_sym_db.RegisterEnumDescriptor(_PROCESSVALUE_STATUSTYPE)
|
|
|
|
|
|
_PROCESSVALUE = _descriptor.Descriptor(
|
|
name='processValue',
|
|
full_name='Krohne.processValue',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='value', full_name='Krohne.processValue.value', index=0,
|
|
number=1, type=1, cpp_type=5, label=2,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='unit', full_name='Krohne.processValue.unit', index=1,
|
|
number=2, type=5, cpp_type=1, label=2,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='status', full_name='Krohne.processValue.status', index=2,
|
|
number=3, type=14, cpp_type=8, label=2,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
_PROCESSVALUE_STATUSTYPE,
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=31,
|
|
serialized_end=161,
|
|
)
|
|
|
|
_PROCESSVALUE.fields_by_name['status'].enum_type = _PROCESSVALUE_STATUSTYPE
|
|
_PROCESSVALUE_STATUSTYPE.containing_type = _PROCESSVALUE
|
|
DESCRIPTOR.message_types_by_name['processValue'] = _PROCESSVALUE
|
|
|
|
processValue = _reflection.GeneratedProtocolMessageType('processValue', (_message.Message,), dict(
|
|
DESCRIPTOR = _PROCESSVALUE,
|
|
__module__ = 'processvalue_pb2'
|
|
# @@protoc_insertion_point(class_scope:Krohne.processValue)
|
|
))
|
|
_sym_db.RegisterMessage(processValue)
|
|
|
|
|
|
# @@protoc_insertion_point(module_scope)
|