gateway

package
v0.0.0-...-be50531 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Gateway_EnableProtocol_FullMethodName            = "/gateway.Gateway/EnableProtocol"
	Gateway_BatchEnableProtocol_FullMethodName       = "/gateway.Gateway/BatchEnableProtocol"
	Gateway_DisableProtocol_FullMethodName           = "/gateway.Gateway/DisableProtocol"
	Gateway_BatchDisableProtocol_FullMethodName      = "/gateway.Gateway/BatchDisableProtocol"
	Gateway_IsEnabledProtocol_FullMethodName         = "/gateway.Gateway/IsEnabledProtocol"
	Gateway_IsDisabledProtocol_FullMethodName        = "/gateway.Gateway/IsDisabledProtocol"
	Gateway_IsSupportedProtocol_FullMethodName       = "/gateway.Gateway/IsSupportedProtocol"
	Gateway_EnabledProtocols_FullMethodName          = "/gateway.Gateway/EnabledProtocols"
	Gateway_DisabledProtocols_FullMethodName         = "/gateway.Gateway/DisabledProtocols"
	Gateway_SupportedProtocols_FullMethodName        = "/gateway.Gateway/SupportedProtocols"
	Gateway_ProtocolProducts_FullMethodName          = "/gateway.Gateway/ProtocolProducts"
	Gateway_EnabledProtocolProducts_FullMethodName   = "/gateway.Gateway/EnabledProtocolProducts"
	Gateway_DisabledProtocolProducts_FullMethodName  = "/gateway.Gateway/DisabledProtocolProducts"
	Gateway_SupportedProtocolProducts_FullMethodName = "/gateway.Gateway/SupportedProtocolProducts"
	Gateway_ProtocolDevices_FullMethodName           = "/gateway.Gateway/ProtocolDevices"
	Gateway_EnabledProtocolDevices_FullMethodName    = "/gateway.Gateway/EnabledProtocolDevices"
	Gateway_DisabledProtocolDevices_FullMethodName   = "/gateway.Gateway/DisabledProtocolDevices"
	Gateway_SupportedProtocolDevices_FullMethodName  = "/gateway.Gateway/SupportedProtocolDevices"
	Gateway_ProtocolMetrics_FullMethodName           = "/gateway.Gateway/ProtocolMetrics"
	Gateway_EnabledProtocolMetrics_FullMethodName    = "/gateway.Gateway/EnabledProtocolMetrics"
	Gateway_DisabledProtocolMetrics_FullMethodName   = "/gateway.Gateway/DisabledProtocolMetrics"
	Gateway_SupportedProtocolMetrics_FullMethodName  = "/gateway.Gateway/SupportedProtocolMetrics"
	Gateway_ProtocolCommands_FullMethodName          = "/gateway.Gateway/ProtocolCommands"
	Gateway_EnabledProtocolCommands_FullMethodName   = "/gateway.Gateway/EnabledProtocolCommands"
	Gateway_DisabledProtocolCommands_FullMethodName  = "/gateway.Gateway/DisabledProtocolCommands"
	Gateway_SupportedProtocolCommands_FullMethodName = "/gateway.Gateway/SupportedProtocolCommands"
	Gateway_AddProduct_FullMethodName                = "/gateway.Gateway/AddProduct"
	Gateway_BatchAddProduct_FullMethodName           = "/gateway.Gateway/BatchAddProduct"
	Gateway_RemoveProduct_FullMethodName             = "/gateway.Gateway/RemoveProduct"
	Gateway_BatchRemoveProduct_FullMethodName        = "/gateway.Gateway/BatchRemoveProduct"
	Gateway_UpdateProduct_FullMethodName             = "/gateway.Gateway/UpdateProduct"
	Gateway_BatchUpdateProduct_FullMethodName        = "/gateway.Gateway/BatchUpdateProduct"
	Gateway_EnableProduct_FullMethodName             = "/gateway.Gateway/EnableProduct"
	Gateway_BatchEnableProduct_FullMethodName        = "/gateway.Gateway/BatchEnableProduct"
	Gateway_DisableProduct_FullMethodName            = "/gateway.Gateway/DisableProduct"
	Gateway_BatchDisableProduct_FullMethodName       = "/gateway.Gateway/BatchDisableProduct"
	Gateway_GetProduct_FullMethodName                = "/gateway.Gateway/GetProduct"
	Gateway_BatchGetProduct_FullMethodName           = "/gateway.Gateway/BatchGetProduct"
	Gateway_IsEnabledProduct_FullMethodName          = "/gateway.Gateway/IsEnabledProduct"
	Gateway_IsDisabledProduct_FullMethodName         = "/gateway.Gateway/IsDisabledProduct"
	Gateway_IsSupportedProduct_FullMethodName        = "/gateway.Gateway/IsSupportedProduct"
	Gateway_EnabledProducts_FullMethodName           = "/gateway.Gateway/EnabledProducts"
	Gateway_DisabledProducts_FullMethodName          = "/gateway.Gateway/DisabledProducts"
	Gateway_SupportedProducts_FullMethodName         = "/gateway.Gateway/SupportedProducts"
	Gateway_ProductDevices_FullMethodName            = "/gateway.Gateway/ProductDevices"
	Gateway_EnabledProductDevices_FullMethodName     = "/gateway.Gateway/EnabledProductDevices"
	Gateway_DisabledProductDevices_FullMethodName    = "/gateway.Gateway/DisabledProductDevices"
	Gateway_SupportedProductDevices_FullMethodName   = "/gateway.Gateway/SupportedProductDevices"
	Gateway_ProductMetrics_FullMethodName            = "/gateway.Gateway/ProductMetrics"
	Gateway_EnabledProductMetrics_FullMethodName     = "/gateway.Gateway/EnabledProductMetrics"
	Gateway_DisabledProductMetrics_FullMethodName    = "/gateway.Gateway/DisabledProductMetrics"
	Gateway_SupportedProductMetrics_FullMethodName   = "/gateway.Gateway/SupportedProductMetrics"
	Gateway_ProductCommands_FullMethodName           = "/gateway.Gateway/ProductCommands"
	Gateway_EnabledProductCommands_FullMethodName    = "/gateway.Gateway/EnabledProductCommands"
	Gateway_DisabledProductCommands_FullMethodName   = "/gateway.Gateway/DisabledProductCommands"
	Gateway_SupportedProductCommands_FullMethodName  = "/gateway.Gateway/SupportedProductCommands"
	Gateway_AddDevice_FullMethodName                 = "/gateway.Gateway/AddDevice"
	Gateway_BatchAddDevice_FullMethodName            = "/gateway.Gateway/BatchAddDevice"
	Gateway_RemoveDevice_FullMethodName              = "/gateway.Gateway/RemoveDevice"
	Gateway_BatchRemoveDevice_FullMethodName         = "/gateway.Gateway/BatchRemoveDevice"
	Gateway_UpdateDevice_FullMethodName              = "/gateway.Gateway/UpdateDevice"
	Gateway_BatchUpdateDevice_FullMethodName         = "/gateway.Gateway/BatchUpdateDevice"
	Gateway_EnableDevice_FullMethodName              = "/gateway.Gateway/EnableDevice"
	Gateway_BatchEnableDevice_FullMethodName         = "/gateway.Gateway/BatchEnableDevice"
	Gateway_DisableDevice_FullMethodName             = "/gateway.Gateway/DisableDevice"
	Gateway_BatchDisableDevice_FullMethodName        = "/gateway.Gateway/BatchDisableDevice"
	Gateway_GetDevice_FullMethodName                 = "/gateway.Gateway/GetDevice"
	Gateway_BatchGetDevice_FullMethodName            = "/gateway.Gateway/BatchGetDevice"
	Gateway_IsEnabledDevice_FullMethodName           = "/gateway.Gateway/IsEnabledDevice"
	Gateway_IsDisabledDevice_FullMethodName          = "/gateway.Gateway/IsDisabledDevice"
	Gateway_IsSupportedDevice_FullMethodName         = "/gateway.Gateway/IsSupportedDevice"
	Gateway_EnabledDevices_FullMethodName            = "/gateway.Gateway/EnabledDevices"
	Gateway_DisabledDevices_FullMethodName           = "/gateway.Gateway/DisabledDevices"
	Gateway_SupportedDevices_FullMethodName          = "/gateway.Gateway/SupportedDevices"
	Gateway_DeviceMetrics_FullMethodName             = "/gateway.Gateway/DeviceMetrics"
	Gateway_EnabledDeviceMetrics_FullMethodName      = "/gateway.Gateway/EnabledDeviceMetrics"
	Gateway_DisabledDeviceMetrics_FullMethodName     = "/gateway.Gateway/DisabledDeviceMetrics"
	Gateway_SupportedDeviceMetrics_FullMethodName    = "/gateway.Gateway/SupportedDeviceMetrics"
	Gateway_DeviceCommands_FullMethodName            = "/gateway.Gateway/DeviceCommands"
	Gateway_EnabledDeviceCommands_FullMethodName     = "/gateway.Gateway/EnabledDeviceCommands"
	Gateway_DisabledDeviceCommands_FullMethodName    = "/gateway.Gateway/DisabledDeviceCommands"
	Gateway_SupportedDeviceCommands_FullMethodName   = "/gateway.Gateway/SupportedDeviceCommands"
	Gateway_AddMetric_FullMethodName                 = "/gateway.Gateway/AddMetric"
	Gateway_BatchAddMetric_FullMethodName            = "/gateway.Gateway/BatchAddMetric"
	Gateway_RemoveMetric_FullMethodName              = "/gateway.Gateway/RemoveMetric"
	Gateway_BatchRemoveMetric_FullMethodName         = "/gateway.Gateway/BatchRemoveMetric"
	Gateway_UpdateMetric_FullMethodName              = "/gateway.Gateway/UpdateMetric"
	Gateway_BatchUpdateMetric_FullMethodName         = "/gateway.Gateway/BatchUpdateMetric"
	Gateway_EnableMetric_FullMethodName              = "/gateway.Gateway/EnableMetric"
	Gateway_BatchEnableMetric_FullMethodName         = "/gateway.Gateway/BatchEnableMetric"
	Gateway_DisableMetric_FullMethodName             = "/gateway.Gateway/DisableMetric"
	Gateway_BatchDisableMetric_FullMethodName        = "/gateway.Gateway/BatchDisableMetric"
	Gateway_GetMetric_FullMethodName                 = "/gateway.Gateway/GetMetric"
	Gateway_BatchGetMetric_FullMethodName            = "/gateway.Gateway/BatchGetMetric"
	Gateway_IsEnabledMetric_FullMethodName           = "/gateway.Gateway/IsEnabledMetric"
	Gateway_IsDisabledMetric_FullMethodName          = "/gateway.Gateway/IsDisabledMetric"
	Gateway_IsSupportedMetric_FullMethodName         = "/gateway.Gateway/IsSupportedMetric"
	Gateway_EnabledMetrics_FullMethodName            = "/gateway.Gateway/EnabledMetrics"
	Gateway_DisabledMetrics_FullMethodName           = "/gateway.Gateway/DisabledMetrics"
	Gateway_SupportedMetrics_FullMethodName          = "/gateway.Gateway/SupportedMetrics"
	Gateway_MetricDevices_FullMethodName             = "/gateway.Gateway/MetricDevices"
	Gateway_EnabledMetricDevices_FullMethodName      = "/gateway.Gateway/EnabledMetricDevices"
	Gateway_DisabledMetricDevices_FullMethodName     = "/gateway.Gateway/DisabledMetricDevices"
	Gateway_SupportedMetricDevices_FullMethodName    = "/gateway.Gateway/SupportedMetricDevices"
	Gateway_AddCommand_FullMethodName                = "/gateway.Gateway/AddCommand"
	Gateway_BatchAddCommand_FullMethodName           = "/gateway.Gateway/BatchAddCommand"
	Gateway_RemoveCommand_FullMethodName             = "/gateway.Gateway/RemoveCommand"
	Gateway_BatchRemoveCommand_FullMethodName        = "/gateway.Gateway/BatchRemoveCommand"
	Gateway_UpdateCommand_FullMethodName             = "/gateway.Gateway/UpdateCommand"
	Gateway_BatchUpdateCommand_FullMethodName        = "/gateway.Gateway/BatchUpdateCommand"
	Gateway_EnableCommand_FullMethodName             = "/gateway.Gateway/EnableCommand"
	Gateway_BatchEnableCommand_FullMethodName        = "/gateway.Gateway/BatchEnableCommand"
	Gateway_DisableCommand_FullMethodName            = "/gateway.Gateway/DisableCommand"
	Gateway_BatchDisableCommand_FullMethodName       = "/gateway.Gateway/BatchDisableCommand"
	Gateway_GetCommand_FullMethodName                = "/gateway.Gateway/GetCommand"
	Gateway_BatchGetCommand_FullMethodName           = "/gateway.Gateway/BatchGetCommand"
	Gateway_IsEnabledCommand_FullMethodName          = "/gateway.Gateway/IsEnabledCommand"
	Gateway_IsDisabledCommand_FullMethodName         = "/gateway.Gateway/IsDisabledCommand"
	Gateway_IsSupportedCommand_FullMethodName        = "/gateway.Gateway/IsSupportedCommand"
	Gateway_EnabledCommands_FullMethodName           = "/gateway.Gateway/EnabledCommands"
	Gateway_DisabledCommands_FullMethodName          = "/gateway.Gateway/DisabledCommands"
	Gateway_SupportedCommands_FullMethodName         = "/gateway.Gateway/SupportedCommands"
	Gateway_CommandDevices_FullMethodName            = "/gateway.Gateway/CommandDevices"
	Gateway_EnabledCommandDevices_FullMethodName     = "/gateway.Gateway/EnabledCommandDevices"
	Gateway_DisabledCommandDevices_FullMethodName    = "/gateway.Gateway/DisabledCommandDevices"
	Gateway_SupportedCommandDevices_FullMethodName   = "/gateway.Gateway/SupportedCommandDevices"
	Gateway_AddBind_FullMethodName                   = "/gateway.Gateway/AddBind"
	Gateway_BatchAddBind_FullMethodName              = "/gateway.Gateway/BatchAddBind"
	Gateway_RemoveBind_FullMethodName                = "/gateway.Gateway/RemoveBind"
	Gateway_BatchRemoveBind_FullMethodName           = "/gateway.Gateway/BatchRemoveBind"
	Gateway_UpdateBind_FullMethodName                = "/gateway.Gateway/UpdateBind"
	Gateway_BatchUpdateBind_FullMethodName           = "/gateway.Gateway/BatchUpdateBind"
	Gateway_EnableBind_FullMethodName                = "/gateway.Gateway/EnableBind"
	Gateway_BatchEnableBind_FullMethodName           = "/gateway.Gateway/BatchEnableBind"
	Gateway_DisableBind_FullMethodName               = "/gateway.Gateway/DisableBind"
	Gateway_BatchDisableBind_FullMethodName          = "/gateway.Gateway/BatchDisableBind"
	Gateway_GetBind_FullMethodName                   = "/gateway.Gateway/GetBind"
	Gateway_BatchGetBind_FullMethodName              = "/gateway.Gateway/BatchGetBind"
	Gateway_IsEnabledBind_FullMethodName             = "/gateway.Gateway/IsEnabledBind"
	Gateway_IsDisabledBind_FullMethodName            = "/gateway.Gateway/IsDisabledBind"
	Gateway_IsSupportedBind_FullMethodName           = "/gateway.Gateway/IsSupportedBind"
	Gateway_EnabledBinds_FullMethodName              = "/gateway.Gateway/EnabledBinds"
	Gateway_DisabledBinds_FullMethodName             = "/gateway.Gateway/DisabledBinds"
	Gateway_SupportedBinds_FullMethodName            = "/gateway.Gateway/SupportedBinds"
	Gateway_BindDevices_FullMethodName               = "/gateway.Gateway/BindDevices"
	Gateway_EnabledBindDevices_FullMethodName        = "/gateway.Gateway/EnabledBindDevices"
	Gateway_DisabledBindDevices_FullMethodName       = "/gateway.Gateway/DisabledBindDevices"
	Gateway_SupportedBindDevices_FullMethodName      = "/gateway.Gateway/SupportedBindDevices"
	Gateway_BindMetrics_FullMethodName               = "/gateway.Gateway/BindMetrics"
	Gateway_EnabledBindMetrics_FullMethodName        = "/gateway.Gateway/EnabledBindMetrics"
	Gateway_DisabledBindMetrics_FullMethodName       = "/gateway.Gateway/DisabledBindMetrics"
	Gateway_SupportedBindMetrics_FullMethodName      = "/gateway.Gateway/SupportedBindMetrics"
	Gateway_BindCommands_FullMethodName              = "/gateway.Gateway/BindCommands"
	Gateway_EnabledBindCommands_FullMethodName       = "/gateway.Gateway/EnabledBindCommands"
	Gateway_DisabledBindCommands_FullMethodName      = "/gateway.Gateway/DisabledBindCommands"
	Gateway_SupportedBindCommands_FullMethodName     = "/gateway.Gateway/SupportedBindCommands"
	Gateway_Connect_FullMethodName                   = "/gateway.Gateway/Connect"
	Gateway_Connects_FullMethodName                  = "/gateway.Gateway/Connects"
	Gateway_GetAttribute_FullMethodName              = "/gateway.Gateway/GetAttribute"
	Gateway_Collect_FullMethodName                   = "/gateway.Gateway/Collect"
)

