// Copyright (C) 2024 Declan Teevan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.12 // protoc (unknown) // source: stocklet/common/v1/requests.proto package common_v1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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) ) type ServiceInfoRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ServiceInfoRequest) Reset() { *x = ServiceInfoRequest{} mi := &file_stocklet_common_v1_requests_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ServiceInfoRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServiceInfoRequest) ProtoMessage() {} func (x *ServiceInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_stocklet_common_v1_requests_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServiceInfoRequest.ProtoReflect.Descriptor instead. func (*ServiceInfoRequest) Descriptor() ([]byte, []int) { return file_stocklet_common_v1_requests_proto_rawDescGZIP(), []int{0} } type ServiceInfoResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` SourceLicense string `protobuf:"bytes,3,opt,name=source_license,json=sourceLicense,proto3" json:"source_license,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ServiceInfoResponse) Reset() { *x = ServiceInfoResponse{} mi := &file_stocklet_common_v1_requests_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ServiceInfoResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServiceInfoResponse) ProtoMessage() {} func (x *ServiceInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_stocklet_common_v1_requests_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServiceInfoResponse.ProtoReflect.Descriptor instead. func (*ServiceInfoResponse) Descriptor() ([]byte, []int) { return file_stocklet_common_v1_requests_proto_rawDescGZIP(), []int{1} } func (x *ServiceInfoResponse) GetName() string { if x != nil { return x.Name } return "" } func (x *ServiceInfoResponse) GetSource() string { if x != nil { return x.Source } return "" } func (x *ServiceInfoResponse) GetSourceLicense() string { if x != nil { return x.SourceLicense } return "" } var File_stocklet_common_v1_requests_proto protoreflect.FileDescriptor const file_stocklet_common_v1_requests_proto_rawDesc = "" + "\n" + "!stocklet/common/v1/requests.proto\x12\x12stocklet.common.v1\"\x14\n" + "\x12ServiceInfoRequest\"h\n" + "\x13ServiceInfoResponse\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" + "\x06source\x18\x02 \x01(\tR\x06source\x12%\n" + "\x0esource_license\x18\x03 \x01(\tR\rsourceLicenseBGZEgithub.com/hexolan/stocklet/internal/pkg/protogen/common/v1;common_v1b\x06proto3" var ( file_stocklet_common_v1_requests_proto_rawDescOnce sync.Once file_stocklet_common_v1_requests_proto_rawDescData []byte ) func file_stocklet_common_v1_requests_proto_rawDescGZIP() []byte { file_stocklet_common_v1_requests_proto_rawDescOnce.Do(func() { file_stocklet_common_v1_requests_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_stocklet_common_v1_requests_proto_rawDesc), len(file_stocklet_common_v1_requests_proto_rawDesc))) }) return file_stocklet_common_v1_requests_proto_rawDescData } var file_stocklet_common_v1_requests_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_stocklet_common_v1_requests_proto_goTypes = []any{ (*ServiceInfoRequest)(nil), // 0: stocklet.common.v1.ServiceInfoRequest (*ServiceInfoResponse)(nil), // 1: stocklet.common.v1.ServiceInfoResponse } var file_stocklet_common_v1_requests_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_stocklet_common_v1_requests_proto_init() } func file_stocklet_common_v1_requests_proto_init() { if File_stocklet_common_v1_requests_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_stocklet_common_v1_requests_proto_rawDesc), len(file_stocklet_common_v1_requests_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_stocklet_common_v1_requests_proto_goTypes, DependencyIndexes: file_stocklet_common_v1_requests_proto_depIdxs, MessageInfos: file_stocklet_common_v1_requests_proto_msgTypes, }.Build() File_stocklet_common_v1_requests_proto = out.File file_stocklet_common_v1_requests_proto_goTypes = nil file_stocklet_common_v1_requests_proto_depIdxs = nil }