Advertisement
Guest User

Untitled

a guest
Jan 4th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 1.60 KB | None | 0 0
  1. // Code generated by protoc-gen-go.
  2. // source: grpc_tester.proto
  3. // DO NOT EDIT!
  4.  
  5. /*
  6. Package cohesity_magneto is a generated protocol buffer package.
  7.  
  8. It is generated from these files:
  9.   grpc_tester.proto
  10.  
  11. It has these top-level messages:
  12.   HelloRequest
  13.   HelloResponse
  14. */
  15. package cohesity_magneto
  16.  
  17. import proto "code.google.com/p/goprotobuf/proto"
  18. import json "encoding/json"
  19. import math "math"
  20. import fmt "fmt"
  21. import errors "errors"
  22.  
  23. // Reference proto, json, and math imports to suppress error if they are not otherwise used.
  24. var _ = proto.Marshal
  25. var _ = &json.SyntaxError{}
  26. var _ = math.Inf
  27. var _ = errors.New("")
  28. var _ = fmt.Errorf
  29.  
  30. type HelloRequest struct {
  31.   StrReq           *string `protobuf:"bytes,1,opt,name=str_req" json:"strReq,omitempty"`
  32.   XXX_unrecognized []byte  `json:"-"`
  33. }
  34.  
  35. func (m *HelloRequest) Reset()         { *m = HelloRequest{} }
  36. func (m *HelloRequest) String() string { return proto.CompactTextString(m) }
  37. func (*HelloRequest) ProtoMessage()    {}
  38.  
  39. func (m *HelloRequest) GetStrReq() string {
  40.   if m != nil && m.StrReq != nil {
  41.     return *m.StrReq
  42.   }
  43.   return ""
  44. }
  45.  
  46. type HelloResponse struct {
  47.   StrRes           *string `protobuf:"bytes,2,opt,name=str_res" json:"strRes,omitempty"`
  48.   XXX_unrecognized []byte  `json:"-"`
  49. }
  50.  
  51. func (m *HelloResponse) Reset()         { *m = HelloResponse{} }
  52. func (m *HelloResponse) String() string { return proto.CompactTextString(m) }
  53. func (*HelloResponse) ProtoMessage()    {}
  54.  
  55. func (m *HelloResponse) GetStrRes() string {
  56.   if m != nil && m.StrRes != nil {
  57.     return *m.StrRes
  58.   }
  59.   return ""
  60. }
  61.  
  62. func init() {
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement