To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 01b6a30a authored by Andrea Raguso's avatar Andrea Raguso
Browse files

update

parent ba0c5014
......@@ -5,7 +5,7 @@ go 1.16
require (
github.com/golang/protobuf v1.5.2
github.com/mwitkow/go-proto-validators v0.3.2
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c
google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08
google.golang.org/grpc v1.38.0
google.golang.org/protobuf v1.26.0
)
......@@ -95,8 +95,8 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c h1:wtujag7C+4D6KMoulW9YauvK2lgdvCMS260jsqqBXr0=
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08 h1:pc16UedxnxXXtGxHCSUhafAoVHQZ0yXl8ZelMH4EETc=
google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.13.0
// source: sip/gsuite/gsuite.proto
package gsuite
import (
empty "github.com/golang/protobuf/ptypes/empty"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type FileRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
}
func (x *FileRequest) Reset() {
*x = FileRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileRequest) ProtoMessage() {}
func (x *FileRequest) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FileRequest.ProtoReflect.Descriptor instead.
func (*FileRequest) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{0}
}
func (x *FileRequest) GetFileId() string {
if x != nil {
return x.FileId
}
return ""
}
type FileReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
}
func (x *FileReply) Reset() {
*x = FileReply{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileReply) ProtoMessage() {}
func (x *FileReply) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FileReply.ProtoReflect.Descriptor instead.
func (*FileReply) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{1}
}
func (x *FileReply) GetFileId() string {
if x != nil {
return x.FileId
}
return ""
}
type UploadFileReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
SheetId string `protobuf:"bytes,2,opt,name=sheet_id,json=sheetId,proto3" json:"sheet_id,omitempty"`
}
func (x *UploadFileReply) Reset() {
*x = UploadFileReply{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UploadFileReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UploadFileReply) ProtoMessage() {}
func (x *UploadFileReply) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UploadFileReply.ProtoReflect.Descriptor instead.
func (*UploadFileReply) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{2}
}
func (x *UploadFileReply) GetFileId() string {
if x != nil {
return x.FileId
}
return ""
}
func (x *UploadFileReply) GetSheetId() string {
if x != nil {
return x.SheetId
}
return ""
}
type DownloadFileReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *DownloadFileReply) Reset() {
*x = DownloadFileReply{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DownloadFileReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DownloadFileReply) ProtoMessage() {}
func (x *DownloadFileReply) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DownloadFileReply.ProtoReflect.Descriptor instead.
func (*DownloadFileReply) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{3}
}
func (x *DownloadFileReply) GetData() []byte {
if x != nil {
return x.Data
}
return nil
}
type UploadFileInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ParentFolderId string `protobuf:"bytes,1,opt,name=parent_folder_id,json=parentFolderId,proto3" json:"parent_folder_id,omitempty"`
Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
}
func (x *UploadFileInfo) Reset() {
*x = UploadFileInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UploadFileInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UploadFileInfo) ProtoMessage() {}
func (x *UploadFileInfo) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UploadFileInfo.ProtoReflect.Descriptor instead.
func (*UploadFileInfo) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{4}
}
func (x *UploadFileInfo) GetParentFolderId() string {
if x != nil {
return x.ParentFolderId
}
return ""
}
func (x *UploadFileInfo) GetFilename() string {
if x != nil {
return x.Filename
}
return ""
}
func (x *UploadFileInfo) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
type UploadFileRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to UploadData:
// *UploadFileRequest_Info
// *UploadFileRequest_Data
UploadData isUploadFileRequest_UploadData `protobuf_oneof:"uploadData"`
}
func (x *UploadFileRequest) Reset() {
*x = UploadFileRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UploadFileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UploadFileRequest) ProtoMessage() {}
func (x *UploadFileRequest) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UploadFileRequest.ProtoReflect.Descriptor instead.
func (*UploadFileRequest) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{5}
}
func (m *UploadFileRequest) GetUploadData() isUploadFileRequest_UploadData {
if m != nil {
return m.UploadData
}
return nil
}
func (x *UploadFileRequest) GetInfo() *UploadFileInfo {
if x, ok := x.GetUploadData().(*UploadFileRequest_Info); ok {
return x.Info
}
return nil
}
func (x *UploadFileRequest) GetData() []byte {
if x, ok := x.GetUploadData().(*UploadFileRequest_Data); ok {
return x.Data
}
return nil
}
type isUploadFileRequest_UploadData interface {
isUploadFileRequest_UploadData()
}
type UploadFileRequest_Info struct {
Info *UploadFileInfo `protobuf:"bytes,1,opt,name=info,proto3,oneof"`
}
type UploadFileRequest_Data struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
func (*UploadFileRequest_Info) isUploadFileRequest_UploadData() {}
func (*UploadFileRequest_Data) isUploadFileRequest_UploadData() {}
type FolderRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
}
func (x *FolderRequest) Reset() {
*x = FolderRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FolderRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FolderRequest) ProtoMessage() {}
func (x *FolderRequest) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FolderRequest.ProtoReflect.Descriptor instead.
func (*FolderRequest) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{6}
}
func (x *FolderRequest) GetFolderId() string {
if x != nil {
return x.FolderId
}
return ""
}
type CreateFolderRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Foldername string `protobuf:"bytes,1,opt,name=foldername,proto3" json:"foldername,omitempty"`
ParentFolderId string `protobuf:"bytes,2,opt,name=parent_folder_id,json=parentFolderId,proto3" json:"parent_folder_id,omitempty"`
}
func (x *CreateFolderRequest) Reset() {
*x = CreateFolderRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateFolderRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateFolderRequest) ProtoMessage() {}
func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateFolderRequest.ProtoReflect.Descriptor instead.
func (*CreateFolderRequest) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{7}
}
func (x *CreateFolderRequest) GetFoldername() string {
if x != nil {
return x.Foldername
}
return ""
}
func (x *CreateFolderRequest) GetParentFolderId() string {
if x != nil {
return x.ParentFolderId
}
return ""
}
type FolderReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
}
func (x *FolderReply) Reset() {
*x = FolderReply{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FolderReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FolderReply) ProtoMessage() {}
func (x *FolderReply) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FolderReply.ProtoReflect.Descriptor instead.
func (*FolderReply) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{8}
}
func (x *FolderReply) GetFolderId() string {
if x != nil {
return x.FolderId
}
return ""
}
type ShareFileRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
}
func (x *ShareFileRequest) Reset() {
*x = ShareFileRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShareFileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShareFileRequest) ProtoMessage() {}
func (x *ShareFileRequest) ProtoReflect() protoreflect.Message {
mi := &file_sip_gsuite_gsuite_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ShareFileRequest.ProtoReflect.Descriptor instead.
func (*ShareFileRequest) Descriptor() ([]byte, []int) {
return file_sip_gsuite_gsuite_proto_rawDescGZIP(), []int{9}
}
func (x *ShareFileRequest) GetFileId() string {
if x != nil {
return x.FileId
}
return ""
}
func (x *ShareFileRequest) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *ShareFileRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *ShareFileRequest) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
type ShareFileWithAnyoneRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
}