gitee.com/liuxuezhan/go-micro-v1.18.0@v1.0.0/server/proto/server.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: gitee.com/liuxuezhan/go-micro-v1.18.0/server/proto/server.proto
     3  
     4  package go_micro_server
     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 HandleRequest struct {
    24  	Service              string   `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
    25  	Endpoint             string   `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
    26  	Protocol             string   `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
    27  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    28  	XXX_unrecognized     []byte   `json:"-"`
    29  	XXX_sizecache        int32    `json:"-"`
    30  }
    31  
    32  func (m *HandleRequest) Reset()         { *m = HandleRequest{} }
    33  func (m *HandleRequest) String() string { return proto.CompactTextString(m) }
    34  func (*HandleRequest) ProtoMessage()    {}
    35  func (*HandleRequest) Descriptor() ([]byte, []int) {
    36  	return fileDescriptor_4cb0c66620400ff8, []int{0}
    37  }
    38  
    39  func (m *HandleRequest) XXX_Unmarshal(b []byte) error {
    40  	return xxx_messageInfo_HandleRequest.Unmarshal(m, b)
    41  }
    42  func (m *HandleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    43  	return xxx_messageInfo_HandleRequest.Marshal(b, m, deterministic)
    44  }
    45  func (m *HandleRequest) XXX_Merge(src proto.Message) {
    46  	xxx_messageInfo_HandleRequest.Merge(m, src)
    47  }
    48  func (m *HandleRequest) XXX_Size() int {
    49  	return xxx_messageInfo_HandleRequest.Size(m)
    50  }
    51  func (m *HandleRequest) XXX_DiscardUnknown() {
    52  	xxx_messageInfo_HandleRequest.DiscardUnknown(m)
    53  }
    54  
    55  var xxx_messageInfo_HandleRequest proto.InternalMessageInfo
    56  
    57  func (m *HandleRequest) GetService() string {
    58  	if m != nil {
    59  		return m.Service
    60  	}
    61  	return ""
    62  }
    63  
    64  func (m *HandleRequest) GetEndpoint() string {
    65  	if m != nil {
    66  		return m.Endpoint
    67  	}
    68  	return ""
    69  }
    70  
    71  func (m *HandleRequest) GetProtocol() string {
    72  	if m != nil {
    73  		return m.Protocol
    74  	}
    75  	return ""
    76  }
    77  
    78  type HandleResponse struct {
    79  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    80  	XXX_unrecognized     []byte   `json:"-"`
    81  	XXX_sizecache        int32    `json:"-"`
    82  }
    83  
    84  func (m *HandleResponse) Reset()         { *m = HandleResponse{} }
    85  func (m *HandleResponse) String() string { return proto.CompactTextString(m) }
    86  func (*HandleResponse) ProtoMessage()    {}
    87  func (*HandleResponse) Descriptor() ([]byte, []int) {
    88  	return fileDescriptor_4cb0c66620400ff8, []int{1}
    89  }
    90  
    91  func (m *HandleResponse) XXX_Unmarshal(b []byte) error {
    92  	return xxx_messageInfo_HandleResponse.Unmarshal(m, b)
    93  }
    94  func (m *HandleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    95  	return xxx_messageInfo_HandleResponse.Marshal(b, m, deterministic)
    96  }
    97  func (m *HandleResponse) XXX_Merge(src proto.Message) {
    98  	xxx_messageInfo_HandleResponse.Merge(m, src)
    99  }
   100  func (m *HandleResponse) XXX_Size() int {
   101  	return xxx_messageInfo_HandleResponse.Size(m)
   102  }
   103  func (m *HandleResponse) XXX_DiscardUnknown() {
   104  	xxx_messageInfo_HandleResponse.DiscardUnknown(m)
   105  }
   106  
   107  var xxx_messageInfo_HandleResponse proto.InternalMessageInfo
   108  
   109  type SubscribeRequest struct {
   110  	Topic                string   `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
   111  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   112  	XXX_unrecognized     []byte   `json:"-"`
   113  	XXX_sizecache        int32    `json:"-"`
   114  }
   115  
   116  func (m *SubscribeRequest) Reset()         { *m = SubscribeRequest{} }
   117  func (m *SubscribeRequest) String() string { return proto.CompactTextString(m) }
   118  func (*SubscribeRequest) ProtoMessage()    {}
   119  func (*SubscribeRequest) Descriptor() ([]byte, []int) {
   120  	return fileDescriptor_4cb0c66620400ff8, []int{2}
   121  }
   122  
   123  func (m *SubscribeRequest) XXX_Unmarshal(b []byte) error {
   124  	return xxx_messageInfo_SubscribeRequest.Unmarshal(m, b)
   125  }
   126  func (m *SubscribeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   127  	return xxx_messageInfo_SubscribeRequest.Marshal(b, m, deterministic)
   128  }
   129  func (m *SubscribeRequest) XXX_Merge(src proto.Message) {
   130  	xxx_messageInfo_SubscribeRequest.Merge(m, src)
   131  }
   132  func (m *SubscribeRequest) XXX_Size() int {
   133  	return xxx_messageInfo_SubscribeRequest.Size(m)
   134  }
   135  func (m *SubscribeRequest) XXX_DiscardUnknown() {
   136  	xxx_messageInfo_SubscribeRequest.DiscardUnknown(m)
   137  }
   138  
   139  var xxx_messageInfo_SubscribeRequest proto.InternalMessageInfo
   140  
   141  func (m *SubscribeRequest) GetTopic() string {
   142  	if m != nil {
   143  		return m.Topic
   144  	}
   145  	return ""
   146  }
   147  
   148  type SubscribeResponse struct {
   149  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   150  	XXX_unrecognized     []byte   `json:"-"`
   151  	XXX_sizecache        int32    `json:"-"`
   152  }
   153  
   154  func (m *SubscribeResponse) Reset()         { *m = SubscribeResponse{} }
   155  func (m *SubscribeResponse) String() string { return proto.CompactTextString(m) }
   156  func (*SubscribeResponse) ProtoMessage()    {}
   157  func (*SubscribeResponse) Descriptor() ([]byte, []int) {
   158  	return fileDescriptor_4cb0c66620400ff8, []int{3}
   159  }
   160  
   161  func (m *SubscribeResponse) XXX_Unmarshal(b []byte) error {
   162  	return xxx_messageInfo_SubscribeResponse.Unmarshal(m, b)
   163  }
   164  func (m *SubscribeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   165  	return xxx_messageInfo_SubscribeResponse.Marshal(b, m, deterministic)
   166  }
   167  func (m *SubscribeResponse) XXX_Merge(src proto.Message) {
   168  	xxx_messageInfo_SubscribeResponse.Merge(m, src)
   169  }
   170  func (m *SubscribeResponse) XXX_Size() int {
   171  	return xxx_messageInfo_SubscribeResponse.Size(m)
   172  }
   173  func (m *SubscribeResponse) XXX_DiscardUnknown() {
   174  	xxx_messageInfo_SubscribeResponse.DiscardUnknown(m)
   175  }
   176  
   177  var xxx_messageInfo_SubscribeResponse proto.InternalMessageInfo
   178  
   179  func init() {
   180  	proto.RegisterType((*HandleRequest)(nil), "go.micro.server.HandleRequest")
   181  	proto.RegisterType((*HandleResponse)(nil), "go.micro.server.HandleResponse")
   182  	proto.RegisterType((*SubscribeRequest)(nil), "go.micro.server.SubscribeRequest")
   183  	proto.RegisterType((*SubscribeResponse)(nil), "go.micro.server.SubscribeResponse")
   184  }
   185  
   186  func init() {
   187  	proto.RegisterFile("gitee.com/liuxuezhan/go-micro-v1.18.0/server/proto/server.proto", fileDescriptor_4cb0c66620400ff8)
   188  }
   189  
   190  var fileDescriptor_4cb0c66620400ff8 = []byte{
   191  	// 236 bytes of a gzipped FileDescriptorProto
   192  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcd, 0x4e, 0x03, 0x21,
   193  	0x14, 0x85, 0x1d, 0x8d, 0xa3, 0xbd, 0x89, 0x5a, 0xd1, 0x05, 0x99, 0x85, 0x3f, 0xac, 0xba, 0x91,
   194  	0x49, 0xec, 0x4b, 0x98, 0xb8, 0x6b, 0x7d, 0x81, 0x42, 0x6f, 0x46, 0x92, 0x96, 0x8b, 0xc0, 0xf8,
   195  	0x52, 0xbe, 0xa4, 0x29, 0x94, 0x89, 0x8e, 0xb1, 0x3b, 0x3e, 0xce, 0xe1, 0x9e, 0x73, 0x81, 0x79,
   196  	0x67, 0xe2, 0x7b, 0xaf, 0xa4, 0xa6, 0x6d, 0xbb, 0x35, 0xda, 0x53, 0xdb, 0xd1, 0x53, 0x3e, 0x04,
   197  	0xf4, 0x9f, 0xe8, 0x5b, 0xe7, 0x29, 0x16, 0x90, 0x09, 0xd8, 0x55, 0x47, 0x32, 0x79, 0x64, 0xbe,
   198  	0x16, 0x2b, 0xb8, 0x78, 0x59, 0xd9, 0xf5, 0x06, 0x17, 0xf8, 0xd1, 0x63, 0x88, 0x8c, 0xc3, 0xd9,
   199  	0x4e, 0x32, 0x1a, 0x79, 0xf5, 0x50, 0xcd, 0x26, 0x8b, 0x82, 0xac, 0x81, 0x73, 0xb4, 0x6b, 0x47,
   200  	0xc6, 0x46, 0x7e, 0x9c, 0xa4, 0x81, 0x77, 0x5a, 0x0a, 0xd0, 0xb4, 0xe1, 0x27, 0x59, 0x2b, 0x2c,
   201  	0xa6, 0x70, 0x59, 0x22, 0x82, 0x23, 0x1b, 0x50, 0xcc, 0x60, 0xba, 0xec, 0x55, 0xd0, 0xde, 0xa8,
   202  	0x21, 0xf7, 0x16, 0x4e, 0x23, 0x39, 0xa3, 0xf7, 0xa9, 0x19, 0xc4, 0x0d, 0x5c, 0xff, 0x70, 0xe6,
   203  	0xe7, 0xcf, 0x5f, 0x15, 0xd4, 0xcb, 0x54, 0x9f, 0xbd, 0x42, 0x9d, 0x67, 0xb3, 0x3b, 0x39, 0x5a,
   204  	0x4d, 0xfe, 0xda, 0xab, 0xb9, 0xff, 0x57, 0xdf, 0x97, 0x3a, 0x62, 0x6f, 0x30, 0x19, 0xc2, 0xd8,
   205  	0xe3, 0x1f, 0xff, 0xb8, 0x72, 0x23, 0x0e, 0x59, 0xca, 0x54, 0x55, 0xa7, 0x8f, 0x98, 0x7f, 0x07,
   206  	0x00, 0x00, 0xff, 0xff, 0x30, 0xd3, 0x7a, 0x91, 0xb0, 0x01, 0x00, 0x00,
   207  }