Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

950 Zeilen
35 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: grpc_testing/test.proto
  3. package grpc_testing
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import (
  8. context "golang.org/x/net/context"
  9. grpc "google.golang.org/grpc"
  10. )
  11. // Reference imports to suppress errors if they are not otherwise used.
  12. var _ = proto.Marshal
  13. var _ = fmt.Errorf
  14. var _ = math.Inf
  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.
  19. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  20. // The type of payload that should be returned.
  21. type PayloadType int32
  22. const (
  23. // Compressable text format.
  24. PayloadType_COMPRESSABLE PayloadType = 0
  25. // Uncompressable binary format.
  26. PayloadType_UNCOMPRESSABLE PayloadType = 1
  27. // Randomly chosen from all other formats defined in this enum.
  28. PayloadType_RANDOM PayloadType = 2
  29. )
  30. var PayloadType_name = map[int32]string{
  31. 0: "COMPRESSABLE",
  32. 1: "UNCOMPRESSABLE",
  33. 2: "RANDOM",
  34. }
  35. var PayloadType_value = map[string]int32{
  36. "COMPRESSABLE": 0,
  37. "UNCOMPRESSABLE": 1,
  38. "RANDOM": 2,
  39. }
  40. func (x PayloadType) String() string {
  41. return proto.EnumName(PayloadType_name, int32(x))
  42. }
  43. func (PayloadType) EnumDescriptor() ([]byte, []int) {
  44. return fileDescriptor_test_c9f6c5af4267cb88, []int{0}
  45. }
  46. type Empty struct {
  47. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  48. XXX_unrecognized []byte `json:"-"`
  49. XXX_sizecache int32 `json:"-"`
  50. }
  51. func (m *Empty) Reset() { *m = Empty{} }
  52. func (m *Empty) String() string { return proto.CompactTextString(m) }
  53. func (*Empty) ProtoMessage() {}
  54. func (*Empty) Descriptor() ([]byte, []int) {
  55. return fileDescriptor_test_c9f6c5af4267cb88, []int{0}
  56. }
  57. func (m *Empty) XXX_Unmarshal(b []byte) error {
  58. return xxx_messageInfo_Empty.Unmarshal(m, b)
  59. }
  60. func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  61. return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
  62. }
  63. func (dst *Empty) XXX_Merge(src proto.Message) {
  64. xxx_messageInfo_Empty.Merge(dst, src)
  65. }
  66. func (m *Empty) XXX_Size() int {
  67. return xxx_messageInfo_Empty.Size(m)
  68. }
  69. func (m *Empty) XXX_DiscardUnknown() {
  70. xxx_messageInfo_Empty.DiscardUnknown(m)
  71. }
  72. var xxx_messageInfo_Empty proto.InternalMessageInfo
  73. // A block of data, to simply increase gRPC message size.
  74. type Payload struct {
  75. // The type of data in body.
  76. Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.testing.PayloadType" json:"type,omitempty"`
  77. // Primary contents of payload.
  78. Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
  79. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  80. XXX_unrecognized []byte `json:"-"`
  81. XXX_sizecache int32 `json:"-"`
  82. }
  83. func (m *Payload) Reset() { *m = Payload{} }
  84. func (m *Payload) String() string { return proto.CompactTextString(m) }
  85. func (*Payload) ProtoMessage() {}
  86. func (*Payload) Descriptor() ([]byte, []int) {
  87. return fileDescriptor_test_c9f6c5af4267cb88, []int{1}
  88. }
  89. func (m *Payload) XXX_Unmarshal(b []byte) error {
  90. return xxx_messageInfo_Payload.Unmarshal(m, b)
  91. }
  92. func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  93. return xxx_messageInfo_Payload.Marshal(b, m, deterministic)
  94. }
  95. func (dst *Payload) XXX_Merge(src proto.Message) {
  96. xxx_messageInfo_Payload.Merge(dst, src)
  97. }
  98. func (m *Payload) XXX_Size() int {
  99. return xxx_messageInfo_Payload.Size(m)
  100. }
  101. func (m *Payload) XXX_DiscardUnknown() {
  102. xxx_messageInfo_Payload.DiscardUnknown(m)
  103. }
  104. var xxx_messageInfo_Payload proto.InternalMessageInfo
  105. func (m *Payload) GetType() PayloadType {
  106. if m != nil {
  107. return m.Type
  108. }
  109. return PayloadType_COMPRESSABLE
  110. }
  111. func (m *Payload) GetBody() []byte {
  112. if m != nil {
  113. return m.Body
  114. }
  115. return nil
  116. }
  117. // Unary request.
  118. type SimpleRequest struct {
  119. // Desired payload type in the response from the server.
  120. // If response_type is RANDOM, server randomly chooses one from other formats.
  121. ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"`
  122. // Desired payload size in the response from the server.
  123. // If response_type is COMPRESSABLE, this denotes the size before compression.
  124. ResponseSize int32 `protobuf:"varint,2,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"`
  125. // Optional input payload sent along with the request.
  126. Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
  127. // Whether SimpleResponse should include username.
  128. FillUsername bool `protobuf:"varint,4,opt,name=fill_username,json=fillUsername,proto3" json:"fill_username,omitempty"`
  129. // Whether SimpleResponse should include OAuth scope.
  130. FillOauthScope bool `protobuf:"varint,5,opt,name=fill_oauth_scope,json=fillOauthScope,proto3" json:"fill_oauth_scope,omitempty"`
  131. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  132. XXX_unrecognized []byte `json:"-"`
  133. XXX_sizecache int32 `json:"-"`
  134. }
  135. func (m *SimpleRequest) Reset() { *m = SimpleRequest{} }
  136. func (m *SimpleRequest) String() string { return proto.CompactTextString(m) }
  137. func (*SimpleRequest) ProtoMessage() {}
  138. func (*SimpleRequest) Descriptor() ([]byte, []int) {
  139. return fileDescriptor_test_c9f6c5af4267cb88, []int{2}
  140. }
  141. func (m *SimpleRequest) XXX_Unmarshal(b []byte) error {
  142. return xxx_messageInfo_SimpleRequest.Unmarshal(m, b)
  143. }
  144. func (m *SimpleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  145. return xxx_messageInfo_SimpleRequest.Marshal(b, m, deterministic)
  146. }
  147. func (dst *SimpleRequest) XXX_Merge(src proto.Message) {
  148. xxx_messageInfo_SimpleRequest.Merge(dst, src)
  149. }
  150. func (m *SimpleRequest) XXX_Size() int {
  151. return xxx_messageInfo_SimpleRequest.Size(m)
  152. }
  153. func (m *SimpleRequest) XXX_DiscardUnknown() {
  154. xxx_messageInfo_SimpleRequest.DiscardUnknown(m)
  155. }
  156. var xxx_messageInfo_SimpleRequest proto.InternalMessageInfo
  157. func (m *SimpleRequest) GetResponseType() PayloadType {
  158. if m != nil {
  159. return m.ResponseType
  160. }
  161. return PayloadType_COMPRESSABLE
  162. }
  163. func (m *SimpleRequest) GetResponseSize() int32 {
  164. if m != nil {
  165. return m.ResponseSize
  166. }
  167. return 0
  168. }
  169. func (m *SimpleRequest) GetPayload() *Payload {
  170. if m != nil {
  171. return m.Payload
  172. }
  173. return nil
  174. }
  175. func (m *SimpleRequest) GetFillUsername() bool {
  176. if m != nil {
  177. return m.FillUsername
  178. }
  179. return false
  180. }
  181. func (m *SimpleRequest) GetFillOauthScope() bool {
  182. if m != nil {
  183. return m.FillOauthScope
  184. }
  185. return false
  186. }
  187. // Unary response, as configured by the request.
  188. type SimpleResponse struct {
  189. // Payload to increase message size.
  190. Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
  191. // The user the request came from, for verifying authentication was
  192. // successful when the client expected it.
  193. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
  194. // OAuth scope.
  195. OauthScope string `protobuf:"bytes,3,opt,name=oauth_scope,json=oauthScope,proto3" json:"oauth_scope,omitempty"`
  196. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  197. XXX_unrecognized []byte `json:"-"`
  198. XXX_sizecache int32 `json:"-"`
  199. }
  200. func (m *SimpleResponse) Reset() { *m = SimpleResponse{} }
  201. func (m *SimpleResponse) String() string { return proto.CompactTextString(m) }
  202. func (*SimpleResponse) ProtoMessage() {}
  203. func (*SimpleResponse) Descriptor() ([]byte, []int) {
  204. return fileDescriptor_test_c9f6c5af4267cb88, []int{3}
  205. }
  206. func (m *SimpleResponse) XXX_Unmarshal(b []byte) error {
  207. return xxx_messageInfo_SimpleResponse.Unmarshal(m, b)
  208. }
  209. func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  210. return xxx_messageInfo_SimpleResponse.Marshal(b, m, deterministic)
  211. }
  212. func (dst *SimpleResponse) XXX_Merge(src proto.Message) {
  213. xxx_messageInfo_SimpleResponse.Merge(dst, src)
  214. }
  215. func (m *SimpleResponse) XXX_Size() int {
  216. return xxx_messageInfo_SimpleResponse.Size(m)
  217. }
  218. func (m *SimpleResponse) XXX_DiscardUnknown() {
  219. xxx_messageInfo_SimpleResponse.DiscardUnknown(m)
  220. }
  221. var xxx_messageInfo_SimpleResponse proto.InternalMessageInfo
  222. func (m *SimpleResponse) GetPayload() *Payload {
  223. if m != nil {
  224. return m.Payload
  225. }
  226. return nil
  227. }
  228. func (m *SimpleResponse) GetUsername() string {
  229. if m != nil {
  230. return m.Username
  231. }
  232. return ""
  233. }
  234. func (m *SimpleResponse) GetOauthScope() string {
  235. if m != nil {
  236. return m.OauthScope
  237. }
  238. return ""
  239. }
  240. // Client-streaming request.
  241. type StreamingInputCallRequest struct {
  242. // Optional input payload sent along with the request.
  243. Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
  244. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  245. XXX_unrecognized []byte `json:"-"`
  246. XXX_sizecache int32 `json:"-"`
  247. }
  248. func (m *StreamingInputCallRequest) Reset() { *m = StreamingInputCallRequest{} }
  249. func (m *StreamingInputCallRequest) String() string { return proto.CompactTextString(m) }
  250. func (*StreamingInputCallRequest) ProtoMessage() {}
  251. func (*StreamingInputCallRequest) Descriptor() ([]byte, []int) {
  252. return fileDescriptor_test_c9f6c5af4267cb88, []int{4}
  253. }
  254. func (m *StreamingInputCallRequest) XXX_Unmarshal(b []byte) error {
  255. return xxx_messageInfo_StreamingInputCallRequest.Unmarshal(m, b)
  256. }
  257. func (m *StreamingInputCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  258. return xxx_messageInfo_StreamingInputCallRequest.Marshal(b, m, deterministic)
  259. }
  260. func (dst *StreamingInputCallRequest) XXX_Merge(src proto.Message) {
  261. xxx_messageInfo_StreamingInputCallRequest.Merge(dst, src)
  262. }
  263. func (m *StreamingInputCallRequest) XXX_Size() int {
  264. return xxx_messageInfo_StreamingInputCallRequest.Size(m)
  265. }
  266. func (m *StreamingInputCallRequest) XXX_DiscardUnknown() {
  267. xxx_messageInfo_StreamingInputCallRequest.DiscardUnknown(m)
  268. }
  269. var xxx_messageInfo_StreamingInputCallRequest proto.InternalMessageInfo
  270. func (m *StreamingInputCallRequest) GetPayload() *Payload {
  271. if m != nil {
  272. return m.Payload
  273. }
  274. return nil
  275. }
  276. // Client-streaming response.
  277. type StreamingInputCallResponse struct {
  278. // Aggregated size of payloads received from the client.
  279. AggregatedPayloadSize int32 `protobuf:"varint,1,opt,name=aggregated_payload_size,json=aggregatedPayloadSize,proto3" json:"aggregated_payload_size,omitempty"`
  280. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  281. XXX_unrecognized []byte `json:"-"`
  282. XXX_sizecache int32 `json:"-"`
  283. }
  284. func (m *StreamingInputCallResponse) Reset() { *m = StreamingInputCallResponse{} }
  285. func (m *StreamingInputCallResponse) String() string { return proto.CompactTextString(m) }
  286. func (*StreamingInputCallResponse) ProtoMessage() {}
  287. func (*StreamingInputCallResponse) Descriptor() ([]byte, []int) {
  288. return fileDescriptor_test_c9f6c5af4267cb88, []int{5}
  289. }
  290. func (m *StreamingInputCallResponse) XXX_Unmarshal(b []byte) error {
  291. return xxx_messageInfo_StreamingInputCallResponse.Unmarshal(m, b)
  292. }
  293. func (m *StreamingInputCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  294. return xxx_messageInfo_StreamingInputCallResponse.Marshal(b, m, deterministic)
  295. }
  296. func (dst *StreamingInputCallResponse) XXX_Merge(src proto.Message) {
  297. xxx_messageInfo_StreamingInputCallResponse.Merge(dst, src)
  298. }
  299. func (m *StreamingInputCallResponse) XXX_Size() int {
  300. return xxx_messageInfo_StreamingInputCallResponse.Size(m)
  301. }
  302. func (m *StreamingInputCallResponse) XXX_DiscardUnknown() {
  303. xxx_messageInfo_StreamingInputCallResponse.DiscardUnknown(m)
  304. }
  305. var xxx_messageInfo_StreamingInputCallResponse proto.InternalMessageInfo
  306. func (m *StreamingInputCallResponse) GetAggregatedPayloadSize() int32 {
  307. if m != nil {
  308. return m.AggregatedPayloadSize
  309. }
  310. return 0
  311. }
  312. // Configuration for a particular response.
  313. type ResponseParameters struct {
  314. // Desired payload sizes in responses from the server.
  315. // If response_type is COMPRESSABLE, this denotes the size before compression.
  316. Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
  317. // Desired interval between consecutive responses in the response stream in
  318. // microseconds.
  319. IntervalUs int32 `protobuf:"varint,2,opt,name=interval_us,json=intervalUs,proto3" json:"interval_us,omitempty"`
  320. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  321. XXX_unrecognized []byte `json:"-"`
  322. XXX_sizecache int32 `json:"-"`
  323. }
  324. func (m *ResponseParameters) Reset() { *m = ResponseParameters{} }
  325. func (m *ResponseParameters) String() string { return proto.CompactTextString(m) }
  326. func (*ResponseParameters) ProtoMessage() {}
  327. func (*ResponseParameters) Descriptor() ([]byte, []int) {
  328. return fileDescriptor_test_c9f6c5af4267cb88, []int{6}
  329. }
  330. func (m *ResponseParameters) XXX_Unmarshal(b []byte) error {
  331. return xxx_messageInfo_ResponseParameters.Unmarshal(m, b)
  332. }
  333. func (m *ResponseParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  334. return xxx_messageInfo_ResponseParameters.Marshal(b, m, deterministic)
  335. }
  336. func (dst *ResponseParameters) XXX_Merge(src proto.Message) {
  337. xxx_messageInfo_ResponseParameters.Merge(dst, src)
  338. }
  339. func (m *ResponseParameters) XXX_Size() int {
  340. return xxx_messageInfo_ResponseParameters.Size(m)
  341. }
  342. func (m *ResponseParameters) XXX_DiscardUnknown() {
  343. xxx_messageInfo_ResponseParameters.DiscardUnknown(m)
  344. }
  345. var xxx_messageInfo_ResponseParameters proto.InternalMessageInfo
  346. func (m *ResponseParameters) GetSize() int32 {
  347. if m != nil {
  348. return m.Size
  349. }
  350. return 0
  351. }
  352. func (m *ResponseParameters) GetIntervalUs() int32 {
  353. if m != nil {
  354. return m.IntervalUs
  355. }
  356. return 0
  357. }
  358. // Server-streaming request.
  359. type StreamingOutputCallRequest struct {
  360. // Desired payload type in the response from the server.
  361. // If response_type is RANDOM, the payload from each response in the stream
  362. // might be of different types. This is to simulate a mixed type of payload
  363. // stream.
  364. ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"`
  365. // Configuration for each expected response message.
  366. ResponseParameters []*ResponseParameters `protobuf:"bytes,2,rep,name=response_parameters,json=responseParameters,proto3" json:"response_parameters,omitempty"`
  367. // Optional input payload sent along with the request.
  368. Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
  369. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  370. XXX_unrecognized []byte `json:"-"`
  371. XXX_sizecache int32 `json:"-"`
  372. }
  373. func (m *StreamingOutputCallRequest) Reset() { *m = StreamingOutputCallRequest{} }
  374. func (m *StreamingOutputCallRequest) String() string { return proto.CompactTextString(m) }
  375. func (*StreamingOutputCallRequest) ProtoMessage() {}
  376. func (*StreamingOutputCallRequest) Descriptor() ([]byte, []int) {
  377. return fileDescriptor_test_c9f6c5af4267cb88, []int{7}
  378. }
  379. func (m *StreamingOutputCallRequest) XXX_Unmarshal(b []byte) error {
  380. return xxx_messageInfo_StreamingOutputCallRequest.Unmarshal(m, b)
  381. }
  382. func (m *StreamingOutputCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  383. return xxx_messageInfo_StreamingOutputCallRequest.Marshal(b, m, deterministic)
  384. }
  385. func (dst *StreamingOutputCallRequest) XXX_Merge(src proto.Message) {
  386. xxx_messageInfo_StreamingOutputCallRequest.Merge(dst, src)
  387. }
  388. func (m *StreamingOutputCallRequest) XXX_Size() int {
  389. return xxx_messageInfo_StreamingOutputCallRequest.Size(m)
  390. }
  391. func (m *StreamingOutputCallRequest) XXX_DiscardUnknown() {
  392. xxx_messageInfo_StreamingOutputCallRequest.DiscardUnknown(m)
  393. }
  394. var xxx_messageInfo_StreamingOutputCallRequest proto.InternalMessageInfo
  395. func (m *StreamingOutputCallRequest) GetResponseType() PayloadType {
  396. if m != nil {
  397. return m.ResponseType
  398. }
  399. return PayloadType_COMPRESSABLE
  400. }
  401. func (m *StreamingOutputCallRequest) GetResponseParameters() []*ResponseParameters {
  402. if m != nil {
  403. return m.ResponseParameters
  404. }
  405. return nil
  406. }
  407. func (m *StreamingOutputCallRequest) GetPayload() *Payload {
  408. if m != nil {
  409. return m.Payload
  410. }
  411. return nil
  412. }
  413. // Server-streaming response, as configured by the request and parameters.
  414. type StreamingOutputCallResponse struct {
  415. // Payload to increase response size.
  416. Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
  417. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  418. XXX_unrecognized []byte `json:"-"`
  419. XXX_sizecache int32 `json:"-"`
  420. }
  421. func (m *StreamingOutputCallResponse) Reset() { *m = StreamingOutputCallResponse{} }
  422. func (m *StreamingOutputCallResponse) String() string { return proto.CompactTextString(m) }
  423. func (*StreamingOutputCallResponse) ProtoMessage() {}
  424. func (*StreamingOutputCallResponse) Descriptor() ([]byte, []int) {
  425. return fileDescriptor_test_c9f6c5af4267cb88, []int{8}
  426. }
  427. func (m *StreamingOutputCallResponse) XXX_Unmarshal(b []byte) error {
  428. return xxx_messageInfo_StreamingOutputCallResponse.Unmarshal(m, b)
  429. }
  430. func (m *StreamingOutputCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  431. return xxx_messageInfo_StreamingOutputCallResponse.Marshal(b, m, deterministic)
  432. }
  433. func (dst *StreamingOutputCallResponse) XXX_Merge(src proto.Message) {
  434. xxx_messageInfo_StreamingOutputCallResponse.Merge(dst, src)
  435. }
  436. func (m *StreamingOutputCallResponse) XXX_Size() int {
  437. return xxx_messageInfo_StreamingOutputCallResponse.Size(m)
  438. }
  439. func (m *StreamingOutputCallResponse) XXX_DiscardUnknown() {
  440. xxx_messageInfo_StreamingOutputCallResponse.DiscardUnknown(m)
  441. }
  442. var xxx_messageInfo_StreamingOutputCallResponse proto.InternalMessageInfo
  443. func (m *StreamingOutputCallResponse) GetPayload() *Payload {
  444. if m != nil {
  445. return m.Payload
  446. }
  447. return nil
  448. }
  449. func init() {
  450. proto.RegisterType((*Empty)(nil), "grpc.testing.Empty")
  451. proto.RegisterType((*Payload)(nil), "grpc.testing.Payload")
  452. proto.RegisterType((*SimpleRequest)(nil), "grpc.testing.SimpleRequest")
  453. proto.RegisterType((*SimpleResponse)(nil), "grpc.testing.SimpleResponse")
  454. proto.RegisterType((*StreamingInputCallRequest)(nil), "grpc.testing.StreamingInputCallRequest")
  455. proto.RegisterType((*StreamingInputCallResponse)(nil), "grpc.testing.StreamingInputCallResponse")
  456. proto.RegisterType((*ResponseParameters)(nil), "grpc.testing.ResponseParameters")
  457. proto.RegisterType((*StreamingOutputCallRequest)(nil), "grpc.testing.StreamingOutputCallRequest")
  458. proto.RegisterType((*StreamingOutputCallResponse)(nil), "grpc.testing.StreamingOutputCallResponse")
  459. proto.RegisterEnum("grpc.testing.PayloadType", PayloadType_name, PayloadType_value)
  460. }
  461. // Reference imports to suppress errors if they are not otherwise used.
  462. var _ context.Context
  463. var _ grpc.ClientConn
  464. // This is a compile-time assertion to ensure that this generated file
  465. // is compatible with the grpc package it is being compiled against.
  466. const _ = grpc.SupportPackageIsVersion4
  467. // TestServiceClient is the client API for TestService service.
  468. //
  469. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  470. type TestServiceClient interface {
  471. // One empty request followed by one empty response.
  472. EmptyCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
  473. // One request followed by one response.
  474. // The server returns the client payload as-is.
  475. UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error)
  476. // One request followed by a sequence of responses (streamed download).
  477. // The server returns the payload with client desired type and sizes.
  478. StreamingOutputCall(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption) (TestService_StreamingOutputCallClient, error)
  479. // A sequence of requests followed by one response (streamed upload).
  480. // The server returns the aggregated size of client payload as the result.
  481. StreamingInputCall(ctx context.Context, opts ...grpc.CallOption) (TestService_StreamingInputCallClient, error)
  482. // A sequence of requests with each request served by the server immediately.
  483. // As one request could lead to multiple responses, this interface
  484. // demonstrates the idea of full duplexing.
  485. FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_FullDuplexCallClient, error)
  486. // A sequence of requests followed by a sequence of responses.
  487. // The server buffers all the client requests and then serves them in order. A
  488. // stream of responses are returned to the client when the server starts with
  489. // first request.
  490. HalfDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_HalfDuplexCallClient, error)
  491. }
  492. type testServiceClient struct {
  493. cc *grpc.ClientConn
  494. }
  495. func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient {
  496. return &testServiceClient{cc}
  497. }
  498. func (c *testServiceClient) EmptyCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) {
  499. out := new(Empty)
  500. err := c.cc.Invoke(ctx, "/grpc.testing.TestService/EmptyCall", in, out, opts...)
  501. if err != nil {
  502. return nil, err
  503. }
  504. return out, nil
  505. }
  506. func (c *testServiceClient) UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) {
  507. out := new(SimpleResponse)
  508. err := c.cc.Invoke(ctx, "/grpc.testing.TestService/UnaryCall", in, out, opts...)
  509. if err != nil {
  510. return nil, err
  511. }
  512. return out, nil
  513. }
  514. func (c *testServiceClient) StreamingOutputCall(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption) (TestService_StreamingOutputCallClient, error) {
  515. stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[0], "/grpc.testing.TestService/StreamingOutputCall", opts...)
  516. if err != nil {
  517. return nil, err
  518. }
  519. x := &testServiceStreamingOutputCallClient{stream}
  520. if err := x.ClientStream.SendMsg(in); err != nil {
  521. return nil, err
  522. }
  523. if err := x.ClientStream.CloseSend(); err != nil {
  524. return nil, err
  525. }
  526. return x, nil
  527. }
  528. type TestService_StreamingOutputCallClient interface {
  529. Recv() (*StreamingOutputCallResponse, error)
  530. grpc.ClientStream
  531. }
  532. type testServiceStreamingOutputCallClient struct {
  533. grpc.ClientStream
  534. }
  535. func (x *testServiceStreamingOutputCallClient) Recv() (*StreamingOutputCallResponse, error) {
  536. m := new(StreamingOutputCallResponse)
  537. if err := x.ClientStream.RecvMsg(m); err != nil {
  538. return nil, err
  539. }
  540. return m, nil
  541. }
  542. func (c *testServiceClient) StreamingInputCall(ctx context.Context, opts ...grpc.CallOption) (TestService_StreamingInputCallClient, error) {
  543. stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[1], "/grpc.testing.TestService/StreamingInputCall", opts...)
  544. if err != nil {
  545. return nil, err
  546. }
  547. x := &testServiceStreamingInputCallClient{stream}
  548. return x, nil
  549. }
  550. type TestService_StreamingInputCallClient interface {
  551. Send(*StreamingInputCallRequest) error
  552. CloseAndRecv() (*StreamingInputCallResponse, error)
  553. grpc.ClientStream
  554. }
  555. type testServiceStreamingInputCallClient struct {
  556. grpc.ClientStream
  557. }
  558. func (x *testServiceStreamingInputCallClient) Send(m *StreamingInputCallRequest) error {
  559. return x.ClientStream.SendMsg(m)
  560. }
  561. func (x *testServiceStreamingInputCallClient) CloseAndRecv() (*StreamingInputCallResponse, error) {
  562. if err := x.ClientStream.CloseSend(); err != nil {
  563. return nil, err
  564. }
  565. m := new(StreamingInputCallResponse)
  566. if err := x.ClientStream.RecvMsg(m); err != nil {
  567. return nil, err
  568. }
  569. return m, nil
  570. }
  571. func (c *testServiceClient) FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_FullDuplexCallClient, error) {
  572. stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[2], "/grpc.testing.TestService/FullDuplexCall", opts...)
  573. if err != nil {
  574. return nil, err
  575. }
  576. x := &testServiceFullDuplexCallClient{stream}
  577. return x, nil
  578. }
  579. type TestService_FullDuplexCallClient interface {
  580. Send(*StreamingOutputCallRequest) error
  581. Recv() (*StreamingOutputCallResponse, error)
  582. grpc.ClientStream
  583. }
  584. type testServiceFullDuplexCallClient struct {
  585. grpc.ClientStream
  586. }
  587. func (x *testServiceFullDuplexCallClient) Send(m *StreamingOutputCallRequest) error {
  588. return x.ClientStream.SendMsg(m)
  589. }
  590. func (x *testServiceFullDuplexCallClient) Recv() (*StreamingOutputCallResponse, error) {
  591. m := new(StreamingOutputCallResponse)
  592. if err := x.ClientStream.RecvMsg(m); err != nil {
  593. return nil, err
  594. }
  595. return m, nil
  596. }
  597. func (c *testServiceClient) HalfDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_HalfDuplexCallClient, error) {
  598. stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[3], "/grpc.testing.TestService/HalfDuplexCall", opts...)
  599. if err != nil {
  600. return nil, err
  601. }
  602. x := &testServiceHalfDuplexCallClient{stream}
  603. return x, nil
  604. }
  605. type TestService_HalfDuplexCallClient interface {
  606. Send(*StreamingOutputCallRequest) error
  607. Recv() (*StreamingOutputCallResponse, error)
  608. grpc.ClientStream
  609. }
  610. type testServiceHalfDuplexCallClient struct {
  611. grpc.ClientStream
  612. }
  613. func (x *testServiceHalfDuplexCallClient) Send(m *StreamingOutputCallRequest) error {
  614. return x.ClientStream.SendMsg(m)
  615. }
  616. func (x *testServiceHalfDuplexCallClient) Recv() (*StreamingOutputCallResponse, error) {
  617. m := new(StreamingOutputCallResponse)
  618. if err := x.ClientStream.RecvMsg(m); err != nil {
  619. return nil, err
  620. }
  621. return m, nil
  622. }
  623. // TestServiceServer is the server API for TestService service.
  624. type TestServiceServer interface {
  625. // One empty request followed by one empty response.
  626. EmptyCall(context.Context, *Empty) (*Empty, error)
  627. // One request followed by one response.
  628. // The server returns the client payload as-is.
  629. UnaryCall(context.Context, *SimpleRequest) (*SimpleResponse, error)
  630. // One request followed by a sequence of responses (streamed download).
  631. // The server returns the payload with client desired type and sizes.
  632. StreamingOutputCall(*StreamingOutputCallRequest, TestService_StreamingOutputCallServer) error
  633. // A sequence of requests followed by one response (streamed upload).
  634. // The server returns the aggregated size of client payload as the result.
  635. StreamingInputCall(TestService_StreamingInputCallServer) error
  636. // A sequence of requests with each request served by the server immediately.
  637. // As one request could lead to multiple responses, this interface
  638. // demonstrates the idea of full duplexing.
  639. FullDuplexCall(TestService_FullDuplexCallServer) error
  640. // A sequence of requests followed by a sequence of responses.
  641. // The server buffers all the client requests and then serves them in order. A
  642. // stream of responses are returned to the client when the server starts with
  643. // first request.
  644. HalfDuplexCall(TestService_HalfDuplexCallServer) error
  645. }
  646. func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer) {
  647. s.RegisterService(&_TestService_serviceDesc, srv)
  648. }
  649. func _TestService_EmptyCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  650. in := new(Empty)
  651. if err := dec(in); err != nil {
  652. return nil, err
  653. }
  654. if interceptor == nil {
  655. return srv.(TestServiceServer).EmptyCall(ctx, in)
  656. }
  657. info := &grpc.UnaryServerInfo{
  658. Server: srv,
  659. FullMethod: "/grpc.testing.TestService/EmptyCall",
  660. }
  661. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  662. return srv.(TestServiceServer).EmptyCall(ctx, req.(*Empty))
  663. }
  664. return interceptor(ctx, in, info, handler)
  665. }
  666. func _TestService_UnaryCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  667. in := new(SimpleRequest)
  668. if err := dec(in); err != nil {
  669. return nil, err
  670. }
  671. if interceptor == nil {
  672. return srv.(TestServiceServer).UnaryCall(ctx, in)
  673. }
  674. info := &grpc.UnaryServerInfo{
  675. Server: srv,
  676. FullMethod: "/grpc.testing.TestService/UnaryCall",
  677. }
  678. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  679. return srv.(TestServiceServer).UnaryCall(ctx, req.(*SimpleRequest))
  680. }
  681. return interceptor(ctx, in, info, handler)
  682. }
  683. func _TestService_StreamingOutputCall_Handler(srv interface{}, stream grpc.ServerStream) error {
  684. m := new(StreamingOutputCallRequest)
  685. if err := stream.RecvMsg(m); err != nil {
  686. return err
  687. }
  688. return srv.(TestServiceServer).StreamingOutputCall(m, &testServiceStreamingOutputCallServer{stream})
  689. }
  690. type TestService_StreamingOutputCallServer interface {
  691. Send(*StreamingOutputCallResponse) error
  692. grpc.ServerStream
  693. }
  694. type testServiceStreamingOutputCallServer struct {
  695. grpc.ServerStream
  696. }
  697. func (x *testServiceStreamingOutputCallServer) Send(m *StreamingOutputCallResponse) error {
  698. return x.ServerStream.SendMsg(m)
  699. }
  700. func _TestService_StreamingInputCall_Handler(srv interface{}, stream grpc.ServerStream) error {
  701. return srv.(TestServiceServer).StreamingInputCall(&testServiceStreamingInputCallServer{stream})
  702. }
  703. type TestService_StreamingInputCallServer interface {
  704. SendAndClose(*StreamingInputCallResponse) error
  705. Recv() (*StreamingInputCallRequest, error)
  706. grpc.ServerStream
  707. }
  708. type testServiceStreamingInputCallServer struct {
  709. grpc.ServerStream
  710. }
  711. func (x *testServiceStreamingInputCallServer) SendAndClose(m *StreamingInputCallResponse) error {
  712. return x.ServerStream.SendMsg(m)
  713. }
  714. func (x *testServiceStreamingInputCallServer) Recv() (*StreamingInputCallRequest, error) {
  715. m := new(StreamingInputCallRequest)
  716. if err := x.ServerStream.RecvMsg(m); err != nil {
  717. return nil, err
  718. }
  719. return m, nil
  720. }
  721. func _TestService_FullDuplexCall_Handler(srv interface{}, stream grpc.ServerStream) error {
  722. return srv.(TestServiceServer).FullDuplexCall(&testServiceFullDuplexCallServer{stream})
  723. }
  724. type TestService_FullDuplexCallServer interface {
  725. Send(*StreamingOutputCallResponse) error
  726. Recv() (*StreamingOutputCallRequest, error)
  727. grpc.ServerStream
  728. }
  729. type testServiceFullDuplexCallServer struct {
  730. grpc.ServerStream
  731. }
  732. func (x *testServiceFullDuplexCallServer) Send(m *StreamingOutputCallResponse) error {
  733. return x.ServerStream.SendMsg(m)
  734. }
  735. func (x *testServiceFullDuplexCallServer) Recv() (*StreamingOutputCallRequest, error) {
  736. m := new(StreamingOutputCallRequest)
  737. if err := x.ServerStream.RecvMsg(m); err != nil {
  738. return nil, err
  739. }
  740. return m, nil
  741. }
  742. func _TestService_HalfDuplexCall_Handler(srv interface{}, stream grpc.ServerStream) error {
  743. return srv.(TestServiceServer).HalfDuplexCall(&testServiceHalfDuplexCallServer{stream})
  744. }
  745. type TestService_HalfDuplexCallServer interface {
  746. Send(*StreamingOutputCallResponse) error
  747. Recv() (*StreamingOutputCallRequest, error)
  748. grpc.ServerStream
  749. }
  750. type testServiceHalfDuplexCallServer struct {
  751. grpc.ServerStream
  752. }
  753. func (x *testServiceHalfDuplexCallServer) Send(m *StreamingOutputCallResponse) error {
  754. return x.ServerStream.SendMsg(m)
  755. }
  756. func (x *testServiceHalfDuplexCallServer) Recv() (*StreamingOutputCallRequest, error) {
  757. m := new(StreamingOutputCallRequest)
  758. if err := x.ServerStream.RecvMsg(m); err != nil {
  759. return nil, err
  760. }
  761. return m, nil
  762. }
  763. var _TestService_serviceDesc = grpc.ServiceDesc{
  764. ServiceName: "grpc.testing.TestService",
  765. HandlerType: (*TestServiceServer)(nil),
  766. Methods: []grpc.MethodDesc{
  767. {
  768. MethodName: "EmptyCall",
  769. Handler: _TestService_EmptyCall_Handler,
  770. },
  771. {
  772. MethodName: "UnaryCall",
  773. Handler: _TestService_UnaryCall_Handler,
  774. },
  775. },
  776. Streams: []grpc.StreamDesc{
  777. {
  778. StreamName: "StreamingOutputCall",
  779. Handler: _TestService_StreamingOutputCall_Handler,
  780. ServerStreams: true,
  781. },
  782. {
  783. StreamName: "StreamingInputCall",
  784. Handler: _TestService_StreamingInputCall_Handler,
  785. ClientStreams: true,
  786. },
  787. {
  788. StreamName: "FullDuplexCall",
  789. Handler: _TestService_FullDuplexCall_Handler,
  790. ServerStreams: true,
  791. ClientStreams: true,
  792. },
  793. {
  794. StreamName: "HalfDuplexCall",
  795. Handler: _TestService_HalfDuplexCall_Handler,
  796. ServerStreams: true,
  797. ClientStreams: true,
  798. },
  799. },
  800. Metadata: "grpc_testing/test.proto",
  801. }
  802. func init() { proto.RegisterFile("grpc_testing/test.proto", fileDescriptor_test_c9f6c5af4267cb88) }
  803. var fileDescriptor_test_c9f6c5af4267cb88 = []byte{
  804. // 587 bytes of a gzipped FileDescriptorProto
  805. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdb, 0x6e, 0xd3, 0x40,
  806. 0x10, 0x65, 0xdb, 0xf4, 0x36, 0x49, 0xad, 0x68, 0xab, 0xaa, 0xae, 0x8b, 0x84, 0x65, 0x1e, 0x30,
  807. 0x48, 0xa4, 0x28, 0x08, 0x1e, 0x41, 0xa5, 0x17, 0x51, 0x29, 0x4d, 0x82, 0x9d, 0x3c, 0x47, 0xdb,
  808. 0x64, 0x6b, 0x2c, 0x39, 0xf6, 0xb2, 0x5e, 0x57, 0xa4, 0x0f, 0xfc, 0x18, 0x3f, 0xc3, 0x47, 0xf0,
  809. 0x01, 0x68, 0xd7, 0x76, 0xe2, 0x24, 0xae, 0x48, 0x41, 0xf0, 0x14, 0x7b, 0xe6, 0xcc, 0x99, 0x73,
  810. 0x3c, 0xb3, 0x1b, 0x38, 0xf0, 0x38, 0x1b, 0x0e, 0x04, 0x8d, 0x85, 0x1f, 0x7a, 0xc7, 0xf2, 0xb7,
  811. 0xc1, 0x78, 0x24, 0x22, 0x5c, 0x93, 0x89, 0x46, 0x96, 0xb0, 0xb6, 0x60, 0xe3, 0x7c, 0xcc, 0xc4,
  812. 0xc4, 0x6a, 0xc1, 0x56, 0x97, 0x4c, 0x82, 0x88, 0x8c, 0xf0, 0x4b, 0xa8, 0x88, 0x09, 0xa3, 0x3a,
  813. 0x32, 0x91, 0xad, 0x35, 0x0f, 0x1b, 0xc5, 0x82, 0x46, 0x06, 0xea, 0x4d, 0x18, 0x75, 0x14, 0x0c,
  814. 0x63, 0xa8, 0x5c, 0x47, 0xa3, 0x89, 0xbe, 0x66, 0x22, 0xbb, 0xe6, 0xa8, 0x67, 0xeb, 0x27, 0x82,
  815. 0x5d, 0xd7, 0x1f, 0xb3, 0x80, 0x3a, 0xf4, 0x4b, 0x42, 0x63, 0x81, 0xdf, 0xc1, 0x2e, 0xa7, 0x31,
  816. 0x8b, 0xc2, 0x98, 0x0e, 0x56, 0x63, 0xaf, 0xe5, 0x78, 0xf9, 0x86, 0x9f, 0x16, 0xea, 0x63, 0xff,
  817. 0x8e, 0xaa, 0x76, 0x1b, 0x33, 0x90, 0xeb, 0xdf, 0x51, 0x7c, 0x0c, 0x5b, 0x2c, 0x65, 0xd0, 0xd7,
  818. 0x4d, 0x64, 0x57, 0x9b, 0xfb, 0xa5, 0xf4, 0x4e, 0x8e, 0x92, 0xac, 0x37, 0x7e, 0x10, 0x0c, 0x92,
  819. 0x98, 0xf2, 0x90, 0x8c, 0xa9, 0x5e, 0x31, 0x91, 0xbd, 0xed, 0xd4, 0x64, 0xb0, 0x9f, 0xc5, 0xb0,
  820. 0x0d, 0x75, 0x05, 0x8a, 0x48, 0x22, 0x3e, 0x0f, 0xe2, 0x61, 0xc4, 0xa8, 0xbe, 0xa1, 0x70, 0x9a,
  821. 0x8c, 0x77, 0x64, 0xd8, 0x95, 0x51, 0xeb, 0x1b, 0x68, 0xb9, 0xeb, 0x54, 0x55, 0x51, 0x11, 0x5a,
  822. 0x49, 0x91, 0x01, 0xdb, 0x53, 0x31, 0xd2, 0xe2, 0x8e, 0x33, 0x7d, 0xc7, 0x4f, 0xa0, 0x5a, 0xd4,
  823. 0xb0, 0xae, 0xd2, 0x10, 0xcd, 0xfa, 0xb7, 0xe0, 0xd0, 0x15, 0x9c, 0x92, 0xb1, 0x1f, 0x7a, 0x97,
  824. 0x21, 0x4b, 0xc4, 0x29, 0x09, 0x82, 0x7c, 0x02, 0x0f, 0x95, 0x62, 0xf5, 0xc0, 0x28, 0x63, 0xcb,
  825. 0x9c, 0xbd, 0x85, 0x03, 0xe2, 0x79, 0x9c, 0x7a, 0x44, 0xd0, 0xd1, 0x20, 0xab, 0x49, 0x47, 0x83,
  826. 0xd4, 0x68, 0xf6, 0x67, 0xe9, 0x8c, 0x5a, 0xce, 0xc8, 0xba, 0x04, 0x9c, 0x73, 0x74, 0x09, 0x27,
  827. 0x63, 0x2a, 0x28, 0x8f, 0xe5, 0x12, 0x15, 0x4a, 0xd5, 0xb3, 0xb4, 0xeb, 0x87, 0x82, 0xf2, 0x5b,
  828. 0x22, 0x07, 0x94, 0x0d, 0x1c, 0xf2, 0x50, 0x3f, 0xb6, 0x7e, 0xa0, 0x82, 0xc2, 0x4e, 0x22, 0x16,
  829. 0x0c, 0xff, 0xed, 0xca, 0x7d, 0x82, 0xbd, 0x69, 0x3d, 0x9b, 0x4a, 0xd5, 0xd7, 0xcc, 0x75, 0xbb,
  830. 0xda, 0x34, 0xe7, 0x59, 0x96, 0x2d, 0x39, 0x98, 0x2f, 0xdb, 0x7c, 0xe8, 0x82, 0x5a, 0x6d, 0x38,
  831. 0x2a, 0x75, 0xf8, 0x87, 0xeb, 0xf5, 0xe2, 0x3d, 0x54, 0x0b, 0x86, 0x71, 0x1d, 0x6a, 0xa7, 0x9d,
  832. 0xab, 0xae, 0x73, 0xee, 0xba, 0x27, 0x1f, 0x5a, 0xe7, 0xf5, 0x47, 0x18, 0x83, 0xd6, 0x6f, 0xcf,
  833. 0xc5, 0x10, 0x06, 0xd8, 0x74, 0x4e, 0xda, 0x67, 0x9d, 0xab, 0xfa, 0x5a, 0xf3, 0x7b, 0x05, 0xaa,
  834. 0x3d, 0x1a, 0x0b, 0x97, 0xf2, 0x5b, 0x7f, 0x48, 0xf1, 0x1b, 0xd8, 0x51, 0x17, 0x88, 0x94, 0x85,
  835. 0xf7, 0xe6, 0xbb, 0xab, 0x84, 0x51, 0x16, 0xc4, 0x17, 0xb0, 0xd3, 0x0f, 0x09, 0x4f, 0xcb, 0x8e,
  836. 0xe6, 0x11, 0x73, 0x17, 0x87, 0xf1, 0xb8, 0x3c, 0x99, 0x7d, 0x80, 0x00, 0xf6, 0x4a, 0xbe, 0x0f,
  837. 0xb6, 0x17, 0x8a, 0xee, 0x5d, 0x12, 0xe3, 0xf9, 0x0a, 0xc8, 0xb4, 0xd7, 0x2b, 0x84, 0x7d, 0xc0,
  838. 0xcb, 0x27, 0x02, 0x3f, 0xbb, 0x87, 0x62, 0xf1, 0x04, 0x1a, 0xf6, 0xef, 0x81, 0x69, 0x2b, 0x5b,
  839. 0xb6, 0xd2, 0x2e, 0x92, 0x20, 0x38, 0x4b, 0x58, 0x40, 0xbf, 0xfe, 0x33, 0x4f, 0x36, 0x52, 0xae,
  840. 0xb4, 0x8f, 0x24, 0xb8, 0xf9, 0x0f, 0xad, 0xae, 0x37, 0xd5, 0x7f, 0xd0, 0xeb, 0x5f, 0x01, 0x00,
  841. 0x00, 0xff, 0xff, 0x07, 0xc7, 0x76, 0x69, 0x9e, 0x06, 0x00, 0x00,
  842. }