git.colasdn.top/newrelic/go-agent@v3.26.0+incompatible/_integrations/nrmicro/example/proto/greeter.pb.go (about) 1 // Copyright 2020 New Relic Corporation. All rights reserved. 2 // SPDX-License-Identifier: Apache-2.0 3 4 // Code generated by protoc-gen-go. DO NOT EDIT. 5 // source: greeter.proto 6 7 package greeter 8 9 import ( 10 fmt "fmt" 11 proto "github.com/golang/protobuf/proto" 12 math "math" 13 ) 14 15 // Reference imports to suppress errors if they are not otherwise used. 16 var _ = proto.Marshal 17 var _ = fmt.Errorf 18 var _ = math.Inf 19 20 // This is a compile-time assertion to ensure that this generated file 21 // is compatible with the proto package it is being compiled against. 22 // A compilation error at this line likely means your copy of the 23 // proto package needs to be updated. 24 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 25 26 type HelloRequest struct { 27 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 28 XXX_NoUnkeyedLiteral struct{} `json:"-"` 29 XXX_unrecognized []byte `json:"-"` 30 XXX_sizecache int32 `json:"-"` 31 } 32 33 func (m *HelloRequest) Reset() { *m = HelloRequest{} } 34 func (m *HelloRequest) String() string { return proto.CompactTextString(m) } 35 func (*HelloRequest) ProtoMessage() {} 36 func (*HelloRequest) Descriptor() ([]byte, []int) { 37 return fileDescriptor_e585294ab3f34af5, []int{0} 38 } 39 40 func (m *HelloRequest) XXX_Unmarshal(b []byte) error { 41 return xxx_messageInfo_HelloRequest.Unmarshal(m, b) 42 } 43 func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 44 return xxx_messageInfo_HelloRequest.Marshal(b, m, deterministic) 45 } 46 func (m *HelloRequest) XXX_Merge(src proto.Message) { 47 xxx_messageInfo_HelloRequest.Merge(m, src) 48 } 49 func (m *HelloRequest) XXX_Size() int { 50 return xxx_messageInfo_HelloRequest.Size(m) 51 } 52 func (m *HelloRequest) XXX_DiscardUnknown() { 53 xxx_messageInfo_HelloRequest.DiscardUnknown(m) 54 } 55 56 var xxx_messageInfo_HelloRequest proto.InternalMessageInfo 57 58 func (m *HelloRequest) GetName() string { 59 if m != nil { 60 return m.Name 61 } 62 return "" 63 } 64 65 type HelloResponse struct { 66 Greeting string `protobuf:"bytes,2,opt,name=greeting,proto3" json:"greeting,omitempty"` 67 XXX_NoUnkeyedLiteral struct{} `json:"-"` 68 XXX_unrecognized []byte `json:"-"` 69 XXX_sizecache int32 `json:"-"` 70 } 71 72 func (m *HelloResponse) Reset() { *m = HelloResponse{} } 73 func (m *HelloResponse) String() string { return proto.CompactTextString(m) } 74 func (*HelloResponse) ProtoMessage() {} 75 func (*HelloResponse) Descriptor() ([]byte, []int) { 76 return fileDescriptor_e585294ab3f34af5, []int{1} 77 } 78 79 func (m *HelloResponse) XXX_Unmarshal(b []byte) error { 80 return xxx_messageInfo_HelloResponse.Unmarshal(m, b) 81 } 82 func (m *HelloResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 83 return xxx_messageInfo_HelloResponse.Marshal(b, m, deterministic) 84 } 85 func (m *HelloResponse) XXX_Merge(src proto.Message) { 86 xxx_messageInfo_HelloResponse.Merge(m, src) 87 } 88 func (m *HelloResponse) XXX_Size() int { 89 return xxx_messageInfo_HelloResponse.Size(m) 90 } 91 func (m *HelloResponse) XXX_DiscardUnknown() { 92 xxx_messageInfo_HelloResponse.DiscardUnknown(m) 93 } 94 95 var xxx_messageInfo_HelloResponse proto.InternalMessageInfo 96 97 func (m *HelloResponse) GetGreeting() string { 98 if m != nil { 99 return m.Greeting 100 } 101 return "" 102 } 103 104 func init() { 105 proto.RegisterType((*HelloRequest)(nil), "HelloRequest") 106 proto.RegisterType((*HelloResponse)(nil), "HelloResponse") 107 } 108 109 func init() { proto.RegisterFile("greeter.proto", fileDescriptor_e585294ab3f34af5) } 110 111 var fileDescriptor_e585294ab3f34af5 = []byte{ 112 // 130 bytes of a gzipped FileDescriptorProto 113 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0x2f, 0x4a, 0x4d, 114 0x2d, 0x49, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x57, 0x52, 0xe2, 0xe2, 0xf1, 0x48, 0xcd, 115 0xc9, 0xc9, 0x0f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x11, 0x12, 0xe2, 0x62, 0xc9, 0x4b, 0xcc, 116 0x4d, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x02, 0xb3, 0x95, 0xb4, 0xb9, 0x78, 0xa1, 0x6a, 117 0x8a, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x85, 0xa4, 0xb8, 0x38, 0xc0, 0xa6, 0x64, 0xe6, 0xa5, 0x4b, 118 0x30, 0x81, 0x15, 0xc2, 0xf9, 0x46, 0xc6, 0x5c, 0xec, 0xee, 0x10, 0x1b, 0x84, 0x34, 0xb8, 0x58, 119 0xc1, 0xfa, 0x84, 0x78, 0xf5, 0x90, 0xed, 0x90, 0xe2, 0xd3, 0x43, 0x31, 0x4e, 0x89, 0x21, 0x89, 120 0x0d, 0xec, 0x18, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbd, 0xe0, 0x75, 0x0a, 0x9d, 0x00, 121 0x00, 0x00, 122 }