github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/protos/tools/tools.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.34.0 4 // protoc v4.25.3 5 // source: tools/tools.proto 6 7 package tools 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 13 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 type Interfaces struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 Interfaces []*Interface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"` 31 } 32 33 func (x *Interfaces) Reset() { 34 *x = Interfaces{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_tools_tools_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *Interfaces) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*Interfaces) ProtoMessage() {} 47 48 func (x *Interfaces) ProtoReflect() protoreflect.Message { 49 mi := &file_tools_tools_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use Interfaces.ProtoReflect.Descriptor instead. 61 func (*Interfaces) Descriptor() ([]byte, []int) { 62 return file_tools_tools_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *Interfaces) GetInterfaces() []*Interface { 66 if x != nil { 67 return x.Interfaces 68 } 69 return nil 70 } 71 72 type Interface struct { 73 state protoimpl.MessageState 74 sizeCache protoimpl.SizeCache 75 unknownFields protoimpl.UnknownFields 76 77 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 78 Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` 79 } 80 81 func (x *Interface) Reset() { 82 *x = Interface{} 83 if protoimpl.UnsafeEnabled { 84 mi := &file_tools_tools_proto_msgTypes[1] 85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 86 ms.StoreMessageInfo(mi) 87 } 88 } 89 90 func (x *Interface) String() string { 91 return protoimpl.X.MessageStringOf(x) 92 } 93 94 func (*Interface) ProtoMessage() {} 95 96 func (x *Interface) ProtoReflect() protoreflect.Message { 97 mi := &file_tools_tools_proto_msgTypes[1] 98 if protoimpl.UnsafeEnabled && x != nil { 99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 100 if ms.LoadMessageInfo() == nil { 101 ms.StoreMessageInfo(mi) 102 } 103 return ms 104 } 105 return mi.MessageOf(x) 106 } 107 108 // Deprecated: Use Interface.ProtoReflect.Descriptor instead. 109 func (*Interface) Descriptor() ([]byte, []int) { 110 return file_tools_tools_proto_rawDescGZIP(), []int{1} 111 } 112 113 func (x *Interface) GetName() string { 114 if x != nil { 115 return x.Name 116 } 117 return "" 118 } 119 120 func (x *Interface) GetAddresses() []string { 121 if x != nil { 122 return x.Addresses 123 } 124 return nil 125 } 126 127 var File_tools_tools_proto protoreflect.FileDescriptor 128 129 var file_tools_tools_proto_rawDesc = []byte{ 130 0x0a, 0x11, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x70, 0x72, 131 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x74, 0x6f, 0x6f, 132 0x6c, 0x73, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 133 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 134 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 135 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 136 0x46, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x12, 0x38, 0x0a, 137 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 138 0x0b, 0x32, 0x18, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 139 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x69, 0x6e, 0x74, 140 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x22, 0x3d, 0x0a, 0x09, 0x49, 0x6e, 0x74, 0x65, 0x72, 141 0x66, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 142 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 143 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 144 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x32, 0x9c, 0x01, 0x0a, 0x05, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 145 0x12, 0x4f, 0x0a, 0x17, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 146 0x62, 0x79, 0x70, 0x61, 0x73, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 147 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 148 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 149 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 150 0x79, 0x12, 0x42, 0x0a, 0x0d, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 151 0x63, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 152 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x19, 0x2e, 0x79, 0x75, 0x68, 153 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 154 0x66, 0x61, 0x63, 0x65, 0x73, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 155 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x75, 0x74, 0x6f, 0x72, 0x75, 0x66, 0x61, 0x2f, 0x79, 0x75, 156 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 157 0x2f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 158 } 159 160 var ( 161 file_tools_tools_proto_rawDescOnce sync.Once 162 file_tools_tools_proto_rawDescData = file_tools_tools_proto_rawDesc 163 ) 164 165 func file_tools_tools_proto_rawDescGZIP() []byte { 166 file_tools_tools_proto_rawDescOnce.Do(func() { 167 file_tools_tools_proto_rawDescData = protoimpl.X.CompressGZIP(file_tools_tools_proto_rawDescData) 168 }) 169 return file_tools_tools_proto_rawDescData 170 } 171 172 var file_tools_tools_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 173 var file_tools_tools_proto_goTypes = []interface{}{ 174 (*Interfaces)(nil), // 0: yuhaiin.tools.Interfaces 175 (*Interface)(nil), // 1: yuhaiin.tools.Interface 176 (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue 177 (*emptypb.Empty)(nil), // 3: google.protobuf.Empty 178 } 179 var file_tools_tools_proto_depIdxs = []int32{ 180 1, // 0: yuhaiin.tools.Interfaces.interfaces:type_name -> yuhaiin.tools.Interface 181 2, // 1: yuhaiin.tools.tools.save_remote_bypass_file:input_type -> google.protobuf.StringValue 182 3, // 2: yuhaiin.tools.tools.get_interface:input_type -> google.protobuf.Empty 183 3, // 3: yuhaiin.tools.tools.save_remote_bypass_file:output_type -> google.protobuf.Empty 184 0, // 4: yuhaiin.tools.tools.get_interface:output_type -> yuhaiin.tools.Interfaces 185 3, // [3:5] is the sub-list for method output_type 186 1, // [1:3] is the sub-list for method input_type 187 1, // [1:1] is the sub-list for extension type_name 188 1, // [1:1] is the sub-list for extension extendee 189 0, // [0:1] is the sub-list for field type_name 190 } 191 192 func init() { file_tools_tools_proto_init() } 193 func file_tools_tools_proto_init() { 194 if File_tools_tools_proto != nil { 195 return 196 } 197 if !protoimpl.UnsafeEnabled { 198 file_tools_tools_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 199 switch v := v.(*Interfaces); i { 200 case 0: 201 return &v.state 202 case 1: 203 return &v.sizeCache 204 case 2: 205 return &v.unknownFields 206 default: 207 return nil 208 } 209 } 210 file_tools_tools_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 211 switch v := v.(*Interface); i { 212 case 0: 213 return &v.state 214 case 1: 215 return &v.sizeCache 216 case 2: 217 return &v.unknownFields 218 default: 219 return nil 220 } 221 } 222 } 223 type x struct{} 224 out := protoimpl.TypeBuilder{ 225 File: protoimpl.DescBuilder{ 226 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 227 RawDescriptor: file_tools_tools_proto_rawDesc, 228 NumEnums: 0, 229 NumMessages: 2, 230 NumExtensions: 0, 231 NumServices: 1, 232 }, 233 GoTypes: file_tools_tools_proto_goTypes, 234 DependencyIndexes: file_tools_tools_proto_depIdxs, 235 MessageInfos: file_tools_tools_proto_msgTypes, 236 }.Build() 237 File_tools_tools_proto = out.File 238 file_tools_tools_proto_rawDesc = nil 239 file_tools_tools_proto_goTypes = nil 240 file_tools_tools_proto_depIdxs = nil 241 }