1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00
MiraiGo/client/pb/web/WebSsoBody.pb.go
2021-09-16 07:33:23 +00:00

512 lines
16 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.14.0
// source: WebSsoBody.proto
package web
import (
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
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 STServiceMonitItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Cmd *string `protobuf:"bytes,1,opt,name=cmd" json:"cmd,omitempty"`
Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
Errcode *int32 `protobuf:"varint,3,opt,name=errcode" json:"errcode,omitempty"`
Cost *uint32 `protobuf:"varint,4,opt,name=cost" json:"cost,omitempty"`
Src *uint32 `protobuf:"varint,5,opt,name=src" json:"src,omitempty"`
}
func (x *STServiceMonitItem) Reset() {
*x = STServiceMonitItem{}
if protoimpl.UnsafeEnabled {
mi := &file_WebSsoBody_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *STServiceMonitItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*STServiceMonitItem) ProtoMessage() {}
func (x *STServiceMonitItem) ProtoReflect() protoreflect.Message {
mi := &file_WebSsoBody_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use STServiceMonitItem.ProtoReflect.Descriptor instead.
func (*STServiceMonitItem) Descriptor() ([]byte, []int) {
return file_WebSsoBody_proto_rawDescGZIP(), []int{0}
}
func (x *STServiceMonitItem) GetCmd() string {
if x != nil && x.Cmd != nil {
return *x.Cmd
}
return ""
}
func (x *STServiceMonitItem) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *STServiceMonitItem) GetErrcode() int32 {
if x != nil && x.Errcode != nil {
return *x.Errcode
}
return 0
}
func (x *STServiceMonitItem) GetCost() uint32 {
if x != nil && x.Cost != nil {
return *x.Cost
}
return 0
}
func (x *STServiceMonitItem) GetSrc() uint32 {
if x != nil && x.Src != nil {
return *x.Src
}
return 0
}
type STServiceMonitReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
List []*STServiceMonitItem `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
}
func (x *STServiceMonitReq) Reset() {
*x = STServiceMonitReq{}
if protoimpl.UnsafeEnabled {
mi := &file_WebSsoBody_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *STServiceMonitReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*STServiceMonitReq) ProtoMessage() {}
func (x *STServiceMonitReq) ProtoReflect() protoreflect.Message {
mi := &file_WebSsoBody_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use STServiceMonitReq.ProtoReflect.Descriptor instead.
func (*STServiceMonitReq) Descriptor() ([]byte, []int) {
return file_WebSsoBody_proto_rawDescGZIP(), []int{1}
}
func (x *STServiceMonitReq) GetList() []*STServiceMonitItem {
if x != nil {
return x.List
}
return nil
}
type WebSsoControlData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Frequency *uint32 `protobuf:"varint,1,opt,name=frequency" json:"frequency,omitempty"`
PackageSize *uint32 `protobuf:"varint,2,opt,name=packageSize" json:"packageSize,omitempty"`
}
func (x *WebSsoControlData) Reset() {
*x = WebSsoControlData{}
if protoimpl.UnsafeEnabled {
mi := &file_WebSsoBody_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WebSsoControlData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebSsoControlData) ProtoMessage() {}
func (x *WebSsoControlData) ProtoReflect() protoreflect.Message {
mi := &file_WebSsoBody_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WebSsoControlData.ProtoReflect.Descriptor instead.
func (*WebSsoControlData) Descriptor() ([]byte, []int) {
return file_WebSsoBody_proto_rawDescGZIP(), []int{2}
}
func (x *WebSsoControlData) GetFrequency() uint32 {
if x != nil && x.Frequency != nil {
return *x.Frequency
}
return 0
}
func (x *WebSsoControlData) GetPackageSize() uint32 {
if x != nil && x.PackageSize != nil {
return *x.PackageSize
}
return 0
}
type WebSsoRequestBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version *uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
Type *uint32 `protobuf:"varint,2,opt,name=type" json:"type,omitempty"`
Data *string `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
WebData *string `protobuf:"bytes,4,opt,name=webData" json:"webData,omitempty"`
}
func (x *WebSsoRequestBody) Reset() {
*x = WebSsoRequestBody{}
if protoimpl.UnsafeEnabled {
mi := &file_WebSsoBody_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WebSsoRequestBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebSsoRequestBody) ProtoMessage() {}
func (x *WebSsoRequestBody) ProtoReflect() protoreflect.Message {
mi := &file_WebSsoBody_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WebSsoRequestBody.ProtoReflect.Descriptor instead.
func (*WebSsoRequestBody) Descriptor() ([]byte, []int) {
return file_WebSsoBody_proto_rawDescGZIP(), []int{3}
}
func (x *WebSsoRequestBody) GetVersion() uint32 {
if x != nil && x.Version != nil {
return *x.Version
}
return 0
}
func (x *WebSsoRequestBody) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *WebSsoRequestBody) GetData() string {
if x != nil && x.Data != nil {
return *x.Data
}
return ""
}
func (x *WebSsoRequestBody) GetWebData() string {
if x != nil && x.WebData != nil {
return *x.WebData
}
return ""
}
type WebSsoResponseBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version *uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
Type *uint32 `protobuf:"varint,2,opt,name=type" json:"type,omitempty"`
Ret *uint32 `protobuf:"varint,3,opt,name=ret" json:"ret,omitempty"`
Data *string `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"`
ControlData *WebSsoControlData `protobuf:"bytes,5,opt,name=controlData" json:"controlData,omitempty"`
}
func (x *WebSsoResponseBody) Reset() {
*x = WebSsoResponseBody{}
if protoimpl.UnsafeEnabled {
mi := &file_WebSsoBody_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WebSsoResponseBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebSsoResponseBody) ProtoMessage() {}
func (x *WebSsoResponseBody) ProtoReflect() protoreflect.Message {
mi := &file_WebSsoBody_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WebSsoResponseBody.ProtoReflect.Descriptor instead.
func (*WebSsoResponseBody) Descriptor() ([]byte, []int) {
return file_WebSsoBody_proto_rawDescGZIP(), []int{4}
}
func (x *WebSsoResponseBody) GetVersion() uint32 {
if x != nil && x.Version != nil {
return *x.Version
}
return 0
}
func (x *WebSsoResponseBody) GetType() uint32 {
if x != nil && x.Type != nil {
return *x.Type
}
return 0
}
func (x *WebSsoResponseBody) GetRet() uint32 {
if x != nil && x.Ret != nil {
return *x.Ret
}
return 0
}
func (x *WebSsoResponseBody) GetData() string {
if x != nil && x.Data != nil {
return *x.Data
}
return ""
}
func (x *WebSsoResponseBody) GetControlData() *WebSsoControlData {
if x != nil {
return x.ControlData
}
return nil
}
var File_WebSsoBody_proto protoreflect.FileDescriptor
var file_WebSsoBody_proto_rawDesc = []byte{
0x0a, 0x10, 0x57, 0x65, 0x62, 0x53, 0x73, 0x6f, 0x42, 0x6f, 0x64, 0x79, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x22, 0x78, 0x0a, 0x12, 0x53, 0x54, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d,
0x6f, 0x6e, 0x69, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72,
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07,
0x65, 0x72, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65,
0x72, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04,
0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72,
0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x72, 0x63, 0x22, 0x3c, 0x0a, 0x11,
0x53, 0x54, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x52, 0x65,
0x71, 0x12, 0x27, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x13, 0x2e, 0x53, 0x54, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x0a, 0x11, 0x57, 0x65,
0x62, 0x53, 0x73, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12,
0x1c, 0x0a, 0x09, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0d, 0x52, 0x09, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x20, 0x0a,
0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22,
0x6f, 0x0a, 0x11, 0x57, 0x65, 0x62, 0x53, 0x73, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12,
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79,
0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x44, 0x61, 0x74,
0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x65, 0x62, 0x44, 0x61, 0x74, 0x61,
0x22, 0x9e, 0x01, 0x0a, 0x12, 0x57, 0x65, 0x62, 0x53, 0x73, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01,
0x28, 0x0d, 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x34, 0x0a, 0x0b, 0x63,
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x12, 0x2e, 0x57, 0x65, 0x62, 0x53, 0x73, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x44, 0x61, 0x74,
0x61, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x3b, 0x77, 0x65, 0x62,
}
var (
file_WebSsoBody_proto_rawDescOnce sync.Once
file_WebSsoBody_proto_rawDescData = file_WebSsoBody_proto_rawDesc
)
func file_WebSsoBody_proto_rawDescGZIP() []byte {
file_WebSsoBody_proto_rawDescOnce.Do(func() {
file_WebSsoBody_proto_rawDescData = protoimpl.X.CompressGZIP(file_WebSsoBody_proto_rawDescData)
})
return file_WebSsoBody_proto_rawDescData
}
var file_WebSsoBody_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_WebSsoBody_proto_goTypes = []interface{}{
(*STServiceMonitItem)(nil), // 0: STServiceMonitItem
(*STServiceMonitReq)(nil), // 1: STServiceMonitReq
(*WebSsoControlData)(nil), // 2: WebSsoControlData
(*WebSsoRequestBody)(nil), // 3: WebSsoRequestBody
(*WebSsoResponseBody)(nil), // 4: WebSsoResponseBody
}
var file_WebSsoBody_proto_depIdxs = []int32{
0, // 0: STServiceMonitReq.list:type_name -> STServiceMonitItem
2, // 1: WebSsoResponseBody.controlData:type_name -> WebSsoControlData
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_WebSsoBody_proto_init() }
func file_WebSsoBody_proto_init() {
if File_WebSsoBody_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_WebSsoBody_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*STServiceMonitItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_WebSsoBody_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*STServiceMonitReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_WebSsoBody_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WebSsoControlData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_WebSsoBody_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WebSsoRequestBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_WebSsoBody_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WebSsoResponseBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_WebSsoBody_proto_rawDesc,
NumEnums: 0,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_WebSsoBody_proto_goTypes,
DependencyIndexes: file_WebSsoBody_proto_depIdxs,
MessageInfos: file_WebSsoBody_proto_msgTypes,
}.Build()
File_WebSsoBody_proto = out.File
file_WebSsoBody_proto_rawDesc = nil
file_WebSsoBody_proto_goTypes = nil
file_WebSsoBody_proto_depIdxs = nil
}