// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: canine_chain/filetree/tx.proto package types import ( context "context" fmt "fmt" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" io "io" math "math" math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type MsgPostFile struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` HashParent string `protobuf:"bytes,3,opt,name=hash_parent,json=hashParent,proto3" json:"hash_parent,omitempty"` HashChild string `protobuf:"bytes,4,opt,name=hash_child,json=hashChild,proto3" json:"hash_child,omitempty"` Contents string `protobuf:"bytes,5,opt,name=contents,proto3" json:"contents,omitempty"` Viewers string `protobuf:"bytes,6,opt,name=viewers,proto3" json:"viewers,omitempty"` Editors string `protobuf:"bytes,7,opt,name=editors,proto3" json:"editors,omitempty"` TrackingNumber string `protobuf:"bytes,8,opt,name=tracking_number,json=trackingNumber,proto3" json:"tracking_number,omitempty"` } func (m *MsgPostFile) Reset() { *m = MsgPostFile{} } func (m *MsgPostFile) String() string { return proto.CompactTextString(m) } func (*MsgPostFile) ProtoMessage() {} func (*MsgPostFile) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{0} } func (m *MsgPostFile) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgPostFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgPostFile.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgPostFile) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgPostFile.Merge(m, src) } func (m *MsgPostFile) XXX_Size() int { return m.Size() } func (m *MsgPostFile) XXX_DiscardUnknown() { xxx_messageInfo_MsgPostFile.DiscardUnknown(m) } var xxx_messageInfo_MsgPostFile proto.InternalMessageInfo func (m *MsgPostFile) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgPostFile) GetAccount() string { if m != nil { return m.Account } return "" } func (m *MsgPostFile) GetHashParent() string { if m != nil { return m.HashParent } return "" } func (m *MsgPostFile) GetHashChild() string { if m != nil { return m.HashChild } return "" } func (m *MsgPostFile) GetContents() string { if m != nil { return m.Contents } return "" } func (m *MsgPostFile) GetViewers() string { if m != nil { return m.Viewers } return "" } func (m *MsgPostFile) GetEditors() string { if m != nil { return m.Editors } return "" } func (m *MsgPostFile) GetTrackingNumber() string { if m != nil { return m.TrackingNumber } return "" } type MsgPostFileResponse struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` } func (m *MsgPostFileResponse) Reset() { *m = MsgPostFileResponse{} } func (m *MsgPostFileResponse) String() string { return proto.CompactTextString(m) } func (*MsgPostFileResponse) ProtoMessage() {} func (*MsgPostFileResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{1} } func (m *MsgPostFileResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgPostFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgPostFileResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgPostFileResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgPostFileResponse.Merge(m, src) } func (m *MsgPostFileResponse) XXX_Size() int { return m.Size() } func (m *MsgPostFileResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgPostFileResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgPostFileResponse proto.InternalMessageInfo func (m *MsgPostFileResponse) GetPath() string { if m != nil { return m.Path } return "" } type MsgAddViewers struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ViewerIds string `protobuf:"bytes,2,opt,name=viewer_ids,json=viewerIds,proto3" json:"viewer_ids,omitempty"` ViewerKeys string `protobuf:"bytes,3,opt,name=viewer_keys,json=viewerKeys,proto3" json:"viewer_keys,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` FileOwner string `protobuf:"bytes,5,opt,name=file_owner,json=fileOwner,proto3" json:"file_owner,omitempty"` } func (m *MsgAddViewers) Reset() { *m = MsgAddViewers{} } func (m *MsgAddViewers) String() string { return proto.CompactTextString(m) } func (*MsgAddViewers) ProtoMessage() {} func (*MsgAddViewers) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{2} } func (m *MsgAddViewers) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgAddViewers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgAddViewers.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgAddViewers) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgAddViewers.Merge(m, src) } func (m *MsgAddViewers) XXX_Size() int { return m.Size() } func (m *MsgAddViewers) XXX_DiscardUnknown() { xxx_messageInfo_MsgAddViewers.DiscardUnknown(m) } var xxx_messageInfo_MsgAddViewers proto.InternalMessageInfo func (m *MsgAddViewers) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgAddViewers) GetViewerIds() string { if m != nil { return m.ViewerIds } return "" } func (m *MsgAddViewers) GetViewerKeys() string { if m != nil { return m.ViewerKeys } return "" } func (m *MsgAddViewers) GetAddress() string { if m != nil { return m.Address } return "" } func (m *MsgAddViewers) GetFileOwner() string { if m != nil { return m.FileOwner } return "" } type MsgAddViewersResponse struct { } func (m *MsgAddViewersResponse) Reset() { *m = MsgAddViewersResponse{} } func (m *MsgAddViewersResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddViewersResponse) ProtoMessage() {} func (*MsgAddViewersResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{3} } func (m *MsgAddViewersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgAddViewersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgAddViewersResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgAddViewersResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgAddViewersResponse.Merge(m, src) } func (m *MsgAddViewersResponse) XXX_Size() int { return m.Size() } func (m *MsgAddViewersResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgAddViewersResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgAddViewersResponse proto.InternalMessageInfo type MsgPostKey struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` } func (m *MsgPostKey) Reset() { *m = MsgPostKey{} } func (m *MsgPostKey) String() string { return proto.CompactTextString(m) } func (*MsgPostKey) ProtoMessage() {} func (*MsgPostKey) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{4} } func (m *MsgPostKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgPostKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgPostKey.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgPostKey) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgPostKey.Merge(m, src) } func (m *MsgPostKey) XXX_Size() int { return m.Size() } func (m *MsgPostKey) XXX_DiscardUnknown() { xxx_messageInfo_MsgPostKey.DiscardUnknown(m) } var xxx_messageInfo_MsgPostKey proto.InternalMessageInfo func (m *MsgPostKey) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgPostKey) GetKey() string { if m != nil { return m.Key } return "" } type MsgPostKeyResponse struct { } func (m *MsgPostKeyResponse) Reset() { *m = MsgPostKeyResponse{} } func (m *MsgPostKeyResponse) String() string { return proto.CompactTextString(m) } func (*MsgPostKeyResponse) ProtoMessage() {} func (*MsgPostKeyResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{5} } func (m *MsgPostKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgPostKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgPostKeyResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgPostKeyResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgPostKeyResponse.Merge(m, src) } func (m *MsgPostKeyResponse) XXX_Size() int { return m.Size() } func (m *MsgPostKeyResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgPostKeyResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgPostKeyResponse proto.InternalMessageInfo type MsgDeleteFile struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` HashPath string `protobuf:"bytes,2,opt,name=hash_path,json=hashPath,proto3" json:"hash_path,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` } func (m *MsgDeleteFile) Reset() { *m = MsgDeleteFile{} } func (m *MsgDeleteFile) String() string { return proto.CompactTextString(m) } func (*MsgDeleteFile) ProtoMessage() {} func (*MsgDeleteFile) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{6} } func (m *MsgDeleteFile) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgDeleteFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgDeleteFile.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgDeleteFile) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgDeleteFile.Merge(m, src) } func (m *MsgDeleteFile) XXX_Size() int { return m.Size() } func (m *MsgDeleteFile) XXX_DiscardUnknown() { xxx_messageInfo_MsgDeleteFile.DiscardUnknown(m) } var xxx_messageInfo_MsgDeleteFile proto.InternalMessageInfo func (m *MsgDeleteFile) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgDeleteFile) GetHashPath() string { if m != nil { return m.HashPath } return "" } func (m *MsgDeleteFile) GetAccount() string { if m != nil { return m.Account } return "" } type MsgDeleteFileResponse struct { } func (m *MsgDeleteFileResponse) Reset() { *m = MsgDeleteFileResponse{} } func (m *MsgDeleteFileResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeleteFileResponse) ProtoMessage() {} func (*MsgDeleteFileResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{7} } func (m *MsgDeleteFileResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgDeleteFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgDeleteFileResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgDeleteFileResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgDeleteFileResponse.Merge(m, src) } func (m *MsgDeleteFileResponse) XXX_Size() int { return m.Size() } func (m *MsgDeleteFileResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgDeleteFileResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgDeleteFileResponse proto.InternalMessageInfo type MsgRemoveViewers struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ViewerIds string `protobuf:"bytes,2,opt,name=viewer_ids,json=viewerIds,proto3" json:"viewer_ids,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` FileOwner string `protobuf:"bytes,4,opt,name=file_owner,json=fileOwner,proto3" json:"file_owner,omitempty"` } func (m *MsgRemoveViewers) Reset() { *m = MsgRemoveViewers{} } func (m *MsgRemoveViewers) String() string { return proto.CompactTextString(m) } func (*MsgRemoveViewers) ProtoMessage() {} func (*MsgRemoveViewers) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{8} } func (m *MsgRemoveViewers) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgRemoveViewers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgRemoveViewers.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgRemoveViewers) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgRemoveViewers.Merge(m, src) } func (m *MsgRemoveViewers) XXX_Size() int { return m.Size() } func (m *MsgRemoveViewers) XXX_DiscardUnknown() { xxx_messageInfo_MsgRemoveViewers.DiscardUnknown(m) } var xxx_messageInfo_MsgRemoveViewers proto.InternalMessageInfo func (m *MsgRemoveViewers) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgRemoveViewers) GetViewerIds() string { if m != nil { return m.ViewerIds } return "" } func (m *MsgRemoveViewers) GetAddress() string { if m != nil { return m.Address } return "" } func (m *MsgRemoveViewers) GetFileOwner() string { if m != nil { return m.FileOwner } return "" } type MsgRemoveViewersResponse struct { } func (m *MsgRemoveViewersResponse) Reset() { *m = MsgRemoveViewersResponse{} } func (m *MsgRemoveViewersResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveViewersResponse) ProtoMessage() {} func (*MsgRemoveViewersResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{9} } func (m *MsgRemoveViewersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgRemoveViewersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgRemoveViewersResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgRemoveViewersResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgRemoveViewersResponse.Merge(m, src) } func (m *MsgRemoveViewersResponse) XXX_Size() int { return m.Size() } func (m *MsgRemoveViewersResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgRemoveViewersResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgRemoveViewersResponse proto.InternalMessageInfo type MsgProvisionFileTree struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Editors string `protobuf:"bytes,2,opt,name=editors,proto3" json:"editors,omitempty"` Viewers string `protobuf:"bytes,3,opt,name=viewers,proto3" json:"viewers,omitempty"` TrackingNumber string `protobuf:"bytes,4,opt,name=tracking_number,json=trackingNumber,proto3" json:"tracking_number,omitempty"` } func (m *MsgProvisionFileTree) Reset() { *m = MsgProvisionFileTree{} } func (m *MsgProvisionFileTree) String() string { return proto.CompactTextString(m) } func (*MsgProvisionFileTree) ProtoMessage() {} func (*MsgProvisionFileTree) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{10} } func (m *MsgProvisionFileTree) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgProvisionFileTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgProvisionFileTree.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgProvisionFileTree) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgProvisionFileTree.Merge(m, src) } func (m *MsgProvisionFileTree) XXX_Size() int { return m.Size() } func (m *MsgProvisionFileTree) XXX_DiscardUnknown() { xxx_messageInfo_MsgProvisionFileTree.DiscardUnknown(m) } var xxx_messageInfo_MsgProvisionFileTree proto.InternalMessageInfo func (m *MsgProvisionFileTree) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgProvisionFileTree) GetEditors() string { if m != nil { return m.Editors } return "" } func (m *MsgProvisionFileTree) GetViewers() string { if m != nil { return m.Viewers } return "" } func (m *MsgProvisionFileTree) GetTrackingNumber() string { if m != nil { return m.TrackingNumber } return "" } type MsgProvisionFileTreeResponse struct { } func (m *MsgProvisionFileTreeResponse) Reset() { *m = MsgProvisionFileTreeResponse{} } func (m *MsgProvisionFileTreeResponse) String() string { return proto.CompactTextString(m) } func (*MsgProvisionFileTreeResponse) ProtoMessage() {} func (*MsgProvisionFileTreeResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{11} } func (m *MsgProvisionFileTreeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgProvisionFileTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgProvisionFileTreeResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgProvisionFileTreeResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgProvisionFileTreeResponse.Merge(m, src) } func (m *MsgProvisionFileTreeResponse) XXX_Size() int { return m.Size() } func (m *MsgProvisionFileTreeResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgProvisionFileTreeResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgProvisionFileTreeResponse proto.InternalMessageInfo type MsgAddEditors struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` EditorIds string `protobuf:"bytes,2,opt,name=editor_ids,json=editorIds,proto3" json:"editor_ids,omitempty"` EditorKeys string `protobuf:"bytes,3,opt,name=editor_keys,json=editorKeys,proto3" json:"editor_keys,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` FileOwner string `protobuf:"bytes,5,opt,name=file_owner,json=fileOwner,proto3" json:"file_owner,omitempty"` } func (m *MsgAddEditors) Reset() { *m = MsgAddEditors{} } func (m *MsgAddEditors) String() string { return proto.CompactTextString(m) } func (*MsgAddEditors) ProtoMessage() {} func (*MsgAddEditors) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{12} } func (m *MsgAddEditors) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgAddEditors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgAddEditors.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgAddEditors) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgAddEditors.Merge(m, src) } func (m *MsgAddEditors) XXX_Size() int { return m.Size() } func (m *MsgAddEditors) XXX_DiscardUnknown() { xxx_messageInfo_MsgAddEditors.DiscardUnknown(m) } var xxx_messageInfo_MsgAddEditors proto.InternalMessageInfo func (m *MsgAddEditors) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgAddEditors) GetEditorIds() string { if m != nil { return m.EditorIds } return "" } func (m *MsgAddEditors) GetEditorKeys() string { if m != nil { return m.EditorKeys } return "" } func (m *MsgAddEditors) GetAddress() string { if m != nil { return m.Address } return "" } func (m *MsgAddEditors) GetFileOwner() string { if m != nil { return m.FileOwner } return "" } type MsgAddEditorsResponse struct { } func (m *MsgAddEditorsResponse) Reset() { *m = MsgAddEditorsResponse{} } func (m *MsgAddEditorsResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddEditorsResponse) ProtoMessage() {} func (*MsgAddEditorsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{13} } func (m *MsgAddEditorsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgAddEditorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgAddEditorsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgAddEditorsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgAddEditorsResponse.Merge(m, src) } func (m *MsgAddEditorsResponse) XXX_Size() int { return m.Size() } func (m *MsgAddEditorsResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgAddEditorsResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgAddEditorsResponse proto.InternalMessageInfo type MsgRemoveEditors struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` EditorIds string `protobuf:"bytes,2,opt,name=editor_ids,json=editorIds,proto3" json:"editor_ids,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` FileOwner string `protobuf:"bytes,4,opt,name=file_owner,json=fileOwner,proto3" json:"file_owner,omitempty"` } func (m *MsgRemoveEditors) Reset() { *m = MsgRemoveEditors{} } func (m *MsgRemoveEditors) String() string { return proto.CompactTextString(m) } func (*MsgRemoveEditors) ProtoMessage() {} func (*MsgRemoveEditors) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{14} } func (m *MsgRemoveEditors) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgRemoveEditors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgRemoveEditors.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgRemoveEditors) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgRemoveEditors.Merge(m, src) } func (m *MsgRemoveEditors) XXX_Size() int { return m.Size() } func (m *MsgRemoveEditors) XXX_DiscardUnknown() { xxx_messageInfo_MsgRemoveEditors.DiscardUnknown(m) } var xxx_messageInfo_MsgRemoveEditors proto.InternalMessageInfo func (m *MsgRemoveEditors) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgRemoveEditors) GetEditorIds() string { if m != nil { return m.EditorIds } return "" } func (m *MsgRemoveEditors) GetAddress() string { if m != nil { return m.Address } return "" } func (m *MsgRemoveEditors) GetFileOwner() string { if m != nil { return m.FileOwner } return "" } type MsgRemoveEditorsResponse struct { } func (m *MsgRemoveEditorsResponse) Reset() { *m = MsgRemoveEditorsResponse{} } func (m *MsgRemoveEditorsResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveEditorsResponse) ProtoMessage() {} func (*MsgRemoveEditorsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{15} } func (m *MsgRemoveEditorsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgRemoveEditorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgRemoveEditorsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgRemoveEditorsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgRemoveEditorsResponse.Merge(m, src) } func (m *MsgRemoveEditorsResponse) XXX_Size() int { return m.Size() } func (m *MsgRemoveEditorsResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgRemoveEditorsResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgRemoveEditorsResponse proto.InternalMessageInfo type MsgResetEditors struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` FileOwner string `protobuf:"bytes,3,opt,name=file_owner,json=fileOwner,proto3" json:"file_owner,omitempty"` } func (m *MsgResetEditors) Reset() { *m = MsgResetEditors{} } func (m *MsgResetEditors) String() string { return proto.CompactTextString(m) } func (*MsgResetEditors) ProtoMessage() {} func (*MsgResetEditors) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{16} } func (m *MsgResetEditors) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgResetEditors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgResetEditors.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgResetEditors) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgResetEditors.Merge(m, src) } func (m *MsgResetEditors) XXX_Size() int { return m.Size() } func (m *MsgResetEditors) XXX_DiscardUnknown() { xxx_messageInfo_MsgResetEditors.DiscardUnknown(m) } var xxx_messageInfo_MsgResetEditors proto.InternalMessageInfo func (m *MsgResetEditors) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgResetEditors) GetAddress() string { if m != nil { return m.Address } return "" } func (m *MsgResetEditors) GetFileOwner() string { if m != nil { return m.FileOwner } return "" } type MsgResetEditorsResponse struct { } func (m *MsgResetEditorsResponse) Reset() { *m = MsgResetEditorsResponse{} } func (m *MsgResetEditorsResponse) String() string { return proto.CompactTextString(m) } func (*MsgResetEditorsResponse) ProtoMessage() {} func (*MsgResetEditorsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{17} } func (m *MsgResetEditorsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgResetEditorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgResetEditorsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgResetEditorsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgResetEditorsResponse.Merge(m, src) } func (m *MsgResetEditorsResponse) XXX_Size() int { return m.Size() } func (m *MsgResetEditorsResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgResetEditorsResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgResetEditorsResponse proto.InternalMessageInfo type MsgResetViewers struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` FileOwner string `protobuf:"bytes,3,opt,name=file_owner,json=fileOwner,proto3" json:"file_owner,omitempty"` } func (m *MsgResetViewers) Reset() { *m = MsgResetViewers{} } func (m *MsgResetViewers) String() string { return proto.CompactTextString(m) } func (*MsgResetViewers) ProtoMessage() {} func (*MsgResetViewers) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{18} } func (m *MsgResetViewers) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgResetViewers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgResetViewers.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgResetViewers) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgResetViewers.Merge(m, src) } func (m *MsgResetViewers) XXX_Size() int { return m.Size() } func (m *MsgResetViewers) XXX_DiscardUnknown() { xxx_messageInfo_MsgResetViewers.DiscardUnknown(m) } var xxx_messageInfo_MsgResetViewers proto.InternalMessageInfo func (m *MsgResetViewers) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgResetViewers) GetAddress() string { if m != nil { return m.Address } return "" } func (m *MsgResetViewers) GetFileOwner() string { if m != nil { return m.FileOwner } return "" } type MsgResetViewersResponse struct { } func (m *MsgResetViewersResponse) Reset() { *m = MsgResetViewersResponse{} } func (m *MsgResetViewersResponse) String() string { return proto.CompactTextString(m) } func (*MsgResetViewersResponse) ProtoMessage() {} func (*MsgResetViewersResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{19} } func (m *MsgResetViewersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgResetViewersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgResetViewersResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgResetViewersResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgResetViewersResponse.Merge(m, src) } func (m *MsgResetViewersResponse) XXX_Size() int { return m.Size() } func (m *MsgResetViewersResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgResetViewersResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgResetViewersResponse proto.InternalMessageInfo type MsgChangeOwner struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` FileOwner string `protobuf:"bytes,3,opt,name=file_owner,json=fileOwner,proto3" json:"file_owner,omitempty"` NewOwner string `protobuf:"bytes,4,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"` } func (m *MsgChangeOwner) Reset() { *m = MsgChangeOwner{} } func (m *MsgChangeOwner) String() string { return proto.CompactTextString(m) } func (*MsgChangeOwner) ProtoMessage() {} func (*MsgChangeOwner) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{20} } func (m *MsgChangeOwner) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgChangeOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgChangeOwner.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgChangeOwner) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgChangeOwner.Merge(m, src) } func (m *MsgChangeOwner) XXX_Size() int { return m.Size() } func (m *MsgChangeOwner) XXX_DiscardUnknown() { xxx_messageInfo_MsgChangeOwner.DiscardUnknown(m) } var xxx_messageInfo_MsgChangeOwner proto.InternalMessageInfo func (m *MsgChangeOwner) GetCreator() string { if m != nil { return m.Creator } return "" } func (m *MsgChangeOwner) GetAddress() string { if m != nil { return m.Address } return "" } func (m *MsgChangeOwner) GetFileOwner() string { if m != nil { return m.FileOwner } return "" } func (m *MsgChangeOwner) GetNewOwner() string { if m != nil { return m.NewOwner } return "" } type MsgChangeOwnerResponse struct { } func (m *MsgChangeOwnerResponse) Reset() { *m = MsgChangeOwnerResponse{} } func (m *MsgChangeOwnerResponse) String() string { return proto.CompactTextString(m) } func (*MsgChangeOwnerResponse) ProtoMessage() {} func (*MsgChangeOwnerResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e5756d04c34e5a81, []int{21} } func (m *MsgChangeOwnerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MsgChangeOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgChangeOwnerResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } return b[:n], nil } } func (m *MsgChangeOwnerResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgChangeOwnerResponse.Merge(m, src) } func (m *MsgChangeOwnerResponse) XXX_Size() int { return m.Size() } func (m *MsgChangeOwnerResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgChangeOwnerResponse.DiscardUnknown(m) } var xxx_messageInfo_MsgChangeOwnerResponse proto.InternalMessageInfo func init() { proto.RegisterType((*MsgPostFile)(nil), "canine_chain.filetree.MsgPostFile") proto.RegisterType((*MsgPostFileResponse)(nil), "canine_chain.filetree.MsgPostFileResponse") proto.RegisterType((*MsgAddViewers)(nil), "canine_chain.filetree.MsgAddViewers") proto.RegisterType((*MsgAddViewersResponse)(nil), "canine_chain.filetree.MsgAddViewersResponse") proto.RegisterType((*MsgPostKey)(nil), "canine_chain.filetree.MsgPostKey") proto.RegisterType((*MsgPostKeyResponse)(nil), "canine_chain.filetree.MsgPostKeyResponse") proto.RegisterType((*MsgDeleteFile)(nil), "canine_chain.filetree.MsgDeleteFile") proto.RegisterType((*MsgDeleteFileResponse)(nil), "canine_chain.filetree.MsgDeleteFileResponse") proto.RegisterType((*MsgRemoveViewers)(nil), "canine_chain.filetree.MsgRemoveViewers") proto.RegisterType((*MsgRemoveViewersResponse)(nil), "canine_chain.filetree.MsgRemoveViewersResponse") proto.RegisterType((*MsgProvisionFileTree)(nil), "canine_chain.filetree.MsgProvisionFileTree") proto.RegisterType((*MsgProvisionFileTreeResponse)(nil), "canine_chain.filetree.MsgProvisionFileTreeResponse") proto.RegisterType((*MsgAddEditors)(nil), "canine_chain.filetree.MsgAddEditors") proto.RegisterType((*MsgAddEditorsResponse)(nil), "canine_chain.filetree.MsgAddEditorsResponse") proto.RegisterType((*MsgRemoveEditors)(nil), "canine_chain.filetree.MsgRemoveEditors") proto.RegisterType((*MsgRemoveEditorsResponse)(nil), "canine_chain.filetree.MsgRemoveEditorsResponse") proto.RegisterType((*MsgResetEditors)(nil), "canine_chain.filetree.MsgResetEditors") proto.RegisterType((*MsgResetEditorsResponse)(nil), "canine_chain.filetree.MsgResetEditorsResponse") proto.RegisterType((*MsgResetViewers)(nil), "canine_chain.filetree.MsgResetViewers") proto.RegisterType((*MsgResetViewersResponse)(nil), "canine_chain.filetree.MsgResetViewersResponse") proto.RegisterType((*MsgChangeOwner)(nil), "canine_chain.filetree.MsgChangeOwner") proto.RegisterType((*MsgChangeOwnerResponse)(nil), "canine_chain.filetree.MsgChangeOwnerResponse") } func init() { proto.RegisterFile("canine_chain/filetree/tx.proto", fileDescriptor_e5756d04c34e5a81) } var fileDescriptor_e5756d04c34e5a81 = []byte{ // 823 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcf, 0x6f, 0xd3, 0x48, 0x14, 0xae, 0x9b, 0x6c, 0x9b, 0xbc, 0x6e, 0x7f, 0xac, 0xb7, 0xdd, 0x7a, 0xbd, 0x5b, 0xef, 0x12, 0x01, 0xa5, 0x40, 0x13, 0x89, 0x5e, 0xb8, 0x42, 0x01, 0x09, 0x95, 0x40, 0x55, 0x21, 0x90, 0x7a, 0x49, 0x1d, 0xfb, 0xd5, 0x36, 0x49, 0xed, 0xc8, 0x33, 0x69, 0x9a, 0x1b, 0x07, 0xae, 0x48, 0xfc, 0x0d, 0xfc, 0x35, 0x1c, 0x7b, 0xe4, 0x88, 0xd2, 0xff, 0x82, 0x13, 0xb2, 0x3d, 0x63, 0x8f, 0xdd, 0xc4, 0x0e, 0x6a, 0xb9, 0x79, 0xde, 0xfb, 0x66, 0xde, 0x37, 0xdf, 0x7c, 0xf3, 0xc6, 0xa0, 0x19, 0xba, 0xeb, 0xb8, 0xd8, 0x32, 0x6c, 0xdd, 0x71, 0x1b, 0xc7, 0x4e, 0x17, 0xa9, 0x8f, 0xd8, 0xa0, 0x67, 0xf5, 0x9e, 0xef, 0x51, 0x4f, 0x5e, 0x13, 0xf3, 0x75, 0x9e, 0xaf, 0x7d, 0x97, 0x60, 0xa1, 0x49, 0xac, 0x7d, 0x8f, 0xd0, 0x67, 0x4e, 0x17, 0x65, 0x05, 0xe6, 0x0d, 0x1f, 0x75, 0xea, 0xf9, 0x8a, 0xf4, 0xbf, 0x74, 0xa7, 0x7a, 0xc0, 0x87, 0x41, 0x46, 0x37, 0x0c, 0xaf, 0xef, 0x52, 0x65, 0x36, 0xca, 0xb0, 0xa1, 0xfc, 0x1f, 0x2c, 0xd8, 0x3a, 0xb1, 0x5b, 0x3d, 0xdd, 0x47, 0x97, 0x2a, 0xa5, 0x30, 0x0b, 0x41, 0x68, 0x3f, 0x8c, 0xc8, 0x1b, 0x10, 0x8e, 0x5a, 0x86, 0xed, 0x74, 0x4d, 0xa5, 0x1c, 0xe6, 0xab, 0x41, 0x64, 0x37, 0x08, 0xc8, 0x2a, 0x54, 0x0c, 0xcf, 0xa5, 0xe8, 0x52, 0xa2, 0xfc, 0x16, 0x26, 0xe3, 0x71, 0x50, 0xf5, 0xd4, 0xc1, 0x01, 0xfa, 0x44, 0x99, 0x8b, 0xaa, 0xb2, 0x61, 0x90, 0x41, 0xd3, 0xa1, 0x9e, 0x4f, 0x94, 0xf9, 0x28, 0xc3, 0x86, 0xf2, 0x26, 0x2c, 0x53, 0x5f, 0x37, 0x3a, 0x8e, 0x6b, 0xb5, 0xdc, 0xfe, 0x49, 0x1b, 0x7d, 0xa5, 0x12, 0x22, 0x96, 0x78, 0xf8, 0x65, 0x18, 0xad, 0x6d, 0xc1, 0x9f, 0xc2, 0xde, 0x0f, 0x90, 0xf4, 0x3c, 0x97, 0xa0, 0x2c, 0x43, 0xb9, 0xa7, 0x53, 0x9b, 0x09, 0x10, 0x7e, 0xd7, 0x3e, 0x4b, 0xb0, 0xd8, 0x24, 0xd6, 0x23, 0xd3, 0x7c, 0x93, 0xd4, 0x9f, 0xa0, 0xd4, 0x06, 0x40, 0x44, 0xb2, 0xe5, 0x98, 0x84, 0x89, 0x55, 0x8d, 0x22, 0xcf, 0x4d, 0x12, 0xc8, 0xc5, 0xd2, 0x1d, 0x1c, 0x12, 0x2e, 0x57, 0x14, 0xda, 0xc3, 0x61, 0xb8, 0xb2, 0x6e, 0x9a, 0x3e, 0x12, 0xc2, 0xb4, 0xe2, 0xc3, 0x60, 0xe5, 0xe0, 0xe4, 0x5a, 0xde, 0xc0, 0x45, 0x9f, 0x69, 0x55, 0x0d, 0x22, 0xaf, 0x82, 0x40, 0x6d, 0x1d, 0xd6, 0x52, 0x1c, 0xf9, 0x8e, 0x6a, 0x0f, 0x01, 0xd8, 0x46, 0xf7, 0x70, 0x98, 0xc3, 0x7c, 0x05, 0x4a, 0x1d, 0x1c, 0x32, 0xca, 0xc1, 0x67, 0x6d, 0x15, 0xe4, 0x64, 0x66, 0xbc, 0xde, 0x51, 0x28, 0xc6, 0x13, 0xec, 0x22, 0xc5, 0x02, 0xdb, 0xfc, 0x03, 0x55, 0x66, 0x0e, 0x6a, 0xb3, 0x85, 0x2b, 0x91, 0x35, 0xa8, 0x2d, 0x7a, 0xaa, 0x94, 0xf2, 0x14, 0xdb, 0x4a, 0x52, 0x21, 0x2e, 0xfd, 0x41, 0x82, 0x95, 0x26, 0xb1, 0x0e, 0xf0, 0xc4, 0x3b, 0xc5, 0x2b, 0x9f, 0x85, 0x20, 0x75, 0x29, 0x4f, 0xea, 0x72, 0x56, 0x6a, 0x15, 0x94, 0x2c, 0x8b, 0x98, 0xe2, 0x47, 0x09, 0x56, 0x03, 0xd1, 0x7c, 0xef, 0xd4, 0x21, 0x8e, 0xe7, 0x06, 0xfc, 0x5f, 0xfb, 0x58, 0x70, 0xb9, 0xb8, 0x99, 0x67, 0xd3, 0x66, 0x16, 0x2e, 0x40, 0x29, 0x7d, 0x01, 0xc6, 0xd8, 0xbc, 0x3c, 0xd6, 0xe6, 0x1a, 0xfc, 0x3b, 0x8e, 0x4e, 0xcc, 0x37, 0xf1, 0xf6, 0xd3, 0xa4, 0xe8, 0x64, 0x3d, 0x23, 0x66, 0xa2, 0x9e, 0x51, 0x84, 0x79, 0x9b, 0xa5, 0x45, 0x6f, 0x47, 0xa1, 0x6b, 0xf2, 0x36, 0xe3, 0x38, 0xde, 0x10, 0x57, 0xde, 0xc0, 0xb5, 0x18, 0x22, 0x4b, 0xd1, 0x84, 0xe5, 0x30, 0x47, 0x90, 0x16, 0x13, 0x14, 0x18, 0xcc, 0xe6, 0x31, 0x28, 0x65, 0x19, 0xfc, 0x0d, 0xeb, 0x99, 0x2a, 0xe3, 0x08, 0x14, 0x5f, 0x99, 0xeb, 0x20, 0x90, 0xbd, 0x12, 0xef, 0x25, 0x58, 0x6a, 0x12, 0x6b, 0xd7, 0xd6, 0x5d, 0x2b, 0x42, 0xff, 0x02, 0x02, 0x41, 0xaf, 0x71, 0x71, 0x90, 0x3a, 0xa1, 0x8a, 0x8b, 0x83, 0x88, 0x9d, 0x02, 0x7f, 0xa5, 0x19, 0x70, 0x72, 0x0f, 0x46, 0x15, 0x28, 0x35, 0x89, 0x25, 0x1f, 0x42, 0x25, 0x7e, 0x07, 0x6b, 0xf5, 0xb1, 0xef, 0x65, 0x5d, 0x78, 0x2f, 0xd4, 0xbb, 0xc5, 0x98, 0xf8, 0x4d, 0x39, 0x02, 0x10, 0xde, 0x8e, 0x9b, 0x93, 0x67, 0x26, 0x28, 0xf5, 0xfe, 0x34, 0xa8, 0xb8, 0xc2, 0x5b, 0x98, 0xe7, 0x0d, 0xfe, 0x46, 0x3e, 0xb1, 0x3d, 0x1c, 0xaa, 0x5b, 0x85, 0x10, 0x91, 0xba, 0xd0, 0xe9, 0x73, 0xa8, 0x27, 0xa8, 0x3c, 0xea, 0x97, 0x7b, 0xba, 0xec, 0xc0, 0x62, 0xba, 0x9f, 0x6f, 0x4e, 0x9e, 0x9e, 0x02, 0xaa, 0x8d, 0x29, 0x81, 0x71, 0xa9, 0x3e, 0xfc, 0x71, 0xb9, 0x2f, 0xdf, 0xcb, 0x11, 0x23, 0x0b, 0x56, 0x77, 0x7e, 0x02, 0x9c, 0x39, 0x7e, 0x7e, 0xf9, 0xf3, 0x8f, 0x9f, 0xa1, 0x0a, 0x8e, 0x3f, 0x73, 0xc5, 0x13, 0x0d, 0x79, 0x91, 0x42, 0x0d, 0x79, 0x9d, 0xc6, 0x94, 0xc0, 0xb8, 0xd4, 0x31, 0xfc, 0x9e, 0xea, 0x65, 0xb7, 0xf3, 0x16, 0x48, 0x70, 0x6a, 0x7d, 0x3a, 0xdc, 0xa5, 0x3a, 0xdc, 0x15, 0x45, 0x75, 0xb8, 0x29, 0xea, 0xd3, 0xe1, 0xe2, 0x3a, 0x06, 0x2c, 0x88, 0x8d, 0xe9, 0xd6, 0xe4, 0xe9, 0x02, 0x4c, 0xdd, 0x9e, 0x0a, 0xc6, 0x8b, 0x3c, 0x6e, 0x7e, 0x19, 0x69, 0xd2, 0xf9, 0x48, 0x93, 0xbe, 0x8d, 0x34, 0xe9, 0xd3, 0x85, 0x36, 0x73, 0x7e, 0xa1, 0xcd, 0x7c, 0xbd, 0xd0, 0x66, 0x0e, 0x77, 0x2c, 0x87, 0xda, 0xfd, 0x76, 0xdd, 0xf0, 0x4e, 0x1a, 0xef, 0x74, 0xa3, 0xa3, 0x77, 0x5f, 0xe8, 0x6d, 0xd2, 0x88, 0x56, 0xdf, 0x8e, 0xfe, 0xe7, 0xcf, 0x84, 0x3f, 0xfa, 0x61, 0x0f, 0x49, 0x7b, 0x2e, 0xfc, 0xab, 0xdf, 0xf9, 0x11, 0x00, 0x00, 0xff, 0xff, 0xec, 0xe3, 0xc0, 0xa4, 0xf7, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 // MsgClient is the client API for Msg service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { PostFile(ctx context.Context, in *MsgPostFile, opts ...grpc.CallOption) (*MsgPostFileResponse, error) AddViewers(ctx context.Context, in *MsgAddViewers, opts ...grpc.CallOption) (*MsgAddViewersResponse, error) PostKey(ctx context.Context, in *MsgPostKey, opts ...grpc.CallOption) (*MsgPostKeyResponse, error) DeleteFile(ctx context.Context, in *MsgDeleteFile, opts ...grpc.CallOption) (*MsgDeleteFileResponse, error) RemoveViewers(ctx context.Context, in *MsgRemoveViewers, opts ...grpc.CallOption) (*MsgRemoveViewersResponse, error) ProvisionFileTree(ctx context.Context, in *MsgProvisionFileTree, opts ...grpc.CallOption) (*MsgProvisionFileTreeResponse, error) AddEditors(ctx context.Context, in *MsgAddEditors, opts ...grpc.CallOption) (*MsgAddEditorsResponse, error) RemoveEditors(ctx context.Context, in *MsgRemoveEditors, opts ...grpc.CallOption) (*MsgRemoveEditorsResponse, error) ResetEditors(ctx context.Context, in *MsgResetEditors, opts ...grpc.CallOption) (*MsgResetEditorsResponse, error) ResetViewers(ctx context.Context, in *MsgResetViewers, opts ...grpc.CallOption) (*MsgResetViewersResponse, error) ChangeOwner(ctx context.Context, in *MsgChangeOwner, opts ...grpc.CallOption) (*MsgChangeOwnerResponse, error) } type msgClient struct { cc grpc1.ClientConn } func NewMsgClient(cc grpc1.ClientConn) MsgClient { return &msgClient{cc} } func (c *msgClient) PostFile(ctx context.Context, in *MsgPostFile, opts ...grpc.CallOption) (*MsgPostFileResponse, error) { out := new(MsgPostFileResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/PostFile", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) AddViewers(ctx context.Context, in *MsgAddViewers, opts ...grpc.CallOption) (*MsgAddViewersResponse, error) { out := new(MsgAddViewersResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/AddViewers", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) PostKey(ctx context.Context, in *MsgPostKey, opts ...grpc.CallOption) (*MsgPostKeyResponse, error) { out := new(MsgPostKeyResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/PostKey", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) DeleteFile(ctx context.Context, in *MsgDeleteFile, opts ...grpc.CallOption) (*MsgDeleteFileResponse, error) { out := new(MsgDeleteFileResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/DeleteFile", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) RemoveViewers(ctx context.Context, in *MsgRemoveViewers, opts ...grpc.CallOption) (*MsgRemoveViewersResponse, error) { out := new(MsgRemoveViewersResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/RemoveViewers", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) ProvisionFileTree(ctx context.Context, in *MsgProvisionFileTree, opts ...grpc.CallOption) (*MsgProvisionFileTreeResponse, error) { out := new(MsgProvisionFileTreeResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/ProvisionFileTree", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) AddEditors(ctx context.Context, in *MsgAddEditors, opts ...grpc.CallOption) (*MsgAddEditorsResponse, error) { out := new(MsgAddEditorsResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/AddEditors", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) RemoveEditors(ctx context.Context, in *MsgRemoveEditors, opts ...grpc.CallOption) (*MsgRemoveEditorsResponse, error) { out := new(MsgRemoveEditorsResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/RemoveEditors", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) ResetEditors(ctx context.Context, in *MsgResetEditors, opts ...grpc.CallOption) (*MsgResetEditorsResponse, error) { out := new(MsgResetEditorsResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/ResetEditors", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) ResetViewers(ctx context.Context, in *MsgResetViewers, opts ...grpc.CallOption) (*MsgResetViewersResponse, error) { out := new(MsgResetViewersResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/ResetViewers", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *msgClient) ChangeOwner(ctx context.Context, in *MsgChangeOwner, opts ...grpc.CallOption) (*MsgChangeOwnerResponse, error) { out := new(MsgChangeOwnerResponse) err := c.cc.Invoke(ctx, "/canine_chain.filetree.Msg/ChangeOwner", in, out, opts...) if err != nil { return nil, err } return out, nil } // MsgServer is the server API for Msg service. type MsgServer interface { PostFile(context.Context, *MsgPostFile) (*MsgPostFileResponse, error) AddViewers(context.Context, *MsgAddViewers) (*MsgAddViewersResponse, error) PostKey(context.Context, *MsgPostKey) (*MsgPostKeyResponse, error) DeleteFile(context.Context, *MsgDeleteFile) (*MsgDeleteFileResponse, error) RemoveViewers(context.Context, *MsgRemoveViewers) (*MsgRemoveViewersResponse, error) ProvisionFileTree(context.Context, *MsgProvisionFileTree) (*MsgProvisionFileTreeResponse, error) AddEditors(context.Context, *MsgAddEditors) (*MsgAddEditorsResponse, error) RemoveEditors(context.Context, *MsgRemoveEditors) (*MsgRemoveEditorsResponse, error) ResetEditors(context.Context, *MsgResetEditors) (*MsgResetEditorsResponse, error) ResetViewers(context.Context, *MsgResetViewers) (*MsgResetViewersResponse, error) ChangeOwner(context.Context, *MsgChangeOwner) (*MsgChangeOwnerResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. type UnimplementedMsgServer struct { } func (*UnimplementedMsgServer) PostFile(ctx context.Context, req *MsgPostFile) (*MsgPostFileResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PostFile not implemented") } func (*UnimplementedMsgServer) AddViewers(ctx context.Context, req *MsgAddViewers) (*MsgAddViewersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddViewers not implemented") } func (*UnimplementedMsgServer) PostKey(ctx context.Context, req *MsgPostKey) (*MsgPostKeyResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PostKey not implemented") } func (*UnimplementedMsgServer) DeleteFile(ctx context.Context, req *MsgDeleteFile) (*MsgDeleteFileResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteFile not implemented") } func (*UnimplementedMsgServer) RemoveViewers(ctx context.Context, req *MsgRemoveViewers) (*MsgRemoveViewersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveViewers not implemented") } func (*UnimplementedMsgServer) ProvisionFileTree(ctx context.Context, req *MsgProvisionFileTree) (*MsgProvisionFileTreeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ProvisionFileTree not implemented") } func (*UnimplementedMsgServer) AddEditors(ctx context.Context, req *MsgAddEditors) (*MsgAddEditorsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddEditors not implemented") } func (*UnimplementedMsgServer) RemoveEditors(ctx context.Context, req *MsgRemoveEditors) (*MsgRemoveEditorsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveEditors not implemented") } func (*UnimplementedMsgServer) ResetEditors(ctx context.Context, req *MsgResetEditors) (*MsgResetEditorsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResetEditors not implemented") } func (*UnimplementedMsgServer) ResetViewers(ctx context.Context, req *MsgResetViewers) (*MsgResetViewersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResetViewers not implemented") } func (*UnimplementedMsgServer) ChangeOwner(ctx context.Context, req *MsgChangeOwner) (*MsgChangeOwnerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangeOwner not implemented") } func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) } func _Msg_PostFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgPostFile) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).PostFile(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/PostFile", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).PostFile(ctx, req.(*MsgPostFile)) } return interceptor(ctx, in, info, handler) } func _Msg_AddViewers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgAddViewers) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).AddViewers(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/AddViewers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddViewers(ctx, req.(*MsgAddViewers)) } return interceptor(ctx, in, info, handler) } func _Msg_PostKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgPostKey) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).PostKey(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/PostKey", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).PostKey(ctx, req.(*MsgPostKey)) } return interceptor(ctx, in, info, handler) } func _Msg_DeleteFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgDeleteFile) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).DeleteFile(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/DeleteFile", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeleteFile(ctx, req.(*MsgDeleteFile)) } return interceptor(ctx, in, info, handler) } func _Msg_RemoveViewers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgRemoveViewers) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).RemoveViewers(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/RemoveViewers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RemoveViewers(ctx, req.(*MsgRemoveViewers)) } return interceptor(ctx, in, info, handler) } func _Msg_ProvisionFileTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgProvisionFileTree) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).ProvisionFileTree(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/ProvisionFileTree", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProvisionFileTree(ctx, req.(*MsgProvisionFileTree)) } return interceptor(ctx, in, info, handler) } func _Msg_AddEditors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgAddEditors) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).AddEditors(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/AddEditors", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddEditors(ctx, req.(*MsgAddEditors)) } return interceptor(ctx, in, info, handler) } func _Msg_RemoveEditors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgRemoveEditors) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).RemoveEditors(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/RemoveEditors", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RemoveEditors(ctx, req.(*MsgRemoveEditors)) } return interceptor(ctx, in, info, handler) } func _Msg_ResetEditors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgResetEditors) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).ResetEditors(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/ResetEditors", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ResetEditors(ctx, req.(*MsgResetEditors)) } return interceptor(ctx, in, info, handler) } func _Msg_ResetViewers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgResetViewers) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).ResetViewers(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/ResetViewers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ResetViewers(ctx, req.(*MsgResetViewers)) } return interceptor(ctx, in, info, handler) } func _Msg_ChangeOwner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgChangeOwner) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MsgServer).ChangeOwner(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/canine_chain.filetree.Msg/ChangeOwner", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ChangeOwner(ctx, req.(*MsgChangeOwner)) } return interceptor(ctx, in, info, handler) } var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "canine_chain.filetree.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PostFile", Handler: _Msg_PostFile_Handler, }, { MethodName: "AddViewers", Handler: _Msg_AddViewers_Handler, }, { MethodName: "PostKey", Handler: _Msg_PostKey_Handler, }, { MethodName: "DeleteFile", Handler: _Msg_DeleteFile_Handler, }, { MethodName: "RemoveViewers", Handler: _Msg_RemoveViewers_Handler, }, { MethodName: "ProvisionFileTree", Handler: _Msg_ProvisionFileTree_Handler, }, { MethodName: "AddEditors", Handler: _Msg_AddEditors_Handler, }, { MethodName: "RemoveEditors", Handler: _Msg_RemoveEditors_Handler, }, { MethodName: "ResetEditors", Handler: _Msg_ResetEditors_Handler, }, { MethodName: "ResetViewers", Handler: _Msg_ResetViewers_Handler, }, { MethodName: "ChangeOwner", Handler: _Msg_ChangeOwner_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "canine_chain/filetree/tx.proto", } func (m *MsgPostFile) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgPostFile) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgPostFile) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.TrackingNumber) > 0 { i -= len(m.TrackingNumber) copy(dAtA[i:], m.TrackingNumber) i = encodeVarintTx(dAtA, i, uint64(len(m.TrackingNumber))) i-- dAtA[i] = 0x42 } if len(m.Editors) > 0 { i -= len(m.Editors) copy(dAtA[i:], m.Editors) i = encodeVarintTx(dAtA, i, uint64(len(m.Editors))) i-- dAtA[i] = 0x3a } if len(m.Viewers) > 0 { i -= len(m.Viewers) copy(dAtA[i:], m.Viewers) i = encodeVarintTx(dAtA, i, uint64(len(m.Viewers))) i-- dAtA[i] = 0x32 } if len(m.Contents) > 0 { i -= len(m.Contents) copy(dAtA[i:], m.Contents) i = encodeVarintTx(dAtA, i, uint64(len(m.Contents))) i-- dAtA[i] = 0x2a } if len(m.HashChild) > 0 { i -= len(m.HashChild) copy(dAtA[i:], m.HashChild) i = encodeVarintTx(dAtA, i, uint64(len(m.HashChild))) i-- dAtA[i] = 0x22 } if len(m.HashParent) > 0 { i -= len(m.HashParent) copy(dAtA[i:], m.HashParent) i = encodeVarintTx(dAtA, i, uint64(len(m.HashParent))) i-- dAtA[i] = 0x1a } if len(m.Account) > 0 { i -= len(m.Account) copy(dAtA[i:], m.Account) i = encodeVarintTx(dAtA, i, uint64(len(m.Account))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgPostFileResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgPostFileResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgPostFileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.Path) > 0 { i -= len(m.Path) copy(dAtA[i:], m.Path) i = encodeVarintTx(dAtA, i, uint64(len(m.Path))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgAddViewers) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgAddViewers) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgAddViewers) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.FileOwner) > 0 { i -= len(m.FileOwner) copy(dAtA[i:], m.FileOwner) i = encodeVarintTx(dAtA, i, uint64(len(m.FileOwner))) i-- dAtA[i] = 0x2a } if len(m.Address) > 0 { i -= len(m.Address) copy(dAtA[i:], m.Address) i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0x22 } if len(m.ViewerKeys) > 0 { i -= len(m.ViewerKeys) copy(dAtA[i:], m.ViewerKeys) i = encodeVarintTx(dAtA, i, uint64(len(m.ViewerKeys))) i-- dAtA[i] = 0x1a } if len(m.ViewerIds) > 0 { i -= len(m.ViewerIds) copy(dAtA[i:], m.ViewerIds) i = encodeVarintTx(dAtA, i, uint64(len(m.ViewerIds))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgAddViewersResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgAddViewersResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgAddViewersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func (m *MsgPostKey) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgPostKey) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgPostKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.Key) > 0 { i -= len(m.Key) copy(dAtA[i:], m.Key) i = encodeVarintTx(dAtA, i, uint64(len(m.Key))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgPostKeyResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgPostKeyResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgPostKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func (m *MsgDeleteFile) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgDeleteFile) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgDeleteFile) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.Account) > 0 { i -= len(m.Account) copy(dAtA[i:], m.Account) i = encodeVarintTx(dAtA, i, uint64(len(m.Account))) i-- dAtA[i] = 0x1a } if len(m.HashPath) > 0 { i -= len(m.HashPath) copy(dAtA[i:], m.HashPath) i = encodeVarintTx(dAtA, i, uint64(len(m.HashPath))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgDeleteFileResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgDeleteFileResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgDeleteFileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func (m *MsgRemoveViewers) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgRemoveViewers) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgRemoveViewers) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.FileOwner) > 0 { i -= len(m.FileOwner) copy(dAtA[i:], m.FileOwner) i = encodeVarintTx(dAtA, i, uint64(len(m.FileOwner))) i-- dAtA[i] = 0x22 } if len(m.Address) > 0 { i -= len(m.Address) copy(dAtA[i:], m.Address) i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0x1a } if len(m.ViewerIds) > 0 { i -= len(m.ViewerIds) copy(dAtA[i:], m.ViewerIds) i = encodeVarintTx(dAtA, i, uint64(len(m.ViewerIds))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgRemoveViewersResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgRemoveViewersResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgRemoveViewersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func (m *MsgProvisionFileTree) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgProvisionFileTree) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgProvisionFileTree) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.TrackingNumber) > 0 { i -= len(m.TrackingNumber) copy(dAtA[i:], m.TrackingNumber) i = encodeVarintTx(dAtA, i, uint64(len(m.TrackingNumber))) i-- dAtA[i] = 0x22 } if len(m.Viewers) > 0 { i -= len(m.Viewers) copy(dAtA[i:], m.Viewers) i = encodeVarintTx(dAtA, i, uint64(len(m.Viewers))) i-- dAtA[i] = 0x1a } if len(m.Editors) > 0 { i -= len(m.Editors) copy(dAtA[i:], m.Editors) i = encodeVarintTx(dAtA, i, uint64(len(m.Editors))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgProvisionFileTreeResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgProvisionFileTreeResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgProvisionFileTreeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func (m *MsgAddEditors) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgAddEditors) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgAddEditors) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.FileOwner) > 0 { i -= len(m.FileOwner) copy(dAtA[i:], m.FileOwner) i = encodeVarintTx(dAtA, i, uint64(len(m.FileOwner))) i-- dAtA[i] = 0x2a } if len(m.Address) > 0 { i -= len(m.Address) copy(dAtA[i:], m.Address) i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0x22 } if len(m.EditorKeys) > 0 { i -= len(m.EditorKeys) copy(dAtA[i:], m.EditorKeys) i = encodeVarintTx(dAtA, i, uint64(len(m.EditorKeys))) i-- dAtA[i] = 0x1a } if len(m.EditorIds) > 0 { i -= len(m.EditorIds) copy(dAtA[i:], m.EditorIds) i = encodeVarintTx(dAtA, i, uint64(len(m.EditorIds))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgAddEditorsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgAddEditorsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgAddEditorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func (m *MsgRemoveEditors) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgRemoveEditors) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgRemoveEditors) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.FileOwner) > 0 { i -= len(m.FileOwner) copy(dAtA[i:], m.FileOwner) i = encodeVarintTx(dAtA, i, uint64(len(m.FileOwner))) i-- dAtA[i] = 0x22 } if len(m.Address) > 0 { i -= len(m.Address) copy(dAtA[i:], m.Address) i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0x1a } if len(m.EditorIds) > 0 { i -= len(m.EditorIds) copy(dAtA[i:], m.EditorIds) i = encodeVarintTx(dAtA, i, uint64(len(m.EditorIds))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgRemoveEditorsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgRemoveEditorsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgRemoveEditorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func (m *MsgResetEditors) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgResetEditors) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgResetEditors) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.FileOwner) > 0 { i -= len(m.FileOwner) copy(dAtA[i:], m.FileOwner) i = encodeVarintTx(dAtA, i, uint64(len(m.FileOwner))) i-- dAtA[i] = 0x1a } if len(m.Address) > 0 { i -= len(m.Address) copy(dAtA[i:], m.Address) i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgResetEditorsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgResetEditorsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgResetEditorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func (m *MsgResetViewers) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgResetViewers) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgResetViewers) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.FileOwner) > 0 { i -= len(m.FileOwner) copy(dAtA[i:], m.FileOwner) i = encodeVarintTx(dAtA, i, uint64(len(m.FileOwner))) i-- dAtA[i] = 0x1a } if len(m.Address) > 0 { i -= len(m.Address) copy(dAtA[i:], m.Address) i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgResetViewersResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgResetViewersResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgResetViewersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func (m *MsgChangeOwner) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgChangeOwner) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgChangeOwner) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if len(m.NewOwner) > 0 { i -= len(m.NewOwner) copy(dAtA[i:], m.NewOwner) i = encodeVarintTx(dAtA, i, uint64(len(m.NewOwner))) i-- dAtA[i] = 0x22 } if len(m.FileOwner) > 0 { i -= len(m.FileOwner) copy(dAtA[i:], m.FileOwner) i = encodeVarintTx(dAtA, i, uint64(len(m.FileOwner))) i-- dAtA[i] = 0x1a } if len(m.Address) > 0 { i -= len(m.Address) copy(dAtA[i:], m.Address) i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } func (m *MsgChangeOwnerResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MsgChangeOwnerResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } func (m *MsgChangeOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l return len(dAtA) - i, nil } func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ } dAtA[offset] = uint8(v) return base } func (m *MsgPostFile) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Account) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.HashParent) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.HashChild) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Contents) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Viewers) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Editors) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.TrackingNumber) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgPostFileResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Path) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgAddViewers) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.ViewerIds) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.ViewerKeys) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Address) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.FileOwner) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgAddViewersResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func (m *MsgPostKey) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Key) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgPostKeyResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func (m *MsgDeleteFile) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.HashPath) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Account) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgDeleteFileResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func (m *MsgRemoveViewers) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.ViewerIds) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Address) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.FileOwner) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgRemoveViewersResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func (m *MsgProvisionFileTree) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Editors) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Viewers) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.TrackingNumber) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgProvisionFileTreeResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func (m *MsgAddEditors) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.EditorIds) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.EditorKeys) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Address) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.FileOwner) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgAddEditorsResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func (m *MsgRemoveEditors) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.EditorIds) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Address) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.FileOwner) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgRemoveEditorsResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func (m *MsgResetEditors) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Address) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.FileOwner) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgResetEditorsResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func (m *MsgResetViewers) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Address) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.FileOwner) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgResetViewersResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func (m *MsgChangeOwner) Size() (n int) { if m == nil { return 0 } var l int _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.Address) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.FileOwner) if l > 0 { n += 1 + l + sovTx(uint64(l)) } l = len(m.NewOwner) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } func (m *MsgChangeOwnerResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l return n } func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func (m *MsgPostFile) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgPostFile: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgPostFile: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Account = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field HashParent", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.HashParent = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field HashChild", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.HashChild = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Contents", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Contents = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Viewers", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Viewers = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Editors", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Editors = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 8: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TrackingNumber", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.TrackingNumber = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgPostFileResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgPostFileResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgPostFileResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Path = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgAddViewers) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgAddViewers: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgAddViewers: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ViewerIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.ViewerIds = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ViewerKeys", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.ViewerKeys = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileOwner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.FileOwner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgAddViewersResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgAddViewersResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgAddViewersResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgPostKey) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgPostKey: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgPostKey: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Key = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgPostKeyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgPostKeyResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgPostKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgDeleteFile) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgDeleteFile: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgDeleteFile: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field HashPath", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.HashPath = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Account = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgDeleteFileResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgDeleteFileResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgDeleteFileResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgRemoveViewers) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgRemoveViewers: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgRemoveViewers: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ViewerIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.ViewerIds = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileOwner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.FileOwner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgRemoveViewersResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgRemoveViewersResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgRemoveViewersResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgProvisionFileTree) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgProvisionFileTree: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgProvisionFileTree: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Editors", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Editors = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Viewers", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Viewers = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TrackingNumber", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.TrackingNumber = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgProvisionFileTreeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgProvisionFileTreeResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgProvisionFileTreeResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgAddEditors) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgAddEditors: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgAddEditors: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field EditorIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.EditorIds = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field EditorKeys", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.EditorKeys = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileOwner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.FileOwner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgAddEditorsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgAddEditorsResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgAddEditorsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgRemoveEditors) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgRemoveEditors: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgRemoveEditors: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field EditorIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.EditorIds = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileOwner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.FileOwner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgRemoveEditorsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgRemoveEditorsResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgRemoveEditorsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgResetEditors) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgResetEditors: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgResetEditors: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileOwner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.FileOwner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgResetEditorsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgResetEditorsResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgResetEditorsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgResetViewers) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgResetViewers: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgResetViewers: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileOwner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.FileOwner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgResetViewersResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgResetViewersResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgResetViewersResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgChangeOwner) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgChangeOwner: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgChangeOwner: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileOwner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.FileOwner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field NewOwner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthTx } postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } m.NewOwner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MsgChangeOwnerResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgChangeOwnerResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MsgChangeOwnerResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 depth := 0 for iNdEx < l { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowTx } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } wireType := int(wire & 0x7) switch wireType { case 0: for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowTx } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } iNdEx++ if dAtA[iNdEx-1] < 0x80 { break } } case 1: iNdEx += 8 case 2: var length int for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowTx } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ length |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if length < 0 { return 0, ErrInvalidLengthTx } iNdEx += length case 3: depth++ case 4: if depth == 0 { return 0, ErrUnexpectedEndOfGroupTx } depth-- case 5: iNdEx += 4 default: return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } if iNdEx < 0 { return 0, ErrInvalidLengthTx } if depth == 0 { return iNdEx, nil } } return 0, io.ErrUnexpectedEOF } var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )