| // Proto config. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.27.1 |
| // protoc v3.17.1 |
| // source: chromite/api/chrome_lkgm.proto |
| |
| package api |
| |
| import ( |
| chromiumos "go.chromium.org/chromiumos/infra/proto/go/chromiumos" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // ChromeLkgmService/FindLkgm request and response messages. |
| type FindLkgmRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| ChromeSrc string `protobuf:"bytes,1,opt,name=chrome_src,json=chromeSrc,proto3" json:"chrome_src,omitempty"` |
| CacheDir string `protobuf:"bytes,2,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"` |
| BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,3,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` |
| FallbackVersions uint32 `protobuf:"varint,4,opt,name=fallback_versions,json=fallbackVersions,proto3" json:"fallback_versions,omitempty"` |
| UseExternalConfig bool `protobuf:"varint,5,opt,name=use_external_config,json=useExternalConfig,proto3" json:"use_external_config,omitempty"` |
| } |
| |
| func (x *FindLkgmRequest) Reset() { |
| *x = FindLkgmRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_chrome_lkgm_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *FindLkgmRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FindLkgmRequest) ProtoMessage() {} |
| |
| func (x *FindLkgmRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_chrome_lkgm_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use FindLkgmRequest.ProtoReflect.Descriptor instead. |
| func (*FindLkgmRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_chrome_lkgm_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *FindLkgmRequest) GetChromeSrc() string { |
| if x != nil { |
| return x.ChromeSrc |
| } |
| return "" |
| } |
| |
| func (x *FindLkgmRequest) GetCacheDir() string { |
| if x != nil { |
| return x.CacheDir |
| } |
| return "" |
| } |
| |
| func (x *FindLkgmRequest) GetBuildTarget() *chromiumos.BuildTarget { |
| if x != nil { |
| return x.BuildTarget |
| } |
| return nil |
| } |
| |
| func (x *FindLkgmRequest) GetFallbackVersions() uint32 { |
| if x != nil { |
| return x.FallbackVersions |
| } |
| return 0 |
| } |
| |
| func (x *FindLkgmRequest) GetUseExternalConfig() bool { |
| if x != nil { |
| return x.UseExternalConfig |
| } |
| return false |
| } |
| |
| type FindLkgmResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| ChromeosLkgm string `protobuf:"bytes,1,opt,name=chromeos_lkgm,json=chromeosLkgm,proto3" json:"chromeos_lkgm,omitempty"` |
| ConfigName string `protobuf:"bytes,2,opt,name=config_name,json=configName,proto3" json:"config_name,omitempty"` |
| FullVersion string `protobuf:"bytes,3,opt,name=full_version,json=fullVersion,proto3" json:"full_version,omitempty"` |
| Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` |
| } |
| |
| func (x *FindLkgmResponse) Reset() { |
| *x = FindLkgmResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_chrome_lkgm_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *FindLkgmResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FindLkgmResponse) ProtoMessage() {} |
| |
| func (x *FindLkgmResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_chrome_lkgm_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use FindLkgmResponse.ProtoReflect.Descriptor instead. |
| func (*FindLkgmResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_chrome_lkgm_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *FindLkgmResponse) GetChromeosLkgm() string { |
| if x != nil { |
| return x.ChromeosLkgm |
| } |
| return "" |
| } |
| |
| func (x *FindLkgmResponse) GetConfigName() string { |
| if x != nil { |
| return x.ConfigName |
| } |
| return "" |
| } |
| |
| func (x *FindLkgmResponse) GetFullVersion() string { |
| if x != nil { |
| return x.FullVersion |
| } |
| return "" |
| } |
| |
| func (x *FindLkgmResponse) GetError() string { |
| if x != nil { |
| return x.Error |
| } |
| return "" |
| } |
| |
| var File_chromite_api_chrome_lkgm_proto protoreflect.FileDescriptor |
| |
| var file_chromite_api_chrome_lkgm_proto_rawDesc = []byte{ |
| 0x0a, 0x1e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x5f, 0x6c, 0x6b, 0x67, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 0x12, 0x0c, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x1c, |
| 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x75, 0x69, |
| 0x6c, 0x64, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x68, |
| 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, |
| 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x01, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6b, |
| 0x67, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x72, |
| 0x6f, 0x6d, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x53, 0x72, 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x63, 0x68, |
| 0x65, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x63, |
| 0x68, 0x65, 0x44, 0x69, 0x72, 0x12, 0x3a, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, |
| 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, |
| 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, |
| 0x72, 0x67, 0x65, 0x74, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, |
| 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x76, 0x65, |
| 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x66, 0x61, |
| 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, |
| 0x0a, 0x13, 0x75, 0x73, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x63, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x75, 0x73, 0x65, |
| 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x91, |
| 0x01, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6b, 0x67, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x5f, |
| 0x6c, 0x6b, 0x67, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x65, 0x6f, 0x73, 0x4c, 0x6b, 0x67, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, |
| 0x69, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, |
| 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x75, 0x6c, |
| 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, |
| 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, |
| 0x6f, 0x72, 0x32, 0x71, 0x0a, 0x11, 0x43, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x4c, 0x6b, 0x67, 0x6d, |
| 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x08, 0x46, 0x69, 0x6e, 0x64, 0x4c, |
| 0x6b, 0x67, 0x6d, 0x12, 0x1d, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, |
| 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6b, 0x67, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, |
| 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6b, 0x67, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 0x73, 0x65, 0x1a, 0x11, 0xc2, 0xed, 0x1a, 0x0d, 0x0a, 0x0b, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, |
| 0x5f, 0x6c, 0x6b, 0x67, 0x6d, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, |
| 0x6d, 0x6f, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, |
| 0x67, 0x6f, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62, |
| 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_chromite_api_chrome_lkgm_proto_rawDescOnce sync.Once |
| file_chromite_api_chrome_lkgm_proto_rawDescData = file_chromite_api_chrome_lkgm_proto_rawDesc |
| ) |
| |
| func file_chromite_api_chrome_lkgm_proto_rawDescGZIP() []byte { |
| file_chromite_api_chrome_lkgm_proto_rawDescOnce.Do(func() { |
| file_chromite_api_chrome_lkgm_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_api_chrome_lkgm_proto_rawDescData) |
| }) |
| return file_chromite_api_chrome_lkgm_proto_rawDescData |
| } |
| |
| var file_chromite_api_chrome_lkgm_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| var file_chromite_api_chrome_lkgm_proto_goTypes = []interface{}{ |
| (*FindLkgmRequest)(nil), // 0: chromite.api.FindLkgmRequest |
| (*FindLkgmResponse)(nil), // 1: chromite.api.FindLkgmResponse |
| (*chromiumos.BuildTarget)(nil), // 2: chromiumos.BuildTarget |
| } |
| var file_chromite_api_chrome_lkgm_proto_depIdxs = []int32{ |
| 2, // 0: chromite.api.FindLkgmRequest.build_target:type_name -> chromiumos.BuildTarget |
| 0, // 1: chromite.api.ChromeLkgmService.FindLkgm:input_type -> chromite.api.FindLkgmRequest |
| 1, // 2: chromite.api.ChromeLkgmService.FindLkgm:output_type -> chromite.api.FindLkgmResponse |
| 2, // [2:3] is the sub-list for method output_type |
| 1, // [1:2] is the sub-list for method input_type |
| 1, // [1:1] is the sub-list for extension type_name |
| 1, // [1:1] is the sub-list for extension extendee |
| 0, // [0:1] is the sub-list for field type_name |
| } |
| |
| func init() { file_chromite_api_chrome_lkgm_proto_init() } |
| func file_chromite_api_chrome_lkgm_proto_init() { |
| if File_chromite_api_chrome_lkgm_proto != nil { |
| return |
| } |
| file_chromite_api_build_api_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_chromite_api_chrome_lkgm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*FindLkgmRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_chrome_lkgm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*FindLkgmResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_chromite_api_chrome_lkgm_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 2, |
| NumExtensions: 0, |
| NumServices: 1, |
| }, |
| GoTypes: file_chromite_api_chrome_lkgm_proto_goTypes, |
| DependencyIndexes: file_chromite_api_chrome_lkgm_proto_depIdxs, |
| MessageInfos: file_chromite_api_chrome_lkgm_proto_msgTypes, |
| }.Build() |
| File_chromite_api_chrome_lkgm_proto = out.File |
| file_chromite_api_chrome_lkgm_proto_rawDesc = nil |
| file_chromite_api_chrome_lkgm_proto_goTypes = nil |
| file_chromite_api_chrome_lkgm_proto_depIdxs = nil |
| } |