Variables

View Source
var (
	Code_name = map[int32]string{}/* 460 elements not displayed */

	Code_value = map[string]int32{}/* 460 elements not displayed */

)

Enum value maps for Code.

View Source
var (
	Status_name = map[int32]string{
		0: "SUCCESS",
		1: "FAILED",
		2: "PARTIAL_SUCCESS",
	}
	Status_value = map[string]int32{
		"SUCCESS":         0,
		"FAILED":          1,
		"PARTIAL_SUCCESS": 2,
	}
)

Enum value maps for Status.

View Source
var File_protos_gateway_code_proto protoreflect.FileDescriptor
View Source
var File_protos_gateway_object_proto protoreflect.FileDescriptor
View Source
var File_protos_gateway_reply_proto protoreflect.FileDescriptor
View Source
var File_protos_gateway_request_proto protoreflect.FileDescriptor
View Source
var File_protos_gateway_service_proto protoreflect.FileDescriptor
View Source
var File_protos_gateway_status_proto protoreflect.FileDescriptor
View Source
var Gateway_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gateway.Gateway",
	HandlerType: (*GatewayServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EnableProtocol",
			Handler:    _Gateway_EnableProtocol_Handler,
		},
		{
			MethodName: "BatchEnableProtocol",
			Handler:    _Gateway_BatchEnableProtocol_Handler,
		},
		{
			MethodName: "DisableProtocol",
			Handler:    _Gateway_DisableProtocol_Handler,
		},
		{
			MethodName: "BatchDisableProtocol",
			Handler:    _Gateway_BatchDisableProtocol_Handler,
		},
		{
			MethodName: "IsEnabledProtocol",
			Handler:    _Gateway_IsEnabledProtocol_Handler,
		},
		{
			MethodName: "IsDisabledProtocol",
			Handler:    _Gateway_IsDisabledProtocol_Handler,
		},
		{
			MethodName: "IsSupportedProtocol",
			Handler:    _Gateway_IsSupportedProtocol_Handler,
		},
		{
			MethodName: "EnabledProtocols",
			Handler:    _Gateway_EnabledProtocols_Handler,
		},
		{
			MethodName: "DisabledProtocols",
			Handler:    _Gateway_DisabledProtocols_Handler,
		},
		{
			MethodName: "SupportedProtocols",
			Handler:    _Gateway_SupportedProtocols_Handler,
		},
		{
			MethodName: "ProtocolProducts",
			Handler:    _Gateway_ProtocolProducts_Handler,
		},
		{
			MethodName: "EnabledProtocolProducts",
			Handler:    _Gateway_EnabledProtocolProducts_Handler,
		},
		{
			MethodName: "DisabledProtocolProducts",
			Handler:    _Gateway_DisabledProtocolProducts_Handler,
		},
		{
			MethodName: "SupportedProtocolProducts",
			Handler:    _Gateway_SupportedProtocolProducts_Handler,
		},
		{
			MethodName: "ProtocolDevices",
			Handler:    _Gateway_ProtocolDevices_Handler,
		},
		{
			MethodName: "EnabledProtocolDevices",
			Handler:    _Gateway_EnabledProtocolDevices_Handler,
		},
		{
			MethodName: "DisabledProtocolDevices",
			Handler:    _Gateway_DisabledProtocolDevices_Handler,
		},
		{
			MethodName: "SupportedProtocolDevices",
			Handler:    _Gateway_SupportedProtocolDevices_Handler,
		},
		{
			MethodName: "ProtocolMetrics",
			Handler:    _Gateway_ProtocolMetrics_Handler,
		},
		{
			MethodName: "EnabledProtocolMetrics",
			Handler:    _Gateway_EnabledProtocolMetrics_Handler,
		},
		{
			MethodName: "DisabledProtocolMetrics",
			Handler:    _Gateway_DisabledProtocolMetrics_Handler,
		},
		{
			MethodName: "SupportedProtocolMetrics",
			Handler:    _Gateway_SupportedProtocolMetrics_Handler,
		},
		{
			MethodName: "ProtocolCommands",
			Handler:    _Gateway_ProtocolCommands_Handler,
		},
		{
			MethodName: "EnabledProtocolCommands",
			Handler:    _Gateway_EnabledProtocolCommands_Handler,
		},
		{
			MethodName: "DisabledProtocolCommands",
			Handler:    _Gateway_DisabledProtocolCommands_Handler,
		},
		{
			MethodName: "SupportedProtocolCommands",
			Handler:    _Gateway_SupportedProtocolCommands_Handler,
		},
		{
			MethodName: "AddProduct",
			Handler:    _Gateway_AddProduct_Handler,
		},
		{
			MethodName: "BatchAddProduct",
			Handler:    _Gateway_BatchAddProduct_Handler,
		},
		{
			MethodName: "RemoveProduct",
			Handler:    _Gateway_RemoveProduct_Handler,
		},
		{
			MethodName: "BatchRemoveProduct",
			Handler:    _Gateway_BatchRemoveProduct_Handler,
		},
		{
			MethodName: "UpdateProduct",
			Handler:    _Gateway_UpdateProduct_Handler,
		},
		{
			MethodName: "BatchUpdateProduct",
			Handler:    _Gateway_BatchUpdateProduct_Handler,
		},
		{
			MethodName: "EnableProduct",
			Handler:    _Gateway_EnableProduct_Handler,
		},
		{
			MethodName: "BatchEnableProduct",
			Handler:    _Gateway_BatchEnableProduct_Handler,
		},
		{
			MethodName: "DisableProduct",
			Handler:    _Gateway_DisableProduct_Handler,
		},
		{
			MethodName: "BatchDisableProduct",
			Handler:    _Gateway_BatchDisableProduct_Handler,
		},
		{
			MethodName: "GetProduct",
			Handler:    _Gateway_GetProduct_Handler,
		},
		{
			MethodName: "BatchGetProduct",
			Handler:    _Gateway_BatchGetProduct_Handler,
		},
		{
			MethodName: "IsEnabledProduct",
			Handler:    _Gateway_IsEnabledProduct_Handler,
		},
		{
			MethodName: "IsDisabledProduct",
			Handler:    _Gateway_IsDisabledProduct_Handler,
		},
		{
			MethodName: "IsSupportedProduct",
			Handler:    _Gateway_IsSupportedProduct_Handler,
		},
		{
			MethodName: "EnabledProducts",
			Handler:    _Gateway_EnabledProducts_Handler,
		},
		{
			MethodName: "DisabledProducts",
			Handler:    _Gateway_DisabledProducts_Handler,
		},
		{
			MethodName: "SupportedProducts",
			Handler:    _Gateway_SupportedProducts_Handler,
		},
		{
			MethodName: "ProductDevices",
			Handler:    _Gateway_ProductDevices_Handler,
		},
		{
			MethodName: "EnabledProductDevices",
			Handler:    _Gateway_EnabledProductDevices_Handler,
		},
		{
			MethodName: "DisabledProductDevices",
			Handler:    _Gateway_DisabledProductDevices_Handler,
		},
		{
			MethodName: "SupportedProductDevices",
			Handler:    _Gateway_SupportedProductDevices_Handler,
		},
		{
			MethodName: "ProductMetrics",
			Handler:    _Gateway_ProductMetrics_Handler,
		},
		{
			MethodName: "EnabledProductMetrics",
			Handler:    _Gateway_EnabledProductMetrics_Handler,
		},
		{
			MethodName: "DisabledProductMetrics",
			Handler:    _Gateway_DisabledProductMetrics_Handler,
		},
		{
			MethodName: "SupportedProductMetrics",
			Handler:    _Gateway_SupportedProductMetrics_Handler,
		},
		{
			MethodName: "ProductCommands",
			Handler:    _Gateway_ProductCommands_Handler,
		},
		{
			MethodName: "EnabledProductCommands",
			Handler:    _Gateway_EnabledProductCommands_Handler,
		},
		{
			MethodName: "DisabledProductCommands",
			Handler:    _Gateway_DisabledProductCommands_Handler,
		},
		{
			MethodName: "SupportedProductCommands",
			Handler:    _Gateway_SupportedProductCommands_Handler,
		},
		{
			MethodName: "AddDevice",
			Handler:    _Gateway_AddDevice_Handler,
		},
		{
			MethodName: "BatchAddDevice",
			Handler:    _Gateway_BatchAddDevice_Handler,
		},
		{
			MethodName: "RemoveDevice",
			Handler:    _Gateway_RemoveDevice_Handler,
		},
		{
			MethodName: "BatchRemoveDevice",
			Handler:    _Gateway_BatchRemoveDevice_Handler,
		},
		{
			MethodName: "UpdateDevice",
			Handler:    _Gateway_UpdateDevice_Handler,
		},
		{
			MethodName: "BatchUpdateDevice",
			Handler:    _Gateway_BatchUpdateDevice_Handler,
		},
		{
			MethodName: "EnableDevice",
			Handler:    _Gateway_EnableDevice_Handler,
		},
		{
			MethodName: "BatchEnableDevice",
			Handler:    _Gateway_BatchEnableDevice_Handler,
		},
		{
			MethodName: "DisableDevice",
			Handler:    _Gateway_DisableDevice_Handler,
		},
		{
			MethodName: "BatchDisableDevice",
			Handler:    _Gateway_BatchDisableDevice_Handler,
		},
		{
			MethodName: "GetDevice",
			Handler:    _Gateway_GetDevice_Handler,
		},
		{
			MethodName: "BatchGetDevice",
			Handler:    _Gateway_BatchGetDevice_Handler,
		},
		{
			MethodName: "IsEnabledDevice",
			Handler:    _Gateway_IsEnabledDevice_Handler,
		},
		{
			MethodName: "IsDisabledDevice",
			Handler:    _Gateway_IsDisabledDevice_Handler,
		},
		{
			MethodName: "IsSupportedDevice",
			Handler:    _Gateway_IsSupportedDevice_Handler,
		},
		{
			MethodName: "EnabledDevices",
			Handler:    _Gateway_EnabledDevices_Handler,
		},
		{
			MethodName: "DisabledDevices",
			Handler:    _Gateway_DisabledDevices_Handler,
		},
		{
			MethodName: "SupportedDevices",
			Handler:    _Gateway_SupportedDevices_Handler,
		},
		{
			MethodName: "DeviceMetrics",
			Handler:    _Gateway_DeviceMetrics_Handler,
		},
		{
			MethodName: "EnabledDeviceMetrics",
			Handler:    _Gateway_EnabledDeviceMetrics_Handler,
		},
		{
			MethodName: "DisabledDeviceMetrics",
			Handler:    _Gateway_DisabledDeviceMetrics_Handler,
		},
		{
			MethodName: "SupportedDeviceMetrics",
			Handler:    _Gateway_SupportedDeviceMetrics_Handler,
		},
		{
			MethodName: "DeviceCommands",
			Handler:    _Gateway_DeviceCommands_Handler,
		},
		{
			MethodName: "EnabledDeviceCommands",
			Handler:    _Gateway_EnabledDeviceCommands_Handler,
		},
		{
			MethodName: "DisabledDeviceCommands",
			Handler:    _Gateway_DisabledDeviceCommands_Handler,
		},
		{
			MethodName: "SupportedDeviceCommands",
			Handler:    _Gateway_SupportedDeviceCommands_Handler,
		},
		{
			MethodName: "AddMetric",
			Handler:    _Gateway_AddMetric_Handler,
		},
		{
			MethodName: "BatchAddMetric",
			Handler:    _Gateway_BatchAddMetric_Handler,
		},
		{
			MethodName: "RemoveMetric",
			Handler:    _Gateway_RemoveMetric_Handler,
		},
		{
			MethodName: "BatchRemoveMetric",
			Handler:    _Gateway_BatchRemoveMetric_Handler,
		},
		{
			MethodName: "UpdateMetric",
			Handler:    _Gateway_UpdateMetric_Handler,
		},
		{
			MethodName: "BatchUpdateMetric",
			Handler:    _Gateway_BatchUpdateMetric_Handler,
		},
		{
			MethodName: "EnableMetric",
			Handler:    _Gateway_EnableMetric_Handler,
		},
		{
			MethodName: "BatchEnableMetric",
			Handler:    _Gateway_BatchEnableMetric_Handler,
		},
		{
			MethodName: "DisableMetric",
			Handler:    _Gateway_DisableMetric_Handler,
		},
		{
			MethodName: "BatchDisableMetric",
			Handler:    _Gateway_BatchDisableMetric_Handler,
		},
		{
			MethodName: "GetMetric",
			Handler:    _Gateway_GetMetric_Handler,
		},
		{
			MethodName: "BatchGetMetric",
			Handler:    _Gateway_BatchGetMetric_Handler,
		},
		{
			MethodName: "IsEnabledMetric",
			Handler:    _Gateway_IsEnabledMetric_Handler,
		},
		{
			MethodName: "IsDisabledMetric",
			Handler:    _Gateway_IsDisabledMetric_Handler,
		},
		{
			MethodName: "IsSupportedMetric",
			Handler:    _Gateway_IsSupportedMetric_Handler,
		},
		{
			MethodName: "EnabledMetrics",
			Handler:    _Gateway_EnabledMetrics_Handler,
		},
		{
			MethodName: "DisabledMetrics",
			Handler:    _Gateway_DisabledMetrics_Handler,
		},
		{
			MethodName: "SupportedMetrics",
			Handler:    _Gateway_SupportedMetrics_Handler,
		},
		{
			MethodName: "MetricDevices",
			Handler:    _Gateway_MetricDevices_Handler,
		},
		{
			MethodName: "EnabledMetricDevices",
			Handler:    _Gateway_EnabledMetricDevices_Handler,
		},
		{
			MethodName: "DisabledMetricDevices",
			Handler:    _Gateway_DisabledMetricDevices_Handler,
		},
		{
			MethodName: "SupportedMetricDevices",
			Handler:    _Gateway_SupportedMetricDevices_Handler,
		},
		{
			MethodName: "AddCommand",
			Handler:    _Gateway_AddCommand_Handler,
		},
		{
			MethodName: "BatchAddCommand",
			Handler:    _Gateway_BatchAddCommand_Handler,
		},
		{
			MethodName: "RemoveCommand",
			Handler:    _Gateway_RemoveCommand_Handler,
		},
		{
			MethodName: "BatchRemoveCommand",
			Handler:    _Gateway_BatchRemoveCommand_Handler,
		},
		{
			MethodName: "UpdateCommand",
			Handler:    _Gateway_UpdateCommand_Handler,
		},
		{
			MethodName: "BatchUpdateCommand",
			Handler:    _Gateway_BatchUpdateCommand_Handler,
		},
		{
			MethodName: "EnableCommand",
			Handler:    _Gateway_EnableCommand_Handler,
		},
		{
			MethodName: "BatchEnableCommand",
			Handler:    _Gateway_BatchEnableCommand_Handler,
		},
		{
			MethodName: "DisableCommand",
			Handler:    _Gateway_DisableCommand_Handler,
		},
		{
			MethodName: "BatchDisableCommand",
			Handler:    _Gateway_BatchDisableCommand_Handler,
		},
		{
			MethodName: "GetCommand",
			Handler:    _Gateway_GetCommand_Handler,
		},
		{
			MethodName: "BatchGetCommand",
			Handler:    _Gateway_BatchGetCommand_Handler,
		},
		{
			MethodName: "IsEnabledCommand",
			Handler:    _Gateway_IsEnabledCommand_Handler,
		},
		{
			MethodName: "IsDisabledCommand",
			Handler:    _Gateway_IsDisabledCommand_Handler,
		},
		{
			MethodName: "IsSupportedCommand",
			Handler:    _Gateway_IsSupportedCommand_Handler,
		},
		{
			MethodName: "EnabledCommands",
			Handler:    _Gateway_EnabledCommands_Handler,
		},
		{
			MethodName: "DisabledCommands",
			Handler:    _Gateway_DisabledCommands_Handler,
		},
		{
			MethodName: "SupportedCommands",
			Handler:    _Gateway_SupportedCommands_Handler,
		},
		{
			MethodName: "CommandDevices",
			Handler:    _Gateway_CommandDevices_Handler,
		},
		{
			MethodName: "EnabledCommandDevices",
			Handler:    _Gateway_EnabledCommandDevices_Handler,
		},
		{
			MethodName: "DisabledCommandDevices",
			Handler:    _Gateway_DisabledCommandDevices_Handler,
		},
		{
			MethodName: "SupportedCommandDevices",
			Handler:    _Gateway_SupportedCommandDevices_Handler,
		},
		{
			MethodName: "AddBind",
			Handler:    _Gateway_AddBind_Handler,
		},
		{
			MethodName: "BatchAddBind",
			Handler:    _Gateway_BatchAddBind_Handler,
		},
		{
			MethodName: "RemoveBind",
			Handler:    _Gateway_RemoveBind_Handler,
		},
		{
			MethodName: "BatchRemoveBind",
			Handler:    _Gateway_BatchRemoveBind_Handler,
		},
		{
			MethodName: "UpdateBind",
			Handler:    _Gateway_UpdateBind_Handler,
		},
		{
			MethodName: "BatchUpdateBind",
			Handler:    _Gateway_BatchUpdateBind_Handler,
		},
		{
			MethodName: "EnableBind",
			Handler:    _Gateway_EnableBind_Handler,
		},
		{
			MethodName: "BatchEnableBind",
			Handler:    _Gateway_BatchEnableBind_Handler,
		},
		{
			MethodName: "DisableBind",
			Handler:    _Gateway_DisableBind_Handler,
		},
		{
			MethodName: "BatchDisableBind",
			Handler:    _Gateway_BatchDisableBind_Handler,
		},
		{
			MethodName: "GetBind",
			Handler:    _Gateway_GetBind_Handler,
		},
		{
			MethodName: "BatchGetBind",
			Handler:    _Gateway_BatchGetBind_Handler,
		},
		{
			MethodName: "IsEnabledBind",
			Handler:    _Gateway_IsEnabledBind_Handler,
		},
		{
			MethodName: "IsDisabledBind",
			Handler:    _Gateway_IsDisabledBind_Handler,
		},
		{
			MethodName: "IsSupportedBind",
			Handler:    _Gateway_IsSupportedBind_Handler,
		},
		{
			MethodName: "EnabledBinds",
			Handler:    _Gateway_EnabledBinds_Handler,
		},
		{
			MethodName: "DisabledBinds",
			Handler:    _Gateway_DisabledBinds_Handler,
		},
		{
			MethodName: "SupportedBinds",
			Handler:    _Gateway_SupportedBinds_Handler,
		},
		{
			MethodName: "BindDevices",
			Handler:    _Gateway_BindDevices_Handler,
		},
		{
			MethodName: "EnabledBindDevices",
			Handler:    _Gateway_EnabledBindDevices_Handler,
		},
		{
			MethodName: "DisabledBindDevices",
			Handler:    _Gateway_DisabledBindDevices_Handler,
		},
		{
			MethodName: "SupportedBindDevices",
			Handler:    _Gateway_SupportedBindDevices_Handler,
		},
		{
			MethodName: "BindMetrics",
			Handler:    _Gateway_BindMetrics_Handler,
		},
		{
			MethodName: "EnabledBindMetrics",
			Handler:    _Gateway_EnabledBindMetrics_Handler,
		},
		{
			MethodName: "DisabledBindMetrics",
			Handler:    _Gateway_DisabledBindMetrics_Handler,
		},
		{
			MethodName: "SupportedBindMetrics",
			Handler:    _Gateway_SupportedBindMetrics_Handler,
		},
		{
			MethodName: "BindCommands",
			Handler:    _Gateway_BindCommands_Handler,
		},
		{
			MethodName: "EnabledBindCommands",
			Handler:    _Gateway_EnabledBindCommands_Handler,
		},
		{
			MethodName: "DisabledBindCommands",
			Handler:    _Gateway_DisabledBindCommands_Handler,
		},
		{
			MethodName: "SupportedBindCommands",
			Handler:    _Gateway_SupportedBindCommands_Handler,
		},
		{
			MethodName: "Connect",
			Handler:    _Gateway_Connect_Handler,
		},
		{
			MethodName: "Connects",
			Handler:    _Gateway_Connects_Handler,
		},
		{
			MethodName: "GetAttribute",
			Handler:    _Gateway_GetAttribute_Handler,
		},
		{
			MethodName: "Collect",
			Handler:    _Gateway_Collect_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "protos/gateway/service.proto",
}

