543 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			543 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			Go
		
	
	
	
| // Code generated by protoc-gen-go. DO NOT EDIT.
 | |
| // versions:
 | |
| // 	protoc-gen-go v1.36.8
 | |
| // 	protoc        (unknown)
 | |
| // source: check.proto
 | |
| 
 | |
| package initial
 | |
| 
 | |
| import (
 | |
| 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 | |
| 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
 | |
| 	reflect "reflect"
 | |
| 	sync "sync"
 | |
| 	unsafe "unsafe"
 | |
| )
 | |
| 
 | |
| const (
 | |
| 	// Verify that this generated code is sufficiently up-to-date.
 | |
| 	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
 | |
| 	// Verify that runtime/protoimpl is sufficiently up-to-date.
 | |
| 	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 | |
| )
 | |
| 
 | |
| type Crc struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Code          string                 `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *Crc) Reset() {
 | |
| 	*x = Crc{}
 | |
| 	mi := &file_check_proto_msgTypes[0]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *Crc) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*Crc) ProtoMessage() {}
 | |
| 
 | |
| func (x *Crc) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_check_proto_msgTypes[0]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use Crc.ProtoReflect.Descriptor instead.
 | |
| func (*Crc) Descriptor() ([]byte, []int) {
 | |
| 	return file_check_proto_rawDescGZIP(), []int{0}
 | |
| }
 | |
| 
 | |
| func (x *Crc) GetCode() string {
 | |
| 	if x != nil {
 | |
| 		return x.Code
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type StatusReply struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Status        int64                  `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`    // 状态码
 | |
| 	Identity      string                 `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 标识码
 | |
| 	Message       string                 `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`   //状态说明
 | |
| 	Timeseq       int64                  `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"`  // 响应时间序列
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *StatusReply) Reset() {
 | |
| 	*x = StatusReply{}
 | |
| 	mi := &file_check_proto_msgTypes[1]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *StatusReply) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*StatusReply) ProtoMessage() {}
 | |
| 
 | |
| func (x *StatusReply) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_check_proto_msgTypes[1]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use StatusReply.ProtoReflect.Descriptor instead.
 | |
| func (*StatusReply) Descriptor() ([]byte, []int) {
 | |
| 	return file_check_proto_rawDescGZIP(), []int{1}
 | |
| }
 | |
| 
 | |
