go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/common/proto/msgpackpb/luagen/examplepb/msg.pb.go (about) 1 // Copyright 2022 The LUCI Authors. All rights reserved. 2 // Use of this source code is governed under the Apache License, Version 2.0 3 // that can be found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.31.0 8 // protoc v3.21.7 9 // source: go.chromium.org/luci/common/proto/msgpackpb/luagen/examplepb/msg.proto 10 11 package examplepb 12 13 import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 durationpb "google.golang.org/protobuf/types/known/durationpb" 17 reflect "reflect" 18 sync "sync" 19 ) 20 21 const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26 ) 27 28 type VALUE int32 29 30 const ( 31 VALUE_ZERO VALUE = 0 32 VALUE_ONE VALUE = 1 33 VALUE_TWO VALUE = 2 34 ) 35 36 // Enum value maps for VALUE. 37 var ( 38 VALUE_name = map[int32]string{ 39 0: "ZERO", 40 1: "ONE", 41 2: "TWO", 42 } 43 VALUE_value = map[string]int32{ 44 "ZERO": 0, 45 "ONE": 1, 46 "TWO": 2, 47 } 48 ) 49 50 func (x VALUE) Enum() *VALUE { 51 p := new(VALUE) 52 *p = x 53 return p 54 } 55 56 func (x VALUE) String() string { 57 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 58 } 59 60 func (VALUE) Descriptor() protoreflect.EnumDescriptor { 61 return file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_enumTypes[0].Descriptor() 62 } 63 64 func (VALUE) Type() protoreflect.EnumType { 65 return &file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_enumTypes[0] 66 } 67 68 func (x VALUE) Number() protoreflect.EnumNumber { 69 return protoreflect.EnumNumber(x) 70 } 71 72 // Deprecated: Use VALUE.Descriptor instead. 73 func (VALUE) EnumDescriptor() ([]byte, []int) { 74 return file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDescGZIP(), []int{0} 75 } 76 77 type TestMessage struct { 78 state protoimpl.MessageState 79 sizeCache protoimpl.SizeCache 80 unknownFields protoimpl.UnknownFields 81 82 Boolval bool `protobuf:"varint,2,opt,name=boolval,proto3" json:"boolval,omitempty"` 83 Intval int64 `protobuf:"varint,3,opt,name=intval,proto3" json:"intval,omitempty"` 84 Uintval uint64 `protobuf:"varint,4,opt,name=uintval,proto3" json:"uintval,omitempty"` 85 ShortIntval int32 `protobuf:"varint,5,opt,name=short_intval,json=shortIntval,proto3" json:"short_intval,omitempty"` 86 ShortUintval uint32 `protobuf:"varint,6,opt,name=short_uintval,json=shortUintval,proto3" json:"short_uintval,omitempty"` 87 Strval string `protobuf:"bytes,7,opt,name=strval,proto3" json:"strval,omitempty"` 88 Floatval float64 `protobuf:"fixed64,8,opt,name=floatval,proto3" json:"floatval,omitempty"` 89 ShortFloatval float32 `protobuf:"fixed32,9,opt,name=short_floatval,json=shortFloatval,proto3" json:"short_floatval,omitempty"` 90 Value VALUE `protobuf:"varint,10,opt,name=value,proto3,enum=go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.VALUE" json:"value,omitempty"` 91 Mapfield map[string]*TestMessage `protobuf:"bytes,11,rep,name=mapfield,proto3" json:"mapfield,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 92 Duration *durationpb.Duration `protobuf:"bytes,12,opt,name=duration,proto3" json:"duration,omitempty"` 93 Strings []string `protobuf:"bytes,13,rep,name=strings,proto3" json:"strings,omitempty"` 94 SingleRecurse *TestMessage `protobuf:"bytes,14,opt,name=single_recurse,json=singleRecurse,proto3" json:"single_recurse,omitempty"` 95 MultiRecursion []*TestMessage `protobuf:"bytes,15,rep,name=multi_recursion,json=multiRecursion,proto3" json:"multi_recursion,omitempty"` 96 } 97 98 func (x *TestMessage) Reset() { 99 *x = TestMessage{} 100 if protoimpl.UnsafeEnabled { 101 mi := &file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_msgTypes[0] 102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 103 ms.StoreMessageInfo(mi) 104 } 105 } 106 107 func (x *TestMessage) String() string { 108 return protoimpl.X.MessageStringOf(x) 109 } 110 111 func (*TestMessage) ProtoMessage() {} 112 113 func (x *TestMessage) ProtoReflect() protoreflect.Message { 114 mi := &file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_msgTypes[0] 115 if protoimpl.UnsafeEnabled && x != nil { 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 if ms.LoadMessageInfo() == nil { 118 ms.StoreMessageInfo(mi) 119 } 120 return ms 121 } 122 return mi.MessageOf(x) 123 } 124 125 // Deprecated: Use TestMessage.ProtoReflect.Descriptor instead. 126 func (*TestMessage) Descriptor() ([]byte, []int) { 127 return file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDescGZIP(), []int{0} 128 } 129 130 func (x *TestMessage) GetBoolval() bool { 131 if x != nil { 132 return x.Boolval 133 } 134 return false 135 } 136 137 func (x *TestMessage) GetIntval() int64 { 138 if x != nil { 139 return x.Intval 140 } 141 return 0 142 } 143 144 func (x *TestMessage) GetUintval() uint64 { 145 if x != nil { 146 return x.Uintval 147 } 148 return 0 149 } 150 151 func (x *TestMessage) GetShortIntval() int32 { 152 if x != nil { 153 return x.ShortIntval 154 } 155 return 0 156 } 157 158 func (x *TestMessage) GetShortUintval() uint32 { 159 if x != nil { 160 return x.ShortUintval 161 } 162 return 0 163 } 164 165 func (x *TestMessage) GetStrval() string { 166 if x != nil { 167 return x.Strval 168 } 169 return "" 170 } 171 172 func (x *TestMessage) GetFloatval() float64 { 173 if x != nil { 174 return x.Floatval 175 } 176 return 0 177 } 178 179 func (x *TestMessage) GetShortFloatval() float32 { 180 if x != nil { 181 return x.ShortFloatval 182 } 183 return 0 184 } 185 186 func (x *TestMessage) GetValue() VALUE { 187 if x != nil { 188 return x.Value 189 } 190 return VALUE_ZERO 191 } 192 193 func (x *TestMessage) GetMapfield() map[string]*TestMessage { 194 if x != nil { 195 return x.Mapfield 196 } 197 return nil 198 } 199 200 func (x *TestMessage) GetDuration() *durationpb.Duration { 201 if x != nil { 202 return x.Duration 203 } 204 return nil 205 } 206 207 func (x *TestMessage) GetStrings() []string { 208 if x != nil { 209 return x.Strings 210 } 211 return nil 212 } 213 214 func (x *TestMessage) GetSingleRecurse() *TestMessage { 215 if x != nil { 216 return x.SingleRecurse 217 } 218 return nil 219 } 220 221 func (x *TestMessage) GetMultiRecursion() []*TestMessage { 222 if x != nil { 223 return x.MultiRecursion 224 } 225 return nil 226 } 227 228 var File_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto protoreflect.FileDescriptor 229 230 var file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDesc = []byte{ 231 0x0a, 0x46, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 232 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 233 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x70, 0x62, 0x2f, 0x6c, 0x75, 234 0x61, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2f, 0x6d, 235 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3c, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 236 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x63, 237 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x73, 0x67, 0x70, 238 0x61, 0x63, 0x6b, 0x70, 0x62, 0x2e, 0x6c, 0x75, 0x61, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x78, 0x61, 239 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 240 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 241 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x07, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 242 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x76, 0x61, 243 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x76, 0x61, 0x6c, 244 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 245 0x52, 0x06, 0x69, 0x6e, 0x74, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x69, 0x6e, 0x74, 246 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x75, 0x69, 0x6e, 0x74, 0x76, 247 0x61, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x76, 248 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x49, 249 0x6e, 0x74, 0x76, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x75, 250 0x69, 0x6e, 0x74, 0x76, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x68, 251 0x6f, 0x72, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x76, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 252 0x72, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x72, 0x76, 253 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x76, 0x61, 0x6c, 0x18, 0x08, 254 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x76, 0x61, 0x6c, 0x12, 0x25, 255 0x0a, 0x0e, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x76, 0x61, 0x6c, 256 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x46, 0x6c, 0x6f, 257 0x61, 0x74, 0x76, 0x61, 0x6c, 0x12, 0x59, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 258 0x20, 0x01, 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 259 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 260 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 261 0x70, 0x62, 0x2e, 0x6c, 0x75, 0x61, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 262 0x65, 0x70, 0x62, 0x2e, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 263 0x12, 0x73, 0x0a, 0x08, 0x6d, 0x61, 0x70, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x0b, 0x20, 0x03, 264 0x28, 0x0b, 0x32, 0x57, 0x2e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 265 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 266 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x70, 0x62, 267 0x2e, 0x6c, 0x75, 0x61, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 268 0x62, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 269 0x70, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x61, 0x70, 270 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 271 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 272 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 273 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 274 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 275 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x70, 0x0a, 0x0e, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 276 0x5f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 277 0x2e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 278 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 279 0x74, 0x6f, 0x2e, 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x70, 0x62, 0x2e, 0x6c, 0x75, 0x61, 280 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x54, 0x65, 281 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x6c, 282 0x65, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x6d, 0x75, 0x6c, 0x74, 283 0x69, 0x5f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x03, 0x28, 284 0x0b, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 285 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 286 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x70, 0x62, 0x2e, 287 0x6c, 0x75, 0x61, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 288 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x6d, 0x75, 289 0x6c, 0x74, 0x69, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x86, 0x01, 0x0a, 290 0x0d, 0x4d, 0x61, 0x70, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 291 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 292 0x12, 0x5f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 293 0x49, 0x2e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 294 0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 295 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x70, 0x62, 0x2e, 0x6c, 0x75, 296 0x61, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x54, 297 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 298 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x2a, 0x23, 0x0a, 0x05, 0x56, 299 0x41, 0x4c, 0x55, 0x45, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 300 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 301 0x42, 0x48, 0x5a, 0x46, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 302 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 303 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x70, 0x62, 0x2f, 304 0x6c, 0x75, 0x61, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 305 0x3b, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 306 0x6f, 0x33, 307 } 308 309 var ( 310 file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDescOnce sync.Once 311 file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDescData = file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDesc 312 ) 313 314 func file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDescGZIP() []byte { 315 file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDescOnce.Do(func() { 316 file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDescData) 317 }) 318 return file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDescData 319 } 320 321 var file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 322 var file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 323 var file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_goTypes = []interface{}{ 324 (VALUE)(0), // 0: go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.VALUE 325 (*TestMessage)(nil), // 1: go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage 326 nil, // 2: go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage.MapfieldEntry 327 (*durationpb.Duration)(nil), // 3: google.protobuf.Duration 328 } 329 var file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_depIdxs = []int32{ 330 0, // 0: go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage.value:type_name -> go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.VALUE 331 2, // 1: go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage.mapfield:type_name -> go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage.MapfieldEntry 332 3, // 2: go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage.duration:type_name -> google.protobuf.Duration 333 1, // 3: go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage.single_recurse:type_name -> go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage 334 1, // 4: go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage.multi_recursion:type_name -> go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage 335 1, // 5: go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage.MapfieldEntry.value:type_name -> go.chromium.org.luci.common.proto.msgpackpb.luagen.examplepb.TestMessage 336 6, // [6:6] is the sub-list for method output_type 337 6, // [6:6] is the sub-list for method input_type 338 6, // [6:6] is the sub-list for extension type_name 339 6, // [6:6] is the sub-list for extension extendee 340 0, // [0:6] is the sub-list for field type_name 341 } 342 343 func init() { file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_init() } 344 func file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_init() { 345 if File_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto != nil { 346 return 347 } 348 if !protoimpl.UnsafeEnabled { 349 file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 350 switch v := v.(*TestMessage); i { 351 case 0: 352 return &v.state 353 case 1: 354 return &v.sizeCache 355 case 2: 356 return &v.unknownFields 357 default: 358 return nil 359 } 360 } 361 } 362 type x struct{} 363 out := protoimpl.TypeBuilder{ 364 File: protoimpl.DescBuilder{ 365 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 366 RawDescriptor: file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDesc, 367 NumEnums: 1, 368 NumMessages: 2, 369 NumExtensions: 0, 370 NumServices: 0, 371 }, 372 GoTypes: file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_goTypes, 373 DependencyIndexes: file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_depIdxs, 374 EnumInfos: file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_enumTypes, 375 MessageInfos: file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_msgTypes, 376 }.Build() 377 File_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto = out.File 378 file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_rawDesc = nil 379 file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_goTypes = nil 380 file_go_chromium_org_luci_common_proto_msgpackpb_luagen_examplepb_msg_proto_depIdxs = nil 381 }