Gateway_ServiceDesc is the grpc.ServiceDesc for Gateway service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGatewayServer

func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)

Types

type Attribute

type Attribute struct {

	// 名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// 描述
	Descr string `protobuf:"bytes,2,opt,name=descr,proto3" json:"descr,omitempty"`
	// IP
	Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	// MAC
	Mac string `protobuf:"bytes,4,opt,name=mac,proto3" json:"mac,omitempty"`
	// 类型
	Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	// 类别
	Category string `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"`
	// 序列号
	SerialNumber string `protobuf:"bytes,7,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	// 操作系统
	Os string `protobuf:"bytes,8,opt,name=os,proto3" json:"os,omitempty"`
	// 系统架构
	Arch string `protobuf:"bytes,9,opt,name=arch,proto3" json:"arch,omitempty"`
	// 厂商
	Manufacturer string `protobuf:"bytes,10,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	// 型号
	Model string `protobuf:"bytes,11,opt,name=model,proto3" json:"model,omitempty"`
	// 出厂日期
	Date string `protobuf:"bytes,12,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

属性

func (*Attribute) Descriptor deprecated

func (*Attribute) Descriptor() ([]byte, []int)

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetArch

func (x *Attribute) GetArch() string

func (*Attribute) GetCategory

func (x *Attribute) GetCategory() string

func (*Attribute) GetDate

func (x *Attribute) GetDate() string

func (*Attribute) GetDescr

func (x *Attribute) GetDescr() string

func (*Attribute) GetIp

func (x *Attribute) GetIp() string

func (*Attribute) GetMac

func (x *Attribute) GetMac() string

func (*Attribute) GetManufacturer

func (x *Attribute) GetManufacturer() string

func (*Attribute) GetModel

func (x *Attribute) GetModel() string

func (*Attribute) GetName

func (x *Attribute) GetName() string

func (*Attribute) GetOs

func (x *Attribute) GetOs() string

func (*Attribute) GetSerialNumber

func (x *Attribute) GetSerialNumber() string

func (*Attribute) GetType

func (x *Attribute) GetType() string

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

func (x *Attribute) ProtoReflect() protoreflect.Message

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

type Bind

type Bind struct {
	// contains filtered or unexported fields
}

绑定

func (*Bind) Descriptor deprecated

func (*Bind) Descriptor() ([]byte, []int)

Deprecated: Use Bind.ProtoReflect.Descriptor instead.

func (*Bind) ProtoMessage

func (*Bind) ProtoMessage()

func (*Bind) ProtoReflect

func (x *Bind) ProtoReflect() protoreflect.Message

func (*Bind) Reset

func (x *Bind) Reset()

func (*Bind) String

func (x *Bind) String() string

type BindRequest

type BindRequest struct {
	Bind *Bind `protobuf:"bytes,1,opt,name=bind,proto3" json:"bind,omitempty"`
	// contains filtered or unexported fields
}

绑定参数

func (*BindRequest) Descriptor deprecated

func (*BindRequest) Descriptor() ([]byte, []int)

Deprecated: Use BindRequest.ProtoReflect.Descriptor instead.

func (*BindRequest) GetBind

func (x *BindRequest) GetBind() *Bind

func (*BindRequest) ProtoMessage

func (*BindRequest) ProtoMessage()

func (*BindRequest) ProtoReflect

func (x *BindRequest) ProtoReflect() protoreflect.Message

func (*BindRequest) Reset

func (x *BindRequest) Reset()

func (*BindRequest) String

func (x *BindRequest) String() string

type BindsRequest

type BindsRequest struct {
	Binds []*Bind `protobuf:"bytes,1,rep,name=binds,proto3" json:"binds,omitempty"`
	// contains filtered or unexported fields
}

绑定列表参数

func (*BindsRequest) Descriptor deprecated

func (*BindsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BindsRequest.ProtoReflect.Descriptor instead.

func (*BindsRequest) GetBinds

func (x *BindsRequest) GetBinds() []*Bind

func (*BindsRequest) ProtoMessage

func (*BindsRequest) ProtoMessage()

func (*BindsRequest) ProtoReflect

func (x *BindsRequest) ProtoReflect() protoreflect.Message

func (*BindsRequest) Reset

func (x *BindsRequest) Reset()

func (*BindsRequest) String

func (x *BindsRequest) String() string

type Code

type Code int32

状态码信息

const (
	// 未知状态
	Code_UNKNOWN Code = 0
	// 无效的类型
	Code_INVALID_TYPE Code = 1
	// 无效的参数
	Code_INVALID_PARAMETER Code = 2
	// 无效的配置
	Code_INVALID_CONFIGURATION Code = 3
	// 无效的传输
	Code_INVALID_TRANSPORT Code = 4
	// 无效的传输类型
	Code_INVALID_TRANSPORT_TYPE Code = 5
	// 无效的传输参数
	Code_INVALID_TRANSPORT_PARAMETER Code = 6
	// 无效的传输配置
	Code_INVALID_TRANSPORT_CONFIGURATION Code = 7
	// 无效的连接
	Code_INVALID_CONNECTION Code = 8
	// 无效的连接类型
	Code_INVALID_CONNECTION_TYPE Code = 9
	// 无效的连接参数
	Code_INVALID_CONNECTION_PARAMETER Code = 10
	// 无效的连接配置
	Code_INVALID_CONNECTION_CONFIGURATION Code = 11
	// 无效的网络
	Code_INVALID_NETWORK Code = 12
	// 无效的网络类型
	Code_INVALID_NETWORK_TYPE Code = 13
	// 无效的网络参数
	Code_INVALID_NETWORK_PARAMETER Code = 14
	// 无效的网络配置
	Code_INVALID_NETWORK_CONFIGURATION Code = 15
	// 无效的地址
	Code_INVALID_ADDRESS Code = 16
	// 无效的地址类型
	Code_INVALID_ADDRESS_TYPE Code = 17
	// 无效的地址参数
	Code_INVALID_ADDRESS_PARAMETER Code = 18
	// 无效的地址配置
	Code_INVALID_ADDRESS_CONFIGURATION Code = 19
	// 无效的IP
	Code_INVALID_IP Code = 20
	// 无效的IP类型
	Code_INVALID_IP_TYPE Code = 21
	// 无效的IP参数
	Code_INVALID_IP_PARAMETER Code = 22
	// 无效的IP配置
	Code_INVALID_IP_CONFIGURATION Code = 23
	// 无效的端口
	Code_INVALID_PORT Code = 24
	// 无效的端口类型
	Code_INVALID_PORT_TYPE Code = 25
	// 无效的端口参数
	Code_INVALID_PORT_PARAMETER Code = 26
	// 无效的端口配置
	Code_INVALID_PORT_CONFIGURATION Code = 27
	// 无效的协议
	Code_INVALID_PROTOCOL Code = 100
	// 无效的协议ID
	Code_INVALID_PROTOCOL_ID Code = 101
	// 无效的协议名称
	Code_INVALID_PROTOCOL_NAME Code = 102
	// 无效的协议版本
	Code_INVALID_PROTOCOL_VERSION Code = 103
	// 无效的协议类型
	Code_INVALID_PROTOCOL_TYPE Code = 104
	// 无效的协议类别
	Code_INVALID_PROTOCOL_CATEGORY Code = 105
	// 无效的协议参数
	Code_INVALID_PROTOCOL_PARAMETER Code = 106
	// 无效的协议配置
	Code_INVALID_PROTOCOL_CONFIGURATION Code = 107
	// 不支持的协议
	Code_UNSUPPORTED_PROTOCOL Code = 108
	// 不支持的协议ID
	Code_UNSUPPORTED_PROTOCOL_ID Code = 109
	// 不支持的协议名称
	Code_UNSUPPORTED_PROTOCOL_NAME Code = 110
	// 不支持的协议版本
	Code_UNSUPPORTED_PROTOCOL_VERSION Code = 111
	// 不支持的协议类型
	Code_UNSUPPORTED_PROTOCOL_TYPE Code = 112
	// 不支持的协议类别
	Code_UNSUPPORTED_PROTOCOL_CATEGORY Code = 113
	// 不支持的协议参数
	Code_UNSUPPORTED_PROTOCOL_PARAMETER Code = 114
	// 不支持的协议配置
	Code_UNSUPPORTED_PROTOCOL_CONFIGURATION Code = 115
	// 重复的协议
	Code_DUPLICATE_PROTOCOL Code = 116
	// 重复的协议ID
	Code_DUPLICATE_PROTOCOL_ID Code = 117
	// 重复的协议名称
	Code_DUPLICATE_PROTOCOL_NAME Code = 118
	// 重复的协议版本
	Code_DUPLICATE_PROTOCOL_VERSION Code = 119
	// 重复的协议类型
	Code_DUPLICATE_PROTOCOL_TYPE Code = 120
	// 重复的协议类别
	Code_DUPLICATE_PROTOCOL_CATEGORY Code = 121
	// 重复的协议参数
	Code_DUPLICATE_PROTOCOL_PARAMETER Code = 122
	// 重复的协议配置
	Code_DUPLICATE_PROTOCOL_CONFIGURATION Code = 123
	// 协议为必填参数
	Code_PROTOCOL_IS_REQUIRED_PARAMETER Code = 124
	// 协议ID为必填参数
	Code_PROTOCOL_ID_IS_REQUIRED_PARAMETER Code = 125
	// 协议名称为必填参数
	Code_PROTOCOL_NAME_IS_REQUIRED_PARAMETER Code = 126
	// 协议版本为必填参数
	Code_PROTOCOL_VERSION_IS_REQUIRED_PARAMETER Code = 127
	// 协议类型为必填参数
	Code_PROTOCOL_TYPE_IS_REQUIRED_PARAMETER Code = 128
	// 协议类别为必填参数
	Code_PROTOCOL_CATEGORY_IS_REQUIRED_PARAMETER Code = 129
	// 协议参数为必填参数
	Code_PROTOCOL_PARAMETER_ARE_MANDATORY Code = 130
	// 协议配置为必填参数
	Code_PROTOCOL_CONFIGURATION_IS_REQUIRED_PARAMETER Code = 131
	// 协议已禁用
	Code_PROTOCOL_DISABLED Code = 132
	// 协议已启用
	Code_PROTOCOL_ENABLED Code = 133
	// 协议已弃用
	Code_PROTOCOL_DEPRECATED Code = 134
	// 协议不存在
	Code_PROTOCOL_DOES_NOT_EXIST Code = 135
	// 协议已经存在
	Code_PROTOCOL_ALREADY_EXISTS Code = 136
	// 协议无法匹配
	Code_PROTOCOL_CANNOT_BE_MATCHED Code = 137
	// 协议添加成功
	Code_PROTOCOL_ADD_SUCCESSFULLY Code = 138
	// 协议删除成功
	Code_PROTOCOL_DELETE_SUCCESSFULLY Code = 139
	// 协议修改成功
	Code_PROTOCOL_MODIFY_SUCCESSFULLY Code = 140
	// 协议启用成功
	Code_PROTOCOL_ENABLE_SUCCESSFULLY Code = 141
	// 协议禁用成功
	Code_PROTOCOL_DISABLE_SUCCESSFULLY Code = 142
	// 协议添加失败
	Code_PROTOCOL_ADD_FAILED Code = 143
	// 协议删除失败
	Code_PROTOCOL_DELETE_FAILED Code = 144
	// 协议修改失败
	Code_PROTOCOL_MODIFY_FAILED Code = 145
	// 协议启用失败
	Code_PROTOCOL_ENABLE_FAILED Code = 146
	// 协议禁用失败
	Code_PROTOCOL_DISABLE_FAILED Code = 147
	// 无效的产品
	Code_INVALID_PRODUCT Code = 200
	// 无效的产品ID
	Code_INVALID_PRODUCT_ID Code = 201
	// 无效的产品名称
	Code_INVALID_PRODUCT_NAME Code = 202
	// 无效的产品版本
	Code_INVALID_PRODUCT_VERSION Code = 203
	// 无效的产品类型
	Code_INVALID_PRODUCT_TYPE Code = 204
	// 无效的产品类别
	Code_INVALID_PRODUCT_CATEGORY Code = 205
	// 无效的产品参数
	Code_INVALID_PRODUCT_PARAMETER Code = 206
	// 无效的产品配置
	Code_INVALID_PRODUCT_CONFIGURATION Code = 207
	// 不支持的产品
	Code_UNSUPPORTED_PRODUCT Code = 208
	// 不支持的产品ID
	Code_UNSUPPORTED_PRODUCT_ID Code = 209
	// 不支持的产品名称
	Code_UNSUPPORTED_PRODUCT_NAME Code = 210
	// 不支持的产品版本
	Code_UNSUPPORTED_PRODUCT_VERSION Code = 211
	// 不支持的产品类型
	Code_UNSUPPORTED_PRODUCT_TYPE Code = 212
	// 不支持的产品类别
	Code_UNSUPPORTED_PRODUCT_CATEGORY Code = 213
	// 不支持的产品参数
	Code_UNSUPPORTED_PRODUCT_PARAMETER Code = 214
	// 不支持的产品配置
	Code_UNSUPPORTED_PRODUCT_CONFIGURATION Code = 215
	// 重复的产品
	Code_DUPLICATE_PRODUCT Code = 216
	// 重复的产品ID
	Code_DUPLICATE_PRODUCT_ID Code = 217
	// 重复的产品名称
	Code_DUPLICATE_PRODUCT_NAME Code = 218
	// 重复的产品版本
	Code_DUPLICATE_PRODUCT_VERSION Code = 219
	// 重复的产品类型
	Code_DUPLICATE_PRODUCT_TYPE Code = 220
	// 重复的产品类别
	Code_DUPLICATE_PRODUCT_CATEGORY Code = 221
	// 重复的产品参数
	Code_DUPLICATE_PRODUCT_PARAMETER Code = 222
	// 重复的产品配置
	Code_DUPLICATE_PRODUCT_CONFIGURATION Code = 223
	// 产品为必填参数
	Code_PRODUCT_IS_REQUIRED_PARAMETER Code = 224
	// 产品ID为必填参数
	Code_PRODUCT_ID_IS_REQUIRED_PARAMETER Code = 225
	// 产品名称为必填参数
	Code_PRODUCT_NAME_IS_REQUIRED_PARAMETER Code = 226
	// 产品版本为必填参数
	Code_PRODUCT_VERSION_IS_REQUIRED_PARAMETER Code = 227
	// 产品类型为必填参数
	Code_PRODUCT_TYPE_IS_REQUIRED_PARAMETER Code = 228
	// 产品类别为必填参数
	Code_PRODUCT_CATEGORY_IS_REQUIRED_PARAMETER Code = 229
	// 产品参数为必填参数
	Code_PRODUCT_PARAMETER_ARE_MANDATORY Code = 230
	// 产品配置为必填参数
	Code_PRODUCT_CONFIGURATION_IS_REQUIRED_PARAMETER Code = 231
	// 产品已禁用
	Code_PRODUCT_DISABLED Code = 232
	// 产品已启用
	Code_PRODUCT_ENABLED Code = 233
	// 产品已弃用
	Code_PRODUCT_DEPRECATED Code = 234
	// 产品不存在
	Code_PRODUCT_DOES_NOT_EXIST Code = 235
	// 产品已经存在
	Code_PRODUCT_ALREADY_EXISTS Code = 236
	// 产品无法匹配
	Code_PRODUCT_CANNOT_BE_MATCHED Code = 237
	// 产品添加成功
	Code_PRODUCT_ADD_SUCCESSFULLY Code = 238
	// 产品删除成功
	Code_PRODUCT_DELETE_SUCCESSFULLY Code = 239
	// 产品修改成功
	Code_PRODUCT_MODIFY_SUCCESSFULLY Code = 240
	// 产品启用成功
	Code_PRODUCT_ENABLE_SUCCESSFULLY Code = 241
	// 产品禁用成功
	Code_PRODUCT_DISABLE_SUCCESSFULLY Code = 242
	// 产品添加失败
	Code_PRODUCT_ADD_FAILED Code = 243
	// 产品删除失败
	Code_PRODUCT_DELETE_FAILED Code = 244
	// 产品修改失败
	Code_PRODUCT_MODIFY_FAILED Code = 245
	// 产品启用失败
	Code_PRODUCT_ENABLE_FAILED Code = 246
	// 产品禁用失败
	Code_PRODUCT_DISABLE_FAILED Code = 247
	// 无效的设备
	Code_INVALID_DEVICE Code = 300
	// 无效的设备ID
	Code_INVALID_DEVICE_ID Code = 301
	// 无效的设备名称
	Code_INVALID_DEVICE_NAME Code = 302
	// 无效的设备版本
	Code_INVALID_DEVICE_VERSION Code = 303
	// 无效的设备类型
	Code_INVALID_DEVICE_TYPE Code = 304
	// 无效的设备类别
	Code_INVALID_DEVICE_CATEGORY Code = 305
	// 无效的设备参数
	Code_INVALID_DEVICE_PARAMETER Code = 306
	// 无效的设备配置
	Code_INVALID_DEVICE_CONFIGURATION Code = 307
	// 不支持的设备
	Code_UNSUPPORTED_DEVICE Code = 308
	// 不支持的设备ID
	Code_UNSUPPORTED_DEVICE_ID Code = 309
	// 不支持的设备名称
	Code_UNSUPPORTED_DEVICE_NAME Code = 310
	// 不支持的设备版本
	Code_UNSUPPORTED_DEVICE_VERSION Code = 311
	// 不支持的设备类型
	Code_UNSUPPORTED_DEVICE_TYPE Code = 312
	// 不支持的设备类别
	Code_UNSUPPORTED_DEVICE_CATEGORY Code = 313
	// 不支持的设备参数
	Code_UNSUPPORTED_DEVICE_PARAMETER Code = 314
	// 不支持的设备配置
	Code_UNSUPPORTED_DEVICE_CONFIGURATION Code = 315
	// 重复的设备
	Code_DUPLICATE_DEVICE Code = 316
	// 重复的设备ID
	Code_DUPLICATE_DEVICE_ID Code = 317
	// 重复的设备名称
	Code_DUPLICATE_DEVICE_NAME Code = 318
	// 重复的设备版本
	Code_DUPLICATE_DEVICE_VERSION Code = 319
	// 重复的设备类型
	Code_DUPLICATE_DEVICE_TYPE Code = 320
	// 重复的设备类别
	Code_DUPLICATE_DEVICE_CATEGORY Code = 321
	// 重复的设备参数
	Code_DUPLICATE_DEVICE_PARAMETER Code = 322
	// 重复的设备配置
	Code_DUPLICATE_DEVICE_CONFIGURATION Code = 323
	// 设备为必填参数
	Code_DEVICE_IS_REQUIRED_PARAMETER Code = 324
	// 设备ID为必填参数
	Code_DEVICE_ID_IS_REQUIRED_PARAMETER Code = 325
	// 设备名称为必填参数
	Code_DEVICE_NAME_IS_REQUIRED_PARAMETER Code = 326
	// 设备版本为必填参数
	Code_DEVICE_VERSION_IS_REQUIRED_PARAMETER Code = 327
	// 设备类型为必填参数
	Code_DEVICE_TYPE_IS_REQUIRED_PARAMETER Code = 328
	// 设备类别为必填参数
	Code_DEVICE_CATEGORY_IS_REQUIRED_PARAMETER Code = 329
	// 设备参数为必填参数
	Code_DEVICE_PARAMETER_ARE_MANDATORY Code = 330
	// 设备配置为必填参数
	Code_DEVICE_CONFIGURATION_IS_REQUIRED_PARAMETER Code = 331
	// 设备已禁用
	Code_DEVICE_DISABLED Code = 332
	// 设备已启用
	Code_DEVICE_ENABLED Code = 333
	// 设备已弃用
	Code_DEVICE_DEPRECATED Code = 334
	// 设备不存在
	Code_DEVICE_DOES_NOT_EXIST Code = 335
	// 设备已经存在
	Code_DEVICE_ALREADY_EXISTS Code = 336
	// 设备无法匹配
	Code_DEVICE_CANNOT_BE_MATCHED Code = 337
	// 设备添加成功
	Code_DEVICE_ADD_SUCCESSFULLY Code = 338
	// 设备删除成功
	Code_DEVICE_DELETE_SUCCESSFULLY Code = 339
	// 设备修改成功
	Code_DEVICE_MODIFY_SUCCESSFULLY Code = 340
	// 设备启用成功
	Code_DEVICE_ENABLE_SUCCESSFULLY Code = 341
	// 设备禁用成功
	Code_DEVICE_DISABLE_SUCCESSFULLY Code = 342
	// 设备添加失败
	Code_DEVICE_ADD_FAILED Code = 343
	// 设备删除失败
	Code_DEVICE_DELETE_FAILED Code = 344
	// 设备修改失败
	Code_DEVICE_MODIFY_FAILED Code = 345
	// 设备启用失败
	Code_DEVICE_ENABLE_FAILED Code = 346
	// 设备禁用失败
	Code_DEVICE_DISABLE_FAILED Code = 347
	// 无效的指令
	Code_INVALID_COMMAND Code = 400
	// 无效的指令ID
	Code_INVALID_COMMAND_ID Code = 401
	// 无效的指令名称
	Code_INVALID_COMMAND_NAME Code = 402
	// 无效的指令版本
	Code_INVALID_COMMAND_VERSION Code = 403
	// 无效的指令类型
	Code_INVALID_COMMAND_TYPE Code = 404
	// 无效的指令类别
	Code_INVALID_COMMAND_CATEGORY Code = 405
	// 无效的指令参数
	Code_INVALID_COMMAND_PARAMETER Code = 406
	// 无效的指令配置
	Code_INVALID_COMMAND_CONFIGURATION Code = 407
	// 不支持的指令
	Code_UNSUPPORTED_COMMAND Code = 408
	// 不支持的指令ID
	Code_UNSUPPORTED_COMMAND_ID Code = 409
	// 不支持的指令名称
	Code_UNSUPPORTED_COMMAND_NAME Code = 410
	// 不支持的指令版本
	Code_UNSUPPORTED_COMMAND_VERSION Code = 411
	// 不支持的指令类型
	Code_UNSUPPORTED_COMMAND_TYPE Code = 412
	// 不支持的指令类别
	Code_UNSUPPORTED_COMMAND_CATEGORY Code = 413
	// 不支持的指令参数
	Code_UNSUPPORTED_COMMAND_PARAMETER Code = 414
	// 不支持的指令配置
	Code_UNSUPPORTED_COMMAND_CONFIGURATION Code = 415
	// 重复的指令
	Code_DUPLICATE_COMMAND Code = 416
	// 重复的指令ID
	Code_DUPLICATE_COMMAND_ID Code = 417
	// 重复的指令名称
	Code_DUPLICATE_COMMAND_NAME Code = 418
	// 重复的指令版本
	Code_DUPLICATE_COMMAND_VERSION Code = 419
	// 重复的指令类型
	Code_DUPLICATE_COMMAND_TYPE Code = 420
	// 重复的指令类别
	Code_DUPLICATE_COMMAND_CATEGORY Code = 421
	// 重复的指令参数
	Code_DUPLICATE_COMMAND_PARAMETER Code = 422
	// 重复的指令配置
	Code_DUPLICATE_COMMAND_CONFIGURATION Code = 423
	// 指令为必填参数
	Code_COMMAND_IS_REQUIRED_PARAMETER Code = 424
	// 指令ID为必填参数
	Code_COMMAND_ID_IS_REQUIRED_PARAMETER Code = 425
	// 指令名称为必填参数
	Code_COMMAND_NAME_IS_REQUIRED_PARAMETER Code = 426
	// 指令版本为必填参数
	Code_COMMAND_VERSION_IS_REQUIRED_PARAMETER Code = 427
	// 指令类型为必填参数
	Code_COMMAND_TYPE_IS_REQUIRED_PARAMETER Code = 428
	// 指令类别为必填参数
	Code_COMMAND_CATEGORY_IS_REQUIRED_PARAMETER Code = 429
	// 指令参数为必填参数
	Code_COMMAND_PARAMETER_ARE_MANDATORY Code = 430
	// 指令配置为必填参数
	Code_COMMAND_CONFIGURATION_IS_REQUIRED_PARAMETER Code = 431
	// 指令已禁用
	Code_COMMAND_DISABLED Code = 432
	// 指令已启用
	Code_COMMAND_ENABLED Code = 433
	// 指令已弃用
	Code_COMMAND_DEPRECATED Code = 434
	// 指令不存在
	Code_COMMAND_DOES_NOT_EXIST Code = 435
	// 指令已经存在
	Code_COMMAND_ALREADY_EXISTS Code = 436
	// 指令无法匹配
	Code_COMMAND_CANNOT_BE_MATCHED Code = 437
	// 指令添加成功
	Code_COMMAND_ADD_SUCCESSFULLY Code = 438
	// 指令删除成功
	Code_COMMAND_DELETE_SUCCESSFULLY Code = 439
	// 指令修改成功
	Code_COMMAND_MODIFY_SUCCESSFULLY Code = 440
	// 指令启用成功
	Code_COMMAND_ENABLE_SUCCESSFULLY Code = 441
	// 指令禁用成功
	Code_COMMAND_DISABLE_SUCCESSFULLY Code = 442
	// 指令添加失败
	Code_COMMAND_ADD_FAILED Code = 443
	// 指令删除失败
	Code_COMMAND_DELETE_FAILED Code = 444
	// 指令修改失败
	Code_COMMAND_MODIFY_FAILED Code = 445
	// 指令启用失败
	Code_COMMAND_ENABLE_FAILED Code = 446
	// 指令禁用失败
	Code_COMMAND_DISABLE_FAILED Code = 447
	// 无效的指标
	Code_INVALID_METRIC Code = 500
	// 无效的指标ID
	Code_INVALID_METRIC_ID Code = 501
	// 无效的指标名称
	Code_INVALID_METRIC_NAME Code = 502
	// 无效的指标版本
	Code_INVALID_METRIC_VERSION Code = 503
	// 无效的指标类型
	Code_INVALID_METRIC_TYPE Code = 504
	// 无效的指标类别
	Code_INVALID_METRIC_CATEGORY Code = 505
	// 无效的指标参数
	Code_INVALID_METRIC_PARAMETER Code = 506
	// 无效的指标配置
	Code_INVALID_METRIC_CONFIGURATION Code = 507
	// 不支持的指标
	Code_UNSUPPORTED_METRIC Code = 508
	// 不支持的指标ID
	Code_UNSUPPORTED_METRIC_ID Code = 509
	// 不支持的指标名称
	Code_UNSUPPORTED_METRIC_NAME Code = 510
	// 不支持的指标版本
	Code_UNSUPPORTED_METRIC_VERSION Code = 511
	// 不支持的指标类型
	Code_UNSUPPORTED_METRIC_TYPE Code = 512
	// 不支持的指标类别
	Code_UNSUPPORTED_METRIC_CATEGORY Code = 513
	// 不支持的指标参数
	Code_UNSUPPORTED_METRIC_PARAMETER Code = 514
	// 不支持的指标配置
	Code_UNSUPPORTED_METRIC_CONFIGURATION Code = 515
	// 重复的指标
	Code_DUPLICATE_METRIC Code = 516
	// 重复的指标ID
	Code_DUPLICATE_METRIC_ID Code = 517
	// 重复的指标名称
	Code_DUPLICATE_METRIC_NAME Code = 518
	// 重复的指标版本
	Code_DUPLICATE_METRIC_VERSION Code = 519
	// 重复的指标类型
	Code_DUPLICATE_METRIC_TYPE Code = 520
	// 重复的指标类别
	Code_DUPLICATE_METRIC_CATEGORY Code = 521
	// 重复的指标参数
	Code_DUPLICATE_METRIC_PARAMETER Code = 522
	// 重复的指标配置
	Code_DUPLICATE_METRIC_CONFIGURATION Code = 523
	// 指标为必填参数
	Code_METRIC_IS_REQUIRED_PARAMETER Code = 524
	// 指标ID为必填参数
	Code_METRIC_ID_IS_REQUIRED_PARAMETER Code = 525
	// 指标名称为必填参数
	Code_METRIC_NAME_IS_REQUIRED_PARAMETER Code = 526
	// 指标版本为必填参数
	Code_METRIC_VERSION_IS_REQUIRED_PARAMETER Code = 527
	// 指标类型为必填参数
	Code_METRIC_TYPE_IS_REQUIRED_PARAMETER Code = 528
	// 指标类别为必填参数
	Code_METRIC_CATEGORY_IS_REQUIRED_PARAMETER Code = 529
	// 指标参数为必填参数
	Code_METRIC_PARAMETER_ARE_MANDATORY Code = 530
	// 指标配置为必填参数
	Code_METRIC_CONFIGURATION_IS_REQUIRED_PARAMETER Code = 531
	// 指标已禁用
	Code_METRIC_DISABLED Code = 532
	// 指标已启用
	Code_METRIC_ENABLED Code = 533
	// 指标已弃用
	Code_METRIC_DEPRECATED Code = 534
	// 指标不存在
	Code_METRIC_DOES_NOT_EXIST Code = 535
	// 指标已经存在
	Code_METRIC_ALREADY_EXISTS Code = 536
	// 指标无法匹配
	Code_METRIC_CANNOT_BE_MATCHED Code = 537
	// 指标添加成功
	Code_METRIC_ADD_SUCCESSFULLY Code = 538
	// 指标删除成功
	Code_METRIC_DELETE_SUCCESSFULLY Code = 539
	// 指标修改成功
	Code_METRIC_MODIFY_SUCCESSFULLY Code = 540
	// 指标启用成功
	Code_METRIC_ENABLE_SUCCESSFULLY Code = 541
	// 指标禁用成功
	Code_METRIC_DISABLE_SUCCESSFULLY Code = 542
	// 指标添加失败
	Code_METRIC_ADD_FAILED Code = 543
	// 指标删除失败
	Code_METRIC_DELETE_FAILED Code = 544
	// 指标修改失败
	Code_METRIC_MODIFY_FAILED Code = 545
	// 指标启用失败
	Code_METRIC_ENABLE_FAILED Code = 546
	// 指标禁用失败
	Code_METRIC_DISABLE_FAILED Code = 547
	// 无效的规则
	Code_INVALID_REGULATION Code = 600
	// 无效的规则ID
	Code_INVALID_REGULATION_ID Code = 601
	// 无效的规则名称
	Code_INVALID_REGULATION_NAME Code = 602
	// 无效的规则版本
	Code_INVALID_REGULATION_VERSION Code = 603
	// 无效的规则类型
	Code_INVALID_REGULATION_TYPE Code = 604
	// 无效的规则类别
	Code_INVALID_REGULATION_CATEGORY Code = 605
	// 无效的规则参数
	Code_INVALID_REGULATION_PARAMETER Code = 606
	// 无效的规则配置
	Code_INVALID_REGULATION_CONFIGURATION Code = 607
	// 不支持的规则
	Code_UNSUPPORTED_REGULATION Code = 608
	// 不支持的规则ID
	Code_UNSUPPORTED_REGULATION_ID Code = 609
	// 不支持的规则名称
	Code_UNSUPPORTED_REGULATION_NAME Code = 610
	// 不支持的规则版本
	Code_UNSUPPORTED_REGULATION_VERSION Code = 611
	// 不支持的规则类型
	Code_UNSUPPORTED_REGULATION_TYPE Code = 612
	// 不支持的规则类别
	Code_UNSUPPORTED_REGULATION_CATEGORY Code = 613
	// 不支持的规则参数
	Code_UNSUPPORTED_REGULATION_PARAMETER Code = 614
	// 不支持的规则配置
	Code_UNSUPPORTED_REGULATION_CONFIGURATION Code = 615
	// 重复的规则
	Code_DUPLICATE_REGULATION Code = 616
	// 重复的规则ID
	Code_DUPLICATE_REGULATION_ID Code = 617
	// 重复的规则名称
	Code_DUPLICATE_REGULATION_NAME Code = 618
	// 重复的规则版本
	Code_DUPLICATE_REGULATION_VERSION Code = 619
	// 重复的规则类型
	Code_DUPLICATE_REGULATION_TYPE Code = 620
	// 重复的规则类别
	Code_DUPLICATE_REGULATION_CATEGORY Code = 621
	// 重复的规则参数
	Code_DUPLICATE_REGULATION_PARAMETER Code = 622
	// 重复的规则配置
	Code_DUPLICATE_REGULATION_CONFIGURATION Code = 623
	// 规则为必填参数
	Code_REGULATION_IS_REQUIRED_PARAMETER Code = 624
	// 规则ID为必填参数
	Code_REGULATION_ID_IS_REQUIRED_PARAMETER Code = 625
	// 规则名称为必填参数
	Code_REGULATION_NAME_IS_REQUIRED_PARAMETER Code = 626
	// 规则版本为必填参数
	Code_REGULATION_VERSION_IS_REQUIRED_PARAMETER Code = 627
	// 规则类型为必填参数
	Code_REGULATION_TYPE_IS_REQUIRED_PARAMETER Code = 628
	// 规则类别为必填参数
	Code_REGULATION_CATEGORY_IS_REQUIRED_PARAMETER Code = 629
	// 规则参数为必填参数
	Code_REGULATION_PARAMETER_ARE_MANDATORY Code = 630
	// 规则配置为必填参数
	Code_REGULATION_CONFIGURATION_IS_REQUIRED_PARAMETER Code = 631
	// 规则已禁用
	Code_REGULATION_DISABLED Code = 632
	// 规则已启用
	Code_REGULATION_ENABLED Code = 633
	// 规则已弃用
	Code_REGULATION_DEPRECATED Code = 634
	// 规则不存在
	Code_REGULATION_DOES_NOT_EXIST Code = 635
	// 规则已经存在
	Code_REGULATION_ALREADY_EXISTS Code = 636
	// 规则无法匹配
	Code_REGULATION_CANNOT_BE_MATCHED Code = 637
	// 规则添加成功
	Code_REGULATION_ADD_SUCCESSFULLY Code = 638
	// 规则删除成功
	Code_REGULATION_DELETE_SUCCESSFULLY Code = 639
	// 规则修改成功
	Code_REGULATION_MODIFY_SUCCESSFULLY Code = 640
	// 规则启用成功
	Code_REGULATION_ENABLE_SUCCESSFULLY Code = 641
	// 规则禁用成功
	Code_REGULATION_DISABLE_SUCCESSFULLY Code = 642
	// 规则添加失败
	Code_REGULATION_ADD_FAILED Code = 643
	// 规则删除失败
	Code_REGULATION_DELETE_FAILED Code = 644
	// 规则修改失败
	Code_REGULATION_MODIFY_FAILED Code = 645
	// 规则启用失败
	Code_REGULATION_ENABLE_FAILED Code = 646
	// 规则禁用失败
	Code_REGULATION_DISABLE_FAILED Code = 647
	// 无效的绑定
	Code_INVALID_BINDING Code = 700
	// 无效的绑定ID
	Code_INVALID_BINDING_ID Code = 701
	// 无效的绑定名称
	Code_INVALID_BINDING_NAME Code = 702
	// 无效的绑定版本
	Code_INVALID_BINDING_VERSION Code = 703
	// 无效的绑定类型
	Code_INVALID_BINDING_TYPE Code = 704
	// 无效的绑定类别
	Code_INVALID_BINDING_CATEGORY Code = 705
	// 无效的绑定参数
	Code_INVALID_BINDING_PARAMETER Code = 706
	// 无效的绑定配置
	Code_INVALID_BINDING_CONFIGURATION Code = 707
	// 不支持的绑定
	Code_UNSUPPORTED_BINDING Code = 708
	// 不支持的绑定ID
	Code_UNSUPPORTED_BINDING_ID Code = 709
	// 不支持的绑定名称
	Code_UNSUPPORTED_BINDING_NAME Code = 710
	// 不支持的绑定版本
	Code_UNSUPPORTED_BINDING_VERSION Code = 711
	// 不支持的绑定类型
	Code_UNSUPPORTED_BINDING_TYPE Code = 712
	// 不支持的绑定类别
	Code_UNSUPPORTED_BINDING_CATEGORY Code = 713
	// 不支持的绑定参数
	Code_UNSUPPORTED_BINDING_PARAMETER Code = 714
	// 不支持的绑定配置
	Code_UNSUPPORTED_BINDING_CONFIGURATION Code = 715
	// 重复的绑定
	Code_DUPLICATE_BINDING Code = 716
	// 重复的绑定ID
	Code_DUPLICATE_BINDING_ID Code = 717
	// 重复的绑定名称
	Code_DUPLICATE_BINDING_NAME Code = 718
	// 重复的绑定版本
	Code_DUPLICATE_BINDING_VERSION Code = 719
	// 重复的绑定类型
	Code_DUPLICATE_BINDING_TYPE Code = 720
	// 重复的绑定类别
	Code_DUPLICATE_BINDING_CATEGORY Code = 721
	// 重复的绑定参数
	Code_DUPLICATE_BINDING_PARAMETER Code = 722
	// 重复的绑定配置
	Code_DUPLICATE_BINDING_CONFIGURATION Code = 723
	// 绑定为必填参数
	Code_BINDING_IS_REQUIRED_PARAMETER Code = 724
	// 绑定ID为必填参数
	Code_BINDING_ID_IS_REQUIRED_PARAMETER Code = 725
	// 绑定名称为必填参数
	Code_BINDING_NAME_IS_REQUIRED_PARAMETER Code = 726
	// 绑定版本为必填参数
	Code_BINDING_VERSION_IS_REQUIRED_PARAMETER Code = 727
	// 绑定类型为必填参数
	Code_BINDING_TYPE_IS_REQUIRED_PARAMETER Code = 728
	// 绑定类别为必填参数
	Code_BINDING_CATEGORY_IS_REQUIRED_PARAMETER Code = 729
	// 绑定参数为必填参数
	Code_BINDING_PARAMETER_ARE_MANDATORY Code = 730
	// 绑定配置为必填参数
	Code_BINDING_CONFIGURATION_IS_REQUIRED_PARAMETER Code = 731
	// 绑定已禁用
	Code_BINDING_DISABLED Code = 732
	// 绑定已启用
	Code_BINDING_ENABLED Code = 733
	// 绑定已弃用
	Code_BINDING_DEPRECATED Code = 734
	// 绑定不存在
	Code_BINDING_DOES_NOT_EXIST Code = 735
	// 绑定已经存在
	Code_BINDING_ALREADY_EXISTS Code = 736
	// 绑定无法匹配
	Code_BINDING_CANNOT_BE_MATCHED Code = 737
	// 绑定添加成功
	Code_BINDING_ADD_SUCCESSFULLY Code = 738
	// 绑定删除成功
	Code_BINDING_DELETE_SUCCESSFULLY Code = 739
	// 绑定修改成功
	Code_BINDING_MODIFY_SUCCESSFULLY Code = 740
	// 绑定启用成功
	Code_BINDING_ENABLE_SUCCESSFULLY Code = 741
	// 绑定禁用成功
	Code_BINDING_DISABLE_SUCCESSFULLY Code = 742
	// 绑定添加失败
	Code_BINDING_ADD_FAILED Code = 743
	// 绑定删除失败
	Code_BINDING_DELETE_FAILED Code = 744
	// 绑定修改失败
	Code_BINDING_MODIFY_FAILED Code = 745
	// 绑定启用失败
	Code_BINDING_ENABLE_FAILED Code = 746
	// 绑定禁用失败
	Code_BINDING_DISABLE_FAILED Code = 747
	// 无效的操作
	Code_INVALID_OPERATE Code = 800
	// 无效的操作ID
	Code_INVALID_OPERATE_ID Code = 801
	// 无效的操作名称
	Code_INVALID_OPERATE_NAME Code = 802
	// 无效的操作版本
	Code_INVALID_OPERATE_VERSION Code = 803
	// 无效的操作类型
	Code_INVALID_OPERATE_TYPE Code = 804
	// 无效的操作类别
	Code_INVALID_OPERATE_CATEGORY Code = 805
	// 无效的操作参数
	Code_INVALID_OPERATE_PARAMETER Code = 806
	// 无效的操作配置
	Code_INVALID_OPERATE_CONFIGURATION Code = 807
	// 不支持的操作
	Code_UNSUPPORTED_OPERATE Code = 808
	// 不支持的操作ID
	Code_UNSUPPORTED_OPERATE_ID Code = 809
	// 不支持的操作名称
	Code_UNSUPPORTED_OPERATE_NAME Code = 810
	// 不支持的操作版本
	Code_UNSUPPORTED_OPERATE_VERSION Code = 811
	// 不支持的操作类型
	Code_UNSUPPORTED_OPERATE_TYPE Code = 812
	// 不支持的操作类别
	Code_UNSUPPORTED_OPERATE_CATEGORY Code = 813
	// 不支持的操作参数
	Code_UNSUPPORTED_OPERATE_PARAMETER Code = 814
	// 不支持的操作配置
	Code_UNSUPPORTED_OPERATE_CONFIGURATION Code = 815
	// 重复的操作
	Code_DUPLICATE_OPERATE Code = 816
	// 重复的操作ID
	Code_DUPLICATE_OPERATE_ID Code = 817
	// 重复的操作名称
	Code_DUPLICATE_OPERATE_NAME Code = 818
	// 重复的操作版本
	Code_DUPLICATE_OPERATE_VERSION Code = 819
	// 重复的操作类型
	Code_DUPLICATE_OPERATE_TYPE Code = 820
	// 重复的操作类别
	Code_DUPLICATE_OPERATE_CATEGORY Code = 821
	// 重复的操作参数
	Code_DUPLICATE_OPERATE_PARAMETER Code = 822
	// 重复的操作配置
	Code_DUPLICATE_OPERATE_CONFIGURATION Code = 823
	// 操作为必填参数
	Code_OPERATE_IS_REQUIRED_PARAMETER Code = 824
	// 操作ID为必填参数
	Code_OPERATE_ID_IS_REQUIRED_PARAMETER Code = 825
	// 操作名称为必填参数
	Code_OPERATE_NAME_IS_REQUIRED_PARAMETER Code = 826
	// 操作版本为必填参数
	Code_OPERATE_VERSION_IS_REQUIRED_PARAMETER Code = 827
	// 操作类型为必填参数
	Code_OPERATE_TYPE_IS_REQUIRED_PARAMETER Code = 828
	// 操作类别为必填参数
	Code_OPERATE_CATEGORY_IS_REQUIRED_PARAMETER Code = 829
	// 操作参数为必填参数
	Code_OPERATE_PARAMETER_ARE_MANDATORY Code = 830
	// 操作配置为必填参数
	Code_OPERATE_CONFIGURATION_IS_REQUIRED_PARAMETER Code = 831
	// 操作已禁用
	Code_OPERATE_DISABLED Code = 832
	// 操作已启用
	Code_OPERATE_ENABLED Code = 833
	// 操作已弃用
	Code_OPERATE_DEPRECATED Code = 834
	// 操作不存在
	Code_OPERATE_DOES_NOT_EXIST Code = 835
	// 操作已经存在
	Code_OPERATE_ALREADY_EXISTS Code = 836
	// 操作无法匹配
	Code_OPERATE_CANNOT_BE_MATCHED Code = 837
	// 操作添加成功
	Code_OPERATE_ADD_SUCCESSFULLY Code = 838
	// 操作删除成功
	Code_OPERATE_DELETE_SUCCESSFULLY Code = 839
	// 操作修改成功
	Code_OPERATE_MODIFY_SUCCESSFULLY Code = 840
	// 操作启用成功
	Code_OPERATE_ENABLE_SUCCESSFULLY Code = 841
	// 操作禁用成功
	Code_OPERATE_DISABLE_SUCCESSFULLY Code = 842
	// 操作添加失败
	Code_OPERATE_ADD_FAILED Code = 843
	// 操作删除失败
	Code_OPERATE_DELETE_FAILED Code = 844
	// 操作修改失败
	Code_OPERATE_MODIFY_FAILED Code = 845
	// 操作启用失败
	Code_OPERATE_ENABLE_FAILED Code = 846
	// 操作禁用失败
	Code_OPERATE_DISABLE_FAILED Code = 847
	// 无效的连接
	Code_INVALID_CONNECT Code = 900
	// 无效的连接ID
	Code_INVALID_CONNECT_ID Code = 901
	// 无效的连接名称
	Code_INVALID_CONNECT_NAME Code = 902
	// 无效的连接版本
	Code_INVALID_CONNECT_VERSION Code = 903
	// 无效的连接类型
	Code_INVALID_CONNECT_TYPE Code = 904
	// 无效的连接类别
	Code_INVALID_CONNECT_CATEGORY Code = 905
	// 无效的连接参数
	Code_INVALID_CONNECT_PARAMETER Code = 906
	// 无效的连接配置
	Code_INVALID_CONNECT_CONFIGURATION Code = 907
	// 不支持的连接
	Code_UNSUPPORTED_CONNECT Code = 908
	// 不支持的连接ID
	Code_UNSUPPORTED_CONNECT_ID Code = 909
	// 不支持的连接名称
	Code_UNSUPPORTED_CONNECT_NAME Code = 910
	// 不支持的连接版本
	Code_UNSUPPORTED_CONNECT_VERSION Code = 911
	// 不支持的连接类型
	Code_UNSUPPORTED_CONNECT_TYPE Code = 912
	// 不支持的连接类别
	Code_UNSUPPORTED_CONNECT_CATEGORY Code = 913
	// 不支持的连接参数
	Code_UNSUPPORTED_CONNECT_PARAMETER Code = 914
	// 不支持的连接配置
	Code_UNSUPPORTED_CONNECT_CONFIGURATION Code = 915
	// 重复的连接
	Code_DUPLICATE_CONNECT Code = 916
	// 重复的连接ID
	Code_DUPLICATE_CONNECT_ID Code = 917
	// 重复的连接名称
	Code_DUPLICATE_CONNECT_NAME Code = 918
	// 重复的连接版本
	Code_DUPLICATE_CONNECT_VERSION Code = 919
	// 重复的连接类型
	Code_DUPLICATE_CONNECT_TYPE Code = 920
	// 重复的连接类别
	Code_DUPLICATE_CONNECT_CATEGORY Code = 921
	// 重复的连接参数
	Code_DUPLICATE_CONNECT_PARAMETER Code = 922
	// 重复的连接配置
	Code_DUPLICATE_CONNECT_CONFIGURATION Code = 923
	// 连接为必填参数
	Code_CONNECT_IS_REQUIRED_PARAMETER Code = 924
	// 连接ID为必填参数
	Code_CONNECT_ID_IS_REQUIRED_PARAMETER Code = 925
	// 连接名称为必填参数
	Code_CONNECT_NAME_IS_REQUIRED_PARAMETER Code = 926
	// 连接版本为必填参数
	Code_CONNECT_VERSION_IS_REQUIRED_PARAMETER Code = 927
	// 连接类型为必填参数
	Code_CONNECT_TYPE_IS_REQUIRED_PARAMETER Code = 928
	// 连接类别为必填参数
	Code_CONNECT_CATEGORY_IS_REQUIRED_PARAMETER Code = 929
	// 连接参数为必填参数
	Code_CONNECT_PARAMETER_ARE_MANDATORY Code = 930
	// 连接配置为必填参数
	Code_CONNECT_CONFIGURATION_IS_REQUIRED_PARAMETER Code = 931
	// 连接已禁用
	Code_CONNECT_DISABLED Code = 932
	// 连接已启用
	Code_CONNECT_ENABLED Code = 933
	// 连接已弃用
	Code_CONNECT_DEPRECATED Code = 934
	// 连接不存在
	Code_CONNECT_DOES_NOT_EXIST Code = 935
	// 连接已经存在
	Code_CONNECT_ALREADY_EXISTS Code = 936
	// 连接无法匹配
	Code_CONNECT_CANNOT_BE_MATCHED Code = 937
	// 连接添加成功
	Code_CONNECT_ADD_SUCCESSFULLY Code = 938
	// 连接删除成功
	Code_CONNECT_DELETE_SUCCESSFULLY Code = 939
	// 连接修改成功
	Code_CONNECT_MODIFY_SUCCESSFULLY Code = 940
	// 连接启用成功
	Code_CONNECT_ENABLE_SUCCESSFULLY Code = 941
	// 连接禁用成功
	Code_CONNECT_DISABLE_SUCCESSFULLY Code = 942
	// 连接添加失败
	Code_CONNECT_ADD_FAILED Code = 943
	// 连接删除失败
	Code_CONNECT_DELETE_FAILED Code = 944
	// 连接修改失败
	Code_CONNECT_MODIFY_FAILED Code = 945
	// 连接启用失败
	Code_CONNECT_ENABLE_FAILED Code = 946
	// 连接禁用失败
	Code_CONNECT_DISABLE_FAILED Code = 947
)

func (Code) Descriptor

func (Code) Descriptor() protoreflect.EnumDescriptor

func (Code) Enum

func (x Code) Enum() *Code

func (Code) EnumDescriptor deprecated

func (Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use Code.Descriptor instead.

func (Code) Number

func (x Code) Number() protoreflect.EnumNumber

func (Code) String

func (x Code) String() string

func (Code) Type

func (Code) Type() protoreflect.EnumType

type Collect

type Collect struct {

	// 设备ID
	DeviceId uint64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// 指标名称
	MetricName string `protobuf:"bytes,2,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
	// 或者选择使用绑定ID
	BindId uint64 `protobuf:"varint,3,opt,name=bind_id,json=bindId,proto3" json:"bind_id,omitempty"`
	// contains filtered or unexported fields
}

