123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435 |
- // 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 GetTaskBySourceCodeRequest struct {
- SourceCode string `protobuf:"bytes,1,opt,name=source_code,json=sourceCode,proto3" json:"source_code"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetTaskBySourceCodeRequest) Reset() { *m = GetTaskBySourceCodeRequest{} }
- func (m *GetTaskBySourceCodeRequest) String() string { return proto.CompactTextString(m) }
- func (*GetTaskBySourceCodeRequest) ProtoMessage() {}
- func (*GetTaskBySourceCodeRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_ce5d8dd45b4a91ff, []int{0}
- }
- func (m *GetTaskBySourceCodeRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetTaskBySourceCodeRequest.Unmarshal(m, b)
- }
- func (m *GetTaskBySourceCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetTaskBySourceCodeRequest.Marshal(b, m, deterministic)
- }
- func (m *GetTaskBySourceCodeRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetTaskBySourceCodeRequest.Merge(m, src)
- }
- func (m *GetTaskBySourceCodeRequest) XXX_Size() int {
- return xxx_messageInfo_GetTaskBySourceCodeRequest.Size(m)
- }
- func (m *GetTaskBySourceCodeRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetTaskBySourceCodeRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetTaskBySourceCodeRequest proto.InternalMessageInfo
- func (m *GetTaskBySourceCodeRequest) GetSourceCode() string {
- if m != nil {
- return m.SourceCode
- }
- return ""
- }
- // The response message containing the greetings
- type GetTaskBySourceCodeReply struct {
- TaskList []int32 `protobuf:"varint,1,rep,packed,name=task_list,json=taskList,proto3" json:"task_list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetTaskBySourceCodeReply) Reset() { *m = GetTaskBySourceCodeReply{} }
- func (m *GetTaskBySourceCodeReply) String() string { return proto.CompactTextString(m) }
- func (*GetTaskBySourceCodeReply) ProtoMessage() {}
- func (*GetTaskBySourceCodeReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_ce5d8dd45b4a91ff, []int{1}
- }
- func (m *GetTaskBySourceCodeReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetTaskBySourceCodeReply.Unmarshal(m, b)
- }
- func (m *GetTaskBySourceCodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetTaskBySourceCodeReply.Marshal(b, m, deterministic)
- }
- func (m *GetTaskBySourceCodeReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetTaskBySourceCodeReply.Merge(m, src)
- }
- func (m *GetTaskBySourceCodeReply) XXX_Size() int {
- return xxx_messageInfo_GetTaskBySourceCodeReply.Size(m)
- }
- func (m *GetTaskBySourceCodeReply) XXX_DiscardUnknown() {
- xxx_messageInfo_GetTaskBySourceCodeReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetTaskBySourceCodeReply proto.InternalMessageInfo
- func (m *GetTaskBySourceCodeReply) GetTaskList() []int32 {
- if m != nil {
- return m.TaskList
- }
- return nil
- }
- type UpdateOfflineTaskRequest struct {
- TaskId int32 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id"`
- Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- IsFinish int32 `protobuf:"varint,3,opt,name=is_finish,json=isFinish,proto3" json:"is_finish"`
- FinishCount int32 `protobuf:"varint,4,opt,name=finish_count,json=finishCount,proto3" json:"finish_count"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *UpdateOfflineTaskRequest) Reset() { *m = UpdateOfflineTaskRequest{} }
- func (m *UpdateOfflineTaskRequest) String() string { return proto.CompactTextString(m) }
- func (*UpdateOfflineTaskRequest) ProtoMessage() {}
- func (*UpdateOfflineTaskRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_ce5d8dd45b4a91ff, []int{2}
- }
- func (m *UpdateOfflineTaskRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateOfflineTaskRequest.Unmarshal(m, b)
- }
- func (m *UpdateOfflineTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateOfflineTaskRequest.Marshal(b, m, deterministic)
- }
- func (m *UpdateOfflineTaskRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateOfflineTaskRequest.Merge(m, src)
- }
- func (m *UpdateOfflineTaskRequest) XXX_Size() int {
- return xxx_messageInfo_UpdateOfflineTaskRequest.Size(m)
- }
- func (m *UpdateOfflineTaskRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateOfflineTaskRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_UpdateOfflineTaskRequest proto.InternalMessageInfo
- func (m *UpdateOfflineTaskRequest) GetTaskId() int32 {
- if m != nil {
- return m.TaskId
- }
- return 0
- }
- func (m *UpdateOfflineTaskRequest) GetTotal() int32 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *UpdateOfflineTaskRequest) GetIsFinish() int32 {
- if m != nil {
- return m.IsFinish
- }
- return 0
- }
- func (m *UpdateOfflineTaskRequest) GetFinishCount() int32 {
- if m != nil {
- return m.FinishCount
- }
- return 0
- }
- type UpdateOfflineTaskReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *UpdateOfflineTaskReply) Reset() { *m = UpdateOfflineTaskReply{} }
- func (m *UpdateOfflineTaskReply) String() string { return proto.CompactTextString(m) }
- func (*UpdateOfflineTaskReply) ProtoMessage() {}
- func (*UpdateOfflineTaskReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_ce5d8dd45b4a91ff, []int{3}
- }
- func (m *UpdateOfflineTaskReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateOfflineTaskReply.Unmarshal(m, b)
- }
- func (m *UpdateOfflineTaskReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateOfflineTaskReply.Marshal(b, m, deterministic)
- }
- func (m *UpdateOfflineTaskReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateOfflineTaskReply.Merge(m, src)
- }
- func (m *UpdateOfflineTaskReply) XXX_Size() int {
- return xxx_messageInfo_UpdateOfflineTaskReply.Size(m)
- }
- func (m *UpdateOfflineTaskReply) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateOfflineTaskReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_UpdateOfflineTaskReply proto.InternalMessageInfo
- type CheckFormatRequest struct {
- Vin string `protobuf:"bytes,1,opt,name=vin,proto3" json:"vin"`
- PlateNo string `protobuf:"bytes,2,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
- PlateType string `protobuf:"bytes,3,opt,name=plate_type,json=plateType,proto3" json:"plate_type"`
- Idcert string `protobuf:"bytes,4,opt,name=idcert,proto3" json:"idcert"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CheckFormatRequest) Reset() { *m = CheckFormatRequest{} }
- func (m *CheckFormatRequest) String() string { return proto.CompactTextString(m) }
- func (*CheckFormatRequest) ProtoMessage() {}
- func (*CheckFormatRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_ce5d8dd45b4a91ff, []int{4}
- }
- func (m *CheckFormatRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CheckFormatRequest.Unmarshal(m, b)
- }
- func (m *CheckFormatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CheckFormatRequest.Marshal(b, m, deterministic)
- }
- func (m *CheckFormatRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CheckFormatRequest.Merge(m, src)
- }
- func (m *CheckFormatRequest) XXX_Size() int {
- return xxx_messageInfo_CheckFormatRequest.Size(m)
- }
- func (m *CheckFormatRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CheckFormatRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_CheckFormatRequest proto.InternalMessageInfo
- func (m *CheckFormatRequest) GetVin() string {
- if m != nil {
- return m.Vin
- }
- return ""
- }
- func (m *CheckFormatRequest) GetPlateNo() string {
- if m != nil {
- return m.PlateNo
- }
- return ""
- }
- func (m *CheckFormatRequest) GetPlateType() string {
- if m != nil {
- return m.PlateType
- }
- return ""
- }
- func (m *CheckFormatRequest) GetIdcert() string {
- if m != nil {
- return m.Idcert
- }
- return ""
- }
- type CheckFormatReply struct {
- Vin string `protobuf:"bytes,1,opt,name=vin,proto3" json:"vin"`
- PlateNo string `protobuf:"bytes,2,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
- PlateType string `protobuf:"bytes,3,opt,name=plate_type,json=plateType,proto3" json:"plate_type"`
- Idcert string `protobuf:"bytes,4,opt,name=idcert,proto3" json:"idcert"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CheckFormatReply) Reset() { *m = CheckFormatReply{} }
- func (m *CheckFormatReply) String() string { return proto.CompactTextString(m) }
- func (*CheckFormatReply) ProtoMessage() {}
- func (*CheckFormatReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_ce5d8dd45b4a91ff, []int{5}
- }
- func (m *CheckFormatReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CheckFormatReply.Unmarshal(m, b)
- }
- func (m *CheckFormatReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CheckFormatReply.Marshal(b, m, deterministic)
- }
- func (m *CheckFormatReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CheckFormatReply.Merge(m, src)
- }
- func (m *CheckFormatReply) XXX_Size() int {
- return xxx_messageInfo_CheckFormatReply.Size(m)
- }
- func (m *CheckFormatReply) XXX_DiscardUnknown() {
- xxx_messageInfo_CheckFormatReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_CheckFormatReply proto.InternalMessageInfo
- func (m *CheckFormatReply) GetVin() string {
- if m != nil {
- return m.Vin
- }
- return ""
- }
- func (m *CheckFormatReply) GetPlateNo() string {
- if m != nil {
- return m.PlateNo
- }
- return ""
- }
- func (m *CheckFormatReply) GetPlateType() string {
- if m != nil {
- return m.PlateType
- }
- return ""
- }
- func (m *CheckFormatReply) GetIdcert() string {
- if m != nil {
- return m.Idcert
- }
- return ""
- }
- type FieldCheckRequest struct {
- Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *FieldCheckRequest) Reset() { *m = FieldCheckRequest{} }
- func (m *FieldCheckRequest) String() string { return proto.CompactTextString(m) }
- func (*FieldCheckRequest) ProtoMessage() {}
- func (*FieldCheckRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_ce5d8dd45b4a91ff, []int{6}
- }
- func (m *FieldCheckRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FieldCheckRequest.Unmarshal(m, b)
- }
- func (m *FieldCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FieldCheckRequest.Marshal(b, m, deterministic)
- }
- func (m *FieldCheckRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FieldCheckRequest.Merge(m, src)
- }
- func (m *FieldCheckRequest) XXX_Size() int {
- return xxx_messageInfo_FieldCheckRequest.Size(m)
- }
- func (m *FieldCheckRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_FieldCheckRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_FieldCheckRequest proto.InternalMessageInfo
- func (m *FieldCheckRequest) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- type FieldCheckReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *FieldCheckReply) Reset() { *m = FieldCheckReply{} }
- func (m *FieldCheckReply) String() string { return proto.CompactTextString(m) }
- func (*FieldCheckReply) ProtoMessage() {}
- func (*FieldCheckReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_ce5d8dd45b4a91ff, []int{7}
- }
- func (m *FieldCheckReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FieldCheckReply.Unmarshal(m, b)
- }
- func (m *FieldCheckReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FieldCheckReply.Marshal(b, m, deterministic)
- }
- func (m *FieldCheckReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FieldCheckReply.Merge(m, src)
- }
- func (m *FieldCheckReply) XXX_Size() int {
- return xxx_messageInfo_FieldCheckReply.Size(m)
- }
- func (m *FieldCheckReply) XXX_DiscardUnknown() {
- xxx_messageInfo_FieldCheckReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_FieldCheckReply proto.InternalMessageInfo
- func init() {
- proto.RegisterType((*GetTaskBySourceCodeRequest)(nil), "v1.GetTaskBySourceCodeRequest")
- proto.RegisterType((*GetTaskBySourceCodeReply)(nil), "v1.GetTaskBySourceCodeReply")
- proto.RegisterType((*UpdateOfflineTaskRequest)(nil), "v1.UpdateOfflineTaskRequest")
- proto.RegisterType((*UpdateOfflineTaskReply)(nil), "v1.UpdateOfflineTaskReply")
- proto.RegisterType((*CheckFormatRequest)(nil), "v1.CheckFormatRequest")
- proto.RegisterType((*CheckFormatReply)(nil), "v1.CheckFormatReply")
- proto.RegisterType((*FieldCheckRequest)(nil), "v1.FieldCheckRequest")
- proto.RegisterType((*FieldCheckReply)(nil), "v1.FieldCheckReply")
- }
- func init() {
- proto.RegisterFile("task.proto", fileDescriptor_ce5d8dd45b4a91ff)
- }
- var fileDescriptor_ce5d8dd45b4a91ff = []byte{
- // 358 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x92, 0x4f, 0x4f, 0xea, 0x40,
- 0x14, 0xc5, 0x53, 0x78, 0xfc, 0xe9, 0xe5, 0xe5, 0x3d, 0x98, 0x18, 0x1c, 0x35, 0x46, 0xec, 0x8a,
- 0x0d, 0x12, 0x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