model

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Calc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "model.Calc",
	HandlerType: (*CalcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddCalcItem",
			Handler:    _Calc_AddCalcItem_Handler,
		},
		{
			MethodName: "GetCalcItems",
			Handler:    _Calc_GetCalcItems_Handler,
		},
		{
			MethodName: "UpdateCalcItem",
			Handler:    _Calc_UpdateCalcItem_Handler,
		},
		{
			MethodName: "StartCalcItem",
			Handler:    _Calc_StartCalcItem_Handler,
		},
		{
			MethodName: "StopCalcItem",
			Handler:    _Calc_StopCalcItem_Handler,
		},
		{
			MethodName: "DeleteCalcItem",
			Handler:    _Calc_DeleteCalcItem_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "AddCalcItemWithStream",
			Handler:       _Calc_AddCalcItemWithStream_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "gdb.proto",
}

Calc_ServiceDesc is the grpc.ServiceDesc for Calc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Data_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "model.Data",
	HandlerType: (*DataServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "BatchWrite",
			Handler:    _Data_BatchWrite_Handler,
		},
		{
			MethodName: "BatchWriteHistoricalData",
			Handler:    _Data_BatchWriteHistoricalData_Handler,
		},
		{
			MethodName: "GetRealTimeData",
			Handler:    _Data_GetRealTimeData_Handler,
		},
		{
			MethodName: "GetHistoricalData",
			Handler:    _Data_GetHistoricalData_Handler,
		},
		{
			MethodName: "GetHistoricalDataWithStamp",
			Handler:    _Data_GetHistoricalDataWithStamp_Handler,
		},
		{
			MethodName: "GetHistoricalDataWithCondition",
			Handler:    _Data_GetHistoricalDataWithCondition_Handler,
		},
		{
			MethodName: "GetRawData",
			Handler:    _Data_GetRawData_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "BatchWriteWithStream",
			Handler:       _Data_BatchWriteWithStream_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "BatchWriteHistoricalDataWithStream",
			Handler:       _Data_BatchWriteHistoricalDataWithStream_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "gdb.proto",
}

Data_ServiceDesc is the grpc.ServiceDesc for Data service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Group_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "model.Group",
	HandlerType: (*GroupServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddGroups",
			Handler:    _Group_AddGroups_Handler,
		},
		{
			MethodName: "DeleteGroups",
			Handler:    _Group_DeleteGroups_Handler,
		},
		{
			MethodName: "GetGroups",
			Handler:    _Group_GetGroups_Handler,
		},
		{
			MethodName: "GetGroupProperty",
			Handler:    _Group_GetGroupProperty_Handler,
		},
		{
			MethodName: "UpdateGroupNames",
			Handler:    _Group_UpdateGroupNames_Handler,
		},
		{
			MethodName: "UpdateGroupColumnNames",
			Handler:    _Group_UpdateGroupColumnNames_Handler,
		},
		{
			MethodName: "DeleteGroupColumns",
			Handler:    _Group_DeleteGroupColumns_Handler,
		},
		{
			MethodName: "AddGroupColumns",
			Handler:    _Group_AddGroupColumns_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gdb.proto",
}

Group_ServiceDesc is the grpc.ServiceDesc for Group service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Item_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "model.Item",
	HandlerType: (*ItemServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddItems",
			Handler:    _Item_AddItems_Handler,
		},
		{
			MethodName: "DeleteItems",
			Handler:    _Item_DeleteItems_Handler,
		},
		{
			MethodName: "GetItems",
			Handler:    _Item_GetItems_Handler,
		},
		{
			MethodName: "getItemsWithCount",
			Handler:    _Item_GetItemsWithCount_Handler,
		},
		{
			MethodName: "UpdateItems",
			Handler:    _Item_UpdateItems_Handler,
		},
		{
			MethodName: "CheckItems",
			Handler:    _Item_CheckItems_Handler,
		},
		{
			MethodName: "CleanGroupItems",
			Handler:    _Item_CleanGroupItems_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gdb.proto",
}

Item_ServiceDesc is the grpc.ServiceDesc for Item service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Page_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "model.Page",
	HandlerType: (*PageServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UserLogin",
			Handler:    _Page_UserLogin_Handler,
		},
		{
			MethodName: "UserLogOut",
			Handler:    _Page_UserLogOut_Handler,
		},
		{
			MethodName: "GetUserInfo",
			Handler:    _Page_GetUserInfo_Handler,
		},
		{
			MethodName: "GetUsers",
			Handler:    _Page_GetUsers_Handler,
		},
		{
			MethodName: "AddUsers",
			Handler:    _Page_AddUsers_Handler,
		},
		{
			MethodName: "DeleteUsers",
			Handler:    _Page_DeleteUsers_Handler,
		},
		{
			MethodName: "UpdateUsers",
			Handler:    _Page_UpdateUsers_Handler,
		},
		{
			MethodName: "UploadFile",
			Handler:    _Page_UploadFile_Handler,
		},
		{
			MethodName: "addItemsByExcel",
			Handler:    _Page_AddItemsByExcel_Handler,
		},
		{
			MethodName: "importHistoryByExcel",
			Handler:    _Page_ImportHistoryByExcel_Handler,
		},
		{
			MethodName: "GetLogs",
			Handler:    _Page_GetLogs_Handler,
		},
		{
			MethodName: "DeleteLogs",
			Handler:    _Page_DeleteLogs_Handler,
		},
		{
			MethodName: "DownloadFile",
			Handler:    _Page_DownloadFile_Handler,
		},
		{
			MethodName: "GetDbInfo",
			Handler:    _Page_GetDbInfo_Handler,
		},
		{
			MethodName: "GetDbInfoHistory",
			Handler:    _Page_GetDbInfoHistory_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "UploadFileWithStream",
			Handler:       _Page_UploadFileWithStream_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "gdb.proto",
}

Page_ServiceDesc is the grpc.ServiceDesc for Page service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterCalcServer

func RegisterCalcServer(s grpc.ServiceRegistrar, srv CalcServer)

func RegisterDataServer

func RegisterDataServer(s grpc.ServiceRegistrar, srv DataServer)

func RegisterGroupServer

func RegisterGroupServer(s grpc.ServiceRegistrar, srv GroupServer)

func RegisterItemServer

func RegisterItemServer(s grpc.ServiceRegistrar, srv ItemServer)

func RegisterPageServer

func RegisterPageServer(s grpc.ServiceRegistrar, srv PageServer)

Types

type AddUserInfo

type AddUserInfo struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Role     string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	PassWord string `protobuf:"bytes,3,opt,name=passWord,proto3" json:"passWord,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUserInfo) Descriptor deprecated

func (*AddUserInfo) Descriptor() ([]byte, []int)

Deprecated: Use AddUserInfo.ProtoReflect.Descriptor instead.

func (*AddUserInfo) GetName

func (x *AddUserInfo) GetName() string

func (*AddUserInfo) GetPassWord

func (x *AddUserInfo) GetPassWord() string

func (*AddUserInfo) GetRole

func (x *AddUserInfo) GetRole() string

func (*AddUserInfo) ProtoMessage

func (*AddUserInfo) ProtoMessage()

func (*AddUserInfo) ProtoReflect

func (x *AddUserInfo) ProtoReflect() protoreflect.Message

func (*AddUserInfo) Reset

func (x *AddUserInfo) Reset()

func (*AddUserInfo) String

func (x *AddUserInfo) String() string

type AddedCalcItemInfo

type AddedCalcItemInfo struct {
	Expression  string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
	Flag        string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"`
	Duration    string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"`
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*AddedCalcItemInfo) Descriptor deprecated

func (*AddedCalcItemInfo) Descriptor() ([]byte, []int)

Deprecated: Use AddedCalcItemInfo.ProtoReflect.Descriptor instead.

func (*AddedCalcItemInfo) GetDescription

func (x *AddedCalcItemInfo) GetDescription() string

func (*AddedCalcItemInfo) GetDuration

func (x *AddedCalcItemInfo) GetDuration() string

func (*AddedCalcItemInfo) GetExpression

func (x *AddedCalcItemInfo) GetExpression() string

func (*AddedCalcItemInfo) GetFlag

func (x *AddedCalcItemInfo) GetFlag() string

func (*AddedCalcItemInfo) ProtoMessage

func (*AddedCalcItemInfo) ProtoMessage()

func (*AddedCalcItemInfo) ProtoReflect

func (x *AddedCalcItemInfo) ProtoReflect() protoreflect.Message

func (*AddedCalcItemInfo) Reset

func (x *AddedCalcItemInfo) Reset()

func (*AddedCalcItemInfo) String

func (x *AddedCalcItemInfo) String() string

type AddedGroupColumnsInfo

type AddedGroupColumnsInfo struct {
	GroupName     string   `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	ColumnNames   []string `protobuf:"bytes,2,rep,name=columnNames,proto3" json:"columnNames,omitempty"`
	DefaultValues []string `protobuf:"bytes,3,rep,name=defaultValues,proto3" json:"defaultValues,omitempty"`
	// contains filtered or unexported fields
}

func (*AddedGroupColumnsInfo) Descriptor deprecated

func (*AddedGroupColumnsInfo) Descriptor() ([]byte, []int)

Deprecated: Use AddedGroupColumnsInfo.ProtoReflect.Descriptor instead.

func (*AddedGroupColumnsInfo) GetColumnNames

func (x *AddedGroupColumnsInfo) GetColumnNames() []string

func (*AddedGroupColumnsInfo) GetDefaultValues

func (x *AddedGroupColumnsInfo) GetDefaultValues() []string

func (*AddedGroupColumnsInfo) GetGroupName

func (x *AddedGroupColumnsInfo) GetGroupName() string

func (*AddedGroupColumnsInfo) ProtoMessage

func (*AddedGroupColumnsInfo) ProtoMessage()

func (*AddedGroupColumnsInfo) ProtoReflect

func (x *AddedGroupColumnsInfo) ProtoReflect() protoreflect.Message

func (*AddedGroupColumnsInfo) Reset

func (x *AddedGroupColumnsInfo) Reset()

func (*AddedGroupColumnsInfo) String

func (x *AddedGroupColumnsInfo) String() string

type AddedGroupInfo

type AddedGroupInfo struct {
	GroupName   string   `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	ColumnNames []string `protobuf:"bytes,2,rep,name=columnNames,proto3" json:"columnNames,omitempty"`
	// contains filtered or unexported fields
}

func (*AddedGroupInfo) Descriptor deprecated

func (*AddedGroupInfo) Descriptor() ([]byte, []int)

Deprecated: Use AddedGroupInfo.ProtoReflect.Descriptor instead.

func (*AddedGroupInfo) GetColumnNames

func (x *AddedGroupInfo) GetColumnNames() []string

func (*AddedGroupInfo) GetGroupName

func (x *AddedGroupInfo) GetGroupName() string

func (*AddedGroupInfo) ProtoMessage

func (*AddedGroupInfo) ProtoMessage()

func (*AddedGroupInfo) ProtoReflect

func (x *AddedGroupInfo) ProtoReflect() protoreflect.Message

func (*AddedGroupInfo) Reset

func (x *AddedGroupInfo) Reset()

func (*AddedGroupInfo) String

func (x *AddedGroupInfo) String() string

type AddedGroupInfos

type AddedGroupInfos struct {
	GroupInfos []*AddedGroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos,omitempty"`
	// contains filtered or unexported fields
}

func (*AddedGroupInfos) Descriptor deprecated

func (*AddedGroupInfos) Descriptor() ([]byte, []int)

Deprecated: Use AddedGroupInfos.ProtoReflect.Descriptor instead.

func (*AddedGroupInfos) GetGroupInfos

func (x *AddedGroupInfos) GetGroupInfos() []*AddedGroupInfo

func (*AddedGroupInfos) ProtoMessage

func (*AddedGroupInfos) ProtoMessage()

func (*AddedGroupInfos) ProtoReflect

func (x *AddedGroupInfos) ProtoReflect() protoreflect.Message

func (*AddedGroupInfos) Reset

func (x *AddedGroupInfos) Reset()

func (*AddedGroupInfos) String

func (x *AddedGroupInfos) String() string

type AddedItemsInfo

type AddedItemsInfo struct {
	GroupName  string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	ItemValues string `protobuf:"bytes,2,opt,name=itemValues,proto3" json:"itemValues,omitempty"`
	// contains filtered or unexported fields
}

func (*AddedItemsInfo) Descriptor deprecated

func (*AddedItemsInfo) Descriptor() ([]byte, []int)

Deprecated: Use AddedItemsInfo.ProtoReflect.Descriptor instead.

func (*AddedItemsInfo) GetGroupName

func (x *AddedItemsInfo) GetGroupName() string

func (*AddedItemsInfo) GetItemValues

func (x *AddedItemsInfo) GetItemValues() string

func (*AddedItemsInfo) ProtoMessage

func (*AddedItemsInfo) ProtoMessage()

func (*AddedItemsInfo) ProtoReflect

func (x *AddedItemsInfo) ProtoReflect() protoreflect.Message

func (*AddedItemsInfo) Reset

func (x *AddedItemsInfo) Reset()

func (*AddedItemsInfo) String

func (x *AddedItemsInfo) String() string

type AuthInfo

