itd/internal/rpc/itd.pb.go

1425 lines
46 KiB
Go
Raw Normal View History

2023-01-03 06:30:17 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.21.12
// source: itd.proto
package rpc
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
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 FirmwareUpgradeRequest_Type int32
const (
FirmwareUpgradeRequest_Archive FirmwareUpgradeRequest_Type = 0
FirmwareUpgradeRequest_Files FirmwareUpgradeRequest_Type = 1
)
// Enum value maps for FirmwareUpgradeRequest_Type.
var (
FirmwareUpgradeRequest_Type_name = map[int32]string{
0: "Archive",
1: "Files",
}
FirmwareUpgradeRequest_Type_value = map[string]int32{
"Archive": 0,
"Files": 1,
}
)
func (x FirmwareUpgradeRequest_Type) Enum() *FirmwareUpgradeRequest_Type {
p := new(FirmwareUpgradeRequest_Type)
*p = x
return p
}
func (x FirmwareUpgradeRequest_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (FirmwareUpgradeRequest_Type) Descriptor() protoreflect.EnumDescriptor {
return file_itd_proto_enumTypes[0].Descriptor()
}
func (FirmwareUpgradeRequest_Type) Type() protoreflect.EnumType {
return &file_itd_proto_enumTypes[0]
}
func (x FirmwareUpgradeRequest_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use FirmwareUpgradeRequest_Type.Descriptor instead.
func (FirmwareUpgradeRequest_Type) EnumDescriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{6, 0}
}
type ResourceLoadProgress_Operation int32
const (
ResourceLoadProgress_Upload ResourceLoadProgress_Operation = 0
ResourceLoadProgress_RemoveObsolete ResourceLoadProgress_Operation = 1
)
// Enum value maps for ResourceLoadProgress_Operation.
var (
ResourceLoadProgress_Operation_name = map[int32]string{
0: "Upload",
1: "RemoveObsolete",
}
ResourceLoadProgress_Operation_value = map[string]int32{
"Upload": 0,
"RemoveObsolete": 1,
}
)
func (x ResourceLoadProgress_Operation) Enum() *ResourceLoadProgress_Operation {
p := new(ResourceLoadProgress_Operation)
*p = x
return p
}
func (x ResourceLoadProgress_Operation) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ResourceLoadProgress_Operation) Descriptor() protoreflect.EnumDescriptor {
return file_itd_proto_enumTypes[1].Descriptor()
}
func (ResourceLoadProgress_Operation) Type() protoreflect.EnumType {
return &file_itd_proto_enumTypes[1]
}
func (x ResourceLoadProgress_Operation) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ResourceLoadProgress_Operation.Descriptor instead.
func (ResourceLoadProgress_Operation) EnumDescriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{15, 0}
}
type Empty struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Empty) Reset() {
*x = Empty{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Empty) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Empty) ProtoMessage() {}
func (x *Empty) ProtoReflect() protoreflect.Message {
mi := &file_itd_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 Empty.ProtoReflect.Descriptor instead.
func (*Empty) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{0}
}
type IntResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *IntResponse) Reset() {
*x = IntResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IntResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IntResponse) ProtoMessage() {}
func (x *IntResponse) ProtoReflect() protoreflect.Message {
mi := &file_itd_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 IntResponse.ProtoReflect.Descriptor instead.
func (*IntResponse) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{1}
}
func (x *IntResponse) GetValue() uint32 {
if x != nil {
return x.Value
}
return 0
}
type StringResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *StringResponse) Reset() {
*x = StringResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StringResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StringResponse) ProtoMessage() {}
func (x *StringResponse) ProtoReflect() protoreflect.Message {
mi := &file_itd_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 StringResponse.ProtoReflect.Descriptor instead.
func (*StringResponse) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{2}
}
func (x *StringResponse) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type MotionResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
Z int32 `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"`
}
func (x *MotionResponse) Reset() {
*x = MotionResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MotionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MotionResponse) ProtoMessage() {}
func (x *MotionResponse) ProtoReflect() protoreflect.Message {
mi := &file_itd_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 MotionResponse.ProtoReflect.Descriptor instead.
func (*MotionResponse) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{3}
}
func (x *MotionResponse) GetX() int32 {
if x != nil {
return x.X
}
return 0
}
func (x *MotionResponse) GetY() int32 {
if x != nil {
return x.Y
}
return 0
}
func (x *MotionResponse) GetZ() int32 {
if x != nil {
return x.Z
}
return 0
}
type NotifyRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
}
func (x *NotifyRequest) Reset() {
*x = NotifyRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NotifyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NotifyRequest) ProtoMessage() {}
func (x *NotifyRequest) ProtoReflect() protoreflect.Message {
mi := &file_itd_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 NotifyRequest.ProtoReflect.Descriptor instead.
func (*NotifyRequest) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{4}
}
func (x *NotifyRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *NotifyRequest) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
type SetTimeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UnixNano int64 `protobuf:"varint,1,opt,name=unix_nano,json=unixNano,proto3" json:"unix_nano,omitempty"`
}
func (x *SetTimeRequest) Reset() {
*x = SetTimeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetTimeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetTimeRequest) ProtoMessage() {}
func (x *SetTimeRequest) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[5]
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 SetTimeRequest.ProtoReflect.Descriptor instead.
func (*SetTimeRequest) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{5}
}
func (x *SetTimeRequest) GetUnixNano() int64 {
if x != nil {
return x.UnixNano
}
return 0
}
type FirmwareUpgradeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type FirmwareUpgradeRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=rpc.FirmwareUpgradeRequest_Type" json:"type,omitempty"`
Files []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
}
func (x *FirmwareUpgradeRequest) Reset() {
*x = FirmwareUpgradeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FirmwareUpgradeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FirmwareUpgradeRequest) ProtoMessage() {}
func (x *FirmwareUpgradeRequest) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[6]
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 FirmwareUpgradeRequest.ProtoReflect.Descriptor instead.
func (*FirmwareUpgradeRequest) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{6}
}
func (x *FirmwareUpgradeRequest) GetType() FirmwareUpgradeRequest_Type {
if x != nil {
return x.Type
}
return FirmwareUpgradeRequest_Archive
}
func (x *FirmwareUpgradeRequest) GetFiles() []string {
if x != nil {
return x.Files
}
return nil
}
type DFUProgress struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Sent int64 `protobuf:"varint,1,opt,name=sent,proto3" json:"sent,omitempty"`
Recieved int64 `protobuf:"varint,2,opt,name=recieved,proto3" json:"recieved,omitempty"`
Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
}
func (x *DFUProgress) Reset() {
*x = DFUProgress{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DFUProgress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DFUProgress) ProtoMessage() {}
func (x *DFUProgress) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[7]
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 DFUProgress.ProtoReflect.Descriptor instead.
func (*DFUProgress) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{7}
}
func (x *DFUProgress) GetSent() int64 {
if x != nil {
return x.Sent
}
return 0
}
func (x *DFUProgress) GetRecieved() int64 {
if x != nil {
return x.Recieved
}
return 0
}
func (x *DFUProgress) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
type PathRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
}
func (x *PathRequest) Reset() {
*x = PathRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PathRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PathRequest) ProtoMessage() {}
func (x *PathRequest) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[8]
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 PathRequest.ProtoReflect.Descriptor instead.
func (*PathRequest) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{8}
}
func (x *PathRequest) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
type PathsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
}
func (x *PathsRequest) Reset() {
*x = PathsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PathsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PathsRequest) ProtoMessage() {}
func (x *PathsRequest) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[9]
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 PathsRequest.ProtoReflect.Descriptor instead.
func (*PathsRequest) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{9}
}
func (x *PathsRequest) GetPaths() []string {
if x != nil {
return x.Paths
}
return nil
}
type RenameRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
}
func (x *RenameRequest) Reset() {
*x = RenameRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RenameRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RenameRequest) ProtoMessage() {}
func (x *RenameRequest) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[10]
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 RenameRequest.ProtoReflect.Descriptor instead.
func (*RenameRequest) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{10}
}
func (x *RenameRequest) GetFrom() string {
if x != nil {
return x.From
}
return ""
}
func (x *RenameRequest) GetTo() string {
if x != nil {
return x.To
}
return ""
}
type TransferRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
}
func (x *TransferRequest) Reset() {
*x = TransferRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TransferRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransferRequest) ProtoMessage() {}
func (x *TransferRequest) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[11]
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 TransferRequest.ProtoReflect.Descriptor instead.
func (*TransferRequest) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{11}
}
func (x *TransferRequest) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
func (x *TransferRequest) GetDestination() string {
if x != nil {
return x.Destination
}
return ""
}
type FileInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
IsDir bool `protobuf:"varint,3,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"`
}
func (x *FileInfo) Reset() {
*x = FileInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileInfo) ProtoMessage() {}
func (x *FileInfo) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[12]
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 FileInfo.ProtoReflect.Descriptor instead.
func (*FileInfo) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{12}
}
func (x *FileInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *FileInfo) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
func (x *FileInfo) GetIsDir() bool {
if x != nil {
return x.IsDir
}
return false
}
type DirResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Entries []*FileInfo `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
}
func (x *DirResponse) Reset() {
*x = DirResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DirResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirResponse) ProtoMessage() {}
func (x *DirResponse) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[13]
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 DirResponse.ProtoReflect.Descriptor instead.
func (*DirResponse) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{13}
}
func (x *DirResponse) GetEntries() []*FileInfo {
if x != nil {
return x.Entries
}
return nil
}
type TransferProgress struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Sent uint32 `protobuf:"varint,1,opt,name=sent,proto3" json:"sent,omitempty"`
Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
}
func (x *TransferProgress) Reset() {
*x = TransferProgress{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TransferProgress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransferProgress) ProtoMessage() {}
func (x *TransferProgress) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[14]
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 TransferProgress.ProtoReflect.Descriptor instead.
func (*TransferProgress) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{14}
}
func (x *TransferProgress) GetSent() uint32 {
if x != nil {
return x.Sent
}
return 0
}
func (x *TransferProgress) GetTotal() uint32 {
if x != nil {
return x.Total
}
return 0
}
type ResourceLoadProgress struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Sent int64 `protobuf:"varint,3,opt,name=sent,proto3" json:"sent,omitempty"`
Operation ResourceLoadProgress_Operation `protobuf:"varint,4,opt,name=operation,proto3,enum=rpc.ResourceLoadProgress_Operation" json:"operation,omitempty"`
}
func (x *ResourceLoadProgress) Reset() {
*x = ResourceLoadProgress{}
if protoimpl.UnsafeEnabled {
mi := &file_itd_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResourceLoadProgress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceLoadProgress) ProtoMessage() {}
func (x *ResourceLoadProgress) ProtoReflect() protoreflect.Message {
mi := &file_itd_proto_msgTypes[15]
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 ResourceLoadProgress.ProtoReflect.Descriptor instead.
func (*ResourceLoadProgress) Descriptor() ([]byte, []int) {
return file_itd_proto_rawDescGZIP(), []int{15}
}
func (x *ResourceLoadProgress) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ResourceLoadProgress) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ResourceLoadProgress) GetSent() int64 {
if x != nil {
return x.Sent
}
return 0
}
func (x *ResourceLoadProgress) GetOperation() ResourceLoadProgress_Operation {
if x != nil {
return x.Operation
}
return ResourceLoadProgress_Upload
}
var File_itd_proto protoreflect.FileDescriptor
var file_itd_proto_rawDesc = []byte{
0x0a, 0x09, 0x69, 0x74, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63,
0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x23, 0x0a, 0x0b, 0x49, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26,
0x0a, 0x0e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x0a, 0x0e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
0x05, 0x52, 0x01, 0x79, 0x12, 0x0c, 0x0a, 0x01, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x01, 0x7a, 0x22, 0x39, 0x0a, 0x0d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64,
0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x2d, 0x0a,
0x0e, 0x53, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x1b, 0x0a, 0x09, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01,
0x28, 0x03, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x22, 0x84, 0x01, 0x0a,
0x16, 0x46, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x72, 0x6d,
0x77, 0x61, 0x72, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,
0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69,
0x6c, 0x65, 0x73, 0x22, 0x1e, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x41,
0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x69, 0x6c, 0x65,
0x73, 0x10, 0x01, 0x22, 0x53, 0x0a, 0x0b, 0x44, 0x46, 0x55, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x04, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x69, 0x65, 0x76,
0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x65, 0x63, 0x69, 0x65, 0x76,
0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x21, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x68,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x24, 0x0a, 0x0c, 0x50,
0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70,
0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68,
0x73, 0x22, 0x33, 0x0a, 0x0d, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66,
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x22, 0x49, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x64, 0x69,
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x44, 0x69, 0x72, 0x22, 0x36,
0x0a, 0x0b, 0x44, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d,
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x65,
0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66,
0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65,
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x14,
0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x74,
0x6f, 0x74, 0x61, 0x6c, 0x22, 0xc4, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x4c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a,
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x6e, 0x74, 0x18,
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x09, 0x6f,
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23,
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x61,
0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2b,
0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x55,
0x70, 0x6c, 0x6f, 0x61, 0x64, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x65, 0x6d, 0x6f, 0x76,
0x65, 0x4f, 0x62, 0x73, 0x6f, 0x6c, 0x65, 0x74, 0x65, 0x10, 0x01, 0x32, 0x9a, 0x05, 0x0a, 0x03,
0x49, 0x54, 0x44, 0x12, 0x29, 0x0a, 0x09, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x61, 0x74, 0x65,
0x12, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x10, 0x2e, 0x72,
0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30,
0x0a, 0x0e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x61, 0x74, 0x65,
0x12, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x10, 0x2e, 0x72,
0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01,
0x12, 0x2c, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c,
0x12, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x10, 0x2e, 0x72,
0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33,
0x0a, 0x11, 0x57, 0x61, 0x74, 0x63, 0x68, 0x42, 0x61, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4c, 0x65,
0x76, 0x65, 0x6c, 0x12, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
0x10, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x30, 0x01, 0x12, 0x29, 0x0a, 0x06, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x2e,
0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x13, 0x2e, 0x72, 0x70, 0x63, 0x2e,
0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30,
0x0a, 0x0b, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x2e,
0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x13, 0x2e, 0x72, 0x70, 0x63, 0x2e,
0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01,
0x12, 0x29, 0x0a, 0x09, 0x53, 0x74, 0x65, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0a, 0x2e,
0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x10, 0x2e, 0x72, 0x70, 0x63, 0x2e,
0x49, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x0e, 0x57,
0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x65, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0a, 0x2e,
0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x10, 0x2e, 0x72, 0x70, 0x63, 0x2e,
0x49, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x2a, 0x0a,
0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x1a, 0x13, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e,
0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x07, 0x41, 0x64, 0x64,
0x72, 0x65, 0x73, 0x73, 0x12, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
0x1a, 0x13, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12,
0x12, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12,
0x2a, 0x0a, 0x07, 0x53, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x13, 0x2e, 0x72, 0x70, 0x63,
0x2e, 0x53, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0d, 0x57,
0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x2e, 0x72,
0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0f, 0x46, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65,
0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69,
0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x46, 0x55, 0x50, 0x72,
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x30, 0x01, 0x32, 0xb9, 0x03, 0x0a, 0x02, 0x46, 0x53, 0x12,
0x2a, 0x0a, 0x09, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x12, 0x11, 0x2e, 0x72,
0x70, 0x63, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x06, 0x52,
0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x11, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x74, 0x68,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x06, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12,
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x29,
0x0a, 0x08, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x41, 0x6c, 0x6c, 0x12, 0x11, 0x2e, 0x72, 0x70, 0x63,
0x2e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0a, 0x2e,
0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x4d, 0x6b, 0x64,
0x69, 0x72, 0x12, 0x11, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74,
0x79, 0x12, 0x2d, 0x0a, 0x07, 0x52, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x12, 0x10, 0x2e, 0x72,
0x70, 0x63, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10,
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x37, 0x0a, 0x06, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x14, 0x2e, 0x72, 0x70, 0x63,
0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x15, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x50,
0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x30, 0x01, 0x12, 0x39, 0x0a, 0x08, 0x44, 0x6f, 0x77,
0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x14, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x72, 0x70,
0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
0x73, 0x73, 0x30, 0x01, 0x12, 0x3e, 0x0a, 0x0d, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x10, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x74, 0x68,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65,
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
0x73, 0x73, 0x30, 0x01, 0x42, 0x20, 0x5a, 0x1e, 0x67, 0x6f, 0x2e, 0x61, 0x72, 0x73, 0x65, 0x6e,
0x6d, 0x2e, 0x64, 0x65, 0x76, 0x2f, 0x69, 0x74, 0x64, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
0x61, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_itd_proto_rawDescOnce sync.Once
file_itd_proto_rawDescData = file_itd_proto_rawDesc
)
func file_itd_proto_rawDescGZIP() []byte {
file_itd_proto_rawDescOnce.Do(func() {
file_itd_proto_rawDescData = protoimpl.X.CompressGZIP(file_itd_proto_rawDescData)
})
return file_itd_proto_rawDescData
}
var file_itd_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_itd_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_itd_proto_goTypes = []interface{}{
(FirmwareUpgradeRequest_Type)(0), // 0: rpc.FirmwareUpgradeRequest.Type
(ResourceLoadProgress_Operation)(0), // 1: rpc.ResourceLoadProgress.Operation
(*Empty)(nil), // 2: rpc.Empty
(*IntResponse)(nil), // 3: rpc.IntResponse
(*StringResponse)(nil), // 4: rpc.StringResponse
(*MotionResponse)(nil), // 5: rpc.MotionResponse
(*NotifyRequest)(nil), // 6: rpc.NotifyRequest
(*SetTimeRequest)(nil), // 7: rpc.SetTimeRequest
(*FirmwareUpgradeRequest)(nil), // 8: rpc.FirmwareUpgradeRequest
(*DFUProgress)(nil), // 9: rpc.DFUProgress
(*PathRequest)(nil), // 10: rpc.PathRequest
(*PathsRequest)(nil), // 11: rpc.PathsRequest
(*RenameRequest)(nil), // 12: rpc.RenameRequest
(*TransferRequest)(nil), // 13: rpc.TransferRequest
(*FileInfo)(nil), // 14: rpc.FileInfo
(*DirResponse)(nil), // 15: rpc.DirResponse
(*TransferProgress)(nil), // 16: rpc.TransferProgress
(*ResourceLoadProgress)(nil), // 17: rpc.ResourceLoadProgress
}
var file_itd_proto_depIdxs = []int32{
0, // 0: rpc.FirmwareUpgradeRequest.type:type_name -> rpc.FirmwareUpgradeRequest.Type
14, // 1: rpc.DirResponse.entries:type_name -> rpc.FileInfo
1, // 2: rpc.ResourceLoadProgress.operation:type_name -> rpc.ResourceLoadProgress.Operation
2, // 3: rpc.ITD.HeartRate:input_type -> rpc.Empty
2, // 4: rpc.ITD.WatchHeartRate:input_type -> rpc.Empty
2, // 5: rpc.ITD.BatteryLevel:input_type -> rpc.Empty
2, // 6: rpc.ITD.WatchBatteryLevel:input_type -> rpc.Empty
2, // 7: rpc.ITD.Motion:input_type -> rpc.Empty
2, // 8: rpc.ITD.WatchMotion:input_type -> rpc.Empty
2, // 9: rpc.ITD.StepCount:input_type -> rpc.Empty
2, // 10: rpc.ITD.WatchStepCount:input_type -> rpc.Empty
2, // 11: rpc.ITD.Version:input_type -> rpc.Empty
2, // 12: rpc.ITD.Address:input_type -> rpc.Empty
6, // 13: rpc.ITD.Notify:input_type -> rpc.NotifyRequest
7, // 14: rpc.ITD.SetTime:input_type -> rpc.SetTimeRequest
2, // 15: rpc.ITD.WeatherUpdate:input_type -> rpc.Empty
8, // 16: rpc.ITD.FirmwareUpgrade:input_type -> rpc.FirmwareUpgradeRequest
11, // 17: rpc.FS.RemoveAll:input_type -> rpc.PathsRequest
11, // 18: rpc.FS.Remove:input_type -> rpc.PathsRequest
12, // 19: rpc.FS.Rename:input_type -> rpc.RenameRequest
11, // 20: rpc.FS.MkdirAll:input_type -> rpc.PathsRequest
11, // 21: rpc.FS.Mkdir:input_type -> rpc.PathsRequest
10, // 22: rpc.FS.ReadDir:input_type -> rpc.PathRequest
13, // 23: rpc.FS.Upload:input_type -> rpc.TransferRequest
13, // 24: rpc.FS.Download:input_type -> rpc.TransferRequest
10, // 25: rpc.FS.LoadResources:input_type -> rpc.PathRequest
3, // 26: rpc.ITD.HeartRate:output_type -> rpc.IntResponse
3, // 27: rpc.ITD.WatchHeartRate:output_type -> rpc.IntResponse
3, // 28: rpc.ITD.BatteryLevel:output_type -> rpc.IntResponse
3, // 29: rpc.ITD.WatchBatteryLevel:output_type -> rpc.IntResponse
5, // 30: rpc.ITD.Motion:output_type -> rpc.MotionResponse
5, // 31: rpc.ITD.WatchMotion:output_type -> rpc.MotionResponse
3, // 32: rpc.ITD.StepCount:output_type -> rpc.IntResponse
3, // 33: rpc.ITD.WatchStepCount:output_type -> rpc.IntResponse
4, // 34: rpc.ITD.Version:output_type -> rpc.StringResponse
4, // 35: rpc.ITD.Address:output_type -> rpc.StringResponse
2, // 36: rpc.ITD.Notify:output_type -> rpc.Empty
2, // 37: rpc.ITD.SetTime:output_type -> rpc.Empty
2, // 38: rpc.ITD.WeatherUpdate:output_type -> rpc.Empty
9, // 39: rpc.ITD.FirmwareUpgrade:output_type -> rpc.DFUProgress
2, // 40: rpc.FS.RemoveAll:output_type -> rpc.Empty
2, // 41: rpc.FS.Remove:output_type -> rpc.Empty
2, // 42: rpc.FS.Rename:output_type -> rpc.Empty
2, // 43: rpc.FS.MkdirAll:output_type -> rpc.Empty
2, // 44: rpc.FS.Mkdir:output_type -> rpc.Empty
15, // 45: rpc.FS.ReadDir:output_type -> rpc.DirResponse
16, // 46: rpc.FS.Upload:output_type -> rpc.TransferProgress
16, // 47: rpc.FS.Download:output_type -> rpc.TransferProgress
17, // 48: rpc.FS.LoadResources:output_type -> rpc.ResourceLoadProgress
26, // [26:49] is the sub-list for method output_type
3, // [3:26] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_itd_proto_init() }
func file_itd_proto_init() {
if File_itd_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_itd_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Empty); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IntResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StringResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MotionResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NotifyRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SetTimeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FirmwareUpgradeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DFUProgress); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PathRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PathsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RenameRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransferRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FileInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DirResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransferProgress); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_itd_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResourceLoadProgress); 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_itd_proto_rawDesc,
NumEnums: 2,
NumMessages: 16,
NumExtensions: 0,
NumServices: 2,
},
GoTypes: file_itd_proto_goTypes,
DependencyIndexes: file_itd_proto_depIdxs,
EnumInfos: file_itd_proto_enumTypes,
MessageInfos: file_itd_proto_msgTypes,
}.Build()
File_itd_proto = out.File
file_itd_proto_rawDesc = nil
file_itd_proto_goTypes = nil
file_itd_proto_depIdxs = nil
}