1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google.golang.org/appengine/internal/remote_api/remote_api.proto
3
4package remote_api
5
6import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
9
10// Reference imports to suppress errors if they are not otherwise used.
11var _ = proto.Marshal
12var _ = fmt.Errorf
13var _ = math.Inf
14
15// This is a compile-time assertion to ensure that this generated file
16// is compatible with the proto package it is being compiled against.
17// A compilation error at this line likely means your copy of the
18// proto package needs to be updated.
19const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
20
21type RpcError_ErrorCode int32
22
23const (
24	RpcError_UNKNOWN             RpcError_ErrorCode = 0
25	RpcError_CALL_NOT_FOUND      RpcError_ErrorCode = 1
26	RpcError_PARSE_ERROR         RpcError_ErrorCode = 2
27	RpcError_SECURITY_VIOLATION  RpcError_ErrorCode = 3
28	RpcError_OVER_QUOTA          RpcError_ErrorCode = 4
29	RpcError_REQUEST_TOO_LARGE   RpcError_ErrorCode = 5
30	RpcError_CAPABILITY_DISABLED RpcError_ErrorCode = 6
31	RpcError_FEATURE_DISABLED    RpcError_ErrorCode = 7
32	RpcError_BAD_REQUEST         RpcError_ErrorCode = 8
33	RpcError_RESPONSE_TOO_LARGE  RpcError_ErrorCode = 9
34	RpcError_CANCELLED           RpcError_ErrorCode = 10
35	RpcError_REPLAY_ERROR        RpcError_ErrorCode = 11
36	RpcError_DEADLINE_EXCEEDED   RpcError_ErrorCode = 12
37)
38
39var RpcError_ErrorCode_name = map[int32]string{
40	0:  "UNKNOWN",
41	1:  "CALL_NOT_FOUND",
42	2:  "PARSE_ERROR",
43	3:  "SECURITY_VIOLATION",
44	4:  "OVER_QUOTA",
45	5:  "REQUEST_TOO_LARGE",
46	6:  "CAPABILITY_DISABLED",
47	7:  "FEATURE_DISABLED",
48	8:  "BAD_REQUEST",
49	9:  "RESPONSE_TOO_LARGE",
50	10: "CANCELLED",
51	11: "REPLAY_ERROR",
52	12: "DEADLINE_EXCEEDED",
53}
54var RpcError_ErrorCode_value = map[string]int32{
55	"UNKNOWN":             0,
56	"CALL_NOT_FOUND":      1,
57	"PARSE_ERROR":         2,
58	"SECURITY_VIOLATION":  3,
59	"OVER_QUOTA":          4,
60	"REQUEST_TOO_LARGE":   5,
61	"CAPABILITY_DISABLED": 6,
62	"FEATURE_DISABLED":    7,
63	"BAD_REQUEST":         8,
64	"RESPONSE_TOO_LARGE":  9,
65	"CANCELLED":           10,
66	"REPLAY_ERROR":        11,
67	"DEADLINE_EXCEEDED":   12,
68}
69
70func (x RpcError_ErrorCode) Enum() *RpcError_ErrorCode {
71	p := new(RpcError_ErrorCode)
72	*p = x
73	return p
74}
75func (x RpcError_ErrorCode) String() string {
76	return proto.EnumName(RpcError_ErrorCode_name, int32(x))
77}
78func (x *RpcError_ErrorCode) UnmarshalJSON(data []byte) error {
79	value, err := proto.UnmarshalJSONEnum(RpcError_ErrorCode_value, data, "RpcError_ErrorCode")
80	if err != nil {
81		return err
82	}
83	*x = RpcError_ErrorCode(value)
84	return nil
85}
86func (RpcError_ErrorCode) EnumDescriptor() ([]byte, []int) {
87	return fileDescriptor_remote_api_1978114ec33a273d, []int{2, 0}
88}
89
90type Request struct {
91	ServiceName          *string  `protobuf:"bytes,2,req,name=service_name,json=serviceName" json:"service_name,omitempty"`
92	Method               *string  `protobuf:"bytes,3,req,name=method" json:"method,omitempty"`
93	Request              []byte   `protobuf:"bytes,4,req,name=request" json:"request,omitempty"`
94	RequestId            *string  `protobuf:"bytes,5,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
95	XXX_NoUnkeyedLiteral struct{} `json:"-"`
96	XXX_unrecognized     []byte   `json:"-"`
97	XXX_sizecache        int32    `json:"-"`
98}
99
100func (m *Request) Reset()         { *m = Request{} }
101func (m *Request) String() string { return proto.CompactTextString(m) }
102func (*Request) ProtoMessage()    {}
103func (*Request) Descriptor() ([]byte, []int) {
104	return fileDescriptor_remote_api_1978114ec33a273d, []int{0}
105}
106func (m *Request) XXX_Unmarshal(b []byte) error {
107	return xxx_messageInfo_Request.Unmarshal(m, b)
108}
109func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
110	return xxx_messageInfo_Request.Marshal(b, m, deterministic)
111}
112func (dst *Request) XXX_Merge(src proto.Message) {
113	xxx_messageInfo_Request.Merge(dst, src)
114}
115func (m *Request) XXX_Size() int {
116	return xxx_messageInfo_Request.Size(m)
117}
118func (m *Request) XXX_DiscardUnknown() {
119	xxx_messageInfo_Request.DiscardUnknown(m)
120}
121
122var xxx_messageInfo_Request proto.InternalMessageInfo
123
124func (m *Request) GetServiceName() string {
125	if m != nil && m.ServiceName != nil {
126		return *m.ServiceName
127	}
128	return ""
129}
130
131func (m *Request) GetMethod() string {
132	if m != nil && m.Method != nil {
133		return *m.Method
134	}
135	return ""
136}
137
138func (m *Request) GetRequest() []byte {
139	if m != nil {
140		return m.Request
141	}
142	return nil
143}
144
145func (m *Request) GetRequestId() string {
146	if m != nil && m.RequestId != nil {
147		return *m.RequestId
148	}
149	return ""
150}
151
152type ApplicationError struct {
153	Code                 *int32   `protobuf:"varint,1,req,name=code" json:"code,omitempty"`
154	Detail               *string  `protobuf:"bytes,2,req,name=detail" json:"detail,omitempty"`
155	XXX_NoUnkeyedLiteral struct{} `json:"-"`
156	XXX_unrecognized     []byte   `json:"-"`
157	XXX_sizecache        int32    `json:"-"`
158}
159
160func (m *ApplicationError) Reset()         { *m = ApplicationError{} }
161func (m *ApplicationError) String() string { return proto.CompactTextString(m) }
162func (*ApplicationError) ProtoMessage()    {}
163func (*ApplicationError) Descriptor() ([]byte, []int) {
164	return fileDescriptor_remote_api_1978114ec33a273d, []int{1}
165}
166func (m *ApplicationError) XXX_Unmarshal(b []byte) error {
167	return xxx_messageInfo_ApplicationError.Unmarshal(m, b)
168}
169func (m *ApplicationError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
170	return xxx_messageInfo_ApplicationError.Marshal(b, m, deterministic)
171}
172func (dst *ApplicationError) XXX_Merge(src proto.Message) {
173	xxx_messageInfo_ApplicationError.Merge(dst, src)
174}
175func (m *ApplicationError) XXX_Size() int {
176	return xxx_messageInfo_ApplicationError.Size(m)
177}
178func (m *ApplicationError) XXX_DiscardUnknown() {
179	xxx_messageInfo_ApplicationError.DiscardUnknown(m)
180}
181
182var xxx_messageInfo_ApplicationError proto.InternalMessageInfo
183
184func (m *ApplicationError) GetCode() int32 {
185	if m != nil && m.Code != nil {
186		return *m.Code
187	}
188	return 0
189}
190
191func (m *ApplicationError) GetDetail() string {
192	if m != nil && m.Detail != nil {
193		return *m.Detail
194	}
195	return ""
196}
197
198type RpcError struct {
199	Code                 *int32   `protobuf:"varint,1,req,name=code" json:"code,omitempty"`
200	Detail               *string  `protobuf:"bytes,2,opt,name=detail" json:"detail,omitempty"`
201	XXX_NoUnkeyedLiteral struct{} `json:"-"`
202	XXX_unrecognized     []byte   `json:"-"`
203	XXX_sizecache        int32    `json:"-"`
204}
205
206func (m *RpcError) Reset()         { *m = RpcError{} }
207func (m *RpcError) String() string { return proto.CompactTextString(m) }
208func (*RpcError) ProtoMessage()    {}
209func (*RpcError) Descriptor() ([]byte, []int) {
210	return fileDescriptor_remote_api_1978114ec33a273d, []int{2}
211}
212func (m *RpcError) XXX_Unmarshal(b []byte) error {
213	return xxx_messageInfo_RpcError.Unmarshal(m, b)
214}
215func (m *RpcError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
216	return xxx_messageInfo_RpcError.Marshal(b, m, deterministic)
217}
218func (dst *RpcError) XXX_Merge(src proto.Message) {
219	xxx_messageInfo_RpcError.Merge(dst, src)
220}
221func (m *RpcError) XXX_Size() int {
222	return xxx_messageInfo_RpcError.Size(m)
223}
224func (m *RpcError) XXX_DiscardUnknown() {
225	xxx_messageInfo_RpcError.DiscardUnknown(m)
226}
227
228var xxx_messageInfo_RpcError proto.InternalMessageInfo
229
230func (m *RpcError) GetCode() int32 {
231	if m != nil && m.Code != nil {
232		return *m.Code
233	}
234	return 0
235}
236
237func (m *RpcError) GetDetail() string {
238	if m != nil && m.Detail != nil {
239		return *m.Detail
240	}
241	return ""
242}
243
244type Response struct {
245	Response             []byte            `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
246	Exception            []byte            `protobuf:"bytes,2,opt,name=exception" json:"exception,omitempty"`
247	ApplicationError     *ApplicationError `protobuf:"bytes,3,opt,name=application_error,json=applicationError" json:"application_error,omitempty"`
248	JavaException        []byte            `protobuf:"bytes,4,opt,name=java_exception,json=javaException" json:"java_exception,omitempty"`
249	RpcError             *RpcError         `protobuf:"bytes,5,opt,name=rpc_error,json=rpcError" json:"rpc_error,omitempty"`
250	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
251	XXX_unrecognized     []byte            `json:"-"`
252	XXX_sizecache        int32             `json:"-"`
253}
254
255func (m *Response) Reset()         { *m = Response{} }
256func (m *Response) String() string { return proto.CompactTextString(m) }
257func (*Response) ProtoMessage()    {}
258func (*Response) Descriptor() ([]byte, []int) {
259	return fileDescriptor_remote_api_1978114ec33a273d, []int{3}
260}
261func (m *Response) XXX_Unmarshal(b []byte) error {
262	return xxx_messageInfo_Response.Unmarshal(m, b)
263}
264func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
265	return xxx_messageInfo_Response.Marshal(b, m, deterministic)
266}
267func (dst *Response) XXX_Merge(src proto.Message) {
268	xxx_messageInfo_Response.Merge(dst, src)
269}
270func (m *Response) XXX_Size() int {
271	return xxx_messageInfo_Response.Size(m)
272}
273func (m *Response) XXX_DiscardUnknown() {
274	xxx_messageInfo_Response.DiscardUnknown(m)
275}
276
277var xxx_messageInfo_Response proto.InternalMessageInfo
278
279func (m *Response) GetResponse() []byte {
280	if m != nil {
281		return m.Response
282	}
283	return nil
284}
285
286func (m *Response) GetException() []byte {
287	if m != nil {
288		return m.Exception
289	}
290	return nil
291}
292
293func (m *Response) GetApplicationError() *ApplicationError {
294	if m != nil {
295		return m.ApplicationError
296	}
297	return nil
298}
299
300func (m *Response) GetJavaException() []byte {
301	if m != nil {
302		return m.JavaException
303	}
304	return nil
305}
306
307func (m *Response) GetRpcError() *RpcError {
308	if m != nil {
309		return m.RpcError
310	}
311	return nil
312}
313
314func init() {
315	proto.RegisterType((*Request)(nil), "remote_api.Request")
316	proto.RegisterType((*ApplicationError)(nil), "remote_api.ApplicationError")
317	proto.RegisterType((*RpcError)(nil), "remote_api.RpcError")
318	proto.RegisterType((*Response)(nil), "remote_api.Response")
319}
320
321func init() {
322	proto.RegisterFile("google.golang.org/appengine/internal/remote_api/remote_api.proto", fileDescriptor_remote_api_1978114ec33a273d)
323}
324
325var fileDescriptor_remote_api_1978114ec33a273d = []byte{
326	// 531 bytes of a gzipped FileDescriptorProto
327	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x51, 0x6e, 0xd3, 0x40,
328	0x10, 0x86, 0xb1, 0x9b, 0x34, 0xf1, 0xc4, 0x2d, 0xdb, 0xa5, 0x14, 0x0b, 0x15, 0x29, 0x44, 0x42,
329	0xca, 0x53, 0x2a, 0x38, 0x00, 0x62, 0x63, 0x6f, 0x91, 0x85, 0x65, 0xa7, 0x6b, 0xbb, 0x50, 0x5e,
330	0x56, 0x2b, 0x67, 0x65, 0x8c, 0x12, 0xaf, 0xd9, 0x98, 0x8a, 0x17, 0x6e, 0xc0, 0xb5, 0x38, 0x0c,
331	0xb7, 0x40, 0x36, 0x6e, 0x63, 0xf5, 0x89, 0xb7, 0x7f, 0x7e, 0x7b, 0xe6, 0x1b, 0xcd, 0xcc, 0xc2,
332	0xbb, 0x5c, 0xa9, 0x7c, 0x23, 0x17, 0xb9, 0xda, 0x88, 0x32, 0x5f, 0x28, 0x9d, 0x5f, 0x88, 0xaa,
333	0x92, 0x65, 0x5e, 0x94, 0xf2, 0xa2, 0x28, 0x6b, 0xa9, 0x4b, 0xb1, 0xb9, 0xd0, 0x72, 0xab, 0x6a,
334	0xc9, 0x45, 0x55, 0xf4, 0xe4, 0xa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, 0xd7, 0x7e, 0x14, 0x90, 0xc4, 0x8f,
346	0x42, 0x74, 0x80, 0x8f, 0x01, 0xa2, 0x6b, 0xca, 0xf8, 0x55, 0x1a, 0x25, 0x04, 0x0d, 0xf0, 0x53,
347	0x38, 0x61, 0xf4, 0x2a, 0xa5, 0x71, 0xc2, 0x93, 0x28, 0xe2, 0x01, 0x61, 0xef, 0x29, 0x1a, 0xe2,
348	0x67, 0xf0, 0xc4, 0x25, 0x2b, 0xb2, 0xf4, 0x83, 0xa6, 0x80, 0xe7, 0xc7, 0x64, 0x19, 0x50, 0x0f,
349	0x1d, 0xe2, 0x53, 0x40, 0x97, 0x94, 0x24, 0x29, 0xa3, 0x7b, 0x77, 0xd4, 0xe0, 0x97, 0xc4, 0xe3,
350	0x5d, 0x25, 0x34, 0x6e, 0xf0, 0x8c, 0xc6, 0xab, 0x28, 0x8c, 0x69, 0xaf, 0xae, 0x85, 0x8f, 0xc0,
351	0x72, 0x49, 0xe8, 0xd2, 0xa0, 0xc9, 0x03, 0x8c, 0xc0, 0x66, 0x74, 0x15, 0x90, 0x9b, 0xae, 0xef,
352	0x49, 0xd3, 0x8f, 0x47, 0x89, 0x17, 0xf8, 0x21, 0xe5, 0xf4, 0x93, 0x4b, 0xa9, 0x47, 0x3d, 0x64,
353	0xcf, 0xfe, 0x18, 0x30, 0x66, 0x72, 0x57, 0xa9, 0x72, 0x27, 0xf1, 0x73, 0x18, 0xeb, 0x4e, 0x3b,
354	0xc6, 0xd4, 0x98, 0xdb, 0xec, 0x3e, 0xc6, 0xe7, 0x60, 0xc9, 0x1f, 0x99, 0xac, 0x9a, 0x75, 0xb5,
355	0x23, 0xb5, 0xd9, 0xde, 0xc0, 0x3e, 0x9c, 0x88, 0xfd, 0x3a, 0xb9, 0x6c, 0x06, 0xec, 0x1c, 0x4c,
356	0x8d, 0xf9, 0xe4, 0xcd, 0xf9, 0xa2, 0x77, 0x87, 0x0f, 0x77, 0xce, 0x90, 0x78, 0x78, 0x05, 0xaf,
357	0xe0, 0xf8, 0xab, 0xb8, 0x15, 0x7c, 0x4f, 0x1b, 0xb4, 0xb4, 0xa3, 0xc6, 0xa5, 0xf7, 0xc4, 0xd7,
358	0x60, 0xe9, 0x2a, 0xeb, 0x48, 0xc3, 0x96, 0x74, 0xda, 0x27, 0xdd, 0x1d, 0x07, 0x1b, 0xeb, 0x4e,
359	0x2d, 0xed, 0xcf, 0xbd, 0x07, 0xf0, 0x37, 0x00, 0x00, 0xff, 0xff, 0x38, 0xd1, 0x0f, 0x22, 0x4f,
360	0x03, 0x00, 0x00,
361}
362