go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/luciexe/build/internal/testpb/test.pb.go (about) 1 // Copyright 2020 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/luciexe/build/internal/testpb/test.proto 20 21 package testpb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28 ) 29 30 const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 type TopLevel struct { 38 state protoimpl.MessageState 39 sizeCache protoimpl.SizeCache 40 unknownFields protoimpl.UnknownFields 41 42 Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` 43 JsonNameField string `protobuf:"bytes,2,opt,name=json_name_field,json=$cool,proto3" json:"json_name_field,omitempty"` 44 } 45 46 func (x *TopLevel) Reset() { 47 *x = TopLevel{} 48 if protoimpl.UnsafeEnabled { 49 mi := &file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_msgTypes[0] 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 ms.StoreMessageInfo(mi) 52 } 53 } 54 55 func (x *TopLevel) String() string { 56 return protoimpl.X.MessageStringOf(x) 57 } 58 59 func (*TopLevel) ProtoMessage() {} 60 61 func (x *TopLevel) ProtoReflect() protoreflect.Message { 62 mi := &file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_msgTypes[0] 63 if protoimpl.UnsafeEnabled && x != nil { 64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 65 if ms.LoadMessageInfo() == nil { 66 ms.StoreMessageInfo(mi) 67 } 68 return ms 69 } 70 return mi.MessageOf(x) 71 } 72 73 // Deprecated: Use TopLevel.ProtoReflect.Descriptor instead. 74 func (*TopLevel) Descriptor() ([]byte, []int) { 75 return file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDescGZIP(), []int{0} 76 } 77 78 func (x *TopLevel) GetField() string { 79 if x != nil { 80 return x.Field 81 } 82 return "" 83 } 84 85 func (x *TopLevel) GetJsonNameField() string { 86 if x != nil { 87 return x.JsonNameField 88 } 89 return "" 90 } 91 92 type Module struct { 93 state protoimpl.MessageState 94 sizeCache protoimpl.SizeCache 95 unknownFields protoimpl.UnknownFields 96 97 Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` 98 JsonNameField string `protobuf:"bytes,2,opt,name=json_name_field,json=$cool,proto3" json:"json_name_field,omitempty"` 99 } 100 101 func (x *Module) Reset() { 102 *x = Module{} 103 if protoimpl.UnsafeEnabled { 104 mi := &file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_msgTypes[1] 105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 106 ms.StoreMessageInfo(mi) 107 } 108 } 109 110 func (x *Module) String() string { 111 return protoimpl.X.MessageStringOf(x) 112 } 113 114 func (*Module) ProtoMessage() {} 115 116 func (x *Module) ProtoReflect() protoreflect.Message { 117 mi := &file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_msgTypes[1] 118 if protoimpl.UnsafeEnabled && x != nil { 119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 120 if ms.LoadMessageInfo() == nil { 121 ms.StoreMessageInfo(mi) 122 } 123 return ms 124 } 125 return mi.MessageOf(x) 126 } 127 128 // Deprecated: Use Module.ProtoReflect.Descriptor instead. 129 func (*Module) Descriptor() ([]byte, []int) { 130 return file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDescGZIP(), []int{1} 131 } 132 133 func (x *Module) GetField() string { 134 if x != nil { 135 return x.Field 136 } 137 return "" 138 } 139 140 func (x *Module) GetJsonNameField() string { 141 if x != nil { 142 return x.JsonNameField 143 } 144 return "" 145 } 146 147 var File_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto protoreflect.FileDescriptor 148 149 var file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDesc = []byte{ 150 0x0a, 0x3d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 151 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x65, 0x78, 0x65, 0x2f, 0x62, 152 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 153 0x73, 0x74, 0x70, 0x62, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 154 0x40, 0x0a, 0x08, 0x54, 0x6f, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 155 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 156 0x64, 0x12, 0x1e, 0x0a, 0x0f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 157 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x24, 0x63, 0x6f, 0x6f, 158 0x6c, 0x22, 0x3e, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 159 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 160 0x64, 0x12, 0x1e, 0x0a, 0x0f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 161 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x24, 0x63, 0x6f, 0x6f, 162 0x6c, 0x42, 0x3b, 0x5a, 0x39, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 163 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x65, 0x78, 164 0x65, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 165 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x3b, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x62, 0x06, 166 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 167 } 168 169 var ( 170 file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDescOnce sync.Once 171 file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDescData = file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDesc 172 ) 173 174 func file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDescGZIP() []byte { 175 file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDescOnce.Do(func() { 176 file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDescData) 177 }) 178 return file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDescData 179 } 180 181 var file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 182 var file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_goTypes = []interface{}{ 183 (*TopLevel)(nil), // 0: TopLevel 184 (*Module)(nil), // 1: Module 185 } 186 var file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_depIdxs = []int32{ 187 0, // [0:0] is the sub-list for method output_type 188 0, // [0:0] is the sub-list for method input_type 189 0, // [0:0] is the sub-list for extension type_name 190 0, // [0:0] is the sub-list for extension extendee 191 0, // [0:0] is the sub-list for field type_name 192 } 193 194 func init() { file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_init() } 195 func file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_init() { 196 if File_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto != nil { 197 return 198 } 199 if !protoimpl.UnsafeEnabled { 200 file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 201 switch v := v.(*TopLevel); i { 202 case 0: 203 return &v.state 204 case 1: 205 return &v.sizeCache 206 case 2: 207 return &v.unknownFields 208 default: 209 return nil 210 } 211 } 212 file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 213 switch v := v.(*Module); i { 214 case 0: 215 return &v.state 216 case 1: 217 return &v.sizeCache 218 case 2: 219 return &v.unknownFields 220 default: 221 return nil 222 } 223 } 224 } 225 type x struct{} 226 out := protoimpl.TypeBuilder{ 227 File: protoimpl.DescBuilder{ 228 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 229 RawDescriptor: file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDesc, 230 NumEnums: 0, 231 NumMessages: 2, 232 NumExtensions: 0, 233 NumServices: 0, 234 }, 235 GoTypes: file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_goTypes, 236 DependencyIndexes: file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_depIdxs, 237 MessageInfos: file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_msgTypes, 238 }.Build() 239 File_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto = out.File 240 file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_rawDesc = nil 241 file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_goTypes = nil 242 file_go_chromium_org_luci_luciexe_build_internal_testpb_test_proto_depIdxs = nil 243 }