采集

func (*Collect) Descriptor deprecated

func (*Collect) Descriptor() ([]byte, []int)

Deprecated: Use Collect.ProtoReflect.Descriptor instead.

func (*Collect) GetBindId

func (x *Collect) GetBindId() uint64

func (*Collect) GetDeviceId

func (x *Collect) GetDeviceId() uint64

func (*Collect) GetMetricName

func (x *Collect) GetMetricName() string

func (*Collect) ProtoMessage

func (*Collect) ProtoMessage()

func (*Collect) ProtoReflect

func (x *Collect) ProtoReflect() protoreflect.Message

func (*Collect) Reset

func (x *Collect) Reset()

func (*Collect) String

func (x *Collect) String() string

type CollectRequest

type CollectRequest struct {
	Collect *Collect `protobuf:"bytes,1,opt,name=collect,proto3" json:"collect,omitempty"`
	// contains filtered or unexported fields
}

采集参数

func (*CollectRequest) Descriptor deprecated

func (*CollectRequest) Descriptor() ([]byte, []int)

Deprecated: Use CollectRequest.ProtoReflect.Descriptor instead.

func (*CollectRequest) GetCollect

func (x *CollectRequest) GetCollect() *Collect

func (*CollectRequest) ProtoMessage

func (*CollectRequest) ProtoMessage()

