1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: rpcreplay.proto
3
4package rpcreplay
5
6import (
7	fmt "fmt"
8
9	proto "github.com/golang/protobuf/proto"
10
11	math "math"
12
13	any "github.com/golang/protobuf/ptypes/any"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
26
27type Entry_Kind int32
28
29const (
30	Entry_TYPE_UNSPECIFIED Entry_Kind = 0
31	// A unary request.
32	// method: the full name of the method
33	// message: the request proto
34	// is_error: false
35	// ref_index: 0
36	Entry_REQUEST Entry_Kind = 1
37	// A unary response.
38	// method: the full name of the method
39	// message:
40	//   if is_error: a google.rpc.Status proto
41	//   else:        the response proto
42	// ref_index: index in the sequence of Entries of matching request (1-based)
43	Entry_RESPONSE Entry_Kind = 2
44	// A method that creates a stream.
45	// method: the full name of the method
46	// message:
47	//   if is_error: a google.rpc.Status proto
48	//   else:        nil
49	// ref_index: 0
50	Entry_CREATE_STREAM Entry_Kind = 3
51	// A call to Send on the client returned by a stream-creating method.
52	// method: unset
53	// message: the proto being sent
54	// is_error: false
55	// ref_index: index of matching CREATE_STREAM entry (1-based)
56	Entry_SEND Entry_Kind = 4
57	// A call to Recv on the client returned by a stream-creating method.
58	// method: unset
59	// message:
60	//   if is_error: a google.rpc.Status proto, or nil on EOF
61	//   else:        the received message
62	// ref_index: index of matching CREATE_STREAM entry
63	Entry_RECV Entry_Kind = 5
64)
65
66var Entry_Kind_name = map[int32]string{
67	0: "TYPE_UNSPECIFIED",
68	1: "REQUEST",
69	2: "RESPONSE",
70	3: "CREATE_STREAM",
71	4: "SEND",
72	5: "RECV",
73}
74var Entry_Kind_value = map[string]int32{
75	"TYPE_UNSPECIFIED": 0,
76	"REQUEST":          1,
77	"RESPONSE":         2,
78	"CREATE_STREAM":    3,
79	"SEND":             4,
80	"RECV":             5,
81}
82
83func (x Entry_Kind) String() string {
84	return proto.EnumName(Entry_Kind_name, int32(x))
85}
86func (Entry_Kind) EnumDescriptor() ([]byte, []int) {
87	return fileDescriptor_rpcreplay_7cb3daad2f518aa1, []int{0, 0}
88}
89
90// An Entry represents a single RPC activity, typically a request or response.
91type Entry struct {
92	Kind                 Entry_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=rpcreplay.Entry_Kind" json:"kind,omitempty"`
93	Method               string     `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
94	Message              *any.Any   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
95	IsError              bool       `protobuf:"varint,4,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
96	RefIndex             int32      `protobuf:"varint,5,opt,name=ref_index,json=refIndex,proto3" json:"ref_index,omitempty"`
97	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
98	XXX_unrecognized     []byte     `json:"-"`
99	XXX_sizecache        int32      `json:"-"`
100}
101
102func (m *Entry) Reset()         { *m = Entry{} }
103func (m *Entry) String() string { return proto.CompactTextString(m) }
104func (*Entry) ProtoMessage()    {}
105func (*Entry) Descriptor() ([]byte, []int) {
106	return fileDescriptor_rpcreplay_7cb3daad2f518aa1, []int{0}
107}
108func (m *Entry) XXX_Unmarshal(b []byte) error {
109	return xxx_messageInfo_Entry.Unmarshal(m, b)
110}
111func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
112	return xxx_messageInfo_Entry.Marshal(b, m, deterministic)
113}
114func (dst *Entry) XXX_Merge(src proto.Message) {
115	xxx_messageInfo_Entry.Merge(dst, src)
116}
117func (m *Entry) XXX_Size() int {
118	return xxx_messageInfo_Entry.Size(m)
119}
120func (m *Entry) XXX_DiscardUnknown() {
121	xxx_messageInfo_Entry.DiscardUnknown(m)
122}
123
124var xxx_messageInfo_Entry proto.InternalMessageInfo
125
126func (m *Entry) GetKind() Entry_Kind {
127	if m != nil {
128		return m.Kind
129	}
130	return Entry_TYPE_UNSPECIFIED
131}
132
133func (m *Entry) GetMethod() string {
134	if m != nil {
135		return m.Method
136	}
137	return ""
138}
139
140func (m *Entry) GetMessage() *any.Any {
141	if m != nil {
142		return m.Message
143	}
144	return nil
145}
146
147func (m *Entry) GetIsError() bool {
148	if m != nil {
149		return m.IsError
150	}
151	return false
152}
153
154func (m *Entry) GetRefIndex() int32 {
155	if m != nil {
156		return m.RefIndex
157	}
158	return 0
159}
160
161func init() {
162	proto.RegisterType((*Entry)(nil), "rpcreplay.Entry")
163	proto.RegisterEnum("rpcreplay.Entry_Kind", Entry_Kind_name, Entry_Kind_value)
164}
165
166func init() { proto.RegisterFile("rpcreplay.proto", fileDescriptor_rpcreplay_7cb3daad2f518aa1) }
167
168var fileDescriptor_rpcreplay_7cb3daad2f518aa1 = []byte{
169	// 289 bytes of a gzipped FileDescriptorProto
170	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x8e, 0xdf, 0x4e, 0xc2, 0x30,
171	0x14, 0xc6, 0x2d, 0x6c, 0x30, 0x0e, 0xfe, 0xa9, 0x0d, 0x9a, 0xa1, 0x37, 0x0b, 0x57, 0xf3, 0xa6,
172	0x24, 0xf8, 0x04, 0x04, 0x8e, 0x09, 0x31, 0x22, 0xb6, 0xc3, 0xc4, 0x1b, 0x17, 0x70, 0x05, 0x17,
173	0xa1, 0x25, 0xdd, 0x4c, 0xdc, 0x6b, 0xf8, 0xc4, 0x66, 0x13, 0xf4, 0xae, 0xbf, 0x7e, 0xbf, 0x9c,
174	0xef, 0x83, 0x33, 0xbb, 0x7b, 0xb3, 0x6a, 0xb7, 0x59, 0x14, 0x7c, 0x67, 0x4d, 0x6e, 0x58, 0xeb,
175	0xef, 0xe3, 0xaa, 0xbb, 0x36, 0x66, 0xbd, 0x51, 0xfd, 0x2a, 0x58, 0x7e, 0xae, 0xfa, 0x0b, 0xbd,
176	0xb7, 0x7a, 0xdf, 0x35, 0x70, 0x51, 0xe7, 0xb6, 0x60, 0x37, 0xe0, 0x7c, 0xa4, 0x3a, 0xf1, 0x49,
177	0x40, 0xc2, 0xd3, 0xc1, 0x05, 0xff, 0xbf, 0x57, 0xe5, 0xfc, 0x3e, 0xd5, 0x89, 0xa8, 0x14, 0x76,
178	0x09, 0x8d, 0xad, 0xca, 0xdf, 0x4d, 0xe2, 0xd7, 0x02, 0x12, 0xb6, 0xc4, 0x9e, 0x18, 0x87, 0xe6,
179	0x56, 0x65, 0xd9, 0x62, 0xad, 0xfc, 0x7a, 0x40, 0xc2, 0xf6, 0xa0, 0xc3, 0x7f, 0x9b, 0xf9, 0xa1,
180	0x99, 0x0f, 0x75, 0x21, 0x0e, 0x12, 0xeb, 0x82, 0x97, 0x66, 0xb1, 0xb2, 0xd6, 0x58, 0xdf, 0x09,
181	0x48, 0xe8, 0x89, 0x66, 0x9a, 0x61, 0x89, 0xec, 0x1a, 0x5a, 0x56, 0xad, 0xe2, 0x54, 0x27, 0xea,
182	0xcb, 0x77, 0x03, 0x12, 0xba, 0xc2, 0xb3, 0x6a, 0x35, 0x29, 0xb9, 0xf7, 0x0a, 0x4e, 0xb9, 0x86,
183	0x75, 0x80, 0x46, 0x2f, 0x33, 0x8c, 0xe7, 0x53, 0x39, 0xc3, 0xd1, 0xe4, 0x6e, 0x82, 0x63, 0x7a,
184	0xc4, 0xda, 0xd0, 0x14, 0xf8, 0x34, 0x47, 0x19, 0x51, 0xc2, 0x8e, 0xc1, 0x13, 0x28, 0x67, 0x8f,
185	0x53, 0x89, 0xb4, 0xc6, 0xce, 0xe1, 0x64, 0x24, 0x70, 0x18, 0x61, 0x2c, 0x23, 0x81, 0xc3, 0x07,
186	0x5a, 0x67, 0x1e, 0x38, 0x12, 0xa7, 0x63, 0xea, 0x94, 0x2f, 0x81, 0xa3, 0x67, 0xea, 0x2e, 0x1b,
187	0xd5, 0xdc, 0xdb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x9b, 0x9d, 0x4f, 0x54, 0x01, 0x00,
188	0x00,
189}
190