134 lines
4.6 KiB
Go
134 lines
4.6 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: pkg/server/server.proto
|
|
|
|
package server
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type TestTask struct {
|
|
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TestTask) Reset() { *m = TestTask{} }
|
|
func (m *TestTask) String() string { return proto.CompactTextString(m) }
|
|
func (*TestTask) ProtoMessage() {}
|
|
func (*TestTask) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_36fb7b77b8f76c98, []int{0}
|
|
}
|
|
|
|
func (m *TestTask) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TestTask.Unmarshal(m, b)
|
|
}
|
|
func (m *TestTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TestTask.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TestTask) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TestTask.Merge(m, src)
|
|
}
|
|
func (m *TestTask) XXX_Size() int {
|
|
return xxx_messageInfo_TestTask.Size(m)
|
|
}
|
|
func (m *TestTask) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TestTask.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TestTask proto.InternalMessageInfo
|
|
|
|
func (m *TestTask) GetData() string {
|
|
if m != nil {
|
|
return m.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TestTask) GetKind() string {
|
|
if m != nil {
|
|
return m.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HelloReply struct {
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *HelloReply) Reset() { *m = HelloReply{} }
|
|
func (m *HelloReply) String() string { return proto.CompactTextString(m) }
|
|
func (*HelloReply) ProtoMessage() {}
|
|
func (*HelloReply) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_36fb7b77b8f76c98, []int{1}
|
|
}
|
|
|
|
func (m *HelloReply) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_HelloReply.Unmarshal(m, b)
|
|
}
|
|
func (m *HelloReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_HelloReply.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *HelloReply) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HelloReply.Merge(m, src)
|
|
}
|
|
func (m *HelloReply) XXX_Size() int {
|
|
return xxx_messageInfo_HelloReply.Size(m)
|
|
}
|
|
func (m *HelloReply) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HelloReply.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HelloReply proto.InternalMessageInfo
|
|
|
|
func (m *HelloReply) GetMessage() string {
|
|
if m != nil {
|
|
return m.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*TestTask)(nil), "server.TestTask")
|
|
proto.RegisterType((*HelloReply)(nil), "server.HelloReply")
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("pkg/server/server.proto", fileDescriptor_36fb7b77b8f76c98)
|
|
}
|
|
|
|
var fileDescriptor_36fb7b77b8f76c98 = []byte{
|
|
// 194 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x8f, 0xbd, 0x6b, 0xc3, 0x30,
|
|
0x10, 0xc5, 0xeb, 0xb6, 0xb8, 0xed, 0x4d, 0x45, 0x4b, 0x4d, 0xa7, 0xe2, 0xa1, 0x74, 0xa8, 0x25,
|
|
0x70, 0x86, 0xec, 0x99, 0x32, 0x0b, 0x4f, 0xd9, 0xe4, 0xf8, 0x50, 0x84, 0x65, 0x49, 0xe8, 0x23,
|
|
0x24, 0xff, 0x7d, 0xf0, 0x17, 0x9e, 0xee, 0xbd, 0x1f, 0xdc, 0xdd, 0x7b, 0xf0, 0xe5, 0x7a, 0xc9,
|
|
0x02, 0xfa, 0x2b, 0xfa, 0x65, 0x50, 0xe7, 0x6d, 0xb4, 0x24, 0x9f, 0x5d, 0x59, 0xc3, 0x7b, 0x83,
|
|
0x21, 0x36, 0x22, 0xf4, 0x84, 0xc0, 0x6b, 0x27, 0xa2, 0x28, 0xb2, 0x9f, 0xec, 0xef, 0x83, 0x4f,
|
|
0x7a, 0x64, 0xbd, 0x32, 0x5d, 0xf1, 0x3c, 0xb3, 0x51, 0x97, 0xbf, 0x00, 0x47, 0xd4, 0xda, 0x72,
|
|
0x74, 0xfa, 0x4e, 0x0a, 0x78, 0x1b, 0x30, 0x04, 0x21, 0x71, 0x59, 0x5c, 0x6d, 0xbd, 0x87, 0x9c,
|
|
0x27, 0x63, 0xd0, 0x93, 0x0a, 0x5e, 0x78, 0x32, 0xe4, 0x93, 0x2e, 0x19, 0xd6, 0x97, 0xdf, 0x64,
|
|
0x25, 0xdb, 0xc1, 0xf2, 0xe9, 0x40, 0x4f, 0xff, 0x52, 0xc5, 0x4b, 0x6a, 0xe9, 0xd9, 0x0e, 0x4c,
|
|
0x2b, 0x93, 0x6e, 0x21, 0x79, 0x34, 0x4c, 0x38, 0x55, 0x45, 0x0c, 0x51, 0x19, 0xc9, 0xb6, 0x66,
|
|
0x6d, 0x3e, 0x75, 0xda, 0x3d, 0x02, 0x00, 0x00, 0xff, 0xff, 0x89, 0x35, 0xcb, 0xb0, 0xee, 0x00,
|
|
0x00, 0x00,
|
|
}
|