client/golang/feed/timeline.pb.go

77 lines
2.7 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: timeline.proto
package feed
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
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)
)
var File_timeline_proto protoreflect.FileDescriptor
const file_timeline_proto_rawDesc = "" +
"\n" +
"\x0etimeline.proto\x12\x04feed\x1a\fblocks.proto2\xde\x01\n" +
"\bTimeline\x126\n" +
"\tRecommend\x12\x12.feed.FetchRequest\x1a\x13.feed.PostListReply\"\x00\x123\n" +
"\x06Friend\x12\x12.feed.FetchRequest\x1a\x13.feed.PostListReply\"\x00\x123\n" +
"\x06Follow\x12\x12.feed.FetchRequest\x1a\x13.feed.PostListReply\"\x00\x120\n" +
"\x03Hot\x12\x12.feed.FetchRequest\x1a\x13.feed.PostListReply\"\x00B\bZ\x06.;feedb\x06proto3"
var file_timeline_proto_goTypes = []any{
(*FetchRequest)(nil), // 0: feed.FetchRequest
(*PostListReply)(nil), // 1: feed.PostListReply
}
var file_timeline_proto_depIdxs = []int32{
0, // 0: feed.Timeline.Recommend:input_type -> feed.FetchRequest
0, // 1: feed.Timeline.Friend:input_type -> feed.FetchRequest
0, // 2: feed.Timeline.Follow:input_type -> feed.FetchRequest
0, // 3: feed.Timeline.Hot:input_type -> feed.FetchRequest
1, // 4: feed.Timeline.Recommend:output_type -> feed.PostListReply
1, // 5: feed.Timeline.Friend:output_type -> feed.PostListReply
1, // 6: feed.Timeline.Follow:output_type -> feed.PostListReply
1, // 7: feed.Timeline.Hot:output_type -> feed.PostListReply
4, // [4:8] is the sub-list for method output_type
0, // [0:4] 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_timeline_proto_init() }
func file_timeline_proto_init() {
if File_timeline_proto != nil {
return
}
file_blocks_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_timeline_proto_rawDesc), len(file_timeline_proto_rawDesc)),
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_timeline_proto_goTypes,
DependencyIndexes: file_timeline_proto_depIdxs,
}.Build()
File_timeline_proto = out.File
file_timeline_proto_goTypes = nil
file_timeline_proto_depIdxs = nil
}