mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-10 10:10:27 +08:00
使用最新的protoc-gen-go和protoc-gen-go-grpc插件编译proto文件
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc v3.19.4
|
||||
// source: models/model_ns_access_log.proto
|
||||
|
||||
package pb
|
||||
|
||||
import (
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -21,10 +20,6 @@ const (
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||
// of the legacy proto package is being used.
|
||||
const _ = proto.ProtoPackageIsVersion4
|
||||
|
||||
// 域名服务访问记录
|
||||
type NSAccessLog struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -34,7 +29,7 @@ type NSAccessLog struct {
|
||||
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
||||
NsDomainId int64 `protobuf:"varint,2,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
|
||||
NsRecordId int64 `protobuf:"varint,3,opt,name=nsRecordId,proto3" json:"nsRecordId,omitempty"`
|
||||
// Deprecated: Do not use.
|
||||
// Deprecated: Marked as deprecated in models/model_ns_access_log.proto.
|
||||
NsRouteIds []int64 `protobuf:"varint,4,rep,packed,name=nsRouteIds,proto3" json:"nsRouteIds,omitempty"`
|
||||
NsRouteCodes []string `protobuf:"bytes,17,rep,name=nsRouteCodes,proto3" json:"nsRouteCodes,omitempty"`
|
||||
NsRoutes []*NSRoute `protobuf:"bytes,18,rep,name=nsRoutes,proto3" json:"nsRoutes,omitempty"` // 仅供查看访问日志时使用
|
||||
@@ -106,7 +101,7 @@ func (x *NSAccessLog) GetNsRecordId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
// Deprecated: Marked as deprecated in models/model_ns_access_log.proto.
|
||||
func (x *NSAccessLog) GetNsRouteIds() []int64 {
|
||||
if x != nil {
|
||||
return x.NsRouteIds
|
||||
|
||||
Reference in New Issue
Block a user