Repository URL to install this package:
|
Version:
4.1.0 ▾
|
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: bosdyn/api/estop.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from bosdyn.api import header_pb2 as bosdyn_dot_api_dot_header__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x62osdyn/api/estop.proto\x12\nbosdyn.api\x1a\x17\x62osdyn/api/header.proto\x1a\x1egoogle/protobuf/duration.proto\"\xa0\x01\n\rEstopEndpoint\x12\x0c\n\x04role\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tunique_id\x18\x03 \x01(\t\x12*\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11\x63ut_power_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"N\n\x0b\x45stopConfig\x12,\n\tendpoints\x18\x01 \x03(\x0b\x32\x19.bosdyn.api.EstopEndpoint\x12\x11\n\tunique_id\x18\x02 \x01(\t\"\xb4\x01\n\x17\x45stopEndpointWithStatus\x12+\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.EstopEndpoint\x12.\n\nstop_level\x18\x02 \x01(\x0e\x32\x1a.bosdyn.api.EstopStopLevel\x12<\n\x19time_since_valid_response\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x97\x01\n\x11\x45stopSystemStatus\x12\x36\n\tendpoints\x18\x03 \x03(\x0b\x32#.bosdyn.api.EstopEndpointWithStatus\x12.\n\nstop_level\x18\x04 \x01(\x0e\x32\x1a.bosdyn.api.EstopStopLevel\x12\x1a\n\x12stop_level_details\x18\x05 \x01(\t\"\xc2\x01\n\x13\x45stopCheckInRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12+\n\x08\x65ndpoint\x18\x02 \x01(\x0b\x32\x19.bosdyn.api.EstopEndpoint\x12\x11\n\tchallenge\x18\x03 \x01(\x04\x12\x10\n\x08response\x18\x04 \x01(\x04\x12.\n\nstop_level\x18\x05 \x01(\x0e\x32\x1a.bosdyn.api.EstopStopLevel\"\xb3\x02\n\x14\x45stopCheckInResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x30\n\x07request\x18\x02 \x01(\x0b\x32\x1f.bosdyn.api.EstopCheckInRequest\x12\x11\n\tchallenge\x18\x03 \x01(\x04\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.bosdyn.api.EstopCheckInResponse.Status\"q\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\r\n\tSTATUS_OK\x10\x01\x12\x1b\n\x17STATUS_ENDPOINT_UNKNOWN\x10\x02\x12\'\n#STATUS_INCORRECT_CHALLENGE_RESPONSE\x10\x05\"\xc8\x01\n\x1cRegisterEstopEndpointRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x32\n\x0ftarget_endpoint\x18\x02 \x01(\x0b\x32\x19.bosdyn.api.EstopEndpoint\x12\x18\n\x10target_config_id\x18\x03 \x01(\t\x12/\n\x0cnew_endpoint\x18\x04 \x01(\x0b\x32\x19.bosdyn.api.EstopEndpoint\"\x83\x03\n\x1dRegisterEstopEndpointResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x39\n\x07request\x18\x02 \x01(\x0b\x32(.bosdyn.api.RegisterEstopEndpointRequest\x12/\n\x0cnew_endpoint\x18\x03 \x01(\x0b\x32\x19.bosdyn.api.EstopEndpoint\x12@\n\x06status\x18\x04 \x01(\x0e\x32\x30.bosdyn.api.RegisterEstopEndpointResponse.Status\"\x87\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x12\n\x0eSTATUS_SUCCESS\x10\x01\x12\x1c\n\x18STATUS_ENDPOINT_MISMATCH\x10\x02\x12\x1a\n\x16STATUS_CONFIG_MISMATCH\x10\x03\x12\x1b\n\x17STATUS_INVALID_ENDPOINT\x10\x04\"\x99\x01\n\x1e\x44\x65registerEstopEndpointRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x32\n\x0ftarget_endpoint\x18\x02 \x01(\x0b\x32\x19.bosdyn.api.EstopEndpoint\x12\x18\n\x10target_config_id\x18\x03 \x01(\t\"\xd1\x02\n\x1f\x44\x65registerEstopEndpointResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12;\n\x07request\x18\x02 \x01(\x0b\x32*.bosdyn.api.DeregisterEstopEndpointRequest\x12\x42\n\x06status\x18\x04 \x01(\x0e\x32\x32.bosdyn.api.DeregisterEstopEndpointResponse.Status\"\x80\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x12\n\x0eSTATUS_SUCCESS\x10\x01\x12\x1c\n\x18STATUS_ENDPOINT_MISMATCH\x10\x02\x12\x1a\n\x16STATUS_CONFIG_MISMATCH\x10\x03\x12\x14\n\x10STATUS_MOTORS_ON\x10\x04\"\\\n\x15GetEstopConfigRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\x18\n\x10target_config_id\x18\x04 \x01(\t\"\xa8\x01\n\x16GetEstopConfigResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x32\n\x07request\x18\x02 \x01(\x0b\x32!.bosdyn.api.GetEstopConfigRequest\x12.\n\ractive_config\x18\x03 \x01(\x0b\x32\x17.bosdyn.api.EstopConfig\"\x85\x01\n\x15SetEstopConfigRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\x12\'\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x17.bosdyn.api.EstopConfig\x12\x18\n\x10target_config_id\x18\x04 \x01(\t\"\xc2\x02\n\x16SetEstopConfigResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12\x32\n\x07request\x18\x02 \x01(\x0b\x32!.bosdyn.api.SetEstopConfigRequest\x12.\n\ractive_config\x18\x03 \x01(\x0b\x32\x17.bosdyn.api.EstopConfig\x12\x39\n\x06status\x18\x04 \x01(\x0e\x32).bosdyn.api.SetEstopConfigResponse.Status\"]\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x12\n\x0eSTATUS_SUCCESS\x10\x01\x12\x15\n\x11STATUS_INVALID_ID\x10\x02\x12\x14\n\x10STATUS_MOTORS_ON\x10\x04\"H\n\x1bGetEstopSystemStatusRequest\x12)\n\x06header\x18\x01 \x01(\x0b\x32\x19.bosdyn.api.RequestHeader\"y\n\x1cGetEstopSystemStatusResponse\x12*\n\x06header\x18\x01 \x01(\x0b\x32\x1a.bosdyn.api.ResponseHeader\x12-\n\x06status\x18\x03 \x01(\x0b\x32\x1d.bosdyn.api.EstopSystemStatus*u\n\x0e\x45stopStopLevel\x12\x17\n\x13\x45STOP_LEVEL_UNKNOWN\x10\x00\x12\x13\n\x0f\x45STOP_LEVEL_CUT\x10\x01\x12\x1f\n\x1b\x45STOP_LEVEL_SETTLE_THEN_CUT\x10\x02\x12\x14\n\x10\x45STOP_LEVEL_NONE\x10\x04\x42\x0c\x42\nEstopProtob\x06proto3')
_ESTOPSTOPLEVEL = DESCRIPTOR.enum_types_by_name['EstopStopLevel']
EstopStopLevel = enum_type_wrapper.EnumTypeWrapper(_ESTOPSTOPLEVEL)
ESTOP_LEVEL_UNKNOWN = 0
ESTOP_LEVEL_CUT = 1
ESTOP_LEVEL_SETTLE_THEN_CUT = 2
ESTOP_LEVEL_NONE = 4
_ESTOPENDPOINT = DESCRIPTOR.message_types_by_name['EstopEndpoint']
_ESTOPCONFIG = DESCRIPTOR.message_types_by_name['EstopConfig']
_ESTOPENDPOINTWITHSTATUS = DESCRIPTOR.message_types_by_name['EstopEndpointWithStatus']
_ESTOPSYSTEMSTATUS = DESCRIPTOR.message_types_by_name['EstopSystemStatus']
_ESTOPCHECKINREQUEST = DESCRIPTOR.message_types_by_name['EstopCheckInRequest']
_ESTOPCHECKINRESPONSE = DESCRIPTOR.message_types_by_name['EstopCheckInResponse']
_REGISTERESTOPENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['RegisterEstopEndpointRequest']
_REGISTERESTOPENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['RegisterEstopEndpointResponse']
_DEREGISTERESTOPENDPOINTREQUEST = DESCRIPTOR.message_types_by_name['DeregisterEstopEndpointRequest']
_DEREGISTERESTOPENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name['DeregisterEstopEndpointResponse']
_GETESTOPCONFIGREQUEST = DESCRIPTOR.message_types_by_name['GetEstopConfigRequest']
_GETESTOPCONFIGRESPONSE = DESCRIPTOR.message_types_by_name['GetEstopConfigResponse']
_SETESTOPCONFIGREQUEST = DESCRIPTOR.message_types_by_name['SetEstopConfigRequest']
_SETESTOPCONFIGRESPONSE = DESCRIPTOR.message_types_by_name['SetEstopConfigResponse']
_GETESTOPSYSTEMSTATUSREQUEST = DESCRIPTOR.message_types_by_name['GetEstopSystemStatusRequest']
_GETESTOPSYSTEMSTATUSRESPONSE = DESCRIPTOR.message_types_by_name['GetEstopSystemStatusResponse']
_ESTOPCHECKINRESPONSE_STATUS = _ESTOPCHECKINRESPONSE.enum_types_by_name['Status']
_REGISTERESTOPENDPOINTRESPONSE_STATUS = _REGISTERESTOPENDPOINTRESPONSE.enum_types_by_name['Status']
_DEREGISTERESTOPENDPOINTRESPONSE_STATUS = _DEREGISTERESTOPENDPOINTRESPONSE.enum_types_by_name['Status']
_SETESTOPCONFIGRESPONSE_STATUS = _SETESTOPCONFIGRESPONSE.enum_types_by_name['Status']
EstopEndpoint = _reflection.GeneratedProtocolMessageType('EstopEndpoint', (_message.Message,), {
'DESCRIPTOR' : _ESTOPENDPOINT,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.EstopEndpoint)
})
_sym_db.RegisterMessage(EstopEndpoint)
EstopConfig = _reflection.GeneratedProtocolMessageType('EstopConfig', (_message.Message,), {
'DESCRIPTOR' : _ESTOPCONFIG,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.EstopConfig)
})
_sym_db.RegisterMessage(EstopConfig)
EstopEndpointWithStatus = _reflection.GeneratedProtocolMessageType('EstopEndpointWithStatus', (_message.Message,), {
'DESCRIPTOR' : _ESTOPENDPOINTWITHSTATUS,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.EstopEndpointWithStatus)
})
_sym_db.RegisterMessage(EstopEndpointWithStatus)
EstopSystemStatus = _reflection.GeneratedProtocolMessageType('EstopSystemStatus', (_message.Message,), {
'DESCRIPTOR' : _ESTOPSYSTEMSTATUS,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.EstopSystemStatus)
})
_sym_db.RegisterMessage(EstopSystemStatus)
EstopCheckInRequest = _reflection.GeneratedProtocolMessageType('EstopCheckInRequest', (_message.Message,), {
'DESCRIPTOR' : _ESTOPCHECKINREQUEST,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.EstopCheckInRequest)
})
_sym_db.RegisterMessage(EstopCheckInRequest)
EstopCheckInResponse = _reflection.GeneratedProtocolMessageType('EstopCheckInResponse', (_message.Message,), {
'DESCRIPTOR' : _ESTOPCHECKINRESPONSE,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.EstopCheckInResponse)
})
_sym_db.RegisterMessage(EstopCheckInResponse)
RegisterEstopEndpointRequest = _reflection.GeneratedProtocolMessageType('RegisterEstopEndpointRequest', (_message.Message,), {
'DESCRIPTOR' : _REGISTERESTOPENDPOINTREQUEST,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.RegisterEstopEndpointRequest)
})
_sym_db.RegisterMessage(RegisterEstopEndpointRequest)
RegisterEstopEndpointResponse = _reflection.GeneratedProtocolMessageType('RegisterEstopEndpointResponse', (_message.Message,), {
'DESCRIPTOR' : _REGISTERESTOPENDPOINTRESPONSE,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.RegisterEstopEndpointResponse)
})
_sym_db.RegisterMessage(RegisterEstopEndpointResponse)
DeregisterEstopEndpointRequest = _reflection.GeneratedProtocolMessageType('DeregisterEstopEndpointRequest', (_message.Message,), {
'DESCRIPTOR' : _DEREGISTERESTOPENDPOINTREQUEST,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.DeregisterEstopEndpointRequest)
})
_sym_db.RegisterMessage(DeregisterEstopEndpointRequest)
DeregisterEstopEndpointResponse = _reflection.GeneratedProtocolMessageType('DeregisterEstopEndpointResponse', (_message.Message,), {
'DESCRIPTOR' : _DEREGISTERESTOPENDPOINTRESPONSE,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.DeregisterEstopEndpointResponse)
})
_sym_db.RegisterMessage(DeregisterEstopEndpointResponse)
GetEstopConfigRequest = _reflection.GeneratedProtocolMessageType('GetEstopConfigRequest', (_message.Message,), {
'DESCRIPTOR' : _GETESTOPCONFIGREQUEST,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.GetEstopConfigRequest)
})
_sym_db.RegisterMessage(GetEstopConfigRequest)
GetEstopConfigResponse = _reflection.GeneratedProtocolMessageType('GetEstopConfigResponse', (_message.Message,), {
'DESCRIPTOR' : _GETESTOPCONFIGRESPONSE,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.GetEstopConfigResponse)
})
_sym_db.RegisterMessage(GetEstopConfigResponse)
SetEstopConfigRequest = _reflection.GeneratedProtocolMessageType('SetEstopConfigRequest', (_message.Message,), {
'DESCRIPTOR' : _SETESTOPCONFIGREQUEST,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.SetEstopConfigRequest)
})
_sym_db.RegisterMessage(SetEstopConfigRequest)
SetEstopConfigResponse = _reflection.GeneratedProtocolMessageType('SetEstopConfigResponse', (_message.Message,), {
'DESCRIPTOR' : _SETESTOPCONFIGRESPONSE,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.SetEstopConfigResponse)
})
_sym_db.RegisterMessage(SetEstopConfigResponse)
GetEstopSystemStatusRequest = _reflection.GeneratedProtocolMessageType('GetEstopSystemStatusRequest', (_message.Message,), {
'DESCRIPTOR' : _GETESTOPSYSTEMSTATUSREQUEST,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.GetEstopSystemStatusRequest)
})
_sym_db.RegisterMessage(GetEstopSystemStatusRequest)
GetEstopSystemStatusResponse = _reflection.GeneratedProtocolMessageType('GetEstopSystemStatusResponse', (_message.Message,), {
'DESCRIPTOR' : _GETESTOPSYSTEMSTATUSRESPONSE,
'__module__' : 'bosdyn.api.estop_pb2'
# @@protoc_insertion_point(class_scope:bosdyn.api.GetEstopSystemStatusResponse)
})
_sym_db.RegisterMessage(GetEstopSystemStatusResponse)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'B\nEstopProto'
_ESTOPSTOPLEVEL._serialized_start=3194
_ESTOPSTOPLEVEL._serialized_end=3311
_ESTOPENDPOINT._serialized_start=96
_ESTOPENDPOINT._serialized_end=256
_ESTOPCONFIG._serialized_start=258
_ESTOPCONFIG._serialized_end=336
_ESTOPENDPOINTWITHSTATUS._serialized_start=339
_ESTOPENDPOINTWITHSTATUS._serialized_end=519
_ESTOPSYSTEMSTATUS._serialized_start=522
_ESTOPSYSTEMSTATUS._serialized_end=673
_ESTOPCHECKINREQUEST._serialized_start=676
_ESTOPCHECKINREQUEST._serialized_end=870
_ESTOPCHECKINRESPONSE._serialized_start=873
_ESTOPCHECKINRESPONSE._serialized_end=1180
_ESTOPCHECKINRESPONSE_STATUS._serialized_start=1067
_ESTOPCHECKINRESPONSE_STATUS._serialized_end=1180
_REGISTERESTOPENDPOINTREQUEST._serialized_start=1183
_REGISTERESTOPENDPOINTREQUEST._serialized_end=1383
_REGISTERESTOPENDPOINTRESPONSE._serialized_start=1386
_REGISTERESTOPENDPOINTRESPONSE._serialized_end=1773
_REGISTERESTOPENDPOINTRESPONSE_STATUS._serialized_start=1638
_REGISTERESTOPENDPOINTRESPONSE_STATUS._serialized_end=1773
_DEREGISTERESTOPENDPOINTREQUEST._serialized_start=1776
_DEREGISTERESTOPENDPOINTREQUEST._serialized_end=1929
_DEREGISTERESTOPENDPOINTRESPONSE._serialized_start=1932
_DEREGISTERESTOPENDPOINTRESPONSE._serialized_end=2269
_DEREGISTERESTOPENDPOINTRESPONSE_STATUS._serialized_start=2141
_DEREGISTERESTOPENDPOINTRESPONSE_STATUS._serialized_end=2269
_GETESTOPCONFIGREQUEST._serialized_start=2271
_GETESTOPCONFIGREQUEST._serialized_end=2363
_GETESTOPCONFIGRESPONSE._serialized_start=2366
_GETESTOPCONFIGRESPONSE._serialized_end=2534
_SETESTOPCONFIGREQUEST._serialized_start=2537
_SETESTOPCONFIGREQUEST._serialized_end=2670
_SETESTOPCONFIGRESPONSE._serialized_start=2673
_SETESTOPCONFIGRESPONSE._serialized_end=2995
_SETESTOPCONFIGRESPONSE_STATUS._serialized_start=2902
_SETESTOPCONFIGRESPONSE_STATUS._serialized_end=2995
_GETESTOPSYSTEMSTATUSREQUEST._serialized_start=2997
_GETESTOPSYSTEMSTATUSREQUEST._serialized_end=3069
_GETESTOPSYSTEMSTATUSRESPONSE._serialized_start=3071
_GETESTOPSYSTEMSTATUSRESPONSE._serialized_end=3192
# @@protoc_insertion_point(module_scope)