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 package benchmarks
35
36 import (
37 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
38 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
39 reflect "reflect"
40 sync "sync"
41 )
42
43 type BenchmarkDataset struct {
44 state protoimpl.MessageState
45 sizeCache protoimpl.SizeCache
46 unknownFields protoimpl.UnknownFields
47
48
49
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51
52
53
54
55
56
57
58 MessageName string `protobuf:"bytes,2,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"`
59
60
61
62
63
64
65
66
67
68
69
70
71
72 Payload [][]byte `protobuf:"bytes,3,rep,name=payload,proto3" json:"payload,omitempty"`
73 }
74
75 func (x *BenchmarkDataset) Reset() {
76 *x = BenchmarkDataset{}
77 if protoimpl.UnsafeEnabled {
78 mi := &file_benchmarks_proto_msgTypes[0]
79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80 ms.StoreMessageInfo(mi)
81 }
82 }
83
84 func (x *BenchmarkDataset) String() string {
85 return protoimpl.X.MessageStringOf(x)
86 }
87
88 func (*BenchmarkDataset) ProtoMessage() {}
89
90 func (x *BenchmarkDataset) ProtoReflect() protoreflect.Message {
91 mi := &file_benchmarks_proto_msgTypes[0]
92 if protoimpl.UnsafeEnabled && x != nil {
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 if ms.LoadMessageInfo() == nil {
95 ms.StoreMessageInfo(mi)
96 }
97 return ms
98 }
99 return mi.MessageOf(x)
100 }
101
102
103 func (*BenchmarkDataset) Descriptor() ([]byte, []int) {
104 return file_benchmarks_proto_rawDescGZIP(), []int{0}
105 }
106
107 func (x *BenchmarkDataset) GetName() string {
108 if x != nil {
109 return x.Name
110 }
111 return ""
112 }
113
114 func (x *BenchmarkDataset) GetMessageName() string {
115 if x != nil {
116 return x.MessageName
117 }
118 return ""
119 }
120
121 func (x *BenchmarkDataset) GetPayload() [][]byte {
122 if x != nil {
123 return x.Payload
124 }
125 return nil
126 }
127
128 var File_benchmarks_proto protoreflect.FileDescriptor
129
130 var file_benchmarks_proto_rawDesc = []byte{
131 0x0a, 0x10, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f,
132 0x74, 0x6f, 0x12, 0x0a, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x22, 0x63,
133 0x0a, 0x10, 0x42, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x73,
134 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
135 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
136 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x65,
137 0x73, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79,
138 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c,
139 0x6f, 0x61, 0x64, 0x42, 0x20, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
140 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x62, 0x65, 0x6e, 0x63, 0x68,
141 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
142 }
143
144 var (
145 file_benchmarks_proto_rawDescOnce sync.Once
146 file_benchmarks_proto_rawDescData = file_benchmarks_proto_rawDesc
147 )
148
149 func file_benchmarks_proto_rawDescGZIP() []byte {
150 file_benchmarks_proto_rawDescOnce.Do(func() {
151 file_benchmarks_proto_rawDescData = protoimpl.X.CompressGZIP(file_benchmarks_proto_rawDescData)
152 })
153 return file_benchmarks_proto_rawDescData
154 }
155
156 var file_benchmarks_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
157 var file_benchmarks_proto_goTypes = []interface{}{
158 (*BenchmarkDataset)(nil),
159 }
160 var file_benchmarks_proto_depIdxs = []int32{
161 0,
162 0,
163 0,
164 0,
165 0,
166 }
167
168 func init() { file_benchmarks_proto_init() }
169 func file_benchmarks_proto_init() {
170 if File_benchmarks_proto != nil {
171 return
172 }
173 if !protoimpl.UnsafeEnabled {
174 file_benchmarks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
175 switch v := v.(*BenchmarkDataset); i {
176 case 0:
177 return &v.state
178 case 1:
179 return &v.sizeCache
180 case 2:
181 return &v.unknownFields
182 default:
183 return nil
184 }
185 }
186 }
187 type x struct{}
188 out := protoimpl.TypeBuilder{
189 File: protoimpl.DescBuilder{
190 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
191 RawDescriptor: file_benchmarks_proto_rawDesc,
192 NumEnums: 0,
193 NumMessages: 1,
194 NumExtensions: 0,
195 NumServices: 0,
196 },
197 GoTypes: file_benchmarks_proto_goTypes,
198 DependencyIndexes: file_benchmarks_proto_depIdxs,
199 MessageInfos: file_benchmarks_proto_msgTypes,
200 }.Build()
201 File_benchmarks_proto = out.File
202 file_benchmarks_proto_rawDesc = nil
203 file_benchmarks_proto_goTypes = nil
204 file_benchmarks_proto_depIdxs = nil
205 }
206
View as plain text