blob: e2bdfca3039167c7ec52a263899697e96bc91945 [file] [log] [blame]
// 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, 0x85,
0x4e, 0xb0, 0x86, 0x75, 0xb5, 0xaa, 0xb3, 0x79, 0xcb, 0x82, 0xdf, 0x41, 0x81, 0x31, 0x9a, 0x1d,
0xc5, 0xa9, 0x61, 0xdd, 0xb9, 0xaa, 0xb2, 0x78, 0x35, 0x3b, 0xb6, 0x03, 0x5c, 0xff, 0xbe, 0x8a,
0x9e, 0x5c, 0x44, 0x2e, 0xe0, 0x32, 0xa0, 0xa6, 0xf0, 0x11, 0x05, 0x6b, 0xce, 0xba, 0x5a, 0x1d,
0xc8, 0x1f, 0xe0, 0xd6, 0xe1, 0x96, 0xc6, 0x7f, 0xa9, 0x53, 0x49, 0xdd, 0x64, 0x3d, 0x1c, 0xb9,
0xf7, 0x8b, 0xb2, 0xf6, 0xf1, 0x27, 0x00, 0x00, 0xff, 0xff, 0xe0, 0xef, 0x0e, 0x9f, 0xea, 0x00,
0x00, 0x00,
}