forked from nytimes/gizmo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mostpopular.pb.go
104 lines (91 loc) · 5.43 KB
/
mostpopular.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// Code generated by protoc-gen-go.
// source: mostpopular.proto
// DO NOT EDIT!
/*
Package nyt is a generated protocol buffer package.
It is generated from these files:
mostpopular.proto
semanticconcept.proto
It has these top-level messages:
MostPopularResponse
MostPopularResult
SemanticConceptResponse
SemanticConceptResult
SemanticConceptArticleList
SemanticConceptArticle
*/
package nyt
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
const _ = proto.ProtoPackageIsVersion1
type MostPopularResponse struct {
Status string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
Copyright string `protobuf:"bytes,2,opt,name=copyright" json:"copyright,omitempty"`
NumResults uint32 `protobuf:"varint,3,opt,name=num_results,json=numResults" json:"num_results,omitempty"`
Results []*MostPopularResult `protobuf:"bytes,4,rep,name=results" json:"results,omitempty"`
}
func (m *MostPopularResponse) Reset() { *m = MostPopularResponse{} }
func (m *MostPopularResponse) String() string { return proto.CompactTextString(m) }
func (*MostPopularResponse) ProtoMessage() {}
func (*MostPopularResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *MostPopularResponse) GetResults() []*MostPopularResult {
if m != nil {
return m.Results
}
return nil
}
type MostPopularResult struct {
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
AsssetId uint64 `protobuf:"varint,3,opt,name=assset_id,json=asssetId" json:"assset_id,omitempty"`
AdxKeywords string `protobuf:"bytes,4,opt,name=adx_keywords,json=adxKeywords" json:"adx_keywords,omitempty"`
Column string `protobuf:"bytes,5,opt,name=column" json:"column,omitempty"`
Section string `protobuf:"bytes,6,opt,name=section" json:"section,omitempty"`
Byline string `protobuf:"bytes,7,opt,name=byline" json:"byline,omitempty"`
Type string `protobuf:"bytes,8,opt,name=type" json:"type,omitempty"`
Title string `protobuf:"bytes,9,opt,name=title" json:"title,omitempty"`
Abstract string `protobuf:"bytes,10,opt,name=abstract" json:"abstract,omitempty"`
PublishedDate string `protobuf:"bytes,11,opt,name=published_date,json=publishedDate" json:"published_date,omitempty"`
Source string `protobuf:"bytes,12,opt,name=source" json:"source,omitempty"`
Views uint32 `protobuf:"varint,13,opt,name=views" json:"views,omitempty"`
}
func (m *MostPopularResult) Reset() { *m = MostPopularResult{} }
func (m *MostPopularResult) String() string { return proto.CompactTextString(m) }
func (*MostPopularResult) ProtoMessage() {}
func (*MostPopularResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func init() {
proto.RegisterType((*MostPopularResponse)(nil), "nyt.MostPopularResponse")
proto.RegisterType((*MostPopularResult)(nil), "nyt.MostPopularResult")
}
var fileDescriptor0 = []byte{
// 346 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x92, 0xed, 0x4a, 0xf3, 0x30,
0x14, 0xc7, 0xd9, 0xba, 0xb7, 0x9e, 0x6e, 0xe3, 0xd9, 0x79, 0x64, 0x04, 0x15, 0x9c, 0x03, 0x61,
0x9f, 0x86, 0xe8, 0x2d, 0xf8, 0x45, 0x44, 0x90, 0xde, 0x40, 0xe9, 0x4b, 0x70, 0xc5, 0xae, 0x09,
0xc9, 0x89, 0xb3, 0x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