remote_api.pb.go 13 KB

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