func (*CollectRequest) ProtoReflect

func (x *CollectRequest) ProtoReflect() protoreflect.Message

func (*CollectRequest) Reset

func (x *CollectRequest) Reset()

func (*CollectRequest) String

func (x *CollectRequest) String() string

type Command

type Command struct {
	// contains filtered or unexported fields
}

指令

func (*Command) Descriptor deprecated

func (*Command) Descriptor() ([]byte, []int)

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

func (x *Command) ProtoReflect() protoreflect.Message

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

type CommandRequest

type CommandRequest struct {
	Command *Command `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

指令参数

func (*CommandRequest) Descriptor deprecated

func (*CommandRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommandRequest.ProtoReflect.Descriptor instead.

func (*CommandRequest) GetCommand

func (x *CommandRequest) GetCommand() *Command

func (*CommandRequest) ProtoMessage

func (*CommandRequest) ProtoMessage()

func (*CommandRequest) ProtoReflect

func (x *CommandRequest) ProtoReflect() protoreflect.Message

func (*CommandRequest) Reset

func (x *CommandRequest) Reset()

func (*CommandRequest) String

func (x *CommandRequest) String() string

type CommandsRequest

type CommandsRequest struct {
	Commands []*Command `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
	// contains filtered or unexported fields
}

指令列表参数

