-
Notifications
You must be signed in to change notification settings - Fork 0
/
upnp.pb.go
132 lines (106 loc) · 4.66 KB
/
upnp.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: upnp.proto
package upnp
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type GeneralRequest struct {
PortNumber uint32 `protobuf:"varint,1,opt,name=portNumber,proto3" json:"portNumber,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GeneralRequest) Reset() { *m = GeneralRequest{} }
func (m *GeneralRequest) String() string { return proto.CompactTextString(m) }
func (*GeneralRequest) ProtoMessage() {}
func (*GeneralRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6afd328382fff2d5, []int{0}
}
func (m *GeneralRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GeneralRequest.Unmarshal(m, b)
}
func (m *GeneralRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GeneralRequest.Marshal(b, m, deterministic)
}
func (m *GeneralRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GeneralRequest.Merge(m, src)
}
func (m *GeneralRequest) XXX_Size() int {
return xxx_messageInfo_GeneralRequest.Size(m)
}
func (m *GeneralRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GeneralRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GeneralRequest proto.InternalMessageInfo
func (m *GeneralRequest) GetPortNumber() uint32 {
if m != nil {
return m.PortNumber
}
return 0
}
type GeneralResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GeneralResponse) Reset() { *m = GeneralResponse{} }
func (m *GeneralResponse) String() string { return proto.CompactTextString(m) }
func (*GeneralResponse) ProtoMessage() {}
func (*GeneralResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6afd328382fff2d5, []int{1}
}
func (m *GeneralResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GeneralResponse.Unmarshal(m, b)
}
func (m *GeneralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GeneralResponse.Marshal(b, m, deterministic)
}
func (m *GeneralResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GeneralResponse.Merge(m, src)
}
func (m *GeneralResponse) XXX_Size() int {
return xxx_messageInfo_GeneralResponse.Size(m)
}
func (m *GeneralResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GeneralResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GeneralResponse proto.InternalMessageInfo
func (m *GeneralResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func init() {
proto.RegisterType((*GeneralRequest)(nil), "upnp.GeneralRequest")
proto.RegisterType((*GeneralResponse)(nil), "upnp.GeneralResponse")
}
func init() { proto.RegisterFile("upnp.proto", fileDescriptor_6afd328382fff2d5) }
var fileDescriptor_6afd328382fff2d5 = []byte{
// 201 bytes of a gzipped FileDescriptorProto
0x1f,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