github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/helloworld/proto/greeter.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: github.com/micro/go-micro/examples/helloworld/proto/greeter.proto
     3  
     4  package greeter
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/golang/protobuf/proto"
     9  	math "math"
    10  )
    11  
    12  // Reference imports to suppress errors if they are not otherwise used.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = math.Inf
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the proto package it is being compiled against.
    19  // A compilation error at this line likely means your copy of the
    20  // proto package needs to be updated.
    21  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    22  
    23  type Request struct {
    24  	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    25  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    26  	XXX_unrecognized     []byte   `json:"-"`
    27  	XXX_sizecache        int32    `json:"-"`
    28  }
    29  
    30  func (m *Request) Reset()         { *m = Request{} }
    31  func (m *Request) String() string { return proto.CompactTextString(m) }
    32  func (*Request) ProtoMessage()    {}
    33  func (*Request) Descriptor() ([]byte, []int) {
    34  	return fileDescriptor_f59dc6c921369088, []int{0}
    35  }
    36  
    37  func (m *Request) XXX_Unmarshal(b []byte) error {
    38  	return xxx_messageInfo_Request.Unmarshal(m, b)
    39  }
    40  func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    41  	return xxx_messageInfo_Request.Marshal(b, m, deterministic)
    42  }
    43  func (m *Request) XXX_Merge(src proto.Message) {
    44  	xxx_messageInfo_Request.Merge(m, src)
    45  }
    46  func (m *Request) XXX_Size() int {
    47  	return xxx_messageInfo_Request.Size(m)
    48  }
    49  func (m *Request) XXX_DiscardUnknown() {
    50  	xxx_messageInfo_Request.DiscardUnknown(m)
    51  }
    52  
    53  var xxx_messageInfo_Request proto.InternalMessageInfo
    54  
    55  func (m *Request) GetName() string {
    56  	if m != nil {
    57  		return m.Name
    58  	}
    59  	return ""
    60  }
    61  
    62  type Response struct {
    63  	Greeting             string   `protobuf:"bytes,2,opt,name=greeting,proto3" json:"greeting,omitempty"`
    64  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    65  	XXX_unrecognized     []byte   `json:"-"`
    66  	XXX_sizecache        int32    `json:"-"`
    67  }
    68  
    69  func (m *Response) Reset()         { *m = Response{} }
    70  func (m *Response) String() string { return proto.CompactTextString(m) }
    71  func (*Response) ProtoMessage()    {}
    72  func (*Response) Descriptor() ([]byte, []int) {
    73  	return fileDescriptor_f59dc6c921369088, []int{1}
    74  }
    75  
    76  func (m *Response) XXX_Unmarshal(b []byte) error {
    77  	return xxx_messageInfo_Response.Unmarshal(m, b)
    78  }
    79  func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    80  	return xxx_messageInfo_Response.Marshal(b, m, deterministic)
    81  }
    82  func (m *Response) XXX_Merge(src proto.Message) {
    83  	xxx_messageInfo_Response.Merge(m, src)
    84  }
    85  func (m *Response) XXX_Size() int {
    86  	return xxx_messageInfo_Response.Size(m)
    87  }
    88  func (m *Response) XXX_DiscardUnknown() {
    89  	xxx_messageInfo_Response.DiscardUnknown(m)
    90  }
    91  
    92  var xxx_messageInfo_Response proto.InternalMessageInfo
    93  
    94  func (m *Response) GetGreeting() string {
    95  	if m != nil {
    96  		return m.Greeting
    97  	}
    98  	return ""
    99  }
   100  
   101  func init() {
   102  	proto.RegisterType((*Request)(nil), "Request")
   103  	proto.RegisterType((*Response)(nil), "Response")
   104  }
   105  
   106  func init() {
   107  	proto.RegisterFile("github.com/micro/go-micro/examples/helloworld/proto/greeter.proto", fileDescriptor_f59dc6c921369088)
   108  }
   109  
   110  var fileDescriptor_f59dc6c921369088 = []byte{
   111  	// 164 bytes of a gzipped FileDescriptorProto
   112  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x8d, 0x4d, 0x0a, 0xc2, 0x30,
   113  	0x10, 0x46, 0xad, 0xa8, 0x6d, 0x67, 0x99, 0x55, 0x29, 0x28, 0xd2, 0x85, 0xe8, 0x26, 0x01, 0xdd,
   114  	0x78, 0x03, 0x5d, 0xf7, 0x06, 0x6d, 0x1d, 0xd2, 0x40, 0x92, 0x89, 0x49, 0x8a, 0x1e, 0x5f, 0x8c,
   115  	0x3f, 0xbb, 0x79, 0x30, 0xdf, 0x7b, 0x70, 0x96, 0x2a, 0x8e, 0x53, 0xcf, 0x07, 0x32, 0xc2, 0xa8,
   116  	0xc1, 0x93, 0xc0, 0x67, 0x67, 0x9c, 0xc6, 0x20, 0x46, 0xd4, 0x9a, 0x1e, 0xe4, 0xf5, 0x4d, 0x38,
   117  	0x4f, 0x91, 0x84, 0xf4, 0x88, 0x11, 0x3d, 0x4f, 0xd4, 0xac, 0x21, 0x6f, 0xf1, 0x3e, 0x61, 0x88,
   118  	0x8c, 0xc1, 0xc2, 0x76, 0x06, 0xab, 0x6c, 0x9b, 0xed, 0xcb, 0x36, 0xdd, 0xcd, 0x0e, 0x8a, 0x16,
   119  	0x83, 0x23, 0x1b, 0x90, 0xd5, 0x50, 0xa4, 0xad, 0xb2, 0xb2, 0x9a, 0xa7, 0x9f, 0x3f, 0x1f, 0x0f,
   120  	0x90, 0x5f, 0x3e, 0x5e, 0xb6, 0x81, 0xe5, 0xf5, 0xdd, 0x64, 0x05, 0xff, 0x9a, 0xeb, 0x92, 0xff,
   121  	0x24, 0xcd, 0xac, 0x5f, 0xa5, 0xf0, 0xe9, 0x15, 0x00, 0x00, 0xff, 0xff, 0x54, 0xa4, 0xf7, 0x61,
   122  	0xb4, 0x00, 0x00, 0x00,
   123  }