func (*CommandsRequest) Descriptor deprecated

func (*CommandsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommandsRequest.ProtoReflect.Descriptor instead.

func (*CommandsRequest) GetCommands

func (x *CommandsRequest) GetCommands() []*Command

func (*CommandsRequest) ProtoMessage

func (*CommandsRequest) ProtoMessage()

func (*CommandsRequest) ProtoReflect

func (x *CommandsRequest) ProtoReflect() protoreflect.Message

func (*CommandsRequest) Reset

func (x *CommandsRequest) Reset()

func (*CommandsRequest) String

func (x *CommandsRequest) String() string

type Connect

type Connect struct {

	// 协议
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// 地址
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// 参数
	Parameters map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

连接

func (*Connect) Descriptor deprecated

func (*Connect) Descriptor() ([]byte, []int)

Deprecated: Use Connect.ProtoReflect.Descriptor instead.

func (*Connect) GetAddress

func (x *Connect) GetAddress() string

func (*Connect) GetParameters

func (x *Connect) GetParameters() map[string]string

func (*Connect) GetProtocol

func (x *Connect) GetProtocol() string

func (*Connect) ProtoMessage

func (*Connect) ProtoMessage()

func (*Connect) ProtoReflect

func (x *Connect) ProtoReflect() protoreflect.Message

func (*Connect) Reset

func (x *Connect) Reset()

func (*Connect) String

func (x *Connect) String() string

type ConnectRequest

type ConnectRequest struct {
	Connect *Connect `protobuf:"bytes,1,opt,name=connect,proto3" json:"connect,omitempty"`
	// contains filtered or unexported fields
}

连接测试参数

func (*ConnectRequest) Descriptor deprecated

func (*ConnectRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.

func (*ConnectRequest) GetConnect

func (x *ConnectRequest) GetConnect() *Connect

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) ProtoReflect

func (x *ConnectRequest) ProtoReflect() protoreflect.Message

func (*ConnectRequest) Reset

func (x *ConnectRequest) Reset()

func (*ConnectRequest) String

func (x *ConnectRequest) String() string

type ConnectsRequest

type ConnectsRequest struct {
	Connect []*Connect `protobuf:"bytes,1,rep,name=connect,proto3" json:"connect,omitempty"`
	// contains filtered or unexported fields
}

批量连接测试参数

func (*ConnectsRequest) Descriptor deprecated

func (*ConnectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConnectsRequest.ProtoReflect.Descriptor instead.

func (*ConnectsRequest) GetConnect

func (x *ConnectsRequest) GetConnect() []*Connect

func (*ConnectsRequest) ProtoMessage

func (*ConnectsRequest) ProtoMessage()

func (*ConnectsRequest) ProtoReflect

func (x *ConnectsRequest) ProtoReflect() protoreflect.Message

func (*ConnectsRequest) Reset

func (x *ConnectsRequest) Reset()

func (*ConnectsRequest) String

func (x *ConnectsRequest) String() string

type Content

type Content struct {

	// 索引
	Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// 标签
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// 标签值
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

详情内容

func (*Content) Descriptor deprecated

func (*Content) Descriptor() ([]byte, []int)

Deprecated: Use Content.ProtoReflect.Descriptor instead.

func (*Content) GetIndex

func (x *Content) GetIndex() uint64

func (*Content) GetLabel

func (x *Content) GetLabel() string

func (*Content) GetValue

func (x *Content) GetValue() string

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) ProtoReflect

func (x *Content) ProtoReflect() protoreflect.Message

func (*Content) Reset

func (x *Content) Reset()

func (*Content) String

func (x *Content) String() string

type Detail

type Detail struct {

	// 详情描述
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// 详情内容列表
	Contents []*Content `protobuf:"bytes,2,rep,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

详情信息

func (*Detail) Descriptor deprecated

func (*Detail) Descriptor() ([]byte, []int)

Deprecated: Use Detail.ProtoReflect.Descriptor instead.

func (*Detail) GetContents

func (x *Detail) GetContents() []*Content

func (*Detail) GetDescription

func (x *Detail) GetDescription() string

func (*Detail) ProtoMessage

func (*Detail) ProtoMessage()

func (*Detail) ProtoReflect

func (x *Detail) ProtoReflect() protoreflect.Message

func (*Detail) Reset

func (x *Detail) Reset()

func (*Detail) String

func (x *Detail) String() string

type Device

type Device struct {
	// contains filtered or unexported fields
}

设备

func (*Device) Descriptor deprecated

func (*Device) Descriptor() ([]byte, []int)

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

func (x *Device) ProtoReflect() protoreflect.Message

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type DeviceRequest

type DeviceRequest struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

设备参数

func (*DeviceRequest) Descriptor deprecated

func (*DeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeviceRequest.ProtoReflect.Descriptor instead.

func (*DeviceRequest) GetDevice

func (x *DeviceRequest) GetDevice() *Device

func (*DeviceRequest) ProtoMessage

func (*DeviceRequest) ProtoMessage()

func (*DeviceRequest) ProtoReflect

func (x *DeviceRequest) ProtoReflect() protoreflect.Message

func (*DeviceRequest) Reset

func (x *DeviceRequest) Reset()

func (*DeviceRequest) String

func (x *DeviceRequest) String() string

type DevicesRequest

type DevicesRequest struct {
	Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

设备列表参数

func (*DevicesRequest) Descriptor deprecated

func (*DevicesRequest) Descriptor() ([]byte, []int)

Deprecated: Use DevicesRequest.ProtoReflect.Descriptor instead.

func (*DevicesRequest) GetDevices

func (x *DevicesRequest) GetDevices() []*Device

func (*DevicesRequest) ProtoMessage

func (*DevicesRequest) ProtoMessage()

func (*DevicesRequest) ProtoReflect

func (x *DevicesRequest) ProtoReflect() protoreflect.Message

func (*DevicesRequest) Reset

func (x *DevicesRequest) Reset()

func (*DevicesRequest) String

func (x *DevicesRequest) String() string

type GatewayClient

type GatewayClient interface {
	// 启用协议
	EnableProtocol(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量启用协议
	BatchEnableProtocol(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 禁用协议
	DisableProtocol(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量禁用协议
	BatchDisableProtocol(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 协议是否启用
	IsEnabledProtocol(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 协议是否禁用
	IsDisabledProtocol(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 协议是否支持
	IsSupportedProtocol(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用协议列表
	EnabledProtocols(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用协议列表
	DisabledProtocols(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 协议支持列表
	SupportedProtocols(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 协议产品列表
	ProtocolProducts(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用协议产品列表
	EnabledProtocolProducts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用协议产品列表
	DisabledProtocolProducts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持协议产品列表
	SupportedProtocolProducts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 协议设备列表
	ProtocolDevices(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用协议设备列表
	EnabledProtocolDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用协议设备列表
	DisabledProtocolDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持协议设备列表
	SupportedProtocolDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 协议指标列表
	ProtocolMetrics(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用协议指标列表
	EnabledProtocolMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用协议指标列表
	DisabledProtocolMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持协议指标列表
	SupportedProtocolMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 协议指令列表
	ProtocolCommands(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用协议指令列表
	EnabledProtocolCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用协议指令列表
	DisabledProtocolCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持协议指令列表
	SupportedProtocolCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 添加产品
	AddProduct(ctx context.Context, in *ProductRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量添加产品
	BatchAddProduct(ctx context.Context, in *ProductsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 删除产品
	RemoveProduct(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量删除产品
	BatchRemoveProduct(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 更新产品
	UpdateProduct(ctx context.Context, in *ProductRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量更新产品
	BatchUpdateProduct(ctx context.Context, in *ProductsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用产品
	EnableProduct(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量启用产品
	BatchEnableProduct(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 禁用产品
	DisableProduct(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量禁用产品
	BatchDisableProduct(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 查询产品
	GetProduct(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量查询产品
	BatchGetProduct(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 产品是否启用
	IsEnabledProduct(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 产品是否禁用
	IsDisabledProduct(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 产品是否支持
	IsSupportedProduct(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用产品列表
	EnabledProducts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用产品列表
	DisabledProducts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 产品支持列表
	SupportedProducts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 产品设备列表
	ProductDevices(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用产品设备列表
	EnabledProductDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用产品设备列表
	DisabledProductDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持产品设备列表
	SupportedProductDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 产品指标列表
	ProductMetrics(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用产品指标列表
	EnabledProductMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用产品指标列表
	DisabledProductMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持产品指标列表
	SupportedProductMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 产品指令列表
	ProductCommands(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用产品指令列表
	EnabledProductCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用产品指令列表
	DisabledProductCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持产品指令列表
	SupportedProductCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 添加设备
	AddDevice(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量添加设备
	BatchAddDevice(ctx context.Context, in *DevicesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 删除设备
	RemoveDevice(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量删除设备
	BatchRemoveDevice(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 更新设备
	UpdateDevice(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量更新设备
	BatchUpdateDevice(ctx context.Context, in *DevicesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用设备
	EnableDevice(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量启用设备
	BatchEnableDevice(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 禁用设备
	DisableDevice(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量禁用设备
	BatchDisableDevice(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 查询设备
	GetDevice(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量查询设备
	BatchGetDevice(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 设备是否启用
	IsEnabledDevice(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 设备是否禁用
	IsDisabledDevice(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 设备是否支持
	IsSupportedDevice(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用设备列表
	EnabledDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用设备列表
	DisabledDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 设备支持列表
	SupportedDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 设备指标列表
	DeviceMetrics(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用设备指标列表
	EnabledDeviceMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用设备指标列表
	DisabledDeviceMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持设备指标列表
	SupportedDeviceMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 设备指令列表
	DeviceCommands(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用设备指令列表
	EnabledDeviceCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用设备指令列表
	DisabledDeviceCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持设备指令列表
	SupportedDeviceCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 添加指标
	AddMetric(ctx context.Context, in *MetricRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量添加指标
	BatchAddMetric(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 删除指标
	RemoveMetric(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量删除指标
	BatchRemoveMetric(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 更新指标
	UpdateMetric(ctx context.Context, in *MetricRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量更新指标
	BatchUpdateMetric(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用指标
	EnableMetric(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量启用指标
	BatchEnableMetric(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 禁用指标
	DisableMetric(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量禁用指标
	BatchDisableMetric(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 查询指标
	GetMetric(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量查询指标
	BatchGetMetric(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 指标是否启用
	IsEnabledMetric(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 指标是否禁用
	IsDisabledMetric(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 指标是否支持
	IsSupportedMetric(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用指标列表
	EnabledMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用指标列表
	DisabledMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 指标支持列表
	SupportedMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 指标设备列表
	MetricDevices(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用指标设备列表
	EnabledMetricDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用指标设备列表
	DisabledMetricDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持指标设备列表
	SupportedMetricDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 添加指令
	AddCommand(ctx context.Context, in *CommandRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量添加指令
	BatchAddCommand(ctx context.Context, in *CommandsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 删除指令
	RemoveCommand(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量删除指令
	BatchRemoveCommand(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 更新指令
	UpdateCommand(ctx context.Context, in *CommandRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量更新指令
	BatchUpdateCommand(ctx context.Context, in *CommandsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用指令
	EnableCommand(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量启用指令
	BatchEnableCommand(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 禁用指令
	DisableCommand(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量禁用指令
	BatchDisableCommand(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 查询指令
	GetCommand(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量查询指令
	BatchGetCommand(ctx context.Context, in *NamesRequest, opts ...grpc.CallOption) (*Reply, error)
	// 指令是否启用
	IsEnabledCommand(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 指令是否禁用
	IsDisabledCommand(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 指令是否支持
	IsSupportedCommand(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用指令列表
	EnabledCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用指令列表
	DisabledCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 指令支持列表
	SupportedCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 指令设备列表
	CommandDevices(ctx context.Context, in *NameRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用指令设备列表
	EnabledCommandDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用指令设备列表
	DisabledCommandDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持指令设备列表
	SupportedCommandDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 添加绑定
	AddBind(ctx context.Context, in *BindRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量添加绑定
	BatchAddBind(ctx context.Context, in *BindsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 删除绑定
	RemoveBind(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量删除绑定
	BatchRemoveBind(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 更新绑定
	UpdateBind(ctx context.Context, in *BindRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量更新绑定
	BatchUpdateBind(ctx context.Context, in *BindsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用绑定
	EnableBind(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量启用绑定
	BatchEnableBind(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 禁用绑定
	DisableBind(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量禁用绑定
	BatchDisableBind(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 查询绑定
	GetBind(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量查询绑定
	BatchGetBind(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 绑定是否启用
	IsEnabledBind(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 绑定是否禁用
	IsDisabledBind(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 绑定是否支持
	IsSupportedBind(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用绑定列表
	EnabledBinds(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用绑定列表
	DisabledBinds(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 绑定支持列表
	SupportedBinds(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 绑定设备列表
	BindDevices(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用绑定设备列表
	EnabledBindDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用绑定设备列表
	DisabledBindDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持绑定设备列表
	SupportedBindDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 绑定指标列表
	BindMetrics(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用绑定指标列表
	EnabledBindMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用绑定指标列表
	DisabledBindMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持绑定指标列表
	SupportedBindMetrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 绑定指令列表
	BindCommands(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Reply, error)
	// 启用绑定指令列表
	EnabledBindCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 禁用绑定指令列表
	DisabledBindCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 支持绑定指令列表
	SupportedBindCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Reply, error)
	// 连接测试
	Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*Reply, error)
	// 批量连接测试
	Connects(ctx context.Context, in *ConnectsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取属性信息
	GetAttribute(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*Reply, error)
	// 实时采集
	Collect(ctx context.Context, in *CollectRequest, opts ...grpc.CallOption) (*Reply, error)
}

GatewayClient is the client API for Gateway service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGatewayClient

func NewGatewayClient(cc grpc.ClientConnInterface) GatewayClient

type GatewayServer

type GatewayServer interface {
	// 启用协议
	EnableProtocol(context.Context, *NameRequest) (*Reply, error)
	// 批量启用协议
	BatchEnableProtocol(context.Context, *NamesRequest) (*Reply, error)
	// 禁用协议
	DisableProtocol(context.Context, *NameRequest) (*Reply, error)
	// 批量禁用协议
	BatchDisableProtocol(context.Context, *NamesRequest) (*Reply, error)
	// 协议是否启用
	IsEnabledProtocol(context.Context, *NameRequest) (*Reply, error)
	// 协议是否禁用
	IsDisabledProtocol(context.Context, *NameRequest) (*Reply, error)
	// 协议是否支持
	IsSupportedProtocol(context.Context, *NameRequest) (*Reply, error)
	// 启用协议列表
	EnabledProtocols(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用协议列表
	DisabledProtocols(context.Context, *emptypb.Empty) (*Reply, error)
	// 协议支持列表
	SupportedProtocols(context.Context, *emptypb.Empty) (*Reply, error)
	// 协议产品列表
	ProtocolProducts(context.Context, *NameRequest) (*Reply, error)
	// 启用协议产品列表
	EnabledProtocolProducts(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用协议产品列表
	DisabledProtocolProducts(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持协议产品列表
	SupportedProtocolProducts(context.Context, *emptypb.Empty) (*Reply, error)
	// 协议设备列表
	ProtocolDevices(context.Context, *NameRequest) (*Reply, error)
	// 启用协议设备列表
	EnabledProtocolDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用协议设备列表
	DisabledProtocolDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持协议设备列表
	SupportedProtocolDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 协议指标列表
	ProtocolMetrics(context.Context, *NameRequest) (*Reply, error)
	// 启用协议指标列表
	EnabledProtocolMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用协议指标列表
	DisabledProtocolMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持协议指标列表
	SupportedProtocolMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 协议指令列表
	ProtocolCommands(context.Context, *NameRequest) (*Reply, error)
	// 启用协议指令列表
	EnabledProtocolCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用协议指令列表
	DisabledProtocolCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持协议指令列表
	SupportedProtocolCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 添加产品
	AddProduct(context.Context, *ProductRequest) (*Reply, error)
	// 批量添加产品
	BatchAddProduct(context.Context, *ProductsRequest) (*Reply, error)
	// 删除产品
	RemoveProduct(context.Context, *IdRequest) (*Reply, error)
	// 批量删除产品
	BatchRemoveProduct(context.Context, *IdsRequest) (*Reply, error)
	// 更新产品
	UpdateProduct(context.Context, *ProductRequest) (*Reply, error)
	// 批量更新产品
	BatchUpdateProduct(context.Context, *ProductsRequest) (*Reply, error)
	// 启用产品
	EnableProduct(context.Context, *IdRequest) (*Reply, error)
	// 批量启用产品
	BatchEnableProduct(context.Context, *IdsRequest) (*Reply, error)
	// 禁用产品
	DisableProduct(context.Context, *IdRequest) (*Reply, error)
	// 批量禁用产品
	BatchDisableProduct(context.Context, *IdsRequest) (*Reply, error)
	// 查询产品
	GetProduct(context.Context, *IdRequest) (*Reply, error)
	// 批量查询产品
	BatchGetProduct(context.Context, *IdsRequest) (*Reply, error)
	// 产品是否启用
	IsEnabledProduct(context.Context, *IdRequest) (*Reply, error)
	// 产品是否禁用
	IsDisabledProduct(context.Context, *IdRequest) (*Reply, error)
	// 产品是否支持
	IsSupportedProduct(context.Context, *IdRequest) (*Reply, error)
	// 启用产品列表
	EnabledProducts(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用产品列表
	DisabledProducts(context.Context, *emptypb.Empty) (*Reply, error)
	// 产品支持列表
	SupportedProducts(context.Context, *emptypb.Empty) (*Reply, error)
	// 产品设备列表
	ProductDevices(context.Context, *IdRequest) (*Reply, error)
	// 启用产品设备列表
	EnabledProductDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用产品设备列表
	DisabledProductDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持产品设备列表
	SupportedProductDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 产品指标列表
	ProductMetrics(context.Context, *IdRequest) (*Reply, error)
	// 启用产品指标列表
	EnabledProductMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用产品指标列表
	DisabledProductMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持产品指标列表
	SupportedProductMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 产品指令列表
	ProductCommands(context.Context, *IdRequest) (*Reply, error)
	// 启用产品指令列表
	EnabledProductCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用产品指令列表
	DisabledProductCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持产品指令列表
	SupportedProductCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 添加设备
	AddDevice(context.Context, *DeviceRequest) (*Reply, error)
	// 批量添加设备
	BatchAddDevice(context.Context, *DevicesRequest) (*Reply, error)
	// 删除设备
	RemoveDevice(context.Context, *IdRequest) (*Reply, error)
	// 批量删除设备
	BatchRemoveDevice(context.Context, *IdsRequest) (*Reply, error)
	// 更新设备
	UpdateDevice(context.Context, *DeviceRequest) (*Reply, error)
	// 批量更新设备
	BatchUpdateDevice(context.Context, *DevicesRequest) (*Reply, error)
	// 启用设备
	EnableDevice(context.Context, *IdRequest) (*Reply, error)
	// 批量启用设备
	BatchEnableDevice(context.Context, *IdsRequest) (*Reply, error)
	// 禁用设备
	DisableDevice(context.Context, *IdRequest) (*Reply, error)
	// 批量禁用设备
	BatchDisableDevice(context.Context, *IdsRequest) (*Reply, error)
	// 查询设备
	GetDevice(context.Context, *IdRequest) (*Reply, error)
	// 批量查询设备
	BatchGetDevice(context.Context, *IdsRequest) (*Reply, error)
	// 设备是否启用
	IsEnabledDevice(context.Context, *IdRequest) (*Reply, error)
	// 设备是否禁用
	IsDisabledDevice(context.Context, *IdRequest) (*Reply, error)
	// 设备是否支持
	IsSupportedDevice(context.Context, *IdRequest) (*Reply, error)
	// 启用设备列表
	EnabledDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用设备列表
	DisabledDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 设备支持列表
	SupportedDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 设备指标列表
	DeviceMetrics(context.Context, *IdRequest) (*Reply, error)
	// 启用设备指标列表
	EnabledDeviceMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用设备指标列表
	DisabledDeviceMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持设备指标列表
	SupportedDeviceMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 设备指令列表
	DeviceCommands(context.Context, *IdRequest) (*Reply, error)
	// 启用设备指令列表
	EnabledDeviceCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用设备指令列表
	DisabledDeviceCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持设备指令列表
	SupportedDeviceCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 添加指标
	AddMetric(context.Context, *MetricRequest) (*Reply, error)
	// 批量添加指标
	BatchAddMetric(context.Context, *MetricsRequest) (*Reply, error)
	// 删除指标
	RemoveMetric(context.Context, *NameRequest) (*Reply, error)
	// 批量删除指标
	BatchRemoveMetric(context.Context, *NamesRequest) (*Reply, error)
	// 更新指标
	UpdateMetric(context.Context, *MetricRequest) (*Reply, error)
	// 批量更新指标
	BatchUpdateMetric(context.Context, *MetricsRequest) (*Reply, error)
	// 启用指标
	EnableMetric(context.Context, *NameRequest) (*Reply, error)
	// 批量启用指标
	BatchEnableMetric(context.Context, *NamesRequest) (*Reply, error)
	// 禁用指标
	DisableMetric(context.Context, *NameRequest) (*Reply, error)
	// 批量禁用指标
	BatchDisableMetric(context.Context, *NamesRequest) (*Reply, error)
	// 查询指标
	GetMetric(context.Context, *NameRequest) (*Reply, error)
	// 批量查询指标
	BatchGetMetric(context.Context, *NamesRequest) (*Reply, error)
	// 指标是否启用
	IsEnabledMetric(context.Context, *NameRequest) (*Reply, error)
	// 指标是否禁用
	IsDisabledMetric(context.Context, *NameRequest) (*Reply, error)
	// 指标是否支持
	IsSupportedMetric(context.Context, *NameRequest) (*Reply, error)
	// 启用指标列表
	EnabledMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用指标列表
	DisabledMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 指标支持列表
	SupportedMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 指标设备列表
	MetricDevices(context.Context, *NameRequest) (*Reply, error)
	// 启用指标设备列表
	EnabledMetricDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用指标设备列表
	DisabledMetricDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持指标设备列表
	SupportedMetricDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 添加指令
	AddCommand(context.Context, *CommandRequest) (*Reply, error)
	// 批量添加指令
	BatchAddCommand(context.Context, *CommandsRequest) (*Reply, error)
	// 删除指令
	RemoveCommand(context.Context, *NameRequest) (*Reply, error)
	// 批量删除指令
	BatchRemoveCommand(context.Context, *NamesRequest) (*Reply, error)
	// 更新指令
	UpdateCommand(context.Context, *CommandRequest) (*Reply, error)
	// 批量更新指令
	BatchUpdateCommand(context.Context, *CommandsRequest) (*Reply, error)
	// 启用指令
	EnableCommand(context.Context, *NameRequest) (*Reply, error)
	// 批量启用指令
	BatchEnableCommand(context.Context, *NamesRequest) (*Reply, error)
	// 禁用指令
	DisableCommand(context.Context, *NameRequest) (*Reply, error)
	// 批量禁用指令
	BatchDisableCommand(context.Context, *NamesRequest) (*Reply, error)
	// 查询指令
	GetCommand(context.Context, *NameRequest) (*Reply, error)
	// 批量查询指令
	BatchGetCommand(context.Context, *NamesRequest) (*Reply, error)
	// 指令是否启用
	IsEnabledCommand(context.Context, *NameRequest) (*Reply, error)
	// 指令是否禁用
	IsDisabledCommand(context.Context, *NameRequest) (*Reply, error)
	// 指令是否支持
	IsSupportedCommand(context.Context, *NameRequest) (*Reply, error)
	// 启用指令列表
	EnabledCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用指令列表
	DisabledCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 指令支持列表
	SupportedCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 指令设备列表
	CommandDevices(context.Context, *NameRequest) (*Reply, error)
	// 启用指令设备列表
	EnabledCommandDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用指令设备列表
	DisabledCommandDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持指令设备列表
	SupportedCommandDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 添加绑定
	AddBind(context.Context, *BindRequest) (*Reply, error)
	// 批量添加绑定
	BatchAddBind(context.Context, *BindsRequest) (*Reply, error)
	// 删除绑定
	RemoveBind(context.Context, *IdRequest) (*Reply, error)
	// 批量删除绑定
	BatchRemoveBind(context.Context, *IdsRequest) (*Reply, error)
	// 更新绑定
	UpdateBind(context.Context, *BindRequest) (*Reply, error)
	// 批量更新绑定
	BatchUpdateBind(context.Context, *BindsRequest) (*Reply, error)
	// 启用绑定
	EnableBind(context.Context, *IdRequest) (*Reply, error)
	// 批量启用绑定
	BatchEnableBind(context.Context, *IdsRequest) (*Reply, error)
	// 禁用绑定
	DisableBind(context.Context, *IdRequest) (*Reply, error)
	// 批量禁用绑定
	BatchDisableBind(context.Context, *IdsRequest) (*Reply, error)
	// 查询绑定
	GetBind(context.Context, *IdRequest) (*Reply, error)
	// 批量查询绑定
	BatchGetBind(context.Context, *IdsRequest) (*Reply, error)
	// 绑定是否启用
	IsEnabledBind(context.Context, *IdRequest) (*Reply, error)
	// 绑定是否禁用
	IsDisabledBind(context.Context, *IdRequest) (*Reply, error)
	// 绑定是否支持
	IsSupportedBind(context.Context, *IdRequest) (*Reply, error)
	// 启用绑定列表
	EnabledBinds(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用绑定列表
	DisabledBinds(context.Context, *emptypb.Empty) (*Reply, error)
	// 绑定支持列表
	SupportedBinds(context.Context, *emptypb.Empty) (*Reply, error)
	// 绑定设备列表
	BindDevices(context.Context, *IdRequest) (*Reply, error)
	// 启用绑定设备列表
	EnabledBindDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用绑定设备列表
	DisabledBindDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持绑定设备列表
	SupportedBindDevices(context.Context, *emptypb.Empty) (*Reply, error)
	// 绑定指标列表
	BindMetrics(context.Context, *IdRequest) (*Reply, error)
	// 启用绑定指标列表
	EnabledBindMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用绑定指标列表
	DisabledBindMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持绑定指标列表
	SupportedBindMetrics(context.Context, *emptypb.Empty) (*Reply, error)
	// 绑定指令列表
	BindCommands(context.Context, *IdRequest) (*Reply, error)
	// 启用绑定指令列表
	EnabledBindCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 禁用绑定指令列表
	DisabledBindCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 支持绑定指令列表
	SupportedBindCommands(context.Context, *emptypb.Empty) (*Reply, error)
	// 连接测试
	Connect(context.Context, *ConnectRequest) (*Reply, error)
	// 批量连接测试
	Connects(context.Context, *ConnectsRequest) (*Reply, error)
	// 获取属性信息
	GetAttribute(context.Context, *ConnectRequest) (*Reply, error)
	// 实时采集
	Collect(context.Context, *CollectRequest) (*Reply, error)
	// contains filtered or unexported methods
}

GatewayServer is the server API for Gateway service. All implementations must embed UnimplementedGatewayServer for forward compatibility

type IdRequest

type IdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

ID参数(通过ID查询/操作)

func (*IdRequest) Descriptor deprecated

func (*IdRequest) Descriptor() ([]byte, []int)

Deprecated: Use IdRequest.ProtoReflect.Descriptor instead.

func (*IdRequest) GetId

func (x *IdRequest) GetId() uint64

func (*IdRequest) ProtoMessage

func (*IdRequest) ProtoMessage()

func (*IdRequest) ProtoReflect

func (x *IdRequest) ProtoReflect() protoreflect.Message

func (*IdRequest) Reset

func (x *IdRequest) Reset()

func (*IdRequest) String

func (x *IdRequest) String() string

type IdsRequest

type IdsRequest struct {
	Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

ID列表参数(通过ID列表查询/操作)

func (*IdsRequest) Descriptor deprecated

func (*IdsRequest) Descriptor() ([]byte, []int)

Deprecated: Use IdsRequest.ProtoReflect.Descriptor instead.

func (*IdsRequest) GetIds

func (x *IdsRequest) GetIds() []uint64

func (*IdsRequest) ProtoMessage

func (*IdsRequest) ProtoMessage()

func (*IdsRequest) ProtoReflect

func (x *IdsRequest) ProtoReflect() protoreflect.Message

func (*IdsRequest) Reset

func (x *IdsRequest) Reset()

func (*IdsRequest) String

func (x *IdsRequest) String() string

type Metric

type Metric struct {
	// contains filtered or unexported fields
}

指标

func (*Metric) Descriptor deprecated

func (*Metric) Descriptor() ([]byte, []int)

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

func (x *Metric) ProtoReflect() protoreflect.Message

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) String

func (x *Metric) String() string

type MetricRequest

type MetricRequest struct {
	Metric *Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
	// contains filtered or unexported fields
}

指标参数

func (*MetricRequest) Descriptor deprecated

func (*MetricRequest) Descriptor() ([]byte, []int)

Deprecated: Use MetricRequest.ProtoReflect.Descriptor instead.

func (*MetricRequest) GetMetric

func (x *MetricRequest) GetMetric() *Metric

func (*MetricRequest) ProtoMessage

func (*MetricRequest) ProtoMessage()

func (*MetricRequest) ProtoReflect

func (x *MetricRequest) ProtoReflect() protoreflect.Message

func (*MetricRequest) Reset

func (x *MetricRequest) Reset()

func (*MetricRequest) String

func (x *MetricRequest) String() string

type MetricsRequest

type MetricsRequest struct {
	Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

指标列表参数

func (*MetricsRequest) Descriptor deprecated

func (*MetricsRequest) Descriptor() ([]byte, []int)

Deprecated: Use MetricsRequest.ProtoReflect.Descriptor instead.

func (*MetricsRequest) GetMetrics

func (x *MetricsRequest) GetMetrics() []*Metric

func (*MetricsRequest) ProtoMessage

func (*MetricsRequest) ProtoMessage()

func (*MetricsRequest) ProtoReflect

func (x *MetricsRequest) ProtoReflect() protoreflect.Message

func (*MetricsRequest) Reset

func (x *MetricsRequest) Reset()

func (*MetricsRequest) String

func (x *MetricsRequest) String() string

type NameRequest

type NameRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

名称参数(通过名称查询/操作)

func (*NameRequest) Descriptor deprecated

func (*NameRequest) Descriptor() ([]byte, []int)

Deprecated: Use NameRequest.ProtoReflect.Descriptor instead.

func (*NameRequest) GetName

func (x *NameRequest) GetName() string

func (*NameRequest) ProtoMessage

func (*NameRequest) ProtoMessage()

func (*NameRequest) ProtoReflect

func (x *NameRequest) ProtoReflect() protoreflect.Message

func (*NameRequest) Reset

func (x *NameRequest) Reset()

func (*NameRequest) String

func (x *NameRequest) String() string

type NamesRequest

type NamesRequest struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

名称列表参数(通过名称列表查询/操作)

func (*NamesRequest) Descriptor deprecated

func (*NamesRequest) Descriptor() ([]byte, []int)

Deprecated: Use NamesRequest.ProtoReflect.Descriptor instead.

func (*NamesRequest) GetNames

func (x *NamesRequest) GetNames() []string

func (*NamesRequest) ProtoMessage

func (*NamesRequest) ProtoMessage()

func (*NamesRequest) ProtoReflect

func (x *NamesRequest) ProtoReflect() protoreflect.Message

func (*NamesRequest) Reset

func (x *NamesRequest) Reset()

func (*NamesRequest) String

func (x *NamesRequest) String() string

type Product

type Product struct {
	// contains filtered or unexported fields
}

产品

func (*Product) Descriptor deprecated

func (*Product) Descriptor() ([]byte, []int)

Deprecated: Use Product.ProtoReflect.Descriptor instead.

func (*Product) ProtoMessage

func (*Product) ProtoMessage()

func (*Product) ProtoReflect

func (x *Product) ProtoReflect() protoreflect.Message

func (*Product) Reset

func (x *Product) Reset()

func (*Product) String

func (x *Product) String() string

type ProductRequest

type ProductRequest struct {
	Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

产品参数

func (*ProductRequest) Descriptor deprecated

func (*ProductRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProductRequest.ProtoReflect.Descriptor instead.

func (*ProductRequest) GetProduct

func (x *ProductRequest) GetProduct() *Product

func (*ProductRequest) ProtoMessage

func (*ProductRequest) ProtoMessage()

func (*ProductRequest) ProtoReflect

func (x *ProductRequest) ProtoReflect() protoreflect.Message

func (*ProductRequest) Reset

func (x *ProductRequest) Reset()

func (*ProductRequest) String

func (x *ProductRequest) String() string

type ProductsRequest

type ProductsRequest struct {
	Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
	// contains filtered or unexported fields
}

产品列表参数

func (*ProductsRequest) Descriptor deprecated

func (*ProductsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProductsRequest.ProtoReflect.Descriptor instead.

func (*ProductsRequest) GetProducts

func (x *ProductsRequest) GetProducts() []*Product

func (*ProductsRequest) ProtoMessage

func (*ProductsRequest) ProtoMessage()

func (*ProductsRequest) ProtoReflect

func (x *ProductsRequest) ProtoReflect() protoreflect.Message

func (*ProductsRequest) Reset

func (x *ProductsRequest) Reset()

func (*ProductsRequest) String

func (x *ProductsRequest) String() string

type Reply

type Reply struct {

	// 状态编码
	Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=gateway.Code" json:"code,omitempty"`
	// 状态标识
	Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=gateway.Status" json:"status,omitempty"`
	// 状态描述
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// 详情信息
	Details []*Detail `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

响应

func (*Reply) Descriptor deprecated

func (*Reply) Descriptor() ([]byte, []int)

Deprecated: Use Reply.ProtoReflect.Descriptor instead.

func (*Reply) GetCode

func (x *Reply) GetCode() Code

func (*Reply) GetDetails

func (x *Reply) GetDetails() []*Detail

func (*Reply) GetMessage

func (x *Reply) GetMessage() string

func (*Reply) GetStatus

func (x *Reply) GetStatus() Status

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

func (x *Reply) ProtoReflect() protoreflect.Message

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) String

func (x *Reply) String() string

type Status

type Status int32

状态枚举

const (
	// 成功
	Status_SUCCESS Status = 0
	// 失败
	Status_FAILED Status = 1
	// 部分成功/部分失败
	Status_PARTIAL_SUCCESS Status = 2
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type UnimplementedGatewayServer

type UnimplementedGatewayServer struct {
}

UnimplementedGatewayServer must be embedded to have forward compatible implementations.

func (UnimplementedGatewayServer) AddBind

func (UnimplementedGatewayServer) AddCommand

func (UnimplementedGatewayServer) AddDevice

func (UnimplementedGatewayServer) AddMetric

func (UnimplementedGatewayServer) AddProduct

func (UnimplementedGatewayServer) BatchAddBind

func (UnimplementedGatewayServer) BatchAddCommand

func (UnimplementedGatewayServer) BatchAddDevice

func (UnimplementedGatewayServer) BatchAddMetric

func (UnimplementedGatewayServer) BatchAddProduct

func (UnimplementedGatewayServer) BatchDisableBind

func (UnimplementedGatewayServer) BatchDisableCommand

func (UnimplementedGatewayServer) BatchDisableDevice

func (UnimplementedGatewayServer) BatchDisableDevice(context.Context, *IdsRequest) (*Reply, error)

func (UnimplementedGatewayServer) BatchDisableMetric

func (UnimplementedGatewayServer) BatchDisableProduct

func (UnimplementedGatewayServer) BatchDisableProduct(context.Context, *IdsRequest) (*Reply, error)

func (UnimplementedGatewayServer) BatchDisableProtocol

func (UnimplementedGatewayServer) BatchDisableProtocol(context.Context, *NamesRequest) (*Reply, error)

func (UnimplementedGatewayServer) BatchEnableBind

func (UnimplementedGatewayServer) BatchEnableCommand

func (UnimplementedGatewayServer) BatchEnableDevice

func (UnimplementedGatewayServer) BatchEnableMetric

func (UnimplementedGatewayServer) BatchEnableProduct

func (UnimplementedGatewayServer) BatchEnableProduct(context.Context, *IdsRequest) (*Reply, error)

func (UnimplementedGatewayServer) BatchEnableProtocol

func (UnimplementedGatewayServer) BatchGetBind

func (UnimplementedGatewayServer) BatchGetCommand

func (UnimplementedGatewayServer) BatchGetDevice

func (UnimplementedGatewayServer) BatchGetMetric

func (UnimplementedGatewayServer) BatchGetProduct

func (UnimplementedGatewayServer) BatchRemoveBind

func (UnimplementedGatewayServer) BatchRemoveCommand

func (UnimplementedGatewayServer) BatchRemoveDevice

func (UnimplementedGatewayServer) BatchRemoveMetric

func (UnimplementedGatewayServer) BatchRemoveProduct

func (UnimplementedGatewayServer) BatchRemoveProduct(context.Context, *IdsRequest) (*Reply, error)

func (UnimplementedGatewayServer) BatchUpdateBind

func (UnimplementedGatewayServer) BatchUpdateCommand

func (UnimplementedGatewayServer) BatchUpdateDevice

func (UnimplementedGatewayServer) BatchUpdateMetric

func (UnimplementedGatewayServer) BatchUpdateProduct

func (UnimplementedGatewayServer) BindCommands

func (UnimplementedGatewayServer) BindDevices

func (UnimplementedGatewayServer) BindMetrics

func (UnimplementedGatewayServer) Collect

func (UnimplementedGatewayServer) CommandDevices

func (UnimplementedGatewayServer) Connect

func (UnimplementedGatewayServer) Connects

func (UnimplementedGatewayServer) DeviceCommands

func (UnimplementedGatewayServer) DeviceMetrics

func (UnimplementedGatewayServer) DisableBind

func (UnimplementedGatewayServer) DisableCommand

func (UnimplementedGatewayServer) DisableDevice

func (UnimplementedGatewayServer) DisableMetric

func (UnimplementedGatewayServer) DisableProduct

func (UnimplementedGatewayServer) DisableProtocol

func (UnimplementedGatewayServer) DisabledBindCommands

func (UnimplementedGatewayServer) DisabledBindCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledBindDevices

func (UnimplementedGatewayServer) DisabledBindDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledBindMetrics

func (UnimplementedGatewayServer) DisabledBindMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledBinds

func (UnimplementedGatewayServer) DisabledCommandDevices

func (UnimplementedGatewayServer) DisabledCommandDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledCommands

func (UnimplementedGatewayServer) DisabledDeviceCommands

func (UnimplementedGatewayServer) DisabledDeviceCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledDeviceMetrics

func (UnimplementedGatewayServer) DisabledDeviceMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledDevices

func (UnimplementedGatewayServer) DisabledMetricDevices

func (UnimplementedGatewayServer) DisabledMetricDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledMetrics

func (UnimplementedGatewayServer) DisabledProductCommands

func (UnimplementedGatewayServer) DisabledProductCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledProductDevices

func (UnimplementedGatewayServer) DisabledProductDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledProductMetrics

func (UnimplementedGatewayServer) DisabledProductMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledProducts

func (UnimplementedGatewayServer) DisabledProtocolCommands

func (UnimplementedGatewayServer) DisabledProtocolCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledProtocolDevices

func (UnimplementedGatewayServer) DisabledProtocolDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledProtocolMetrics

func (UnimplementedGatewayServer) DisabledProtocolMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledProtocolProducts

func (UnimplementedGatewayServer) DisabledProtocolProducts(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) DisabledProtocols

func (UnimplementedGatewayServer) EnableBind

func (UnimplementedGatewayServer) EnableCommand

func (UnimplementedGatewayServer) EnableDevice

func (UnimplementedGatewayServer) EnableMetric

func (UnimplementedGatewayServer) EnableProduct

func (UnimplementedGatewayServer) EnableProtocol

func (UnimplementedGatewayServer) EnabledBindCommands

func (UnimplementedGatewayServer) EnabledBindCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledBindDevices

func (UnimplementedGatewayServer) EnabledBindMetrics

func (UnimplementedGatewayServer) EnabledBinds

func (UnimplementedGatewayServer) EnabledCommandDevices

func (UnimplementedGatewayServer) EnabledCommandDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledCommands

func (UnimplementedGatewayServer) EnabledDeviceCommands

func (UnimplementedGatewayServer) EnabledDeviceCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledDeviceMetrics

func (UnimplementedGatewayServer) EnabledDeviceMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledDevices

func (UnimplementedGatewayServer) EnabledMetricDevices

func (UnimplementedGatewayServer) EnabledMetricDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledMetrics

func (UnimplementedGatewayServer) EnabledProductCommands

func (UnimplementedGatewayServer) EnabledProductCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledProductDevices

func (UnimplementedGatewayServer) EnabledProductDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledProductMetrics

func (UnimplementedGatewayServer) EnabledProductMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledProducts

func (UnimplementedGatewayServer) EnabledProtocolCommands

func (UnimplementedGatewayServer) EnabledProtocolCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledProtocolDevices

func (UnimplementedGatewayServer) EnabledProtocolDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledProtocolMetrics

func (UnimplementedGatewayServer) EnabledProtocolMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledProtocolProducts

func (UnimplementedGatewayServer) EnabledProtocolProducts(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) EnabledProtocols

func (UnimplementedGatewayServer) GetAttribute

func (UnimplementedGatewayServer) GetBind

func (UnimplementedGatewayServer) GetCommand

func (UnimplementedGatewayServer) GetDevice

func (UnimplementedGatewayServer) GetMetric

func (UnimplementedGatewayServer) GetProduct

func (UnimplementedGatewayServer) IsDisabledBind

func (UnimplementedGatewayServer) IsDisabledCommand

func (UnimplementedGatewayServer) IsDisabledDevice

func (UnimplementedGatewayServer) IsDisabledMetric

func (UnimplementedGatewayServer) IsDisabledProduct

func (UnimplementedGatewayServer) IsDisabledProtocol

func (UnimplementedGatewayServer) IsEnabledBind

func (UnimplementedGatewayServer) IsEnabledCommand

func (UnimplementedGatewayServer) IsEnabledDevice

func (UnimplementedGatewayServer) IsEnabledMetric

func (UnimplementedGatewayServer) IsEnabledProduct

func (UnimplementedGatewayServer) IsEnabledProtocol

func (UnimplementedGatewayServer) IsSupportedBind

func (UnimplementedGatewayServer) IsSupportedCommand

func (UnimplementedGatewayServer) IsSupportedDevice

func (UnimplementedGatewayServer) IsSupportedMetric

func (UnimplementedGatewayServer) IsSupportedProduct

func (UnimplementedGatewayServer) IsSupportedProduct(context.Context, *IdRequest) (*Reply, error)

func (UnimplementedGatewayServer) IsSupportedProtocol

func (UnimplementedGatewayServer) IsSupportedProtocol(context.Context, *NameRequest) (*Reply, error)

func (UnimplementedGatewayServer) MetricDevices

func (UnimplementedGatewayServer) ProductCommands

func (UnimplementedGatewayServer) ProductDevices

func (UnimplementedGatewayServer) ProductMetrics

func (UnimplementedGatewayServer) ProtocolCommands

func (UnimplementedGatewayServer) ProtocolDevices

func (UnimplementedGatewayServer) ProtocolMetrics

func (UnimplementedGatewayServer) ProtocolProducts

func (UnimplementedGatewayServer) RemoveBind

func (UnimplementedGatewayServer) RemoveCommand

func (UnimplementedGatewayServer) RemoveDevice

func (UnimplementedGatewayServer) RemoveMetric

func (UnimplementedGatewayServer) RemoveProduct

func (UnimplementedGatewayServer) SupportedBindCommands

func (UnimplementedGatewayServer) SupportedBindCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedBindDevices

func (UnimplementedGatewayServer) SupportedBindDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedBindMetrics

func (UnimplementedGatewayServer) SupportedBindMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedBinds

func (UnimplementedGatewayServer) SupportedCommandDevices

func (UnimplementedGatewayServer) SupportedCommandDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedCommands

func (UnimplementedGatewayServer) SupportedDeviceCommands

func (UnimplementedGatewayServer) SupportedDeviceCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedDeviceMetrics

func (UnimplementedGatewayServer) SupportedDeviceMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedDevices

func (UnimplementedGatewayServer) SupportedMetricDevices

func (UnimplementedGatewayServer) SupportedMetricDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedMetrics

func (UnimplementedGatewayServer) SupportedProductCommands

func (UnimplementedGatewayServer) SupportedProductCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedProductDevices

func (UnimplementedGatewayServer) SupportedProductDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedProductMetrics

func (UnimplementedGatewayServer) SupportedProductMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedProducts

func (UnimplementedGatewayServer) SupportedProtocolCommands

func (UnimplementedGatewayServer) SupportedProtocolCommands(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedProtocolDevices

func (UnimplementedGatewayServer) SupportedProtocolDevices(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedProtocolMetrics

func (UnimplementedGatewayServer) SupportedProtocolMetrics(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedProtocolProducts

func (UnimplementedGatewayServer) SupportedProtocolProducts(context.Context, *emptypb.Empty) (*Reply, error)

func (UnimplementedGatewayServer) SupportedProtocols

func (UnimplementedGatewayServer) UpdateBind

func (UnimplementedGatewayServer) UpdateCommand

func (UnimplementedGatewayServer) UpdateDevice

func (UnimplementedGatewayServer) UpdateMetric

func (UnimplementedGatewayServer) UpdateProduct

type UnsafeGatewayServer

type UnsafeGatewayServer interface {
	// contains filtered or unexported methods
}

UnsafeGatewayServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL