123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: task.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- 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
- // The request message containing the user's name.
- type HelloRequest struct {
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *HelloRequest) Reset() { *m = HelloRequest{} }
- func (m *HelloRequest) String() string { return proto.CompactTextString(m) }
- func (*HelloRequest) ProtoMessage() {}
- func (*HelloRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_ce5d8dd45b4a91ff, []int{0}
- }
- func (m *HelloRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_HelloRequest.Unmarshal(m, b)
- }
- func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_HelloRequest.Marshal(b, m, deterministic)
- }
- func (m *HelloRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_HelloRequest.Merge(m, src)
- }
- func (m *HelloRequest) XXX_Size() int {
- return xxx_messageInfo_HelloRequest.Size(m)
- }
- func (m *HelloRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_HelloRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_HelloRequest proto.InternalMessageInfo
- func (m *HelloRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- // The response message containing the greetings
- type HelloReply struct {
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message"`
- 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_ce5d8dd45b4a91ff, []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((*HelloRequest)(nil), "v1.HelloRequest")
- proto.RegisterType((*HelloReply)(nil), "v1.HelloReply")
- }
- func init() {
- proto.RegisterFile("task.proto", fileDescriptor_ce5d8dd45b4a91ff)
- }
- var fileDescriptor_ce5d8dd45b4a91ff = []byte{
- // 125 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2a, 0x49, 0x2c, 0xce,
- 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2a, 0x33, 0x54, 0x52, 0xe2, 0xe2, 0xf1, 0x48,
- 0xcd, 0xc9, 0xc9, 0x0f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x11, 0x12, 0xe2, 0x62, 0xc9, 0x4b,
- 0xcc, 0x4d, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x02, 0xb3, 0x95, 0xd4, 0xb8, 0xb8, 0xa0,
- 0x6a, 0x0a, 0x72, 0x2a, 0x85, 0x24, 0xb8, 0xd8, 0x73, 0x53, 0x8b, 0x8b, 0x13, 0xd3, 0x61, 0x8a,
- 0x60, 0x5c, 0x27, 0xb1, 0x28, 0x91, 0xc4, 0x94, 0x5c, 0xdd, 0xdc, 0xc4, 0xbc, 0xc4, 0xf4, 0xd4,
- 0xdc, 0xd4, 0xbc, 0x12, 0xfd, 0x82, 0x24, 0xfd, 0x32, 0xc3, 0x24, 0x36, 0xb0, 0x75, 0xc6, 0x80,
- 0x00, 0x00, 0x00, 0xff, 0xff, 0x86, 0x73, 0xcd, 0xd8, 0x7c, 0x00, 0x00, 0x00,
- }
|