mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-03-23 04:25:30 +00:00
Change command exec_id to uint32.
This commit is contained in:
parent
f7f2fa82f2
commit
d10551bce1
209
api/go/gw/gw.pb.go
vendored
209
api/go/gw/gw.pb.go
vendored
@ -2923,10 +2923,10 @@ type GatewayCommandExecRequest struct {
|
||||
// Command to execute.
|
||||
// This command must be pre-configured in the LoRa Gateway Bridge configuration.
|
||||
Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
|
||||
// Execution request ID (UUID).
|
||||
// The same token will be returned when the execution of the command has
|
||||
// Execution request ID.
|
||||
// The same will be returned when the execution of the command has
|
||||
// completed.
|
||||
ExecId []byte `protobuf:"bytes,3,opt,name=ExecId,proto3" json:"ExecId,omitempty"`
|
||||
ExecId uint32 `protobuf:"varint,7,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
|
||||
// Standard input.
|
||||
Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
|
||||
// Environment variables.
|
||||
@ -2986,11 +2986,11 @@ func (x *GatewayCommandExecRequest) GetCommand() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *GatewayCommandExecRequest) GetExecId() []byte {
|
||||
func (x *GatewayCommandExecRequest) GetExecId() uint32 {
|
||||
if x != nil {
|
||||
return x.ExecId
|
||||
}
|
||||
return nil
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *GatewayCommandExecRequest) GetStdin() []byte {
|
||||
@ -3017,8 +3017,8 @@ type GatewayCommandExecResponse struct {
|
||||
GatewayIdLegacy []byte `protobuf:"bytes,1,opt,name=gateway_id_legacy,json=gatewayIdLegacy,proto3" json:"gateway_id_legacy,omitempty"`
|
||||
// Gateway ID.
|
||||
GatewayId string `protobuf:"bytes,6,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
|
||||
// Execution request ID (UUID).
|
||||
ExecId []byte `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
|
||||
// Execution request ID.
|
||||
ExecId uint32 `protobuf:"varint,7,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
|
||||
// Standard output.
|
||||
Stdout []byte `protobuf:"bytes,3,opt,name=stdout,proto3" json:"stdout,omitempty"`
|
||||
// Standard error.
|
||||
@ -3073,11 +3073,11 @@ func (x *GatewayCommandExecResponse) GetGatewayId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *GatewayCommandExecResponse) GetExecId() []byte {
|
||||
func (x *GatewayCommandExecResponse) GetExecId() uint32 {
|
||||
if x != nil {
|
||||
return x.ExecId
|
||||
}
|
||||
return nil
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *GatewayCommandExecResponse) GetStdout() []byte {
|
||||
@ -3114,8 +3114,6 @@ type RawPacketForwarderEvent struct {
|
||||
GatewayIdLegacy []byte `protobuf:"bytes,1,opt,name=gateway_id_legacy,json=gatewayIdLegacy,proto3" json:"gateway_id_legacy,omitempty"`
|
||||
// Gateway ID.
|
||||
GatewayId string `protobuf:"bytes,4,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
|
||||
// Raw ID (UUID).
|
||||
RawId []byte `protobuf:"bytes,2,opt,name=raw_id,json=rawId,proto3" json:"raw_id,omitempty"`
|
||||
// Payload contains the raw payload.
|
||||
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
|
||||
}
|
||||
@ -3166,13 +3164,6 @@ func (x *RawPacketForwarderEvent) GetGatewayId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RawPacketForwarderEvent) GetRawId() []byte {
|
||||
if x != nil {
|
||||
return x.RawId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *RawPacketForwarderEvent) GetPayload() []byte {
|
||||
if x != nil {
|
||||
return x.Payload
|
||||
@ -3193,8 +3184,6 @@ type RawPacketForwarderCommand struct {
|
||||
GatewayIdLegacy []byte `protobuf:"bytes,1,opt,name=gateway_id_legacy,json=gatewayIdLegacy,proto3" json:"gateway_id_legacy,omitempty"`
|
||||
// Gateway ID.
|
||||
GatewayId string `protobuf:"bytes,4,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
|
||||
// Raw ID (UUID).
|
||||
RawId []byte `protobuf:"bytes,2,opt,name=raw_id,json=rawId,proto3" json:"raw_id,omitempty"`
|
||||
// Payload contains the raw payload.
|
||||
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
|
||||
}
|
||||
@ -3245,13 +3234,6 @@ func (x *RawPacketForwarderCommand) GetGatewayId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RawPacketForwarderCommand) GetRawId() []byte {
|
||||
if x != nil {
|
||||
return x.RawId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *RawPacketForwarderCommand) GetPayload() []byte {
|
||||
if x != nil {
|
||||
return x.Payload
|
||||
@ -3789,7 +3771,7 @@ var file_gw_gw_proto_rawDesc = []byte{
|
||||
0x1c, 0x0a, 0x09, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0d, 0x52, 0x09, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x62, 0x69, 0x74, 0x72, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07,
|
||||
0x62, 0x69, 0x74, 0x72, 0x61, 0x74, 0x65, 0x22, 0xc0, 0x02, 0x0a, 0x19, 0x47, 0x61, 0x74, 0x65,
|
||||
0x62, 0x69, 0x74, 0x72, 0x61, 0x74, 0x65, 0x22, 0xc1, 0x02, 0x0a, 0x19, 0x47, 0x61, 0x74, 0x65,
|
||||
0x77, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
|
||||
0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
||||
@ -3797,98 +3779,95 @@ var file_gw_gw_proto_rawDesc = []byte{
|
||||
0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18,
|
||||
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64,
|
||||
0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x45, 0x78,
|
||||
0x65, 0x63, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x45, 0x78, 0x65, 0x63,
|
||||
0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x50, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69,
|
||||
0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e,
|
||||
0x67, 0x77, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
|
||||
0x64, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x6e, 0x76,
|
||||
0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x65,
|
||||
0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x3e, 0x0a, 0x10, 0x45, 0x6e,
|
||||
0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc6, 0x01, 0x0a, 0x1a, 0x47,
|
||||
0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x78, 0x65,
|
||||
0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x74,
|
||||
0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x4c,
|
||||
0x65, 0x67, 0x61, 0x63, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
|
||||
0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65, 0x77,
|
||||
0x61, 0x79, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x65, 0x78, 0x65, 0x63, 0x49, 0x64, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73,
|
||||
0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,
|
||||
0x72, 0x6f, 0x72, 0x22, 0x95, 0x01, 0x0a, 0x17, 0x52, 0x61, 0x77, 0x50, 0x61, 0x63, 0x6b, 0x65,
|
||||
0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x78,
|
||||
0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x65, 0x78, 0x65,
|
||||
0x63, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x50, 0x0a, 0x0b, 0x65, 0x6e, 0x76,
|
||||
0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e,
|
||||
0x2e, 0x67, 0x77, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
|
||||
0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x6e,
|
||||
0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b,
|
||||
0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x3e, 0x0a, 0x10, 0x45,
|
||||
0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
||||
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
||||
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc6, 0x01, 0x0a, 0x1a,
|
||||
0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x78,
|
||||
0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61,
|
||||
0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64,
|
||||
0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
|
||||
0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65,
|
||||
0x77, 0x61, 0x79, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x65, 0x78, 0x65, 0x63, 0x49, 0x64, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06,
|
||||
0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
|
||||
0x72, 0x72, 0x6f, 0x72, 0x22, 0x7e, 0x0a, 0x17, 0x52, 0x61, 0x77, 0x50, 0x61, 0x63, 0x6b, 0x65,
|
||||
0x74, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12,
|
||||
0x2a, 0x0a, 0x11, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x65,
|
||||
0x67, 0x61, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x67, 0x61, 0x74, 0x65,
|
||||
0x77, 0x61, 0x79, 0x49, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67,
|
||||
0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x09, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x61,
|
||||
0x77, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x61, 0x77, 0x49,
|
||||
0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x97, 0x01, 0x0a, 0x19,
|
||||
0x52, 0x61, 0x77, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
|
||||
0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x74,
|
||||
0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x4c,
|
||||
0x65, 0x67, 0x61, 0x63, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
|
||||
0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65, 0x77,
|
||||
0x61, 0x79, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x61, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x61, 0x77, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70,
|
||||
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61,
|
||||
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xa3, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x6e, 0x53, 0x74,
|
||||
0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69,
|
||||
0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f,
|
||||
0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x12,
|
||||
0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x12, 0x29,
|
||||
0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e,
|
||||
0x67, 0x77, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61,
|
||||
0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x20, 0x0a, 0x05, 0x53, 0x74, 0x61,
|
||||
0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x00, 0x12,
|
||||
0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0x88, 0x01, 0x0a, 0x08,
|
||||
0x43, 0x6f, 0x64, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x52, 0x5f, 0x55,
|
||||
0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52,
|
||||
0x5f, 0x34, 0x5f, 0x35, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x36,
|
||||
0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x37, 0x10, 0x03, 0x12, 0x0a,
|
||||
0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x38, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52,
|
||||
0x5f, 0x33, 0x5f, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x32, 0x5f, 0x36,
|
||||
0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31, 0x5f, 0x34, 0x10, 0x07, 0x12, 0x0a,
|
||||
0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31, 0x5f, 0x36, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52,
|
||||
0x5f, 0x35, 0x5f, 0x36, 0x10, 0x09, 0x2a, 0x3b, 0x0a, 0x0e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69,
|
||||
0x6e, 0x6b, 0x54, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x4d, 0x45,
|
||||
0x44, 0x49, 0x41, 0x54, 0x45, 0x4c, 0x59, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x4c,
|
||||
0x41, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x50, 0x53, 0x5f, 0x45, 0x50, 0x4f, 0x43,
|
||||
0x48, 0x10, 0x02, 0x2a, 0x37, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73,
|
||||
0x74, 0x61, 0x6d, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45,
|
||||
0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x45, 0x44, 0x10,
|
||||
0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x10, 0x02, 0x2a, 0x30, 0x0a, 0x09,
|
||||
0x43, 0x52, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x5f,
|
||||
0x43, 0x52, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x41, 0x44, 0x5f, 0x43, 0x52, 0x43,
|
||||
0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x43, 0x5f, 0x4f, 0x4b, 0x10, 0x02, 0x2a, 0xbc,
|
||||
0x01, 0x0a, 0x0b, 0x54, 0x78, 0x41, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b,
|
||||
0x0a, 0x07, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f,
|
||||
0x4b, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x10,
|
||||
0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x4f, 0x4f, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x59, 0x10, 0x03,
|
||||
0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41,
|
||||
0x43, 0x4b, 0x45, 0x54, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53,
|
||||
0x49, 0x4f, 0x4e, 0x5f, 0x42, 0x45, 0x41, 0x43, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07,
|
||||
0x54, 0x58, 0x5f, 0x46, 0x52, 0x45, 0x51, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x58, 0x5f,
|
||||
0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x50, 0x53, 0x5f, 0x55,
|
||||
0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x51, 0x55, 0x45,
|
||||
0x55, 0x45, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54,
|
||||
0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x0a, 0x42, 0x55, 0x0a,
|
||||
0x14, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61,
|
||||
0x70, 0x69, 0x2e, 0x67, 0x77, 0x42, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x50, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||
0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69,
|
||||
0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76,
|
||||
0x34, 0x2f, 0x67, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x09, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61,
|
||||
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79,
|
||||
0x6c, 0x6f, 0x61, 0x64, 0x22, 0x80, 0x01, 0x0a, 0x19, 0x52, 0x61, 0x77, 0x50, 0x61, 0x63, 0x6b,
|
||||
0x65, 0x74, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
|
||||
0x6e, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64,
|
||||
0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x67,
|
||||
0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x12, 0x1d,
|
||||
0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
|
||||
0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xa3, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x6e,
|
||||
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
|
||||
0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x0f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63,
|
||||
0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64,
|
||||
0x12, 0x29, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||
0x13, 0x2e, 0x67, 0x77, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53,
|
||||
0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x20, 0x0a, 0x05, 0x53,
|
||||
0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10,
|
||||
0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0x88, 0x01,
|
||||
0x0a, 0x08, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x52,
|
||||
0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
|
||||
0x43, 0x52, 0x5f, 0x34, 0x5f, 0x35, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34,
|
||||
0x5f, 0x36, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x37, 0x10, 0x03,
|
||||
0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34, 0x5f, 0x38, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06,
|
||||
0x43, 0x52, 0x5f, 0x33, 0x5f, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x32,
|
||||
0x5f, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31, 0x5f, 0x34, 0x10, 0x07,
|
||||
0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31, 0x5f, 0x36, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06,
|
||||
0x43, 0x52, 0x5f, 0x35, 0x5f, 0x36, 0x10, 0x09, 0x2a, 0x3b, 0x0a, 0x0e, 0x44, 0x6f, 0x77, 0x6e,
|
||||
0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4d,
|
||||
0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x4c, 0x59, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44,
|
||||
0x45, 0x4c, 0x41, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x50, 0x53, 0x5f, 0x45, 0x50,
|
||||
0x4f, 0x43, 0x48, 0x10, 0x02, 0x2a, 0x37, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x69, 0x6d,
|
||||
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f,
|
||||
0x4e, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x45,
|
||||
0x44, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x10, 0x02, 0x2a, 0x30,
|
||||
0x0a, 0x09, 0x43, 0x52, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x4e,
|
||||
0x4f, 0x5f, 0x43, 0x52, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x41, 0x44, 0x5f, 0x43,
|
||||
0x52, 0x43, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x43, 0x5f, 0x4f, 0x4b, 0x10, 0x02,
|
||||
0x2a, 0xbc, 0x01, 0x0a, 0x0b, 0x54, 0x78, 0x41, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x12, 0x0b, 0x0a, 0x07, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a,
|
||||
0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x54,
|
||||
0x45, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x4f, 0x4f, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x59,
|
||||
0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f,
|
||||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c,
|
||||
0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x42, 0x45, 0x41, 0x43, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0b,
|
||||
0x0a, 0x07, 0x54, 0x58, 0x5f, 0x46, 0x52, 0x45, 0x51, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x54,
|
||||
0x58, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x50, 0x53,
|
||||
0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x51,
|
||||
0x55, 0x45, 0x55, 0x45, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x49,
|
||||
0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x0a, 0x42,
|
||||
0x55, 0x0a, 0x14, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b,
|
||||
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x77, 0x42, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
|
||||
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
||||
0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63,
|
||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
|
||||
0x2f, 0x76, 0x34, 0x2f, 0x67, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
28
api/js/gw/gw_pb.d.ts
vendored
28
api/js/gw/gw_pb.d.ts
vendored
@ -1191,10 +1191,8 @@ export class GatewayCommandExecRequest extends jspb.Message {
|
||||
getCommand(): string;
|
||||
setCommand(value: string): void;
|
||||
|
||||
getExecid(): Uint8Array | string;
|
||||
getExecid_asU8(): Uint8Array;
|
||||
getExecid_asB64(): string;
|
||||
setExecid(value: Uint8Array | string): void;
|
||||
getExecId(): number;
|
||||
setExecId(value: number): void;
|
||||
|
||||
getStdin(): Uint8Array | string;
|
||||
getStdin_asU8(): Uint8Array;
|
||||
@ -1218,7 +1216,7 @@ export namespace GatewayCommandExecRequest {
|
||||
gatewayIdLegacy: Uint8Array | string,
|
||||
gatewayId: string,
|
||||
command: string,
|
||||
execid: Uint8Array | string,
|
||||
execId: number,
|
||||
stdin: Uint8Array | string,
|
||||
environmentMap: Array<[string, string]>,
|
||||
}
|
||||
@ -1233,10 +1231,8 @@ export class GatewayCommandExecResponse extends jspb.Message {
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
getExecId(): Uint8Array | string;
|
||||
getExecId_asU8(): Uint8Array;
|
||||
getExecId_asB64(): string;
|
||||
setExecId(value: Uint8Array | string): void;
|
||||
getExecId(): number;
|
||||
setExecId(value: number): void;
|
||||
|
||||
getStdout(): Uint8Array | string;
|
||||
getStdout_asU8(): Uint8Array;
|
||||
@ -1265,7 +1261,7 @@ export namespace GatewayCommandExecResponse {
|
||||
export type AsObject = {
|
||||
gatewayIdLegacy: Uint8Array | string,
|
||||
gatewayId: string,
|
||||
execId: Uint8Array | string,
|
||||
execId: number,
|
||||
stdout: Uint8Array | string,
|
||||
stderr: Uint8Array | string,
|
||||
error: string,
|
||||
@ -1281,11 +1277,6 @@ export class RawPacketForwarderEvent extends jspb.Message {
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
getRawId(): Uint8Array | string;
|
||||
getRawId_asU8(): Uint8Array;
|
||||
getRawId_asB64(): string;
|
||||
setRawId(value: Uint8Array | string): void;
|
||||
|
||||
getPayload(): Uint8Array | string;
|
||||
getPayload_asU8(): Uint8Array;
|
||||
getPayload_asB64(): string;
|
||||
@ -1305,7 +1296,6 @@ export namespace RawPacketForwarderEvent {
|
||||
export type AsObject = {
|
||||
gatewayIdLegacy: Uint8Array | string,
|
||||
gatewayId: string,
|
||||
rawId: Uint8Array | string,
|
||||
payload: Uint8Array | string,
|
||||
}
|
||||
}
|
||||
@ -1319,11 +1309,6 @@ export class RawPacketForwarderCommand extends jspb.Message {
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
getRawId(): Uint8Array | string;
|
||||
getRawId_asU8(): Uint8Array;
|
||||
getRawId_asB64(): string;
|
||||
setRawId(value: Uint8Array | string): void;
|
||||
|
||||
getPayload(): Uint8Array | string;
|
||||
getPayload_asU8(): Uint8Array;
|
||||
getPayload_asB64(): string;
|
||||
@ -1343,7 +1328,6 @@ export namespace RawPacketForwarderCommand {
|
||||
export type AsObject = {
|
||||
gatewayIdLegacy: Uint8Array | string,
|
||||
gatewayId: string,
|
||||
rawId: Uint8Array | string,
|
||||
payload: Uint8Array | string,
|
||||
}
|
||||
}
|
||||
|
204
api/js/gw/gw_pb.js
vendored
204
api/js/gw/gw_pb.js
vendored
@ -8890,7 +8890,7 @@ proto.gw.GatewayCommandExecRequest.toObject = function(includeInstance, msg) {
|
||||
gatewayIdLegacy: msg.getGatewayIdLegacy_asB64(),
|
||||
gatewayId: msg.getGatewayId(),
|
||||
command: msg.getCommand(),
|
||||
execid: msg.getExecid_asB64(),
|
||||
execId: msg.getExecId(),
|
||||
stdin: msg.getStdin_asB64(),
|
||||
environmentMap: (f = msg.getEnvironmentMap(true)) ? f.toArray() : []
|
||||
};
|
||||
@ -8941,9 +8941,9 @@ proto.gw.GatewayCommandExecRequest.deserializeBinaryFromReader = function(msg, r
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setCommand(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setExecid(value);
|
||||
case 7:
|
||||
var value = /** @type {number} */ (reader.readUint32());
|
||||
msg.setExecId(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
@ -9014,10 +9014,10 @@ proto.gw.GatewayCommandExecRequest.prototype.serializeBinaryToWriter = function
|
||||
f
|
||||
);
|
||||
}
|
||||
f = this.getExecid_asU8();
|
||||
if (f.length > 0) {
|
||||
writer.writeBytes(
|
||||
3,
|
||||
f = this.getExecId();
|
||||
if (f !== 0) {
|
||||
writer.writeUint32(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
@ -9114,41 +9114,17 @@ proto.gw.GatewayCommandExecRequest.prototype.setCommand = function(value) {
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes ExecId = 3;
|
||||
* @return {!(string|Uint8Array)}
|
||||
* optional uint32 exec_id = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.gw.GatewayCommandExecRequest.prototype.getExecid = function() {
|
||||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
||||
proto.gw.GatewayCommandExecRequest.prototype.getExecId = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 7, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes ExecId = 3;
|
||||
* This is a type-conversion wrapper around `getExecid()`
|
||||
* @return {string}
|
||||
*/
|
||||
proto.gw.GatewayCommandExecRequest.prototype.getExecid_asB64 = function() {
|
||||
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
||||
this.getExecid()));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes ExecId = 3;
|
||||
* Note that Uint8Array is not supported on all browsers.
|
||||
* @see http://caniuse.com/Uint8Array
|
||||
* This is a type-conversion wrapper around `getExecid()`
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.gw.GatewayCommandExecRequest.prototype.getExecid_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getExecid()));
|
||||
};
|
||||
|
||||
|
||||
/** @param {!(string|Uint8Array)} value */
|
||||
proto.gw.GatewayCommandExecRequest.prototype.setExecid = function(value) {
|
||||
jspb.Message.setField(this, 3, value);
|
||||
/** @param {number} value */
|
||||
proto.gw.GatewayCommandExecRequest.prototype.setExecId = function(value) {
|
||||
jspb.Message.setField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
@ -9252,7 +9228,7 @@ proto.gw.GatewayCommandExecResponse.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
gatewayIdLegacy: msg.getGatewayIdLegacy_asB64(),
|
||||
gatewayId: msg.getGatewayId(),
|
||||
execId: msg.getExecId_asB64(),
|
||||
execId: msg.getExecId(),
|
||||
stdout: msg.getStdout_asB64(),
|
||||
stderr: msg.getStderr_asB64(),
|
||||
error: msg.getError()
|
||||
@ -9300,8 +9276,8 @@ proto.gw.GatewayCommandExecResponse.deserializeBinaryFromReader = function(msg,
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setGatewayId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
case 7:
|
||||
var value = /** @type {number} */ (reader.readUint32());
|
||||
msg.setExecId(value);
|
||||
break;
|
||||
case 3:
|
||||
@ -9368,10 +9344,10 @@ proto.gw.GatewayCommandExecResponse.prototype.serializeBinaryToWriter = function
|
||||
f
|
||||
);
|
||||
}
|
||||
f = this.getExecId_asU8();
|
||||
if (f.length > 0) {
|
||||
writer.writeBytes(
|
||||
2,
|
||||
f = this.getExecId();
|
||||
if (f !== 0) {
|
||||
writer.writeUint32(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
@ -9463,41 +9439,17 @@ proto.gw.GatewayCommandExecResponse.prototype.setGatewayId = function(value) {
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes exec_id = 2;
|
||||
* @return {!(string|Uint8Array)}
|
||||
* optional uint32 exec_id = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.gw.GatewayCommandExecResponse.prototype.getExecId = function() {
|
||||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
||||
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 7, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes exec_id = 2;
|
||||
* This is a type-conversion wrapper around `getExecId()`
|
||||
* @return {string}
|
||||
*/
|
||||
proto.gw.GatewayCommandExecResponse.prototype.getExecId_asB64 = function() {
|
||||
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
||||
this.getExecId()));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes exec_id = 2;
|
||||
* Note that Uint8Array is not supported on all browsers.
|
||||
* @see http://caniuse.com/Uint8Array
|
||||
* This is a type-conversion wrapper around `getExecId()`
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.gw.GatewayCommandExecResponse.prototype.getExecId_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getExecId()));
|
||||
};
|
||||
|
||||
|
||||
/** @param {!(string|Uint8Array)} value */
|
||||
/** @param {number} value */
|
||||
proto.gw.GatewayCommandExecResponse.prototype.setExecId = function(value) {
|
||||
jspb.Message.setField(this, 2, value);
|
||||
jspb.Message.setField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
@ -9642,7 +9594,6 @@ proto.gw.RawPacketForwarderEvent.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
gatewayIdLegacy: msg.getGatewayIdLegacy_asB64(),
|
||||
gatewayId: msg.getGatewayId(),
|
||||
rawId: msg.getRawId_asB64(),
|
||||
payload: msg.getPayload_asB64()
|
||||
};
|
||||
|
||||
@ -9688,10 +9639,6 @@ proto.gw.RawPacketForwarderEvent.deserializeBinaryFromReader = function(msg, rea
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setGatewayId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setRawId(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setPayload(value);
|
||||
@ -9748,13 +9695,6 @@ proto.gw.RawPacketForwarderEvent.prototype.serializeBinaryToWriter = function (w
|
||||
f
|
||||
);
|
||||
}
|
||||
f = this.getRawId_asU8();
|
||||
if (f.length > 0) {
|
||||
writer.writeBytes(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = this.getPayload_asU8();
|
||||
if (f.length > 0) {
|
||||
writer.writeBytes(
|
||||
@ -9828,45 +9768,6 @@ proto.gw.RawPacketForwarderEvent.prototype.setGatewayId = function(value) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes raw_id = 2;
|
||||
* @return {!(string|Uint8Array)}
|
||||
*/
|
||||
proto.gw.RawPacketForwarderEvent.prototype.getRawId = function() {
|
||||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes raw_id = 2;
|
||||
* This is a type-conversion wrapper around `getRawId()`
|
||||
* @return {string}
|
||||
*/
|
||||
proto.gw.RawPacketForwarderEvent.prototype.getRawId_asB64 = function() {
|
||||
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
||||
this.getRawId()));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes raw_id = 2;
|
||||
* Note that Uint8Array is not supported on all browsers.
|
||||
* @see http://caniuse.com/Uint8Array
|
||||
* This is a type-conversion wrapper around `getRawId()`
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.gw.RawPacketForwarderEvent.prototype.getRawId_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getRawId()));
|
||||
};
|
||||
|
||||
|
||||
/** @param {!(string|Uint8Array)} value */
|
||||
proto.gw.RawPacketForwarderEvent.prototype.setRawId = function(value) {
|
||||
jspb.Message.setField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes payload = 3;
|
||||
* @return {!(string|Uint8Array)}
|
||||
@ -9954,7 +9855,6 @@ proto.gw.RawPacketForwarderCommand.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
gatewayIdLegacy: msg.getGatewayIdLegacy_asB64(),
|
||||
gatewayId: msg.getGatewayId(),
|
||||
rawId: msg.getRawId_asB64(),
|
||||
payload: msg.getPayload_asB64()
|
||||
};
|
||||
|
||||
@ -10000,10 +9900,6 @@ proto.gw.RawPacketForwarderCommand.deserializeBinaryFromReader = function(msg, r
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setGatewayId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setRawId(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setPayload(value);
|
||||
@ -10060,13 +9956,6 @@ proto.gw.RawPacketForwarderCommand.prototype.serializeBinaryToWriter = function
|
||||
f
|
||||
);
|
||||
}
|
||||
f = this.getRawId_asU8();
|
||||
if (f.length > 0) {
|
||||
writer.writeBytes(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = this.getPayload_asU8();
|
||||
if (f.length > 0) {
|
||||
writer.writeBytes(
|
||||
@ -10140,45 +10029,6 @@ proto.gw.RawPacketForwarderCommand.prototype.setGatewayId = function(value) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes raw_id = 2;
|
||||
* @return {!(string|Uint8Array)}
|
||||
*/
|
||||
proto.gw.RawPacketForwarderCommand.prototype.getRawId = function() {
|
||||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes raw_id = 2;
|
||||
* This is a type-conversion wrapper around `getRawId()`
|
||||
* @return {string}
|
||||
*/
|
||||
proto.gw.RawPacketForwarderCommand.prototype.getRawId_asB64 = function() {
|
||||
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
||||
this.getRawId()));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes raw_id = 2;
|
||||
* Note that Uint8Array is not supported on all browsers.
|
||||
* @see http://caniuse.com/Uint8Array
|
||||
* This is a type-conversion wrapper around `getRawId()`
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.gw.RawPacketForwarderCommand.prototype.getRawId_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getRawId()));
|
||||
};
|
||||
|
||||
|
||||
/** @param {!(string|Uint8Array)} value */
|
||||
proto.gw.RawPacketForwarderCommand.prototype.setRawId = function(value) {
|
||||
jspb.Message.setField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes payload = 3;
|
||||
* @return {!(string|Uint8Array)}
|
||||
|
16
api/proto/gw/gw.proto
vendored
16
api/proto/gw/gw.proto
vendored
@ -608,10 +608,10 @@ message GatewayCommandExecRequest {
|
||||
// This command must be pre-configured in the LoRa Gateway Bridge configuration.
|
||||
string command = 2;
|
||||
|
||||
// Execution request ID (UUID).
|
||||
// The same token will be returned when the execution of the command has
|
||||
// Execution request ID.
|
||||
// The same will be returned when the execution of the command has
|
||||
// completed.
|
||||
bytes ExecId = 3;
|
||||
uint32 exec_id = 7;
|
||||
|
||||
// Standard input.
|
||||
bytes stdin = 4;
|
||||
@ -628,8 +628,8 @@ message GatewayCommandExecResponse {
|
||||
// Gateway ID.
|
||||
string gateway_id = 6;
|
||||
|
||||
// Execution request ID (UUID).
|
||||
bytes exec_id = 2;
|
||||
// Execution request ID.
|
||||
uint32 exec_id = 7;
|
||||
|
||||
// Standard output.
|
||||
bytes stdout = 3;
|
||||
@ -652,9 +652,6 @@ message RawPacketForwarderEvent {
|
||||
// Gateway ID.
|
||||
string gateway_id = 4;
|
||||
|
||||
// Raw ID (UUID).
|
||||
bytes raw_id = 2;
|
||||
|
||||
// Payload contains the raw payload.
|
||||
bytes payload = 3;
|
||||
}
|
||||
@ -670,9 +667,6 @@ message RawPacketForwarderCommand {
|
||||
// Gateway ID.
|
||||
string gateway_id = 4;
|
||||
|
||||
// Raw ID (UUID).
|
||||
bytes raw_id = 2;
|
||||
|
||||
// Payload contains the raw payload.
|
||||
bytes payload = 3;
|
||||
}
|
||||
|
16
api/python/proto/chirpstack-api/gw/gw.proto
vendored
16
api/python/proto/chirpstack-api/gw/gw.proto
vendored
@ -608,10 +608,10 @@ message GatewayCommandExecRequest {
|
||||
// This command must be pre-configured in the LoRa Gateway Bridge configuration.
|
||||
string command = 2;
|
||||
|
||||
// Execution request ID (UUID).
|
||||
// The same token will be returned when the execution of the command has
|
||||
// Execution request ID.
|
||||
// The same will be returned when the execution of the command has
|
||||
// completed.
|
||||
bytes ExecId = 3;
|
||||
uint32 exec_id = 7;
|
||||
|
||||
// Standard input.
|
||||
bytes stdin = 4;
|
||||
@ -628,8 +628,8 @@ message GatewayCommandExecResponse {
|
||||
// Gateway ID.
|
||||
string gateway_id = 6;
|
||||
|
||||
// Execution request ID (UUID).
|
||||
bytes exec_id = 2;
|
||||
// Execution request ID.
|
||||
uint32 exec_id = 7;
|
||||
|
||||
// Standard output.
|
||||
bytes stdout = 3;
|
||||
@ -652,9 +652,6 @@ message RawPacketForwarderEvent {
|
||||
// Gateway ID.
|
||||
string gateway_id = 4;
|
||||
|
||||
// Raw ID (UUID).
|
||||
bytes raw_id = 2;
|
||||
|
||||
// Payload contains the raw payload.
|
||||
bytes payload = 3;
|
||||
}
|
||||
@ -670,9 +667,6 @@ message RawPacketForwarderCommand {
|
||||
// Gateway ID.
|
||||
string gateway_id = 4;
|
||||
|
||||
// Raw ID (UUID).
|
||||
bytes raw_id = 2;
|
||||
|
||||
// Payload contains the raw payload.
|
||||
bytes payload = 3;
|
||||
}
|
||||
|
48
api/python/src/chirpstack_api/gw/gw_pb2.py
vendored
48
api/python/src/chirpstack_api/gw/gw_pb2.py
vendored
File diff suppressed because one or more lines are too long
16
api/rust/proto/chirpstack/gw/gw.proto
vendored
16
api/rust/proto/chirpstack/gw/gw.proto
vendored
@ -608,10 +608,10 @@ message GatewayCommandExecRequest {
|
||||
// This command must be pre-configured in the LoRa Gateway Bridge configuration.
|
||||
string command = 2;
|
||||
|
||||
// Execution request ID (UUID).
|
||||
// The same token will be returned when the execution of the command has
|
||||
// Execution request ID.
|
||||
// The same will be returned when the execution of the command has
|
||||
// completed.
|
||||
bytes ExecId = 3;
|
||||
uint32 exec_id = 7;
|
||||
|
||||
// Standard input.
|
||||
bytes stdin = 4;
|
||||
@ -628,8 +628,8 @@ message GatewayCommandExecResponse {
|
||||
// Gateway ID.
|
||||
string gateway_id = 6;
|
||||
|
||||
// Execution request ID (UUID).
|
||||
bytes exec_id = 2;
|
||||
// Execution request ID.
|
||||
uint32 exec_id = 7;
|
||||
|
||||
// Standard output.
|
||||
bytes stdout = 3;
|
||||
@ -652,9 +652,6 @@ message RawPacketForwarderEvent {
|
||||
// Gateway ID.
|
||||
string gateway_id = 4;
|
||||
|
||||
// Raw ID (UUID).
|
||||
bytes raw_id = 2;
|
||||
|
||||
// Payload contains the raw payload.
|
||||
bytes payload = 3;
|
||||
}
|
||||
@ -670,9 +667,6 @@ message RawPacketForwarderCommand {
|
||||
// Gateway ID.
|
||||
string gateway_id = 4;
|
||||
|
||||
// Raw ID (UUID).
|
||||
bytes raw_id = 2;
|
||||
|
||||
// Payload contains the raw payload.
|
||||
bytes payload = 3;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user