| func (x *StatusReply) GetStatus() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Status
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *StatusReply) GetIdentity() string {
 | |
| 	if x != nil {
 | |
| 		return x.Identity
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *StatusReply) GetMessage() string {
 | |
| 	if x != nil {
 | |
| 		return x.Message
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *StatusReply) GetTimeseq() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Timeseq
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type ConfigRequest struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	App           string                 `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` // 应用程序名称 <必填>
 | |
| 	Os            string                 `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`   // 操作系统 <必填>
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *ConfigRequest) Reset() {
 | |
| 	*x = ConfigRequest{}
 | |
| 	mi := &file_check_proto_msgTypes[2]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *ConfigRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*ConfigRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *ConfigRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_check_proto_msgTypes[2]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use ConfigRequest.ProtoReflect.Descriptor instead.
 | |
| func (*ConfigRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_check_proto_rawDescGZIP(), []int{2}
 | |
| }
 | |
| 
 | |
| func (x *ConfigRequest) GetApp() string {
 | |
| 	if x != nil {
 | |
| 		return x.App
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *ConfigRequest) GetOs() string {
 | |
| 	if x != nil {
 | |
| 		return x.Os
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type ConfigReply struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Data          []*ConfigItem          `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // 配置参数列表
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *ConfigReply) Reset() {
 | |
| 	*x = ConfigReply{}
 | |
| 	mi := &file_check_proto_msgTypes[3]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *ConfigReply) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*ConfigReply) ProtoMessage() {}
 | |
| 
 | |
| func (x *ConfigReply) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_check_proto_msgTypes[3]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use ConfigReply.ProtoReflect.Descriptor instead.
 | |
| func (*ConfigReply) Descriptor() ([]byte, []int) {
 | |
| 	return file_check_proto_rawDescGZIP(), []int{3}
 | |
| }
 | |
| 
 | |
| func (x *ConfigReply) GetData() []*ConfigItem {
 | |
| 	if x != nil {
 | |
| 		return x.Data
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| type ConfigItem struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Identity      string                 `protobuf:"bytes,1,opt,name=Identity,proto3" json:"Identity,omitempty"` //唯一标识
 | |
| 	Key           string                 `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`           //配置键
 | |
| 	Value         string                 `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`       //配置值
 | |
| 	Version       int64                  `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`  //版本号
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *ConfigItem) Reset() {
 | |
| 	*x = ConfigItem{}
 | |
| 	mi := &file_check_proto_msgTypes[4]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *ConfigItem) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*ConfigItem) ProtoMessage() {}
 | |
| 
 | |
| func (x *ConfigItem) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_check_proto_msgTypes[4]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use ConfigItem.ProtoReflect.Descriptor instead.
 | |
| func (*ConfigItem) Descriptor() ([]byte, []int) {
 | |
| 	return file_check_proto_rawDescGZIP(), []int{4}
 | |
| }
 | |
| 
 | |
| func (x *ConfigItem) GetIdentity() string {
 | |
| 	if x != nil {
 | |
| 		return x.Identity
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *ConfigItem) GetKey() string {
 | |
| 	if x != nil {
 | |
| 		return x.Key
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *ConfigItem) GetValue() string {
 | |
| 	if x != nil {
 | |
| 		return x.Value
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *ConfigItem) GetVersion() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Version
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type CheckForUpdatesRequest struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	App           string                 `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`         // 应用程序名称 <必填>
 | |
| 	Os            string                 `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`           // 操作系统 <必填>
 | |
| 	Arch          string                 `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`       // 构架名称 <必填>
 | |
| 	Version       string                 `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // 版本号 <必填>
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesRequest) Reset() {
 | |
| 	*x = CheckForUpdatesRequest{}
 | |
| 	mi := &file_check_proto_msgTypes[5]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*CheckForUpdatesRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *CheckForUpdatesRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_check_proto_msgTypes[5]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use CheckForUpdatesRequest.ProtoReflect.Descriptor instead.
 | |
| func (*CheckForUpdatesRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_check_proto_rawDescGZIP(), []int{5}
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesRequest) GetApp() string {
 | |
| 	if x != nil {
 | |
| 		return x.App
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesRequest) GetOs() string {
 | |
| 	if x != nil {
 | |
| 		return x.Os
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesRequest) GetArch() string {
 | |
| 	if x != nil {
 | |
| 		return x.Arch
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesRequest) GetVersion() string {
 | |
| 	if x != nil {
 | |
| 		return x.Version
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type CheckForUpdatesReply struct {
 | |
| 	state         protoimpl.MessageState `protogen:"open.v1"`
 | |
| 	Identity      string                 `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一码
 | |
| 	Version       string                 `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`   // 版本号
 | |
| 	Summary       string                 `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`   // 更析说明
 | |
| 	Files         string                 `protobuf:"bytes,4,opt,name=files,proto3" json:"files,omitempty"`       // 更新文件以及文件hash
 | |
| 	Pubdate       string                 `protobuf:"bytes,5,opt,name=pubdate,proto3" json:"pubdate,omitempty"`   // 发布时间
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesReply) Reset() {
 | |
| 	*x = CheckForUpdatesReply{}
 | |
| 	mi := &file_check_proto_msgTypes[6]
 | |
| 	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 	ms.StoreMessageInfo(mi)
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesReply) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*CheckForUpdatesReply) ProtoMessage() {}
 | |
| 
 | |
| func (x *CheckForUpdatesReply) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_check_proto_msgTypes[6]
 | |
| 	if x != nil {
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		if ms.LoadMessageInfo() == nil {
 | |
| 			ms.StoreMessageInfo(mi)
 | |
| 		}
 | |
| 		return ms
 | |
| 	}
 | |
| 	return mi.MessageOf(x)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use CheckForUpdatesReply.ProtoReflect.Descriptor instead.
 | |
| func (*CheckForUpdatesReply) Descriptor() ([]byte, []int) {
 | |
| 	return file_check_proto_rawDescGZIP(), []int{6}
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesReply) GetIdentity() string {
 | |
| 	if x != nil {
 | |
| 		return x.Identity
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesReply) GetVersion() string {
 | |
| 	if x != nil {
 | |
| 		return x.Version
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesReply) GetSummary() string {
 | |
| 	if x != nil {
 | |
| 		return x.Summary
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesReply) GetFiles() string {
 | |
| 	if x != nil {
 | |
| 		return x.Files
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *CheckForUpdatesReply) GetPubdate() string {
 | |
| 	if x != nil {
 | |
| 		return x.Pubdate
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| var File_check_proto protoreflect.FileDescriptor
 | |
| 
 | |
| const file_check_proto_rawDesc = "" +
 | |
| 	"\n" +
 | |
| 	"\vcheck.proto\x12\ainitial\"\x19\n" +
 | |
| 	"\x03Crc\x12\x12\n" +
 | |
| 	"\x04code\x18\x01 \x01(\tR\x04code\"u\n" +
 | |
| 	"\vStatusReply\x12\x16\n" +
 | |
| 	"\x06status\x18\x01 \x01(\x03R\x06status\x12\x1a\n" +
 | |
| 	"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x18\n" +
 | |
| 	"\amessage\x18\x03 \x01(\tR\amessage\x12\x18\n" +
 | |
| 	"\atimeseq\x18\x04 \x01(\x03R\atimeseq\"1\n" +
 | |
| 	"\rConfigRequest\x12\x10\n" +
 | |
| 	"\x03app\x18\x01 \x01(\tR\x03app\x12\x0e\n" +
 | |
| 	"\x02os\x18\x02 \x01(\tR\x02os\"6\n" +
 | |
| 	"\vConfigReply\x12'\n" +
 | |
| 	"\x04data\x18\x01 \x03(\v2\x13.initial.ConfigItemR\x04data\"j\n" +
 | |
| 	"\n" +
 | |
| 	"ConfigItem\x12\x1a\n" +
 | |
| 	"\bIdentity\x18\x01 \x01(\tR\bIdentity\x12\x10\n" +
 | |
| 	"\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n" +
 | |
| 	"\x05value\x18\x03 \x01(\tR\x05value\x12\x18\n" +
 | |
| 	"\aversion\x18\x04 \x01(\x03R\aversion\"h\n" +
 | |
| 	"\x16CheckForUpdatesRequest\x12\x10\n" +
 | |
| 	"\x03app\x18\x01 \x01(\tR\x03app\x12\x0e\n" +
 | |
| 	"\x02os\x18\x02 \x01(\tR\x02os\x12\x12\n" +
 | |
| 	"\x04arch\x18\x03 \x01(\tR\x04arch\x12\x18\n" +
 | |
| 	"\aversion\x18\x04 \x01(\tR\aversion\"\x96\x01\n" +
 | |
| 	"\x14CheckForUpdatesReply\x12\x1a\n" +
 | |
| 	"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x18\n" +
 | |
| 	"\aversion\x18\x02 \x01(\tR\aversion\x12\x18\n" +
 | |
| 	"\asummary\x18\x03 \x01(\tR\asummary\x12\x14\n" +
 | |
| 	"\x05files\x18\x04 \x01(\tR\x05files\x12\x18\n" +
 | |
| 	"\apubdate\x18\x05 \x01(\tR\apubdate2\xbd\x01\n" +
 | |
| 	"\x05Check\x12-\n" +
 | |
| 	"\x05Hello\x12\f.initial.Crc\x1a\x14.initial.StatusReply\"\x00\x128\n" +
 | |
| 	"\x06Config\x12\x16.initial.ConfigRequest\x1a\x14.initial.ConfigReply\"\x00\x12K\n" +
 | |
| 	"\aUpdates\x12\x1f.initial.CheckForUpdatesRequest\x1a\x1d.initial.CheckForUpdatesReply\"\x00B\vZ\t.;initialb\x06proto3"
 | |
| 
 | |
| var (
 | |
| 	file_check_proto_rawDescOnce sync.Once
 | |
| 	file_check_proto_rawDescData []byte
 | |
| )
 | |
| 
 | |
| func file_check_proto_rawDescGZIP() []byte {
 | |
| 	file_check_proto_rawDescOnce.Do(func() {
 | |
| 		file_check_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_check_proto_rawDesc), len(file_check_proto_rawDesc)))
 | |
| 	})
 | |
| 	return file_check_proto_rawDescData
 | |
| }
 | |
| 
 | |
| var file_check_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
 | |
| var file_check_proto_goTypes = []any{
 | |
| 	(*Crc)(nil),                    // 0: initial.Crc
 | |
| 	(*StatusReply)(nil),            // 1: initial.StatusReply
 | |
| 	(*ConfigRequest)(nil),          // 2: initial.ConfigRequest
 | |
| 	(*ConfigReply)(nil),            // 3: initial.ConfigReply
 | |
| 	(*ConfigItem)(nil),             // 4: initial.ConfigItem
 | |
| 	(*CheckForUpdatesRequest)(nil), // 5: initial.CheckForUpdatesRequest
 | |
| 	(*CheckForUpdatesReply)(nil),   // 6: initial.CheckForUpdatesReply
 | |
| }
 | |
| var file_check_proto_depIdxs = []int32{
 | |
| 	4, // 0: initial.ConfigReply.data:type_name -> initial.ConfigItem
 | |
| 	0, // 1: initial.Check.Hello:input_type -> initial.Crc
 | |
| 	2, // 2: initial.Check.Config:input_type -> initial.ConfigRequest
 | |
| 	5, // 3: initial.Check.Updates:input_type -> initial.CheckForUpdatesRequest
 | |
| 	1, // 4: initial.Check.Hello:output_type -> initial.StatusReply
 | |
| 	3, // 5: initial.Check.Config:output_type -> initial.ConfigReply
 | |
| 	6, // 6: initial.Check.Updates:output_type -> initial.CheckForUpdatesReply
 | |
| 	4, // [4:7] is the sub-list for method output_type
 | |
| 	1, // [1:4] is the sub-list for method input_type
 | |
| 	1, // [1:1] is the sub-list for extension type_name
 | |
| 	1, // [1:1] is the sub-list for extension extendee
 | |
| 	0, // [0:1] is the sub-list for field type_name
 | |
| }
 | |
| 
 | |
| func init() { file_check_proto_init() }
 | |
| func file_check_proto_init() {
 | |
| 	if File_check_proto != nil {
 | |
| 		return
 | |
| 	}
 | |
| 	type x struct{}
 | |
| 	out := protoimpl.TypeBuilder{
 | |
| 		File: protoimpl.DescBuilder{
 | |
| 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 | |
| 			RawDescriptor: unsafe.Slice(unsafe.StringData(file_check_proto_rawDesc), len(file_check_proto_rawDesc)),
 | |
| 			NumEnums:      0,
 | |
| 			NumMessages:   7,
 | |
| 			NumExtensions: 0,
 | |
| 			NumServices:   1,
 | |
| 		},
 | |
| 		GoTypes:           file_check_proto_goTypes,
 | |
| 		DependencyIndexes: file_check_proto_depIdxs,
 | |
| 		MessageInfos:      file_check_proto_msgTypes,
 | |
| 	}.Build()
 | |
| 	File_check_proto = out.File
 | |
| 	file_check_proto_goTypes = nil
 | |
| 	file_check_proto_depIdxs = nil
 | |
| }
 |