mirrored from https://chromium.googlesource.com/infra/luci/luci-go
/
examples.pb.go
155 lines (136 loc) · 5.66 KB
/
examples.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/common/proto/examples/examples.proto
package examples
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// An example request to list existing records. Demonstrates usage of standard
// fields.
//
// https://cloud.google.com/apis/design/standard_fields
type ListRequest struct {
// The value of next_page_token received in a ListResponse. Used to get the
// next page of records. If empty, gets the first page.
PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The maximum number of results to include in the response.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListRequest) Reset() { *m = ListRequest{} }
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
func (*ListRequest) ProtoMessage() {}
func (*ListRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4ffcd71d7b665008, []int{0}
}
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
}
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic)
}
func (m *ListRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListRequest.Merge(m, src)
}
func (m *ListRequest) XXX_Size() int {
return xxx_messageInfo_ListRequest.Size(m)
}
func (m *ListRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListRequest proto.InternalMessageInfo
func (m *ListRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *ListRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
// An example response to a request to list records. Demonstrates usage of
// standard fields.
//
// https://cloud.google.com/apis/design/standard_fields
type ListResponse struct {
// The record.
Records []string `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
// The value to use as the page_token in a ListRequest to get the next page of
// records. If empty, there are no more records.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListResponse) Reset() { *m = ListResponse{} }
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
func (*ListResponse) ProtoMessage() {}
func (*ListResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4ffcd71d7b665008, []int{1}
}
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
}
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic)
}
func (m *ListResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListResponse.Merge(m, src)
}
func (m *ListResponse) XXX_Size() int {
return xxx_messageInfo_ListResponse.Size(m)
}
func (m *ListResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListResponse proto.InternalMessageInfo
func (m *ListResponse) GetRecords() []string {
if m != nil {
return m.Records
}
return nil
}
func (m *ListResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
func init() {
proto.RegisterType((*ListRequest)(nil), "examples.ListRequest")
proto.RegisterType((*ListResponse)(nil), "examples.ListResponse")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/common/proto/examples/examples.proto", fileDescriptor_4ffcd71d7b665008)
}
var fileDescriptor_4ffcd71d7b665008 = []byte{
// 194 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x8e, 0x31, 0x4b, 0xc7, 0x30,
0x10, 0x47, 0xc9, 0x5f, 0xd4, 0xf6, 0x54, 0x84, 0x4c, 0x01, 0x11, 0x4a, 0x07, 0xe9, 0xd4, 0x0c,
0x4e, 0x7e, 0x04, 0xc1, 0xa1, 0x44, 0xf7, 0x52, 0xe3, 0x51, 0x83, 0x4d, 0x2e, 0x26, 0x29, 0x94,
0x7e, 0x7a, 0x49, 0xa4, 0xe2, 0x76, 0xef, 0x0d, 0xf7, 0x7e, 0xf0, 0x34, 0x53, 0xaf, 0x3f, 0x03,
0x59, 0xb3, 0xda, 0x9e, 0xc2, 0x2c, 0x97, 0x55, 0x1b, 0xa9, 0xc9, 0x5a, 0x72, 0xd2, 0x07, 0x4a,
0x24, 0x71, 0x9b, 0xac, 0x5f, 0x30, 0xfe, 0x1d, 0x7d, 0xf1, 0xbc, 0x3a, 0xb8, 0x7d, 0x86, 0xab,
0x17, 0x13, 0x93, 0xc2, 0xef, 0x15, 0x63, 0xe2, 0xf7, 0x00, 0x7e, 0x9a, 0x71, 0x4c, 0xf4, 0x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