forked from nytimes/gizmo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
semanticconcept.pb.go
107 lines (91 loc) · 5.35 KB
/
semanticconcept.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
105
106
107
// Code generated by protoc-gen-go.
// source: semanticconcept.proto
// DO NOT EDIT!
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
type SemanticConceptResponse 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 []*SemanticConceptResult `protobuf:"bytes,4,rep,name=results" json:"results,omitempty"`
}
func (m *SemanticConceptResponse) Reset() { *m = SemanticConceptResponse{} }
func (m *SemanticConceptResponse) String() string { return proto.CompactTextString(m) }
func (*SemanticConceptResponse) ProtoMessage() {}
func (*SemanticConceptResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *SemanticConceptResponse) GetResults() []*SemanticConceptResult {
if m != nil {
return m.Results
}
return nil
}
type SemanticConceptResult struct {
ArticleList *SemanticConceptArticleList `protobuf:"bytes,1,opt,name=article_list,json=articleList" json:"article_list,omitempty"`
}
func (m *SemanticConceptResult) Reset() { *m = SemanticConceptResult{} }
func (m *SemanticConceptResult) String() string { return proto.CompactTextString(m) }
func (*SemanticConceptResult) ProtoMessage() {}
func (*SemanticConceptResult) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (m *SemanticConceptResult) GetArticleList() *SemanticConceptArticleList {
if m != nil {
return m.ArticleList
}
return nil
}
type SemanticConceptArticleList struct {
Results []*SemanticConceptArticle `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
Total uint32 `protobuf:"varint,2,opt,name=total" json:"total,omitempty"`
}
func (m *SemanticConceptArticleList) Reset() { *m = SemanticConceptArticleList{} }
func (m *SemanticConceptArticleList) String() string { return proto.CompactTextString(m) }
func (*SemanticConceptArticleList) ProtoMessage() {}
func (*SemanticConceptArticleList) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
func (m *SemanticConceptArticleList) GetResults() []*SemanticConceptArticle {
if m != nil {
return m.Results
}
return nil
}
type SemanticConceptArticle struct {
Body string `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
Byline string `protobuf:"bytes,2,opt,name=byline" json:"byline,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
Url string `protobuf:"bytes,4,opt,name=url" json:"url,omitempty"`
}
func (m *SemanticConceptArticle) Reset() { *m = SemanticConceptArticle{} }
func (m *SemanticConceptArticle) String() string { return proto.CompactTextString(m) }
func (*SemanticConceptArticle) ProtoMessage() {}
func (*SemanticConceptArticle) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
func init() {
proto.RegisterType((*SemanticConceptResponse)(nil), "nyt.SemanticConceptResponse")
proto.RegisterType((*SemanticConceptResult)(nil), "nyt.SemanticConceptResult")
proto.RegisterType((*SemanticConceptArticleList)(nil), "nyt.SemanticConceptArticleList")
proto.RegisterType((*SemanticConceptArticle)(nil), "nyt.SemanticConceptArticle")
}
var fileDescriptor1 = []byte{
// 281 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x51, 0xbd, 0x4e, 0xf3, 0x30,
0x14, 0x55, 0xbe, 0xf4, 0x2b, 0xca, 0x0d, 0x95,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