/
request.pb.go
209 lines (184 loc) · 8.07 KB
/
request.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: request.proto
package api_proto
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// 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 Request struct {
RequestID string `protobuf:"bytes,1,opt,name=requestID,proto3" json:"requestID,omitempty"`
ShowModal *Request_RenderModal `protobuf:"bytes,8,opt,name=showModal,proto3" json:"showModal,omitempty"`
SendEthereumTransaction *Request_SendEthereumTransaction `protobuf:"bytes,9,opt,name=sendEthereumTransaction,proto3" json:"sendEthereumTransaction,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) {
return fileDescriptor_request_47426f5f64ee3e20, []int{0}
}
func (m *Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Request.Unmarshal(m, b)
}
func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Request.Marshal(b, m, deterministic)
}
func (dst *Request) XXX_Merge(src proto.Message) {
xxx_messageInfo_Request.Merge(dst, src)
}
func (m *Request) XXX_Size() int {
return xxx_messageInfo_Request.Size(m)
}
func (m *Request) XXX_DiscardUnknown() {
xxx_messageInfo_Request.DiscardUnknown(m)
}
var xxx_messageInfo_Request proto.InternalMessageInfo
func (m *Request) GetRequestID() string {
if m != nil {
return m.RequestID
}
return ""
}
func (m *Request) GetShowModal() *Request_RenderModal {
if m != nil {
return m.ShowModal
}
return nil
}
func (m *Request) GetSendEthereumTransaction() *Request_SendEthereumTransaction {
if m != nil {
return m.SendEthereumTransaction
}
return nil
}
type Request_RenderModal struct {
DAppPublicKey []byte `protobuf:"bytes,1,opt,name=dAppPublicKey,proto3" json:"dAppPublicKey,omitempty"`
UiID string `protobuf:"bytes,2,opt,name=uiID,proto3" json:"uiID,omitempty"`
Layout string `protobuf:"bytes,3,opt,name=layout,proto3" json:"layout,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Request_RenderModal) Reset() { *m = Request_RenderModal{} }
func (m *Request_RenderModal) String() string { return proto.CompactTextString(m) }
func (*Request_RenderModal) ProtoMessage() {}
func (*Request_RenderModal) Descriptor() ([]byte, []int) {
return fileDescriptor_request_47426f5f64ee3e20, []int{0, 0}
}
func (m *Request_RenderModal) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Request_RenderModal.Unmarshal(m, b)
}
func (m *Request_RenderModal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Request_RenderModal.Marshal(b, m, deterministic)
}
func (dst *Request_RenderModal) XXX_Merge(src proto.Message) {
xxx_messageInfo_Request_RenderModal.Merge(dst, src)
}
func (m *Request_RenderModal) XXX_Size() int {
return xxx_messageInfo_Request_RenderModal.Size(m)
}
func (m *Request_RenderModal) XXX_DiscardUnknown() {
xxx_messageInfo_Request_RenderModal.DiscardUnknown(m)
}
var xxx_messageInfo_Request_RenderModal proto.InternalMessageInfo
func (m *Request_RenderModal) GetDAppPublicKey() []byte {
if m != nil {
return m.DAppPublicKey
}
return nil
}
func (m *Request_RenderModal) GetUiID() string {
if m != nil {
return m.UiID
}
return ""
}
func (m *Request_RenderModal) GetLayout() string {
if m != nil {
return m.Layout
}
return ""
}
type Request_SendEthereumTransaction struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Request_SendEthereumTransaction) Reset() { *m = Request_SendEthereumTransaction{} }
func (m *Request_SendEthereumTransaction) String() string { return proto.CompactTextString(m) }
func (*Request_SendEthereumTransaction) ProtoMessage() {}
func (*Request_SendEthereumTransaction) Descriptor() ([]byte, []int) {
return fileDescriptor_request_47426f5f64ee3e20, []int{0, 1}
}
func (m *Request_SendEthereumTransaction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Request_SendEthereumTransaction.Unmarshal(m, b)
}
func (m *Request_SendEthereumTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Request_SendEthereumTransaction.Marshal(b, m, deterministic)
}
func (dst *Request_SendEthereumTransaction) XXX_Merge(src proto.Message) {
xxx_messageInfo_Request_SendEthereumTransaction.Merge(dst, src)
}
func (m *Request_SendEthereumTransaction) XXX_Size() int {
return xxx_messageInfo_Request_SendEthereumTransaction.Size(m)
}
func (m *Request_SendEthereumTransaction) XXX_DiscardUnknown() {
xxx_messageInfo_Request_SendEthereumTransaction.DiscardUnknown(m)
}
var xxx_messageInfo_Request_SendEthereumTransaction proto.InternalMessageInfo
func (m *Request_SendEthereumTransaction) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
func (m *Request_SendEthereumTransaction) GetTo() string {
if m != nil {
return m.To
}
return ""
}
func (m *Request_SendEthereumTransaction) GetData() string {
if m != nil {
return m.Data
}
return ""
}
func init() {
proto.RegisterType((*Request)(nil), "api_proto.Request")
proto.RegisterType((*Request_RenderModal)(nil), "api_proto.Request.RenderModal")
proto.RegisterType((*Request_SendEthereumTransaction)(nil), "api_proto.Request.SendEthereumTransaction")
}
func init() { proto.RegisterFile("request.proto", fileDescriptor_request_47426f5f64ee3e20) }
var fileDescriptor_request_47426f5f64ee3e20 = []byte{
// 254 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x41, 0x4b, 0x03, 0x31,
0x10, 0x85, 0xd9, 0xad, 0x56, 0x33, 0xb5, 0x1e, 0x06, 0xb1, 0xa1, 0x88, 0x14, 0xf1, 0x50, 0x3c,
0xec, 0x41, 0xaf, 0x5e, 0x84, 0x7a, 0x28, 0x22, 0x48, 0xea, 0xbd, 0xa4, 0xcd, 0x40, 0x17, 0xd6,
0xcd, 0x9a, 0x9d, 0x28, 0x3d, 0xfa, 0xcf, 0xc5, 0x69, 0xb0, 0x0a, 0xed, 0xed, 0xcd, 0xcb, 0xcc,
0x37, 0x79, 0x03, 0xfd, 0x40, 0xef, 0x91, 0x5a, 0x2e, 0x9a, 0xe0, 0xd9, 0xa3, 0xb2, 0x4d, 0x39,
0x17, 0x79, 0xf5, 0xd5, 0x81, 0x23, 0xb3, 0x79, 0xc4, 0x0b, 0x50, 0xa9, 0x6f, 0x3a, 0xd1, 0xd9,
0x28, 0x1b, 0x2b, 0xb3, 0x35, 0xf0, 0x1e, 0x54, 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