type AuthInfo struct {
	UserName string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`
	PassWord string `protobuf:"bytes,2,opt,name=passWord,proto3" json:"passWord,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthInfo) Descriptor deprecated

func (*AuthInfo) Descriptor() ([]byte, []int)

Deprecated: Use AuthInfo.ProtoReflect.Descriptor instead.

func (*AuthInfo) GetPassWord

func (x *AuthInfo) GetPassWord() string

func (*AuthInfo) GetUserName

func (x *AuthInfo) GetUserName() string

func (*AuthInfo) ProtoMessage

func (*AuthInfo) ProtoMessage()

func (*AuthInfo) ProtoReflect

func (x *AuthInfo) ProtoReflect() protoreflect.Message

func (*AuthInfo) Reset

func (x *AuthInfo) Reset()

func (*AuthInfo) String

func (x *AuthInfo) String() string

type BatchWriteHistoricalString

type BatchWriteHistoricalString struct {
	HistoricalItemValues []*HistoricalItemValue `protobuf:"bytes,1,rep,name=historicalItemValues,proto3" json:"historicalItemValues,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchWriteHistoricalString) Descriptor deprecated

func (*BatchWriteHistoricalString) Descriptor() ([]byte, []int)

Deprecated: Use BatchWriteHistoricalString.ProtoReflect.Descriptor instead.

func (*BatchWriteHistoricalString) GetHistoricalItemValues

func (x *BatchWriteHistoricalString) GetHistoricalItemValues() []*HistoricalItemValue

func (*BatchWriteHistoricalString) ProtoMessage

func (*BatchWriteHistoricalString) ProtoMessage()

func (*BatchWriteHistoricalString) ProtoReflect

func (*BatchWriteHistoricalString) Reset

func (x *BatchWriteHistoricalString) Reset()

func (*BatchWriteHistoricalString) String

func (x *BatchWriteHistoricalString) String() string

type BatchWriteString

type BatchWriteString struct {
	ItemValues []*ItemValue `protobuf:"bytes,3,rep,name=itemValues,proto3" json:"itemValues,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchWriteString) Descriptor deprecated

func (*BatchWriteString) Descriptor() ([]byte, []int)

Deprecated: Use BatchWriteString.ProtoReflect.Descriptor instead.

func (*BatchWriteString) GetItemValues

func (x *BatchWriteString) GetItemValues() []*ItemValue

func (*BatchWriteString) ProtoMessage

func (*BatchWriteString) ProtoMessage()

func (*BatchWriteString) ProtoReflect

func (x *BatchWriteString) ProtoReflect() protoreflect.Message

func (*BatchWriteString) Reset

func (x *BatchWriteString) Reset()

func (*BatchWriteString) String

func (x *BatchWriteString) String() string

type CalcClient

type CalcClient interface {
	AddCalcItem(ctx context.Context, in *AddedCalcItemInfo, opts ...grpc.CallOption) (*CalculationResult, error)
	AddCalcItemWithStream(ctx context.Context, opts ...grpc.CallOption) (Calc_AddCalcItemWithStreamClient, error)
	GetCalcItems(ctx context.Context, in *QueryCalcItemsInfo, opts ...grpc.CallOption) (*CalcItemsInfo, error)
	UpdateCalcItem(ctx context.Context, in *UpdatedCalcInfo, opts ...grpc.CallOption) (*CalculationResult, error)
	StartCalcItem(ctx context.Context, in *CalcId, opts ...grpc.CallOption) (*Rows, error)
	StopCalcItem(ctx context.Context, in *CalcId, opts ...grpc.CallOption) (*Rows, error)
	DeleteCalcItem(ctx context.Context, in *CalcId, opts ...grpc.CallOption) (*Rows, error)
}

CalcClient is the client API for Calc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCalcClient

func NewCalcClient(cc grpc.ClientConnInterface) CalcClient

type CalcId

type CalcId struct {
	Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CalcId) Descriptor deprecated

func (*CalcId) Descriptor() ([]byte, []int)

Deprecated: Use CalcId.ProtoReflect.Descriptor instead.

func (*CalcId) GetId

func (x *CalcId) GetId() []string

func (*CalcId) ProtoMessage

func (*CalcId) ProtoMessage()

func (*CalcId) ProtoReflect

func (x *CalcId) ProtoReflect() protoreflect.Message

func (*CalcId) Reset

func (x *CalcId) Reset()

func (*CalcId) String

func (x *CalcId) String() string

type CalcItemInfo

type CalcItemInfo struct {
	Info map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CalcItemInfo) Descriptor deprecated

func (*CalcItemInfo) Descriptor() ([]byte, []int)

Deprecated: Use CalcItemInfo.ProtoReflect.Descriptor instead.

func (*CalcItemInfo) GetInfo

func (x *CalcItemInfo) GetInfo() map[string]string

func (*CalcItemInfo) ProtoMessage

func (*CalcItemInfo) ProtoMessage()

func (*CalcItemInfo) ProtoReflect

func (x *CalcItemInfo) ProtoReflect() protoreflect.Message

func (*CalcItemInfo) Reset

func (x *CalcItemInfo) Reset()

func (*CalcItemInfo) String

func (x *CalcItemInfo) String() string

type CalcItemsInfo

type CalcItemsInfo struct {
	Infos []*CalcItemInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
	// contains filtered or unexported fields
}

func (*CalcItemsInfo) Descriptor deprecated

func (*CalcItemsInfo) Descriptor() ([]byte, []int)

Deprecated: Use CalcItemsInfo.ProtoReflect.Descriptor instead.

func (*CalcItemsInfo) GetInfos

func (x *CalcItemsInfo) GetInfos() []*CalcItemInfo

func (*CalcItemsInfo) ProtoMessage

func (*CalcItemsInfo) ProtoMessage()

func (*CalcItemsInfo) ProtoReflect

func (x *CalcItemsInfo) ProtoReflect() protoreflect.Message

func (*CalcItemsInfo) Reset

func (x *CalcItemsInfo) Reset()

func (*CalcItemsInfo) String

func (x *CalcItemsInfo) String() string

type CalcServer

type CalcServer interface {
	AddCalcItem(context.Context, *AddedCalcItemInfo) (*CalculationResult, error)
	AddCalcItemWithStream(Calc_AddCalcItemWithStreamServer) error
	GetCalcItems(context.Context, *QueryCalcItemsInfo) (*CalcItemsInfo, error)
	UpdateCalcItem(context.Context, *UpdatedCalcInfo) (*CalculationResult, error)
	StartCalcItem(context.Context, *CalcId) (*Rows, error)
	StopCalcItem(context.Context, *CalcId) (*Rows, error)
	DeleteCalcItem(context.Context, *CalcId) (*Rows, error)
	// contains filtered or unexported methods
}

CalcServer is the server API for Calc service. All implementations must embed UnimplementedCalcServer for forward compatibility

type Calc_AddCalcItemWithStreamClient

type Calc_AddCalcItemWithStreamClient interface {
	Send(*AddedCalcItemInfo) error
	CloseAndRecv() (*CalculationResults, error)
	grpc.ClientStream
}

type Calc_AddCalcItemWithStreamServer

type Calc_AddCalcItemWithStreamServer interface {
	SendAndClose(*CalculationResults) error
	Recv() (*AddedCalcItemInfo, error)
	grpc.ServerStream
}

type CalculationResult

type CalculationResult struct {
	Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CalculationResult) Descriptor deprecated

func (*CalculationResult) Descriptor() ([]byte, []int)

Deprecated: Use CalculationResult.ProtoReflect.Descriptor instead.

func (*CalculationResult) GetResult

func (x *CalculationResult) GetResult() string

func (*CalculationResult) ProtoMessage

func (*CalculationResult) ProtoMessage()

func (*CalculationResult) ProtoReflect

func (x *CalculationResult) ProtoReflect() protoreflect.Message

func (*CalculationResult) Reset

func (x *CalculationResult) Reset()

func (*CalculationResult) String

func (x *CalculationResult) String() string

type CalculationResults

type CalculationResults struct {
	Results []*CalculationResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*CalculationResults) Descriptor deprecated

func (*CalculationResults) Descriptor() ([]byte, []int)

Deprecated: Use CalculationResults.ProtoReflect.Descriptor instead.

func (*CalculationResults) GetResults

func (x *CalculationResults) GetResults() []*CalculationResult

func (*CalculationResults) ProtoMessage

func (*CalculationResults) ProtoMessage()

func (*CalculationResults) ProtoReflect

func (x *CalculationResults) ProtoReflect() protoreflect.Message

func (*CalculationResults) Reset

func (x *CalculationResults) Reset()

func (*CalculationResults) String

func (x *CalculationResults) String() string

type CheckItemsInfo

type CheckItemsInfo struct {
	GroupName string   `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	ItemNames []string `protobuf:"bytes,2,rep,name=itemNames,proto3" json:"itemNames,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckItemsInfo) Descriptor deprecated

func (*CheckItemsInfo) Descriptor() ([]byte, []int)

Deprecated: Use CheckItemsInfo.ProtoReflect.Descriptor instead.

func (*CheckItemsInfo) GetGroupName

func (x *CheckItemsInfo) GetGroupName() string

func (*CheckItemsInfo) GetItemNames

func (x *CheckItemsInfo) GetItemNames() []string

func (*CheckItemsInfo) ProtoMessage

func (*CheckItemsInfo) ProtoMessage()

func (*CheckItemsInfo) ProtoReflect

func (x *CheckItemsInfo) ProtoReflect() protoreflect.Message

func (*CheckItemsInfo) Reset

func (x *CheckItemsInfo) Reset()

func (*CheckItemsInfo) String

func (x *CheckItemsInfo) String() string

type Cols

type Cols struct {
	EffectedCols int32 `protobuf:"varint,1,opt,name=effectedCols,proto3" json:"effectedCols,omitempty"`
	// contains filtered or unexported fields
}

func (*Cols) Descriptor deprecated

func (*Cols) Descriptor() ([]byte, []int)

Deprecated: Use Cols.ProtoReflect.Descriptor instead.

func (*Cols) GetEffectedCols

func (x *Cols) GetEffectedCols() int32

func (*Cols) ProtoMessage

func (*Cols) ProtoMessage()

func (*Cols) ProtoReflect

func (x *Cols) ProtoReflect() protoreflect.Message

func (*Cols) Reset

func (x *Cols) Reset()

func (*Cols) String

func (x *Cols) String() string

type DataClient

type DataClient interface {
	BatchWrite(ctx context.Context, in *BatchWriteString, opts ...grpc.CallOption) (*Rows, error)
	BatchWriteWithStream(ctx context.Context, opts ...grpc.CallOption) (Data_BatchWriteWithStreamClient, error)
	BatchWriteHistoricalData(ctx context.Context, in *BatchWriteHistoricalString, opts ...grpc.CallOption) (*emptypb.Empty, error)
	BatchWriteHistoricalDataWithStream(ctx context.Context, opts ...grpc.CallOption) (Data_BatchWriteHistoricalDataWithStreamClient, error)
	GetRealTimeData(ctx context.Context, in *QueryRealTimeDataString, opts ...grpc.CallOption) (*GdbRealTimeData, error)
	GetHistoricalData(ctx context.Context, in *QueryHistoricalDataString, opts ...grpc.CallOption) (*GdbHistoricalData, error)
	GetHistoricalDataWithStamp(ctx context.Context, in *QueryHistoricalDataWithTimeStampString, opts ...grpc.CallOption) (*GdbHistoricalData, error)
	GetHistoricalDataWithCondition(ctx context.Context, in *QueryHistoricalDataWithConditionString, opts ...grpc.CallOption) (*GdbHistoricalData, error)
	GetRawData(ctx context.Context, in *QueryRealTimeDataString, opts ...grpc.CallOption) (*GdbHistoricalData, error)
}

DataClient is the client API for Data service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDataClient

func NewDataClient(cc grpc.ClientConnInterface) DataClient

type DataServer

type DataServer interface {
	BatchWrite(context.Context, *BatchWriteString) (*Rows, error)
	BatchWriteWithStream(Data_BatchWriteWithStreamServer) error
	BatchWriteHistoricalData(context.Context, *BatchWriteHistoricalString) (*emptypb.Empty, error)
	BatchWriteHistoricalDataWithStream(Data_BatchWriteHistoricalDataWithStreamServer) error
	GetRealTimeData(context.Context, *QueryRealTimeDataString) (*GdbRealTimeData, error)
	GetHistoricalData(context.Context, *QueryHistoricalDataString) (*GdbHistoricalData, error)
	GetHistoricalDataWithStamp(context.Context, *QueryHistoricalDataWithTimeStampString) (*GdbHistoricalData, error)
	GetHistoricalDataWithCondition(context.Context, *QueryHistoricalDataWithConditionString) (*GdbHistoricalData, error)
	GetRawData(context.Context, *QueryRealTimeDataString) (*GdbHistoricalData, error)
	// contains filtered or unexported methods
}

DataServer is the server API for Data service. All implementations must embed UnimplementedDataServer for forward compatibility

type Data_BatchWriteHistoricalDataWithStreamClient

type Data_BatchWriteHistoricalDataWithStreamClient interface {
	Send(*BatchWriteHistoricalString) error
	CloseAndRecv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type Data_BatchWriteHistoricalDataWithStreamServer

type Data_BatchWriteHistoricalDataWithStreamServer interface {
	SendAndClose(*emptypb.Empty) error
	Recv() (*BatchWriteHistoricalString, error)
	grpc.ServerStream
}

type Data_BatchWriteWithStreamClient

type Data_BatchWriteWithStreamClient interface {
	Send(*BatchWriteString) error
	CloseAndRecv() (*Rows, error)
	grpc.ClientStream
}

type Data_BatchWriteWithStreamServer

type Data_BatchWriteWithStreamServer interface {
	SendAndClose(*Rows) error
	Recv() (*BatchWriteString, error)
	grpc.ServerStream
}

type DeadZone

type DeadZone struct {
	ItemName      string `protobuf:"bytes,1,opt,name=itemName,proto3" json:"itemName,omitempty"`
	DeadZoneCount int32  `protobuf:"varint,2,opt,name=deadZoneCount,proto3" json:"deadZoneCount,omitempty"`
	// contains filtered or unexported fields
}

func (*DeadZone) Descriptor deprecated

func (*DeadZone) Descriptor() ([]byte, []int)

Deprecated: Use DeadZone.ProtoReflect.Descriptor instead.

func (*DeadZone) GetDeadZoneCount

func (x *DeadZone) GetDeadZoneCount() int32

func (*DeadZone) GetItemName

func (x *DeadZone) GetItemName() string

func (*DeadZone) ProtoMessage

func (*DeadZone) ProtoMessage()

func (*DeadZone) ProtoReflect

func (x *DeadZone) ProtoReflect() protoreflect.Message

func (*DeadZone) Reset

func (x *DeadZone) Reset()

func (*DeadZone) String

func (x *DeadZone) String() string

type DeletedGroupColumnNamesInfo

type DeletedGroupColumnNamesInfo struct {
	GroupName   string   `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	ColumnNames []string `protobuf:"bytes,2,rep,name=columnNames,proto3" json:"columnNames,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletedGroupColumnNamesInfo) Descriptor deprecated

func (*DeletedGroupColumnNamesInfo) Descriptor() ([]byte, []int)

Deprecated: Use DeletedGroupColumnNamesInfo.ProtoReflect.Descriptor instead.

func (*DeletedGroupColumnNamesInfo) GetColumnNames

func (x *DeletedGroupColumnNamesInfo) GetColumnNames() []string

func (*DeletedGroupColumnNamesInfo) GetGroupName

func (x *DeletedGroupColumnNamesInfo) GetGroupName() string

func (*DeletedGroupColumnNamesInfo) ProtoMessage

func (*DeletedGroupColumnNamesInfo) ProtoMessage()

func (*DeletedGroupColumnNamesInfo) ProtoReflect

func (*DeletedGroupColumnNamesInfo) Reset

func (x *DeletedGroupColumnNamesInfo) Reset()

func (*DeletedGroupColumnNamesInfo) String

func (x *DeletedGroupColumnNamesInfo) String() string

type DeletedItemsInfo

type DeletedItemsInfo struct {
	GroupName string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	Condition string `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletedItemsInfo) Descriptor deprecated

func (*DeletedItemsInfo) Descriptor() ([]byte, []int)

Deprecated: Use DeletedItemsInfo.ProtoReflect.Descriptor instead.

func (*DeletedItemsInfo) GetCondition

func (x *DeletedItemsInfo) GetCondition() string

func (*DeletedItemsInfo) GetGroupName

func (x *DeletedItemsInfo) GetGroupName() string

func (*DeletedItemsInfo) ProtoMessage

func (*DeletedItemsInfo) ProtoMessage()

func (*DeletedItemsInfo) ProtoReflect

func (x *DeletedItemsInfo) ProtoReflect() protoreflect.Message

func (*DeletedItemsInfo) Reset

func (x *DeletedItemsInfo) Reset()

func (*DeletedItemsInfo) String

func (x *DeletedItemsInfo) String() string

type DeletedLogInfo

type DeletedLogInfo struct {
	Id                string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	StartTime         string `protobuf:"bytes,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime           string `protobuf:"bytes,3,opt,name=endTime,proto3" json:"endTime,omitempty"`
	UserNameCondition string `protobuf:"bytes,4,opt,name=userNameCondition,proto3" json:"userNameCondition,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletedLogInfo) Descriptor deprecated

func (*DeletedLogInfo) Descriptor() ([]byte, []int)

Deprecated: Use DeletedLogInfo.ProtoReflect.Descriptor instead.

func (*DeletedLogInfo) GetEndTime

func (x *DeletedLogInfo) GetEndTime() string

func (*DeletedLogInfo) GetId

func (x *DeletedLogInfo) GetId() string

func (*DeletedLogInfo) GetStartTime

func (x *DeletedLogInfo) GetStartTime() string

func (*DeletedLogInfo) GetUserNameCondition

func (x *DeletedLogInfo) GetUserNameCondition() string

func (*DeletedLogInfo) ProtoMessage

func (*DeletedLogInfo) ProtoMessage()

func (*DeletedLogInfo) ProtoReflect

func (x *DeletedLogInfo) ProtoReflect() protoreflect.Message

func (*DeletedLogInfo) Reset

func (x *DeletedLogInfo) Reset()

func (*DeletedLogInfo) String

func (x *DeletedLogInfo) String() string

type FileContents

type FileContents struct {
	Contents []int32 `protobuf:"varint,1,rep,packed,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

func (*FileContents) Descriptor deprecated

func (*FileContents) Descriptor() ([]byte, []int)

Deprecated: Use FileContents.ProtoReflect.Descriptor instead.

func (*FileContents) GetContents

func (x *FileContents) GetContents() []int32

func (*FileContents) ProtoMessage

func (*FileContents) ProtoMessage()

func (*FileContents) ProtoReflect

func (x *FileContents) ProtoReflect() protoreflect.Message

func (*FileContents) Reset

func (x *FileContents) Reset()

func (*FileContents) String

func (x *FileContents) String() string

type FileInfo

type FileInfo struct {
	FileName  string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"`
	GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"`
	// contains filtered or unexported fields
}

func (*FileInfo) Descriptor deprecated

func (*FileInfo) Descriptor() ([]byte, []int)

Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.

func (*FileInfo) GetFileName

func (x *FileInfo) GetFileName() string

func (*FileInfo) GetGroupName

func (x *FileInfo) GetGroupName() string

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoReflect

func (x *FileInfo) ProtoReflect() protoreflect.Message

func (*FileInfo) Reset

func (x *FileInfo) Reset()

func (*FileInfo) String

func (x *FileInfo) String() string

type GdbHistoricalData

type GdbHistoricalData struct {
	HistoricalData string `protobuf:"bytes,1,opt,name=historicalData,proto3" json:"historicalData,omitempty"`
	// contains filtered or unexported fields
}

func (*GdbHistoricalData) Descriptor deprecated

func (*GdbHistoricalData) Descriptor() ([]byte, []int)

Deprecated: Use GdbHistoricalData.ProtoReflect.Descriptor instead.

func (*GdbHistoricalData) GetHistoricalData

func (x *GdbHistoricalData) GetHistoricalData() string

func (*GdbHistoricalData) ProtoMessage

func (*GdbHistoricalData) ProtoMessage()

func (*GdbHistoricalData) ProtoReflect

func (x *GdbHistoricalData) ProtoReflect() protoreflect.Message

func (*GdbHistoricalData) Reset

func (x *GdbHistoricalData) Reset()

func (*GdbHistoricalData) String

func (x *GdbHistoricalData) String() string

type GdbInfoData

type GdbInfoData struct {
	Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GdbInfoData) Descriptor deprecated

func (*GdbInfoData) Descriptor() ([]byte, []int)

Deprecated: Use GdbInfoData.ProtoReflect.Descriptor instead.

func (*GdbInfoData) GetInfo

func (x *GdbInfoData) GetInfo() string

func (*GdbInfoData) ProtoMessage

func (*GdbInfoData) ProtoMessage()

func (*GdbInfoData) ProtoReflect

func (x *GdbInfoData) ProtoReflect() protoreflect.Message

func (*GdbInfoData) Reset

func (x *GdbInfoData) Reset()

func (*GdbInfoData) String

func (x *GdbInfoData) String() string

type GdbItem

type GdbItem struct {
	Items map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GdbItem) Descriptor deprecated

func (*GdbItem) Descriptor() ([]byte, []int)

Deprecated: Use GdbItem.ProtoReflect.Descriptor instead.

func (*GdbItem) GetItems

func (x *GdbItem) GetItems() map[string]string

func (*GdbItem) ProtoMessage

func (*GdbItem) ProtoMessage()

func (*GdbItem) ProtoReflect

func (x *GdbItem) ProtoReflect() protoreflect.Message

func (*GdbItem) Reset

func (x *GdbItem) Reset()

func (*GdbItem) String

func (x *GdbItem) String() string

type GdbItems

type GdbItems struct {
	ItemValues []*GdbItem `protobuf:"bytes,2,rep,name=itemValues,proto3" json:"itemValues,omitempty"`
	// contains filtered or unexported fields
}

func (*GdbItems) Descriptor deprecated

func (*GdbItems) Descriptor() ([]byte, []int)

Deprecated: Use GdbItems.ProtoReflect.Descriptor instead.

func (*GdbItems) GetItemValues

func (x *GdbItems) GetItemValues() []*GdbItem

func (*GdbItems) ProtoMessage

func (*GdbItems) ProtoMessage()

func (*GdbItems) ProtoReflect

func (x *GdbItems) ProtoReflect() protoreflect.Message

func (*GdbItems) Reset

func (x *GdbItems) Reset()

func (*GdbItems) String

func (x *GdbItems) String() string

type GdbItemsWithCount

type GdbItemsWithCount struct {
	ItemCount  int32      `protobuf:"varint,1,opt,name=itemCount,proto3" json:"itemCount,omitempty"`
	ItemValues []*GdbItem `protobuf:"bytes,2,rep,name=itemValues,proto3" json:"itemValues,omitempty"`
	// contains filtered or unexported fields
}

func (*GdbItemsWithCount) Descriptor deprecated

func (*GdbItemsWithCount) Descriptor() ([]byte, []int)

Deprecated: Use GdbItemsWithCount.ProtoReflect.Descriptor instead.

func (*GdbItemsWithCount) GetItemCount

func (x *GdbItemsWithCount) GetItemCount() int32

func (*GdbItemsWithCount) GetItemValues

func (x *GdbItemsWithCount) GetItemValues() []*GdbItem

func (*GdbItemsWithCount) ProtoMessage

func (*GdbItemsWithCount) ProtoMessage()

func (*GdbItemsWithCount) ProtoReflect

func (x *GdbItemsWithCount) ProtoReflect() protoreflect.Message

func (*GdbItemsWithCount) Reset

func (x *GdbItemsWithCount) Reset()

func (*GdbItemsWithCount) String

func (x *GdbItemsWithCount) String() string

type GdbRealTimeData

type GdbRealTimeData struct {
	RealTimeData string `protobuf:"bytes,1,opt,name=realTimeData,proto3" json:"realTimeData,omitempty"`
	// contains filtered or unexported fields
}

Notes: because in rpc proto we can't define Current map type,so use string to replace current map, that is we use json.Marshal to convert current map to string

func (*GdbRealTimeData) Descriptor deprecated

func (*GdbRealTimeData) Descriptor() ([]byte, []int)

Deprecated: Use GdbRealTimeData.ProtoReflect.Descriptor instead.

func (*GdbRealTimeData) GetRealTimeData

func (x *GdbRealTimeData) GetRealTimeData() string

func (*GdbRealTimeData) ProtoMessage

func (*GdbRealTimeData) ProtoMessage()

func (*GdbRealTimeData) ProtoReflect

func (x *GdbRealTimeData) ProtoReflect() protoreflect.Message

func (*GdbRealTimeData) Reset

func (x *GdbRealTimeData) Reset()

func (*GdbRealTimeData) String

func (x *GdbRealTimeData) String() string

type GroupClient

type GroupClient interface {
	AddGroups(ctx context.Context, in *AddedGroupInfos, opts ...grpc.CallOption) (*Rows, error)
	DeleteGroups(ctx context.Context, in *GroupNamesInfo, opts ...grpc.CallOption) (*Rows, error)
	GetGroups(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GroupNamesInfo, error)
	GetGroupProperty(ctx context.Context, in *QueryGroupPropertyInfo, opts ...grpc.CallOption) (*GroupPropertyInfo, error)
	UpdateGroupNames(ctx context.Context, in *UpdatedGroupNamesInfo, opts ...grpc.CallOption) (*Rows, error)
	UpdateGroupColumnNames(ctx context.Context, in *UpdatedGroupColumnNamesInfo, opts ...grpc.CallOption) (*Cols, error)
	DeleteGroupColumns(ctx context.Context, in *DeletedGroupColumnNamesInfo, opts ...grpc.CallOption) (*Cols, error)
	AddGroupColumns(ctx context.Context, in *AddedGroupColumnsInfo, opts ...grpc.CallOption) (*Cols, error)
}

GroupClient is the client API for Group service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGroupClient

func NewGroupClient(cc grpc.ClientConnInterface) GroupClient

type GroupNamesInfo

type GroupNamesInfo struct {
	GroupNames []string `protobuf:"bytes,1,rep,name=groupNames,proto3" json:"groupNames,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupNamesInfo) Descriptor deprecated

func (*GroupNamesInfo) Descriptor() ([]byte, []int)

Deprecated: Use GroupNamesInfo.ProtoReflect.Descriptor instead.

func (*GroupNamesInfo) GetGroupNames

func (x *GroupNamesInfo) GetGroupNames() []string

func (*GroupNamesInfo) ProtoMessage

func (*GroupNamesInfo) ProtoMessage()

func (*GroupNamesInfo) ProtoReflect

func (x *GroupNamesInfo) ProtoReflect() protoreflect.Message

func (*GroupNamesInfo) Reset

func (x *GroupNamesInfo) Reset()

func (*GroupNamesInfo) String

func (x *GroupNamesInfo) String() string

type GroupPropertyInfo

type GroupPropertyInfo struct {
	ItemCount       string   `protobuf:"bytes,1,opt,name=itemCount,proto3" json:"itemCount,omitempty"`
	ItemColumnNames []string `protobuf:"bytes,2,rep,name=itemColumnNames,proto3" json:"itemColumnNames,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupPropertyInfo) Descriptor deprecated

func (*GroupPropertyInfo) Descriptor() ([]byte, []int)

Deprecated: Use GroupPropertyInfo.ProtoReflect.Descriptor instead.

func (*GroupPropertyInfo) GetItemColumnNames

func (x *GroupPropertyInfo) GetItemColumnNames() []string

func (*GroupPropertyInfo) GetItemCount

func (x *GroupPropertyInfo) GetItemCount() string

func (*GroupPropertyInfo) ProtoMessage

func (*GroupPropertyInfo) ProtoMessage()

func (*GroupPropertyInfo) ProtoReflect

func (x *GroupPropertyInfo) ProtoReflect() protoreflect.Message

func (*GroupPropertyInfo) Reset

func (x *GroupPropertyInfo) Reset()

func (*GroupPropertyInfo) String

func (x *GroupPropertyInfo) String() string

type GroupServer

type GroupServer interface {
	AddGroups(context.Context, *AddedGroupInfos) (*Rows, error)
	DeleteGroups(context.Context, *GroupNamesInfo) (*Rows, error)
	GetGroups(context.Context, *emptypb.Empty) (*GroupNamesInfo, error)
	GetGroupProperty(context.Context, *QueryGroupPropertyInfo) (*GroupPropertyInfo, error)
	UpdateGroupNames(context.Context, *UpdatedGroupNamesInfo) (*Rows, error)
	UpdateGroupColumnNames(context.Context, *UpdatedGroupColumnNamesInfo) (*Cols, error)
	DeleteGroupColumns(context.Context, *DeletedGroupColumnNamesInfo) (*Cols, error)
	AddGroupColumns(context.Context, *AddedGroupColumnsInfo) (*Cols, error)
	// contains filtered or unexported methods
}

GroupServer is the server API for Group service. All implementations must embed UnimplementedGroupServer for forward compatibility

type HistoricalItemValue

type HistoricalItemValue struct {
	ItemName   string   `protobuf:"bytes,1,opt,name=itemName,proto3" json:"itemName,omitempty"`
	Values     []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	TimeStamps []string `protobuf:"bytes,3,rep,name=timeStamps,proto3" json:"timeStamps,omitempty"`
	// contains filtered or unexported fields
}

func (*HistoricalItemValue) Descriptor deprecated

func (*HistoricalItemValue) Descriptor() ([]byte, []int)

Deprecated: Use HistoricalItemValue.ProtoReflect.Descriptor instead.

func (*HistoricalItemValue) GetItemName

func (x *HistoricalItemValue) GetItemName() string

func (*HistoricalItemValue) GetTimeStamps

func (x *HistoricalItemValue) GetTimeStamps() []string

func (*HistoricalItemValue) GetValues

func (x *HistoricalItemValue) GetValues() []string

func (*HistoricalItemValue) ProtoMessage

func (*HistoricalItemValue) ProtoMessage()

func (*HistoricalItemValue) ProtoReflect

func (x *HistoricalItemValue) ProtoReflect() protoreflect.Message

func (*HistoricalItemValue) Reset

func (x *HistoricalItemValue) Reset()

func (*HistoricalItemValue) String

func (x *HistoricalItemValue) String() string

type HistoryFileInfo

type HistoryFileInfo struct {
	FileName   string   `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"`
	ItemNames  []string `protobuf:"bytes,2,rep,name=itemNames,proto3" json:"itemNames,omitempty"`
	SheetNames []string `protobuf:"bytes,3,rep,name=sheetNames,proto3" json:"sheetNames,omitempty"`
	// contains filtered or unexported fields
}

func (*HistoryFileInfo) Descriptor deprecated

func (*HistoryFileInfo) Descriptor() ([]byte, []int)

Deprecated: Use HistoryFileInfo.ProtoReflect.Descriptor instead.

func (*HistoryFileInfo) GetFileName

func (x *HistoryFileInfo) GetFileName() string

func (*HistoryFileInfo) GetItemNames

func (x *HistoryFileInfo) GetItemNames() []string

func (*HistoryFileInfo) GetSheetNames

func (x *HistoryFileInfo) GetSheetNames() []string

func (*HistoryFileInfo) ProtoMessage

func (*HistoryFileInfo) ProtoMessage()

func (*HistoryFileInfo) ProtoReflect

func (x *HistoryFileInfo) ProtoReflect() protoreflect.Message

func (*HistoryFileInfo) Reset

func (x *HistoryFileInfo) Reset()

func (*HistoryFileInfo) String

func (x *HistoryFileInfo) String() string

type ItemClient

type ItemClient interface {
	AddItems(ctx context.Context, in *AddedItemsInfo, opts ...grpc.CallOption) (*Rows, error)
	DeleteItems(ctx context.Context, in *DeletedItemsInfo, opts ...grpc.CallOption) (*Rows, error)
	GetItems(ctx context.Context, in *ItemsInfo, opts ...grpc.CallOption) (*GdbItems, error)
	GetItemsWithCount(ctx context.Context, in *ItemsInfo, opts ...grpc.CallOption) (*GdbItemsWithCount, error)
	UpdateItems(ctx context.Context, in *UpdatedItemsInfo, opts ...grpc.CallOption) (*Rows, error)
	CheckItems(ctx context.Context, in *CheckItemsInfo, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CleanGroupItems(ctx context.Context, in *GroupNamesInfo, opts ...grpc.CallOption) (*Rows, error)
}

ItemClient is the client API for Item service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewItemClient

func NewItemClient(cc grpc.ClientConnInterface) ItemClient

type ItemServer

type ItemServer interface {
	AddItems(context.Context, *AddedItemsInfo) (*Rows, error)
	DeleteItems(context.Context, *DeletedItemsInfo) (*Rows, error)
	GetItems(context.Context, *ItemsInfo) (*GdbItems, error)
	GetItemsWithCount(context.Context, *ItemsInfo) (*GdbItemsWithCount, error)
	UpdateItems(context.Context, *UpdatedItemsInfo) (*Rows, error)
	CheckItems(context.Context, *CheckItemsInfo) (*emptypb.Empty, error)
	CleanGroupItems(context.Context, *GroupNamesInfo) (*Rows, error)
	// contains filtered or unexported methods
}

ItemServer is the server API for Item service. All implementations must embed UnimplementedItemServer for forward compatibility

type ItemValue

type ItemValue struct {
	ItemName  string `protobuf:"bytes,1,opt,name=itemName,proto3" json:"itemName,omitempty"`
	Value     string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	TimeStamp string `protobuf:"bytes,3,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemValue) Descriptor deprecated

func (*ItemValue) Descriptor() ([]byte, []int)

Deprecated: Use ItemValue.ProtoReflect.Descriptor instead.

func (*ItemValue) GetItemName

func (x *ItemValue) GetItemName() string

func (*ItemValue) GetTimeStamp

func (x *ItemValue) GetTimeStamp() string

func (*ItemValue) GetValue

func (x *ItemValue) GetValue() string

func (*ItemValue) ProtoMessage

func (*ItemValue) ProtoMessage()

func (*ItemValue) ProtoReflect

func (x *ItemValue) ProtoReflect() protoreflect.Message

func (*ItemValue) Reset

func (x *ItemValue) Reset()

func (*ItemValue) String

func (x *ItemValue) String() string

type ItemsInfo

type ItemsInfo struct {
	GroupName   string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	Condition   string `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
	Clause      string `protobuf:"bytes,6,opt,name=clause,proto3" json:"clause,omitempty"`
	ColumnNames string `protobuf:"bytes,2,opt,name=columnNames,proto3" json:"columnNames,omitempty"`
	StartRow    int32  `protobuf:"varint,3,opt,name=startRow,proto3" json:"startRow,omitempty"`
	RowCount    int32  `protobuf:"varint,4,opt,name=rowCount,proto3" json:"rowCount,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemsInfo) Descriptor deprecated

func (*ItemsInfo) Descriptor() ([]byte, []int)

Deprecated: Use ItemsInfo.ProtoReflect.Descriptor instead.

func (*ItemsInfo) GetClause

func (x *ItemsInfo) GetClause() string

func (*ItemsInfo) GetColumnNames

func (x *ItemsInfo) GetColumnNames() string

func (*ItemsInfo) GetCondition

func (x *ItemsInfo) GetCondition() string

func (*ItemsInfo) GetGroupName

func (x *ItemsInfo) GetGroupName() string

func (*ItemsInfo) GetRowCount

func (x *ItemsInfo) GetRowCount() int32

func (*ItemsInfo) GetStartRow

func (x *ItemsInfo) GetStartRow() int32

func (*ItemsInfo) ProtoMessage

func (*ItemsInfo) ProtoMessage()

func (*ItemsInfo) ProtoReflect

func (x *ItemsInfo) ProtoReflect() protoreflect.Message

func (*ItemsInfo) Reset

func (x *ItemsInfo) Reset()

func (*ItemsInfo) String

func (x *ItemsInfo) String() string

type LogsInfo

type LogsInfo struct {
	Infos string `protobuf:"bytes,1,opt,name=infos,proto3" json:"infos,omitempty"`
	Count int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*LogsInfo) Descriptor deprecated

func (*LogsInfo) Descriptor() ([]byte, []int)

Deprecated: Use LogsInfo.ProtoReflect.Descriptor instead.

func (*LogsInfo) GetCount

func (x *LogsInfo) GetCount() int32

func (*LogsInfo) GetInfos

func (x *LogsInfo) GetInfos() string

func (*LogsInfo) ProtoMessage

func (*LogsInfo) ProtoMessage()

func (*LogsInfo) ProtoReflect

func (x *LogsInfo) ProtoReflect() protoreflect.Message

func (*LogsInfo) Reset

func (x *LogsInfo) Reset()

func (*LogsInfo) String

func (x *LogsInfo) String() string

type PageClient

type PageClient interface {
	UserLogin(ctx context.Context, in *AuthInfo, opts ...grpc.CallOption) (*UserToken, error)
	UserLogOut(ctx context.Context, in *UserName, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetUserInfo(ctx context.Context, in *UserName, opts ...grpc.CallOption) (*UserInfo, error)
	GetUsers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfos, error)
	AddUsers(ctx context.Context, in *AddUserInfo, opts ...grpc.CallOption) (*Rows, error)
	DeleteUsers(ctx context.Context, in *UserName, opts ...grpc.CallOption) (*Rows, error)
	UpdateUsers(ctx context.Context, in *UpdatedUserInfo, opts ...grpc.CallOption) (*Rows, error)
	UploadFile(ctx context.Context, in *UploadedFileInfo, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UploadFileWithStream(ctx context.Context, opts ...grpc.CallOption) (Page_UploadFileWithStreamClient, error)
	AddItemsByExcel(ctx context.Context, in *FileInfo, opts ...grpc.CallOption) (*Rows, error)
	ImportHistoryByExcel(ctx context.Context, in *HistoryFileInfo, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetLogs(ctx context.Context, in *QueryLogsInfo, opts ...grpc.CallOption) (*LogsInfo, error)
	DeleteLogs(ctx context.Context, in *DeletedLogInfo, opts ...grpc.CallOption) (*Rows, error)
	DownloadFile(ctx context.Context, in *FileInfo, opts ...grpc.CallOption) (*FileContents, error)
	GetDbInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GdbInfoData, error)
	GetDbInfoHistory(ctx context.Context, in *QuerySpeedHistoryDataString, opts ...grpc.CallOption) (*GdbHistoricalData, error)
}

PageClient is the client API for Page service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPageClient

func NewPageClient(cc grpc.ClientConnInterface) PageClient

type PageServer

type PageServer interface {
	UserLogin(context.Context, *AuthInfo) (*UserToken, error)
	UserLogOut(context.Context, *UserName) (*emptypb.Empty, error)
	GetUserInfo(context.Context, *UserName) (*UserInfo, error)
	GetUsers(context.Context, *emptypb.Empty) (*UserInfos, error)
	AddUsers(context.Context, *AddUserInfo) (*Rows, error)
	DeleteUsers(context.Context, *UserName) (*Rows, error)
	UpdateUsers(context.Context, *UpdatedUserInfo) (*Rows, error)
	UploadFile(context.Context, *UploadedFileInfo) (*emptypb.Empty, error)
	UploadFileWithStream(Page_UploadFileWithStreamServer) error
	AddItemsByExcel(context.Context, *FileInfo) (*Rows, error)
	ImportHistoryByExcel(context.Context, *HistoryFileInfo) (*emptypb.Empty, error)
	GetLogs(context.Context, *QueryLogsInfo) (*LogsInfo, error)
	DeleteLogs(context.Context, *DeletedLogInfo) (*Rows, error)
	DownloadFile(context.Context, *FileInfo) (*FileContents, error)
	GetDbInfo(context.Context, *emptypb.Empty) (*GdbInfoData, error)
	GetDbInfoHistory(context.Context, *QuerySpeedHistoryDataString) (*GdbHistoricalData, error)
	// contains filtered or unexported methods
}

PageServer is the server API for Page service. All implementations must embed UnimplementedPageServer for forward compatibility

type Page_UploadFileWithStreamClient

type Page_UploadFileWithStreamClient interface {
	Send(*UploadedFileInfo) error
	CloseAndRecv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type Page_UploadFileWithStreamServer

type Page_UploadFileWithStreamServer interface {
	SendAndClose(*emptypb.Empty) error
	Recv() (*UploadedFileInfo, error)
	grpc.ServerStream
}

type QueryCalcItemsInfo

type QueryCalcItemsInfo struct {
	Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCalcItemsInfo) Descriptor deprecated

func (*QueryCalcItemsInfo) Descriptor() ([]byte, []int)

Deprecated: Use QueryCalcItemsInfo.ProtoReflect.Descriptor instead.

func (*QueryCalcItemsInfo) GetCondition

func (x *QueryCalcItemsInfo) GetCondition() string

func (*QueryCalcItemsInfo) ProtoMessage

func (*QueryCalcItemsInfo) ProtoMessage()

func (*QueryCalcItemsInfo) ProtoReflect

func (x *QueryCalcItemsInfo) ProtoReflect() protoreflect.Message

func (*QueryCalcItemsInfo) Reset

func (x *QueryCalcItemsInfo) Reset()

func (*QueryCalcItemsInfo) String

func (x *QueryCalcItemsInfo) String() string

type QueryGroupPropertyInfo

type QueryGroupPropertyInfo struct {
	GroupName string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	Condition string `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGroupPropertyInfo) Descriptor deprecated

func (*QueryGroupPropertyInfo) Descriptor() ([]byte, []int)

Deprecated: Use QueryGroupPropertyInfo.ProtoReflect.Descriptor instead.

func (*QueryGroupPropertyInfo) GetCondition

func (x *QueryGroupPropertyInfo) GetCondition() string

func (*QueryGroupPropertyInfo) GetGroupName

func (x *QueryGroupPropertyInfo) GetGroupName() string

func (*QueryGroupPropertyInfo) ProtoMessage

func (*QueryGroupPropertyInfo) ProtoMessage()

func (*QueryGroupPropertyInfo) ProtoReflect

func (x *QueryGroupPropertyInfo) ProtoReflect() protoreflect.Message

func (*QueryGroupPropertyInfo) Reset

func (x *QueryGroupPropertyInfo) Reset()

func (*QueryGroupPropertyInfo) String

func (x *QueryGroupPropertyInfo) String() string

type QueryHistoricalDataString

type QueryHistoricalDataString struct {
	ItemNames  []string `protobuf:"bytes,1,rep,name=itemNames,proto3" json:"itemNames,omitempty"`
	StartTimes []int32  `protobuf:"varint,2,rep,packed,name=startTimes,proto3" json:"startTimes,omitempty"`
	EndTimes   []int32  `protobuf:"varint,3,rep,packed,name=endTimes,proto3" json:"endTimes,omitempty"`
	Intervals  []int32  `protobuf:"varint,4,rep,packed,name=intervals,proto3" json:"intervals,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryHistoricalDataString) Descriptor deprecated

func (*QueryHistoricalDataString) Descriptor() ([]byte, []int)

Deprecated: Use QueryHistoricalDataString.ProtoReflect.Descriptor instead.

func (*QueryHistoricalDataString) GetEndTimes

func (x *QueryHistoricalDataString) GetEndTimes() []int32

func (*QueryHistoricalDataString) GetIntervals

func (x *QueryHistoricalDataString) GetIntervals() []int32

func (*QueryHistoricalDataString) GetItemNames

func (x *QueryHistoricalDataString) GetItemNames() []string

func (*QueryHistoricalDataString) GetStartTimes

func (x *QueryHistoricalDataString) GetStartTimes() []int32

func (*QueryHistoricalDataString) ProtoMessage

func (*QueryHistoricalDataString) ProtoMessage()

func (*QueryHistoricalDataString) ProtoReflect

func (*QueryHistoricalDataString) Reset

func (x *QueryHistoricalDataString) Reset()

func (*QueryHistoricalDataString) String

func (x *QueryHistoricalDataString) String() string

type QueryHistoricalDataWithConditionString

type QueryHistoricalDataWithConditionString struct {
	ItemNames       []string     `protobuf:"bytes,1,rep,name=itemNames,proto3" json:"itemNames,omitempty"`
	TimeStamps      []*TimeStamp `protobuf:"bytes,2,rep,name=timeStamps,proto3" json:"timeStamps,omitempty"`
	StartTimes      []int32      `protobuf:"varint,3,rep,packed,name=startTimes,proto3" json:"startTimes,omitempty"`
	EndTimes        []int32      `protobuf:"varint,4,rep,packed,name=endTimes,proto3" json:"endTimes,omitempty"`
	Intervals       []int32      `protobuf:"varint,5,rep,packed,name=intervals,proto3" json:"intervals,omitempty"`
	FilterCondition string       `protobuf:"bytes,6,opt,name=filterCondition,proto3" json:"filterCondition,omitempty"`
	DeadZones       []*DeadZone  `protobuf:"bytes,7,rep,name=deadZones,proto3" json:"deadZones,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryHistoricalDataWithConditionString) Descriptor deprecated

func (*QueryHistoricalDataWithConditionString) Descriptor() ([]byte, []int)

Deprecated: Use QueryHistoricalDataWithConditionString.ProtoReflect.Descriptor instead.

func (*QueryHistoricalDataWithConditionString) GetDeadZones

func (x *QueryHistoricalDataWithConditionString) GetDeadZones() []*DeadZone

func (*QueryHistoricalDataWithConditionString) GetEndTimes

func (x *QueryHistoricalDataWithConditionString) GetEndTimes() []int32

func (*QueryHistoricalDataWithConditionString) GetFilterCondition

func (x *QueryHistoricalDataWithConditionString) GetFilterCondition() string

func (*QueryHistoricalDataWithConditionString) GetIntervals

func (x *QueryHistoricalDataWithConditionString) GetIntervals() []int32

func (*QueryHistoricalDataWithConditionString) GetItemNames

func (x *QueryHistoricalDataWithConditionString) GetItemNames() []string

func (*QueryHistoricalDataWithConditionString) GetStartTimes

func (x *QueryHistoricalDataWithConditionString) GetStartTimes() []int32

func (*QueryHistoricalDataWithConditionString) GetTimeStamps

func (x *QueryHistoricalDataWithConditionString) GetTimeStamps() []*TimeStamp

func (*QueryHistoricalDataWithConditionString) ProtoMessage

func (*QueryHistoricalDataWithConditionString) ProtoReflect

func (*QueryHistoricalDataWithConditionString) Reset

func (*QueryHistoricalDataWithConditionString) String

type QueryHistoricalDataWithTimeStampString

type QueryHistoricalDataWithTimeStampString struct {
	ItemNames  []string     `protobuf:"bytes,1,rep,name=itemNames,proto3" json:"itemNames,omitempty"`
	TimeStamps []*TimeStamp `protobuf:"bytes,2,rep,name=timeStamps,proto3" json:"timeStamps,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryHistoricalDataWithTimeStampString) Descriptor deprecated

func (*QueryHistoricalDataWithTimeStampString) Descriptor() ([]byte, []int)

Deprecated: Use QueryHistoricalDataWithTimeStampString.ProtoReflect.Descriptor instead.

func (*QueryHistoricalDataWithTimeStampString) GetItemNames

func (x *QueryHistoricalDataWithTimeStampString) GetItemNames() []string

func (*QueryHistoricalDataWithTimeStampString) GetTimeStamps

func (x *QueryHistoricalDataWithTimeStampString) GetTimeStamps() []*TimeStamp

func (*QueryHistoricalDataWithTimeStampString) ProtoMessage

func (*QueryHistoricalDataWithTimeStampString) ProtoReflect

func (*QueryHistoricalDataWithTimeStampString) Reset

func (*QueryHistoricalDataWithTimeStampString) String

type QueryLogsInfo

type QueryLogsInfo struct {
	Level     string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
	StartTime string `protobuf:"bytes,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime   string `protobuf:"bytes,3,opt,name=endTime,proto3" json:"endTime,omitempty"`
	StartRow  int32  `protobuf:"varint,4,opt,name=startRow,proto3" json:"startRow,omitempty"`
	RowCount  int32  `protobuf:"varint,5,opt,name=rowCount,proto3" json:"rowCount,omitempty"`
	Name      string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryLogsInfo) Descriptor deprecated

func (*QueryLogsInfo) Descriptor() ([]byte, []int)

Deprecated: Use QueryLogsInfo.ProtoReflect.Descriptor instead.

func (*QueryLogsInfo) GetEndTime

func (x *QueryLogsInfo) GetEndTime() string

func (*QueryLogsInfo) GetLevel

func (x *QueryLogsInfo) GetLevel() string

func (*QueryLogsInfo) GetName

func (x *QueryLogsInfo) GetName() string

func (*QueryLogsInfo) GetRowCount

func (x *QueryLogsInfo) GetRowCount() int32

func (*QueryLogsInfo) GetStartRow

func (x *QueryLogsInfo) GetStartRow() int32

func (*QueryLogsInfo) GetStartTime

func (x *QueryLogsInfo) GetStartTime() string

func (*QueryLogsInfo) ProtoMessage

func (*QueryLogsInfo) ProtoMessage()

func (*QueryLogsInfo) ProtoReflect

func (x *QueryLogsInfo) ProtoReflect() protoreflect.Message

func (*QueryLogsInfo) Reset

func (x *QueryLogsInfo) Reset()

func (*QueryLogsInfo) String

func (x *QueryLogsInfo) String() string

type QueryRealTimeDataString

type QueryRealTimeDataString struct {
	ItemNames []string `protobuf:"bytes,1,rep,name=itemNames,proto3" json:"itemNames,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRealTimeDataString) Descriptor deprecated

func (*QueryRealTimeDataString) Descriptor() ([]byte, []int)

Deprecated: Use QueryRealTimeDataString.ProtoReflect.Descriptor instead.

func (*QueryRealTimeDataString) GetItemNames

func (x *QueryRealTimeDataString) GetItemNames() []string

func (*QueryRealTimeDataString) ProtoMessage

func (*QueryRealTimeDataString) ProtoMessage()

func (*QueryRealTimeDataString) ProtoReflect

func (x *QueryRealTimeDataString) ProtoReflect() protoreflect.Message

func (*QueryRealTimeDataString) Reset

func (x *QueryRealTimeDataString) Reset()

func (*QueryRealTimeDataString) String

func (x *QueryRealTimeDataString) String() string

type QuerySpeedHistoryDataString

type QuerySpeedHistoryDataString struct {
	ItemName   string  `protobuf:"bytes,1,opt,name=itemName,proto3" json:"itemName,omitempty"`
	StartTimes []int32 `protobuf:"varint,2,rep,packed,name=startTimes,proto3" json:"startTimes,omitempty"`
	EndTimes   []int32 `protobuf:"varint,3,rep,packed,name=endTimes,proto3" json:"endTimes,omitempty"`
	Interval   int32   `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpeedHistoryDataString) Descriptor deprecated

func (*QuerySpeedHistoryDataString) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpeedHistoryDataString.ProtoReflect.Descriptor instead.

func (*QuerySpeedHistoryDataString) GetEndTimes

func (x *QuerySpeedHistoryDataString) GetEndTimes() []int32

func (*QuerySpeedHistoryDataString) GetInterval

func (x *QuerySpeedHistoryDataString) GetInterval() int32

func (*QuerySpeedHistoryDataString) GetItemName

func (x *QuerySpeedHistoryDataString) GetItemName() string

func (*QuerySpeedHistoryDataString) GetStartTimes

func (x *QuerySpeedHistoryDataString) GetStartTimes() []int32

func (*QuerySpeedHistoryDataString) ProtoMessage

func (*QuerySpeedHistoryDataString) ProtoMessage()

func (*QuerySpeedHistoryDataString) ProtoReflect

func (*QuerySpeedHistoryDataString) Reset

func (x *QuerySpeedHistoryDataString) Reset()

func (*QuerySpeedHistoryDataString) String

func (x *QuerySpeedHistoryDataString) String() string

type Rows

type Rows struct {
	EffectedRows int32 `protobuf:"varint,1,opt,name=effectedRows,proto3" json:"effectedRows,omitempty"`
	// contains filtered or unexported fields
}

func (*Rows) Descriptor deprecated

func (*Rows) Descriptor() ([]byte, []int)

Deprecated: Use Rows.ProtoReflect.Descriptor instead.

func (*Rows) GetEffectedRows

func (x *Rows) GetEffectedRows() int32

func (*Rows) ProtoMessage

func (*Rows) ProtoMessage()

func (*Rows) ProtoReflect

func (x *Rows) ProtoReflect() protoreflect.Message

func (*Rows) Reset

func (x *Rows) Reset()

func (*Rows) String

func (x *Rows) String() string

type TimeStamp

type TimeStamp struct {
	TimeStamp []int32 `protobuf:"varint,1,rep,packed,name=timeStamp,proto3" json:"timeStamp,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeStamp) Descriptor deprecated

func (*TimeStamp) Descriptor() ([]byte, []int)

Deprecated: Use TimeStamp.ProtoReflect.Descriptor instead.

func (*TimeStamp) GetTimeStamp

func (x *TimeStamp) GetTimeStamp() []int32

func (*TimeStamp) ProtoMessage

func (*TimeStamp) ProtoMessage()

func (*TimeStamp) ProtoReflect

func (x *TimeStamp) ProtoReflect() protoreflect.Message

func (*TimeStamp) Reset

func (x *TimeStamp) Reset()

func (*TimeStamp) String

func (x *TimeStamp) String() string

type UnimplementedCalcServer

type UnimplementedCalcServer struct {
}

UnimplementedCalcServer must be embedded to have forward compatible implementations.

func (UnimplementedCalcServer) AddCalcItem

func (UnimplementedCalcServer) AddCalcItemWithStream

func (UnimplementedCalcServer) DeleteCalcItem

func (UnimplementedCalcServer) DeleteCalcItem(context.Context, *CalcId) (*Rows, error)

func (UnimplementedCalcServer) GetCalcItems

func (UnimplementedCalcServer) StartCalcItem

func (UnimplementedCalcServer) StartCalcItem(context.Context, *CalcId) (*Rows, error)

func (UnimplementedCalcServer) StopCalcItem

func (UnimplementedCalcServer) UpdateCalcItem

type UnimplementedDataServer

type UnimplementedDataServer struct {
}

UnimplementedDataServer must be embedded to have forward compatible implementations.

func (UnimplementedDataServer) BatchWrite

func (UnimplementedDataServer) BatchWriteHistoricalData

func (UnimplementedDataServer) BatchWriteHistoricalDataWithStream

func (UnimplementedDataServer) BatchWriteWithStream

func (UnimplementedDataServer) GetHistoricalData

func (UnimplementedDataServer) GetRawData

func (UnimplementedDataServer) GetRealTimeData

type UnimplementedGroupServer

type UnimplementedGroupServer struct {
}

UnimplementedGroupServer must be embedded to have forward compatible implementations.

func (UnimplementedGroupServer) AddGroupColumns

func (UnimplementedGroupServer) AddGroups

func (UnimplementedGroupServer) DeleteGroupColumns

func (UnimplementedGroupServer) DeleteGroups

func (UnimplementedGroupServer) GetGroupProperty

func (UnimplementedGroupServer) GetGroups

func (UnimplementedGroupServer) UpdateGroupColumnNames

func (UnimplementedGroupServer) UpdateGroupNames

type UnimplementedItemServer

type UnimplementedItemServer struct {
}

UnimplementedItemServer must be embedded to have forward compatible implementations.

func (UnimplementedItemServer) AddItems

func (UnimplementedItemServer) CheckItems

func (UnimplementedItemServer) CleanGroupItems

func (UnimplementedItemServer) DeleteItems

func (UnimplementedItemServer) GetItems

func (UnimplementedItemServer) GetItemsWithCount

func (UnimplementedItemServer) UpdateItems

type UnimplementedPageServer

type UnimplementedPageServer struct {
}

UnimplementedPageServer must be embedded to have forward compatible implementations.

func (UnimplementedPageServer) AddItemsByExcel

func (UnimplementedPageServer) AddItemsByExcel(context.Context, *FileInfo) (*Rows, error)

func (UnimplementedPageServer) AddUsers

func (UnimplementedPageServer) DeleteLogs

func (UnimplementedPageServer) DeleteUsers

func (UnimplementedPageServer) DownloadFile

func (UnimplementedPageServer) GetDbInfo

func (UnimplementedPageServer) GetDbInfoHistory

func (UnimplementedPageServer) GetLogs

func (UnimplementedPageServer) GetUserInfo

func (UnimplementedPageServer) GetUsers

func (UnimplementedPageServer) ImportHistoryByExcel

func (UnimplementedPageServer) UpdateUsers

func (UnimplementedPageServer) UploadFile

func (UnimplementedPageServer) UploadFileWithStream

func (UnimplementedPageServer) UserLogOut

func (UnimplementedPageServer) UserLogin

type UnsafeCalcServer

type UnsafeCalcServer interface {
	// contains filtered or unexported methods
}

UnsafeCalcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CalcServer will result in compilation errors.

type UnsafeDataServer

type UnsafeDataServer interface {
	// contains filtered or unexported methods
}

UnsafeDataServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataServer will result in compilation errors.

type UnsafeGroupServer

type UnsafeGroupServer interface {
	// contains filtered or unexported methods
}

UnsafeGroupServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupServer will result in compilation errors.

type UnsafeItemServer

type UnsafeItemServer interface {
	// contains filtered or unexported methods
}

UnsafeItemServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ItemServer will result in compilation errors.

type UnsafePageServer

type UnsafePageServer interface {
	// contains filtered or unexported methods
}

UnsafePageServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PageServer will result in compilation errors.

type UpdatedCalcInfo

type UpdatedCalcInfo struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Expression  string `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
	Duration    string `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatedCalcInfo) Descriptor deprecated

func (*UpdatedCalcInfo) Descriptor() ([]byte, []int)

Deprecated: Use UpdatedCalcInfo.ProtoReflect.Descriptor instead.

func (*UpdatedCalcInfo) GetDescription

func (x *UpdatedCalcInfo) GetDescription() string

func (*UpdatedCalcInfo) GetDuration

func (x *UpdatedCalcInfo) GetDuration() string

func (*UpdatedCalcInfo) GetExpression

func (x *UpdatedCalcInfo) GetExpression() string

func (*UpdatedCalcInfo) GetId

func (x *UpdatedCalcInfo) GetId() string

func (*UpdatedCalcInfo) ProtoMessage

func (*UpdatedCalcInfo) ProtoMessage()

func (*UpdatedCalcInfo) ProtoReflect

func (x *UpdatedCalcInfo) ProtoReflect() protoreflect.Message

func (*UpdatedCalcInfo) Reset

func (x *UpdatedCalcInfo) Reset()

func (*UpdatedCalcInfo) String

func (x *UpdatedCalcInfo) String() string

type UpdatedGroupColumnNamesInfo

type UpdatedGroupColumnNamesInfo struct {
	GroupName      string   `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	OldColumnNames []string `protobuf:"bytes,2,rep,name=oldColumnNames,proto3" json:"oldColumnNames,omitempty"`
	NewColumnNames []string `protobuf:"bytes,3,rep,name=newColumnNames,proto3" json:"newColumnNames,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatedGroupColumnNamesInfo) Descriptor deprecated

func (*UpdatedGroupColumnNamesInfo) Descriptor() ([]byte, []int)

Deprecated: Use UpdatedGroupColumnNamesInfo.ProtoReflect.Descriptor instead.

func (*UpdatedGroupColumnNamesInfo) GetGroupName

func (x *UpdatedGroupColumnNamesInfo) GetGroupName() string

func (*UpdatedGroupColumnNamesInfo) GetNewColumnNames

func (x *UpdatedGroupColumnNamesInfo) GetNewColumnNames() []string

func (*UpdatedGroupColumnNamesInfo) GetOldColumnNames

func (x *UpdatedGroupColumnNamesInfo) GetOldColumnNames() []string

func (*UpdatedGroupColumnNamesInfo) ProtoMessage

func (*UpdatedGroupColumnNamesInfo) ProtoMessage()

func (*UpdatedGroupColumnNamesInfo) ProtoReflect

func (*UpdatedGroupColumnNamesInfo) Reset

func (x *UpdatedGroupColumnNamesInfo) Reset()

func (*UpdatedGroupColumnNamesInfo) String

func (x *UpdatedGroupColumnNamesInfo) String() string

type UpdatedGroupNameInfo

type UpdatedGroupNameInfo struct {
	OldGroupName string `protobuf:"bytes,1,opt,name=oldGroupName,proto3" json:"oldGroupName,omitempty"`
	NewGroupName string `protobuf:"bytes,2,opt,name=newGroupName,proto3" json:"newGroupName,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatedGroupNameInfo) Descriptor deprecated

func (*UpdatedGroupNameInfo) Descriptor() ([]byte, []int)

Deprecated: Use UpdatedGroupNameInfo.ProtoReflect.Descriptor instead.

func (*UpdatedGroupNameInfo) GetNewGroupName

func (x *UpdatedGroupNameInfo) GetNewGroupName() string

func (*UpdatedGroupNameInfo) GetOldGroupName

func (x *UpdatedGroupNameInfo) GetOldGroupName() string

func (*UpdatedGroupNameInfo) ProtoMessage

func (*UpdatedGroupNameInfo) ProtoMessage()

func (*UpdatedGroupNameInfo) ProtoReflect

func (x *UpdatedGroupNameInfo) ProtoReflect() protoreflect.Message

func (*UpdatedGroupNameInfo) Reset

func (x *UpdatedGroupNameInfo) Reset()

func (*UpdatedGroupNameInfo) String

func (x *UpdatedGroupNameInfo) String() string

type UpdatedGroupNamesInfo

type UpdatedGroupNamesInfo struct {
	Infos []*UpdatedGroupNameInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatedGroupNamesInfo) Descriptor deprecated

func (*UpdatedGroupNamesInfo) Descriptor() ([]byte, []int)

Deprecated: Use UpdatedGroupNamesInfo.ProtoReflect.Descriptor instead.

func (*UpdatedGroupNamesInfo) GetInfos

func (*UpdatedGroupNamesInfo) ProtoMessage

func (*UpdatedGroupNamesInfo) ProtoMessage()

func (*UpdatedGroupNamesInfo) ProtoReflect

func (x *UpdatedGroupNamesInfo) ProtoReflect() protoreflect.Message

func (*UpdatedGroupNamesInfo) Reset

func (x *UpdatedGroupNamesInfo) Reset()

func (*UpdatedGroupNamesInfo) String

func (x *UpdatedGroupNamesInfo) String() string

type UpdatedItemsInfo

type UpdatedItemsInfo struct {
	GroupName string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"`
	Condition string `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	Clause    string `protobuf:"bytes,3,opt,name=clause,proto3" json:"clause,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatedItemsInfo) Descriptor deprecated

func (*UpdatedItemsInfo) Descriptor() ([]byte, []int)

Deprecated: Use UpdatedItemsInfo.ProtoReflect.Descriptor instead.

func (*UpdatedItemsInfo) GetClause

func (x *UpdatedItemsInfo) GetClause() string

func (*UpdatedItemsInfo) GetCondition

func (x *UpdatedItemsInfo) GetCondition() string

func (*UpdatedItemsInfo) GetGroupName

func (x *UpdatedItemsInfo) GetGroupName() string

func (*UpdatedItemsInfo) ProtoMessage

func (*UpdatedItemsInfo) ProtoMessage()

func (*UpdatedItemsInfo) ProtoReflect

func (x *UpdatedItemsInfo) ProtoReflect() protoreflect.Message

func (*UpdatedItemsInfo) Reset

func (x *UpdatedItemsInfo) Reset()

func (*UpdatedItemsInfo) String

func (x *UpdatedItemsInfo) String() string

type UpdatedUserInfo

type UpdatedUserInfo struct {
	Id          int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	OldUserName string `protobuf:"bytes,2,opt,name=oldUserName,proto3" json:"oldUserName,omitempty"`
	NewUserName string `protobuf:"bytes,3,opt,name=newUserName,proto3" json:"newUserName,omitempty"`
	Role        string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatedUserInfo) Descriptor deprecated

func (*UpdatedUserInfo) Descriptor() ([]byte, []int)

Deprecated: Use UpdatedUserInfo.ProtoReflect.Descriptor instead.

func (*UpdatedUserInfo) GetId

func (x *UpdatedUserInfo) GetId() int32

func (*UpdatedUserInfo) GetNewUserName

func (x *UpdatedUserInfo) GetNewUserName() string

func (*UpdatedUserInfo) GetOldUserName

func (x *UpdatedUserInfo) GetOldUserName() string

func (*UpdatedUserInfo) GetRole

func (x *UpdatedUserInfo) GetRole() string

func (*UpdatedUserInfo) ProtoMessage

func (*UpdatedUserInfo) ProtoMessage()

func (*UpdatedUserInfo) ProtoReflect

func (x *UpdatedUserInfo) ProtoReflect() protoreflect.Message

func (*UpdatedUserInfo) Reset

func (x *UpdatedUserInfo) Reset()

func (*UpdatedUserInfo) String

func (x *UpdatedUserInfo) String() string

type UploadedFileInfo

type UploadedFileInfo struct {
	FileName string  `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"`
	File     []int32 `protobuf:"varint,2,rep,packed,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadedFileInfo) Descriptor deprecated

func (*UploadedFileInfo) Descriptor() ([]byte, []int)

Deprecated: Use UploadedFileInfo.ProtoReflect.Descriptor instead.

func (*UploadedFileInfo) GetFile

func (x *UploadedFileInfo) GetFile() []int32

func (*UploadedFileInfo) GetFileName

func (x *UploadedFileInfo) GetFileName() string

func (*UploadedFileInfo) ProtoMessage

func (*UploadedFileInfo) ProtoMessage()

func (*UploadedFileInfo) ProtoReflect

func (x *UploadedFileInfo) ProtoReflect() protoreflect.Message

func (*UploadedFileInfo) Reset

func (x *UploadedFileInfo) Reset()

func (*UploadedFileInfo) String

func (x *UploadedFileInfo) String() string

type UserInfo

type UserInfo struct {
	UserName *UserName `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`
	Role     []string  `protobuf:"bytes,2,rep,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInfo) Descriptor deprecated

func (*UserInfo) Descriptor() ([]byte, []int)

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetRole

func (x *UserInfo) GetRole() []string

func (*UserInfo) GetUserName

func (x *UserInfo) GetUserName() *UserName

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

func (x *UserInfo) ProtoReflect() protoreflect.Message

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

type UserInfos

type UserInfos struct {
	UserInfos string `protobuf:"bytes,1,opt,name=userInfos,proto3" json:"userInfos,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInfos) Descriptor deprecated

func (*UserInfos) Descriptor() ([]byte, []int)

Deprecated: Use UserInfos.ProtoReflect.Descriptor instead.

func (*UserInfos) GetUserInfos

func (x *UserInfos) GetUserInfos() string

func (*UserInfos) ProtoMessage

func (*UserInfos) ProtoMessage()

func (*UserInfos) ProtoReflect

func (x *UserInfos) ProtoReflect() protoreflect.Message

func (*UserInfos) Reset

func (x *UserInfos) Reset()

func (*UserInfos) String

func (x *UserInfos) String() string

type UserName

type UserName struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UserName) Descriptor deprecated

func (*UserName) Descriptor() ([]byte, []int)

Deprecated: Use UserName.ProtoReflect.Descriptor instead.

func (*UserName) GetName

func (x *UserName) GetName() string

func (*UserName) ProtoMessage

func (*UserName) ProtoMessage()

func (*UserName) ProtoReflect

func (x *UserName) ProtoReflect() protoreflect.Message

func (*UserName) Reset

func (x *UserName) Reset()

func (*UserName) String

func (x *UserName) String() string

type UserToken

type UserToken struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*UserToken) Descriptor deprecated

func (*UserToken) Descriptor() ([]byte, []int)

Deprecated: Use UserToken.ProtoReflect.Descriptor instead.

func (*UserToken) GetToken

func (x *UserToken) GetToken() string

func (*UserToken) ProtoMessage

func (*UserToken) ProtoMessage()

func (*UserToken) ProtoReflect

func (x *UserToken) ProtoReflect() protoreflect.Message

func (*UserToken) Reset

func (x *UserToken) Reset()

func (*UserToken) String

func (x *UserToken) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL