[VOL-4157] Added error reasons in StartManagingDeviceResponse for authentication and incompatibility
Change-Id: Ie96b91cd0075c1d1d3e1fd0a385e4c260e808e7b
diff --git a/cpp/dmi/hw_management_service.pb.cc b/cpp/dmi/hw_management_service.pb.cc
index 7b03bb0..be75597 100644
--- a/cpp/dmi/hw_management_service.pb.cc
+++ b/cpp/dmi/hw_management_service.pb.cc
@@ -816,120 +816,121 @@
"DEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\025\n\021"
"UNKNOWN_COMPONENT\020\002\022\022\n\016INVALID_PARAMS\020\003\022"
"\022\n\016INTERNAL_ERROR\020\004\022\026\n\022DEVICE_UNREACHABL"
- "E\020\005\"\262\002\n\033StartManagingDeviceResponse\022\033\n\006s"
+ "E\020\005\"\347\002\n\033StartManagingDeviceResponse\022\033\n\006s"
"tatus\030\001 \001(\0162\013.dmi.Status\0227\n\006reason\030\002 \001(\016"
"2\'.dmi.StartManagingDeviceResponse.Reaso"
"n\022\036\n\013device_uuid\030\003 \001(\0132\t.dmi.Uuid\022\025\n\rrea"
- "son_detail\030\004 \001(\t\"\205\001\n\006Reason\022\024\n\020UNDEFINED"
+ "son_detail\030\004 \001(\t\"\272\001\n\006Reason\022\024\n\020UNDEFINED"
"_REASON\020\000\022\032\n\026DEVICE_ALREADY_MANAGED\020\001\022!\n"
"\035OPERATION_ALREADY_IN_PROGRESS\020\002\022\022\n\016INVA"
- "LID_PARAMS\020\003\022\022\n\016INTERNAL_ERROR\020\004\")\n\031Stop"
- "ManagingDeviceRequest\022\014\n\004name\030\001 \001(\t\"\274\001\n\032"
- "StopManagingDeviceResponse\022\033\n\006status\030\001 \001"
- "(\0162\013.dmi.Status\0226\n\006reason\030\002 \001(\0162&.dmi.St"
- "opManagingDeviceResponse.Reason\022\025\n\rreaso"
- "n_detail\030\003 \001(\t\"2\n\006Reason\022\024\n\020UNDEFINED_RE"
- "ASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\"[\n\021ManagedDev"
- "iceInfo\022&\n\004info\030\001 \001(\0132\030.dmi.ModifiableCo"
- "mponent\022\036\n\013device_uuid\030\002 \001(\0132\t.dmi.Uuid\""
- "\306\001\n\026ManagedDevicesResponse\022\033\n\006status\030\001 \001"
- "(\0162\013.dmi.Status\0222\n\006reason\030\002 \001(\0162\".dmi.Ma"
- "nagedDevicesResponse.Reason\022\'\n\007devices\030\003"
- " \003(\0132\026.dmi.ManagedDeviceInfo\"2\n\006Reason\022\024"
- "\n\020UNDEFINED_REASON\020\000\022\022\n\016INTERNAL_ERROR\020\001"
- "\"o\n\031SetLoggingEndpointRequest\022\036\n\013device_"
- "uuid\030\001 \001(\0132\t.dmi.Uuid\022\030\n\020logging_endpoin"
- "t\030\002 \001(\t\022\030\n\020logging_protocol\030\003 \001(\t\"\303\002\n\031Se"
- "tRemoteEndpointResponse\022\033\n\006status\030\001 \001(\0162"
- "\013.dmi.Status\0225\n\006reason\030\002 \001(\0162%.dmi.SetRe"
- "moteEndpointResponse.Reason\022\025\n\rreason_de"
- "tail\030\003 \001(\t\"\272\001\n\006Reason\022\024\n\020UNDEFINED_REASO"
- "N\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INTERNAL_ERRO"
- "R\020\002\022\032\n\026LOGGING_ENDPOINT_ERROR\020\003\022#\n\037LOGGI"
- "NG_ENDPOINT_PROTOCOL_ERROR\020\004\022\031\n\025MSGBUS_E"
- "NDPOINT_ERROR\020\005\022\026\n\022DEVICE_UNREACHABLE\020\006\""
- "\234\002\n\032GetLoggingEndpointResponse\022\033\n\006status"
- "\030\001 \001(\0162\013.dmi.Status\0226\n\006reason\030\002 \001(\0162&.dm"
- "i.GetLoggingEndpointResponse.Reason\022\030\n\020l"
- "ogging_endpoint\030\003 \001(\t\022\030\n\020logging_protoco"
- "l\030\004 \001(\t\022\025\n\rreason_detail\030\005 \001(\t\"^\n\006Reason"
- "\022\024\n\020UNDEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE"
- "\020\001\022\022\n\016INTERNAL_ERROR\020\002\022\026\n\022DEVICE_UNREACH"
- "ABLE\020\003\"3\n\030SetMsgBusEndpointRequest\022\027\n\017ms"
- "gbus_endpoint\030\001 \001(\t\"\353\001\n\031GetMsgBusEndpoin"
- "tResponse\022\033\n\006status\030\001 \001(\0162\013.dmi.Status\0225"
- "\n\006reason\030\002 \001(\0162%.dmi.GetMsgBusEndpointRe"
- "sponse.Reason\022\027\n\017msgbus_endpoint\030\003 \001(\t\022\025"
- "\n\rreason_detail\030\004 \001(\t\"J\n\006Reason\022\024\n\020UNDEF"
- "INED_REASON\020\000\022\022\n\016INTERNAL_ERROR\020\001\022\026\n\022DEV"
- "ICE_UNREACHABLE\020\002\"E\n\020EntitiesLogLevel\022\037\n"
- "\010logLevel\030\001 \001(\0162\r.dmi.LogLevel\022\020\n\010entiti"
- "es\030\002 \003(\t\"^\n\022SetLogLevelRequest\022\036\n\013device"
- "_uuid\030\001 \001(\0132\t.dmi.Uuid\022(\n\tloglevels\030\002 \003("
- "\0132\025.dmi.EntitiesLogLevel\"\222\002\n\023SetLogLevel"
- "Response\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid"
- "\022\033\n\006status\030\002 \001(\0162\013.dmi.Status\022/\n\006reason\030"
- "\003 \001(\0162\037.dmi.SetLogLevelResponse.Reason\022\025"
- "\n\rreason_detail\030\004 \001(\t\"v\n\006Reason\022\024\n\020UNDEF"
- "INED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INT"
- "ERNAL_ERROR\020\002\022\026\n\022UNKNOWN_LOG_ENTITY\020\003\022\026\n"
- "\022DEVICE_UNREACHABLE\020\004\"F\n\022GetLogLevelRequ"
- "est\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid\022\020\n\010e"
- "ntities\030\002 \003(\t\"\274\002\n\023GetLogLevelResponse\022\036\n"
- "\013device_uuid\030\001 \001(\0132\t.dmi.Uuid\022(\n\tlogLeve"
- "ls\030\002 \003(\0132\025.dmi.EntitiesLogLevel\022\033\n\006statu"
- "s\030\003 \001(\0162\013.dmi.Status\022/\n\006reason\030\004 \001(\0162\037.d"
- "mi.GetLogLevelResponse.Reason\022\025\n\rreason_"
- "detail\030\005 \001(\t\"v\n\006Reason\022\024\n\020UNDEFINED_REAS"
- "ON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INTERNAL_ERR"
- "OR\020\002\022\026\n\022UNKNOWN_LOG_ENTITY\020\003\022\026\n\022DEVICE_U"
- "NREACHABLE\020\004\"<\n\032GetLoggableEntitiesReque"
- "st\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid\"(\n\tHe"
- "artbeat\022\033\n\023heartbeat_signature\030\001 \001(\007\"5\n\023"
- "RebootDeviceRequest\022\036\n\013device_uuid\030\001 \001(\013"
- "2\t.dmi.Uuid\"\334\001\n\024RebootDeviceResponse\022\033\n\006"
- "status\030\003 \001(\0162\013.dmi.Status\0220\n\006reason\030\004 \001("
- "\0162 .dmi.RebootDeviceResponse.Reason\022\025\n\rr"
- "eason_detail\030\005 \001(\t\"^\n\006Reason\022\024\n\020UNDEFINE"
- "D_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INTERN"
- "AL_ERROR\020\002\022\026\n\022DEVICE_UNREACHABLE\020\0032\256\t\n\031N"
- "ativeHWManagementService\022S\n\023StartManagin"
- "gDevice\022\030.dmi.ModifiableComponent\032 .dmi."
- "StartManagingDeviceResponse0\001\022U\n\022StopMan"
- "agingDevice\022\036.dmi.StopManagingDeviceRequ"
- "est\032\037.dmi.StopManagingDeviceResponse\022H\n\021"
- "GetManagedDevices\022\026.google.protobuf.Empt"
- "y\032\033.dmi.ManagedDevicesResponse\022W\n\024GetPhy"
- "sicalInventory\022\035.dmi.PhysicalInventoryRe"
- "quest\032\036.dmi.PhysicalInventoryResponse0\001\022"
- "W\n\022GetHWComponentInfo\022\036.dmi.HWComponentI"
- "nfoGetRequest\032\037.dmi.HWComponentInfoGetRe"
- "sponse0\001\022U\n\022SetHWComponentInfo\022\036.dmi.HWC"
- "omponentInfoSetRequest\032\037.dmi.HWComponent"
- "InfoSetResponse\022T\n\022SetLoggingEndpoint\022\036."
- "dmi.SetLoggingEndpointRequest\032\036.dmi.SetR"
- "emoteEndpointResponse\022F\n\022GetLoggingEndpo"
- "int\022\017.dmi.HardwareID\032\037.dmi.GetLoggingEnd"
- "pointResponse\022R\n\021SetMsgBusEndpoint\022\035.dmi"
- ".SetMsgBusEndpointRequest\032\036.dmi.SetRemot"
- "eEndpointResponse\022K\n\021GetMsgBusEndpoint\022\026"
- ".google.protobuf.Empty\032\036.dmi.GetMsgBusEn"
- "dpointResponse\022P\n\023GetLoggableEntities\022\037."
- "dmi.GetLoggableEntitiesRequest\032\030.dmi.Get"
- "LogLevelResponse\022@\n\013SetLogLevel\022\027.dmi.Se"
- "tLogLevelRequest\032\030.dmi.SetLogLevelRespon"
- "se\022@\n\013GetLogLevel\022\027.dmi.GetLogLevelReque"
- "st\032\030.dmi.GetLogLevelResponse\0228\n\016Heartbea"
- "tCheck\022\026.google.protobuf.Empty\032\016.dmi.Hea"
- "rtbeat\022C\n\014RebootDevice\022\030.dmi.RebootDevic"
- "eRequest\032\031.dmi.RebootDeviceResponseB;Z9g"
- "ithub.com/opencord/device-management-int"
- "erface/v3/go/dmib\006proto3"
+ "LID_PARAMS\020\003\022\022\n\016INTERNAL_ERROR\020\004\022\032\n\026AUTH"
+ "ENTICATION_FAILURE\020\005\022\027\n\023INCOMPATIBLE_DEV"
+ "ICE\020\006\")\n\031StopManagingDeviceRequest\022\014\n\004na"
+ "me\030\001 \001(\t\"\274\001\n\032StopManagingDeviceResponse\022"
+ "\033\n\006status\030\001 \001(\0162\013.dmi.Status\0226\n\006reason\030\002"
+ " \001(\0162&.dmi.StopManagingDeviceResponse.Re"
+ "ason\022\025\n\rreason_detail\030\003 \001(\t\"2\n\006Reason\022\024\n"
+ "\020UNDEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\""
+ "[\n\021ManagedDeviceInfo\022&\n\004info\030\001 \001(\0132\030.dmi"
+ ".ModifiableComponent\022\036\n\013device_uuid\030\002 \001("
+ "\0132\t.dmi.Uuid\"\306\001\n\026ManagedDevicesResponse\022"
+ "\033\n\006status\030\001 \001(\0162\013.dmi.Status\0222\n\006reason\030\002"
+ " \001(\0162\".dmi.ManagedDevicesResponse.Reason"
+ "\022\'\n\007devices\030\003 \003(\0132\026.dmi.ManagedDeviceInf"
+ "o\"2\n\006Reason\022\024\n\020UNDEFINED_REASON\020\000\022\022\n\016INT"
+ "ERNAL_ERROR\020\001\"o\n\031SetLoggingEndpointReque"
+ "st\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid\022\030\n\020lo"
+ "gging_endpoint\030\002 \001(\t\022\030\n\020logging_protocol"
+ "\030\003 \001(\t\"\303\002\n\031SetRemoteEndpointResponse\022\033\n\006"
+ "status\030\001 \001(\0162\013.dmi.Status\0225\n\006reason\030\002 \001("
+ "\0162%.dmi.SetRemoteEndpointResponse.Reason"
+ "\022\025\n\rreason_detail\030\003 \001(\t\"\272\001\n\006Reason\022\024\n\020UN"
+ "DEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016"
+ "INTERNAL_ERROR\020\002\022\032\n\026LOGGING_ENDPOINT_ERR"
+ "OR\020\003\022#\n\037LOGGING_ENDPOINT_PROTOCOL_ERROR\020"
+ "\004\022\031\n\025MSGBUS_ENDPOINT_ERROR\020\005\022\026\n\022DEVICE_U"
+ "NREACHABLE\020\006\"\234\002\n\032GetLoggingEndpointRespo"
+ "nse\022\033\n\006status\030\001 \001(\0162\013.dmi.Status\0226\n\006reas"
+ "on\030\002 \001(\0162&.dmi.GetLoggingEndpointRespons"
+ "e.Reason\022\030\n\020logging_endpoint\030\003 \001(\t\022\030\n\020lo"
+ "gging_protocol\030\004 \001(\t\022\025\n\rreason_detail\030\005 "
+ "\001(\t\"^\n\006Reason\022\024\n\020UNDEFINED_REASON\020\000\022\022\n\016U"
+ "NKNOWN_DEVICE\020\001\022\022\n\016INTERNAL_ERROR\020\002\022\026\n\022D"
+ "EVICE_UNREACHABLE\020\003\"3\n\030SetMsgBusEndpoint"
+ "Request\022\027\n\017msgbus_endpoint\030\001 \001(\t\"\353\001\n\031Get"
+ "MsgBusEndpointResponse\022\033\n\006status\030\001 \001(\0162\013"
+ ".dmi.Status\0225\n\006reason\030\002 \001(\0162%.dmi.GetMsg"
+ "BusEndpointResponse.Reason\022\027\n\017msgbus_end"
+ "point\030\003 \001(\t\022\025\n\rreason_detail\030\004 \001(\t\"J\n\006Re"
+ "ason\022\024\n\020UNDEFINED_REASON\020\000\022\022\n\016INTERNAL_E"
+ "RROR\020\001\022\026\n\022DEVICE_UNREACHABLE\020\002\"E\n\020Entiti"
+ "esLogLevel\022\037\n\010logLevel\030\001 \001(\0162\r.dmi.LogLe"
+ "vel\022\020\n\010entities\030\002 \003(\t\"^\n\022SetLogLevelRequ"
+ "est\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid\022(\n\tl"
+ "oglevels\030\002 \003(\0132\025.dmi.EntitiesLogLevel\"\222\002"
+ "\n\023SetLogLevelResponse\022\036\n\013device_uuid\030\001 \001"
+ "(\0132\t.dmi.Uuid\022\033\n\006status\030\002 \001(\0162\013.dmi.Stat"
+ "us\022/\n\006reason\030\003 \001(\0162\037.dmi.SetLogLevelResp"
+ "onse.Reason\022\025\n\rreason_detail\030\004 \001(\t\"v\n\006Re"
+ "ason\022\024\n\020UNDEFINED_REASON\020\000\022\022\n\016UNKNOWN_DE"
+ "VICE\020\001\022\022\n\016INTERNAL_ERROR\020\002\022\026\n\022UNKNOWN_LO"
+ "G_ENTITY\020\003\022\026\n\022DEVICE_UNREACHABLE\020\004\"F\n\022Ge"
+ "tLogLevelRequest\022\036\n\013device_uuid\030\001 \001(\0132\t."
+ "dmi.Uuid\022\020\n\010entities\030\002 \003(\t\"\274\002\n\023GetLogLev"
+ "elResponse\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uu"
+ "id\022(\n\tlogLevels\030\002 \003(\0132\025.dmi.EntitiesLogL"
+ "evel\022\033\n\006status\030\003 \001(\0162\013.dmi.Status\022/\n\006rea"
+ "son\030\004 \001(\0162\037.dmi.GetLogLevelResponse.Reas"
+ "on\022\025\n\rreason_detail\030\005 \001(\t\"v\n\006Reason\022\024\n\020U"
+ "NDEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n"
+ "\016INTERNAL_ERROR\020\002\022\026\n\022UNKNOWN_LOG_ENTITY\020"
+ "\003\022\026\n\022DEVICE_UNREACHABLE\020\004\"<\n\032GetLoggable"
+ "EntitiesRequest\022\036\n\013device_uuid\030\001 \001(\0132\t.d"
+ "mi.Uuid\"(\n\tHeartbeat\022\033\n\023heartbeat_signat"
+ "ure\030\001 \001(\007\"5\n\023RebootDeviceRequest\022\036\n\013devi"
+ "ce_uuid\030\001 \001(\0132\t.dmi.Uuid\"\334\001\n\024RebootDevic"
+ "eResponse\022\033\n\006status\030\003 \001(\0162\013.dmi.Status\0220"
+ "\n\006reason\030\004 \001(\0162 .dmi.RebootDeviceRespons"
+ "e.Reason\022\025\n\rreason_detail\030\005 \001(\t\"^\n\006Reaso"
+ "n\022\024\n\020UNDEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVIC"
+ "E\020\001\022\022\n\016INTERNAL_ERROR\020\002\022\026\n\022DEVICE_UNREAC"
+ "HABLE\020\0032\256\t\n\031NativeHWManagementService\022S\n"
+ "\023StartManagingDevice\022\030.dmi.ModifiableCom"
+ "ponent\032 .dmi.StartManagingDeviceResponse"
+ "0\001\022U\n\022StopManagingDevice\022\036.dmi.StopManag"
+ "ingDeviceRequest\032\037.dmi.StopManagingDevic"
+ "eResponse\022H\n\021GetManagedDevices\022\026.google."
+ "protobuf.Empty\032\033.dmi.ManagedDevicesRespo"
+ "nse\022W\n\024GetPhysicalInventory\022\035.dmi.Physic"
+ "alInventoryRequest\032\036.dmi.PhysicalInvento"
+ "ryResponse0\001\022W\n\022GetHWComponentInfo\022\036.dmi"
+ ".HWComponentInfoGetRequest\032\037.dmi.HWCompo"
+ "nentInfoGetResponse0\001\022U\n\022SetHWComponentI"
+ "nfo\022\036.dmi.HWComponentInfoSetRequest\032\037.dm"
+ "i.HWComponentInfoSetResponse\022T\n\022SetLoggi"
+ "ngEndpoint\022\036.dmi.SetLoggingEndpointReque"
+ "st\032\036.dmi.SetRemoteEndpointResponse\022F\n\022Ge"
+ "tLoggingEndpoint\022\017.dmi.HardwareID\032\037.dmi."
+ "GetLoggingEndpointResponse\022R\n\021SetMsgBusE"
+ "ndpoint\022\035.dmi.SetMsgBusEndpointRequest\032\036"
+ ".dmi.SetRemoteEndpointResponse\022K\n\021GetMsg"
+ "BusEndpoint\022\026.google.protobuf.Empty\032\036.dm"
+ "i.GetMsgBusEndpointResponse\022P\n\023GetLoggab"
+ "leEntities\022\037.dmi.GetLoggableEntitiesRequ"
+ "est\032\030.dmi.GetLogLevelResponse\022@\n\013SetLogL"
+ "evel\022\027.dmi.SetLogLevelRequest\032\030.dmi.SetL"
+ "ogLevelResponse\022@\n\013GetLogLevel\022\027.dmi.Get"
+ "LogLevelRequest\032\030.dmi.GetLogLevelRespons"
+ "e\0228\n\016HeartbeatCheck\022\026.google.protobuf.Em"
+ "pty\032\016.dmi.Heartbeat\022C\n\014RebootDevice\022\030.dm"
+ "i.RebootDeviceRequest\032\031.dmi.RebootDevice"
+ "ResponseB;Z9github.com/opencord/device-m"
+ "anagement-interface/v3/go/dmib\006proto3"
;
::google::protobuf::internal::DescriptorTable descriptor_table_dmi_2fhw_5fmanagement_5fservice_2eproto = {
false, InitDefaults_dmi_2fhw_5fmanagement_5fservice_2eproto,
descriptor_table_protodef_dmi_2fhw_5fmanagement_5fservice_2eproto,
- "dmi/hw_management_service.proto", &assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto, 5624,
+ "dmi/hw_management_service.proto", &assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto, 5677,
};
void AddDescriptors_dmi_2fhw_5fmanagement_5fservice_2eproto() {
@@ -1037,6 +1038,8 @@
case 2:
case 3:
case 4:
+ case 5:
+ case 6:
return true;
default:
return false;
@@ -1049,6 +1052,8 @@
const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::OPERATION_ALREADY_IN_PROGRESS;
const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::INVALID_PARAMS;
const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::INTERNAL_ERROR;
+const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::AUTHENTICATION_FAILURE;
+const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::INCOMPATIBLE_DEVICE;
const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::Reason_MIN;
const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::Reason_MAX;
const int StartManagingDeviceResponse::Reason_ARRAYSIZE;
diff --git a/cpp/dmi/hw_management_service.pb.h b/cpp/dmi/hw_management_service.pb.h
index 62b1f6b..fe01fa4 100644
--- a/cpp/dmi/hw_management_service.pb.h
+++ b/cpp/dmi/hw_management_service.pb.h
@@ -238,12 +238,14 @@
StartManagingDeviceResponse_Reason_OPERATION_ALREADY_IN_PROGRESS = 2,
StartManagingDeviceResponse_Reason_INVALID_PARAMS = 3,
StartManagingDeviceResponse_Reason_INTERNAL_ERROR = 4,
+ StartManagingDeviceResponse_Reason_AUTHENTICATION_FAILURE = 5,
+ StartManagingDeviceResponse_Reason_INCOMPATIBLE_DEVICE = 6,
StartManagingDeviceResponse_Reason_StartManagingDeviceResponse_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(),
StartManagingDeviceResponse_Reason_StartManagingDeviceResponse_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max()
};
bool StartManagingDeviceResponse_Reason_IsValid(int value);
const StartManagingDeviceResponse_Reason StartManagingDeviceResponse_Reason_Reason_MIN = StartManagingDeviceResponse_Reason_UNDEFINED_REASON;
-const StartManagingDeviceResponse_Reason StartManagingDeviceResponse_Reason_Reason_MAX = StartManagingDeviceResponse_Reason_INTERNAL_ERROR;
+const StartManagingDeviceResponse_Reason StartManagingDeviceResponse_Reason_Reason_MAX = StartManagingDeviceResponse_Reason_INCOMPATIBLE_DEVICE;
const int StartManagingDeviceResponse_Reason_Reason_ARRAYSIZE = StartManagingDeviceResponse_Reason_Reason_MAX + 1;
const ::google::protobuf::EnumDescriptor* StartManagingDeviceResponse_Reason_descriptor();
@@ -1469,6 +1471,10 @@
StartManagingDeviceResponse_Reason_INVALID_PARAMS;
static const Reason INTERNAL_ERROR =
StartManagingDeviceResponse_Reason_INTERNAL_ERROR;
+ static const Reason AUTHENTICATION_FAILURE =
+ StartManagingDeviceResponse_Reason_AUTHENTICATION_FAILURE;
+ static const Reason INCOMPATIBLE_DEVICE =
+ StartManagingDeviceResponse_Reason_INCOMPATIBLE_DEVICE;
static inline bool Reason_IsValid(int value) {
return StartManagingDeviceResponse_Reason_IsValid(value);
}