diff --git a/go.mod b/go.mod index a4f42b85b84..af348832d0a 100644 --- a/go.mod +++ b/go.mod @@ -14,8 +14,8 @@ require ( github.com/blevesearch/bleve/v2 v2.4.0 github.com/cenkalti/backoff v2.2.1+incompatible github.com/coreos/go-oidc/v3 v3.10.0 - github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781 - github.com/cs3org/reva/v2 v2.21.0 + github.com/cs3org/go-cs3apis v0.0.0-20240425114016-d2cb31692b4e + github.com/cs3org/reva/v2 v2.21.1-0.20240711153523-f9083e96d2ea github.com/dhowden/tag v0.0.0-20230630033851-978a0926ee25 github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e github.com/egirna/icap-client v0.1.1 diff --git a/go.sum b/go.sum index b2aee0b8fed..00a3b13ce28 100644 --- a/go.sum +++ b/go.sum @@ -1023,10 +1023,10 @@ github.com/crewjam/httperr v0.2.0 h1:b2BfXR8U3AlIHwNeFFvZ+BV1LFvKLlzMjzaTnZMybNo github.com/crewjam/httperr v0.2.0/go.mod h1:Jlz+Sg/XqBQhyMjdDiC+GNNRzZTD7x39Gu3pglZ5oH4= github.com/crewjam/saml v0.4.14 h1:g9FBNx62osKusnFzs3QTN5L9CVA/Egfgm+stJShzw/c= github.com/crewjam/saml v0.4.14/go.mod h1:UVSZCf18jJkk6GpWNVqcyQJMD5HsRugBPf4I1nl2mME= -github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781 h1:BUdwkIlf8IS2FasrrPg8gGPHQPOrQ18MS1Oew2tmGtY= -github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781/go.mod h1:UXha4TguuB52H14EMoSsCqDj7k8a/t7g4gVP+bgY5LY= -github.com/cs3org/reva/v2 v2.21.0 h1:TLmWaU4BTIsi2FQtB8SxMKDT46ql28Do1Vc7IVWSAsE= -github.com/cs3org/reva/v2 v2.21.0/go.mod h1:Rb2XnhpGKnH7k6WBFZlMygbyBxW6ma09Z4Uk+ro0v+A= +github.com/cs3org/go-cs3apis v0.0.0-20240425114016-d2cb31692b4e h1:Cm2l8m2riLa79eh7V2wHd1Ra7wR3TbngmeLZBJ9MxTU= +github.com/cs3org/go-cs3apis v0.0.0-20240425114016-d2cb31692b4e/go.mod h1:yyP8PRo0EZou3nSH7H4qjlzQwaydPeIRNgX50npQHpE= +github.com/cs3org/reva/v2 v2.21.1-0.20240711153523-f9083e96d2ea h1:fMT9FvEsfR+OLS4SWNNkxgUrCtgAuJABRTK+f+VRETk= +github.com/cs3org/reva/v2 v2.21.1-0.20240711153523-f9083e96d2ea/go.mod h1:+5pteFc4ymQnhYG2cOtg/jzaIZKgxrgIeH0D4fuC6gA= github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= @@ -2423,7 +2423,6 @@ golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190415081028-16da32be82c5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2759,7 +2758,6 @@ google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= diff --git a/services/activitylog/pkg/service/response.go b/services/activitylog/pkg/service/response.go index 95944191bc0..154a3966878 100644 --- a/services/activitylog/pkg/service/response.go +++ b/services/activitylog/pkg/service/response.go @@ -64,7 +64,7 @@ func WithResource(ref *provider.Reference, addSpace bool) ActivityOption { } vars["resource"] = Resource{ - ID: storagespace.FormatResourceID(*info.GetId()), + ID: storagespace.FormatResourceID(info.GetId()), Name: info.GetName(), } @@ -111,7 +111,7 @@ func WithTrashedResource(ref *provider.Reference, rid *provider.ResourceId) Acti if item.GetKey() == rid.GetOpaqueId() { vars["resource"] = Resource{ - ID: storagespace.FormatResourceID(*rid), + ID: storagespace.FormatResourceID(rid), Name: filepath.Base(item.GetRef().GetPath()), } diff --git a/services/activitylog/pkg/service/service.go b/services/activitylog/pkg/service/service.go index d1bacb28374..bbfa6b6ad51 100644 --- a/services/activitylog/pkg/service/service.go +++ b/services/activitylog/pkg/service/service.go @@ -158,7 +158,7 @@ func (a *ActivitylogService) AddActivityTrashed(resourceID *provider.ResourceId, } // store activity on trashed item - if err := a.storeActivity(storagespace.FormatResourceID(*resourceID), eventID, 0, timestamp); err != nil { + if err := a.storeActivity(storagespace.FormatResourceID(resourceID), eventID, 0, timestamp); err != nil { return fmt.Errorf("could not store activity: %w", err) } @@ -183,7 +183,7 @@ func (a *ActivitylogService) AddSpaceActivity(spaceID *provider.StorageSpaceId, return fmt.Errorf("could not parse space id: %w", err) } rid.OpaqueId = rid.GetSpaceId() - return a.storeActivity(storagespace.FormatResourceID(rid), eventID, 0, timestamp) + return a.storeActivity(storagespace.FormatResourceID(&rid), eventID, 0, timestamp) } @@ -218,7 +218,7 @@ func (a *ActivitylogService) RemoveActivities(rid *provider.ResourceId, toDelete } return a.store.Write(µstore.Record{ - Key: storagespace.FormatResourceID(*rid), + Key: storagespace.FormatResourceID(rid), Value: b, }) } @@ -232,11 +232,11 @@ func (a *ActivitylogService) RemoveResource(rid *provider.ResourceId) error { a.lock.Lock() defer a.lock.Unlock() - return a.store.Delete(storagespace.FormatResourceID(*rid)) + return a.store.Delete(storagespace.FormatResourceID(rid)) } func (a *ActivitylogService) activities(rid *provider.ResourceId) ([]RawActivity, error) { - resourceID := storagespace.FormatResourceID(*rid) + resourceID := storagespace.FormatResourceID(rid) records, err := a.store.Read(resourceID) if err != nil && err != microstore.ErrNotFound { @@ -269,7 +269,7 @@ func (a *ActivitylogService) addActivity(initRef *provider.Reference, eventID st return fmt.Errorf("could not get resource info: %w", err) } - if err := a.storeActivity(storagespace.FormatResourceID(*info.GetId()), eventID, depth, timestamp); err != nil { + if err := a.storeActivity(storagespace.FormatResourceID(info.GetId()), eventID, depth, timestamp); err != nil { return fmt.Errorf("could not store activity: %w", err) } diff --git a/services/audit/pkg/service/service_test.go b/services/audit/pkg/service/service_test.go index ee98998f538..b8a452aa310 100644 --- a/services/audit/pkg/service/service_test.go +++ b/services/audit/pkg/service/service_test.go @@ -108,7 +108,7 @@ var testCases = []struct { require.Equal(t, "", ev.ItemType) // not implemented atm require.Equal(t, "", ev.ExpirationDate) // no expiration for shares require.Equal(t, false, ev.SharePass) - require.Equal(t, "get_quota:true stat:true ", ev.Permissions) + require.Equal(t, "get_quota:true stat:true", ev.Permissions) require.Equal(t, "group", ev.ShareType) require.Equal(t, "beshared-groupid", ev.ShareWith) require.Equal(t, "sharing-userid", ev.ShareOwner) @@ -142,7 +142,7 @@ var testCases = []struct { require.Equal(t, "", ev.ItemType) // not implemented atm require.Equal(t, "2001-09-20T15:33:20Z", ev.ExpirationDate) require.Equal(t, true, ev.SharePass) - require.Equal(t, "stat:true ", ev.Permissions) + require.Equal(t, "stat:true", ev.Permissions) require.Equal(t, "link", ev.ShareType) require.Equal(t, "", ev.ShareWith) // not filled on links require.Equal(t, "sharing-userid", ev.ShareOwner) diff --git a/services/audit/pkg/types/conversion.go b/services/audit/pkg/types/conversion.go index 07945692743..1dd86f0ba94 100644 --- a/services/audit/pkg/types/conversion.go +++ b/services/audit/pkg/types/conversion.go @@ -2,6 +2,7 @@ package types import ( "fmt" + "strings" "time" "github.com/cs3org/reva/v2/pkg/events" @@ -81,7 +82,7 @@ func LinkCreated(ev events.LinkCreated) AuditEventShareCreated { ShareType: typ, ExpirationDate: formatTime(ev.Expiration), SharePass: ev.PasswordProtected, - Permissions: ev.Permissions.String(), + Permissions: normalizeString(ev.Permissions.GetPermissions().String()), ShareToken: ev.Token, // NOTE: those values are not in the event and can therefore not be filled at the moment @@ -99,7 +100,7 @@ func ShareUpdated(ev events.ShareUpdated) AuditEventShareUpdated { ShareOwner: uid, ShareWith: with, ShareType: typ, - Permissions: ev.Permissions.Permissions.String(), + Permissions: normalizeString(ev.Permissions.GetPermissions().String()), // NOTE: those values are not in the event and can therefore not be filled at the moment ItemType: "", @@ -119,7 +120,7 @@ func LinkUpdated(ev events.LinkUpdated) AuditEventShareUpdated { ShareOwner: uid, ShareWith: with, ShareType: typ, - Permissions: ev.Permissions.Permissions.String(), + Permissions: normalizeString(ev.Permissions.GetPermissions().String()), ExpirationDate: formatTime(ev.Expiration), SharePass: ev.PasswordProtected, ShareToken: ev.Token, @@ -555,3 +556,11 @@ func updateType(u string) string { return "" } } + +// normalizeString tries to create a somewhat stable string +// from a prototext string. The prototext strings are unstable +// on purpose an insert additional spaces randomly. +// See: https://protobuf.dev/reference/go/faq/#unstable-text +func normalizeString(str string) string { + return strings.Join(strings.Fields(str), " ") +} diff --git a/services/clientlog/pkg/service/service.go b/services/clientlog/pkg/service/service.go index 5f9476775fc..766d6013cd6 100644 --- a/services/clientlog/pkg/service/service.go +++ b/services/clientlog/pkg/service/service.go @@ -196,8 +196,8 @@ func processFileEvent(ctx context.Context, ref *provider.Reference, gwc gateway. } data := FileEvent{ - ParentItemID: storagespace.FormatResourceID(*info.GetParentId()), - ItemID: storagespace.FormatResourceID(*info.GetId()), + ParentItemID: storagespace.FormatResourceID(info.GetParentId()), + ItemID: storagespace.FormatResourceID(info.GetId()), SpaceID: storagespace.FormatStorageID(info.GetSpace().GetRoot().GetStorageId(), info.GetSpace().GetRoot().GetSpaceId()), InitiatorID: initiatorid, Etag: info.GetEtag(), @@ -233,7 +233,7 @@ func processItemTrashedEvent(ctx context.Context, ref *provider.Reference, gwc g if item.GetKey() == itemID.GetOpaqueId() { data := FileEvent{ - ItemID: storagespace.FormatResourceID(*itemID), + ItemID: storagespace.FormatResourceID(itemID), // TODO: check with web if parentID is needed // ParentItemID: storagespace.FormatResourceID(*item.GetRef().GetResourceId()), SpaceID: storagespace.FormatStorageID(itemID.GetStorageId(), itemID.GetSpaceId()), diff --git a/services/graph/mocks/drive_item_permissions_provider.go b/services/graph/mocks/drive_item_permissions_provider.go index 59d416f5eda..e28e9cb42be 100644 --- a/services/graph/mocks/drive_item_permissions_provider.go +++ b/services/graph/mocks/drive_item_permissions_provider.go @@ -25,7 +25,7 @@ func (_m *DriveItemPermissionsProvider) EXPECT() *DriveItemPermissionsProvider_E } // CreateLink provides a mock function with given fields: ctx, driveItemID, createLink -func (_m *DriveItemPermissionsProvider) CreateLink(ctx context.Context, driveItemID providerv1beta1.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) { +func (_m *DriveItemPermissionsProvider) CreateLink(ctx context.Context, driveItemID *providerv1beta1.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) { ret := _m.Called(ctx, driveItemID, createLink) if len(ret) == 0 { @@ -34,16 +34,16 @@ func (_m *DriveItemPermissionsProvider) CreateLink(ctx context.Context, driveIte var r0 libregraph.Permission var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) (libregraph.Permission, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) (libregraph.Permission, error)); ok { return rf(ctx, driveItemID, createLink) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) libregraph.Permission); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) libregraph.Permission); ok { r0 = rf(ctx, driveItemID, createLink) } else { r0 = ret.Get(0).(libregraph.Permission) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) error); ok { r1 = rf(ctx, driveItemID, createLink) } else { r1 = ret.Error(1) @@ -59,15 +59,15 @@ type DriveItemPermissionsProvider_CreateLink_Call struct { // CreateLink is a helper method to define mock.On call // - ctx context.Context -// - driveItemID providerv1beta1.ResourceId +// - driveItemID *providerv1beta1.ResourceId // - createLink libregraph.DriveItemCreateLink func (_e *DriveItemPermissionsProvider_Expecter) CreateLink(ctx interface{}, driveItemID interface{}, createLink interface{}) *DriveItemPermissionsProvider_CreateLink_Call { return &DriveItemPermissionsProvider_CreateLink_Call{Call: _e.mock.On("CreateLink", ctx, driveItemID, createLink)} } -func (_c *DriveItemPermissionsProvider_CreateLink_Call) Run(run func(ctx context.Context, driveItemID providerv1beta1.ResourceId, createLink libregraph.DriveItemCreateLink)) *DriveItemPermissionsProvider_CreateLink_Call { +func (_c *DriveItemPermissionsProvider_CreateLink_Call) Run(run func(ctx context.Context, driveItemID *providerv1beta1.ResourceId, createLink libregraph.DriveItemCreateLink)) *DriveItemPermissionsProvider_CreateLink_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(libregraph.DriveItemCreateLink)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(libregraph.DriveItemCreateLink)) }) return _c } @@ -77,13 +77,13 @@ func (_c *DriveItemPermissionsProvider_CreateLink_Call) Return(_a0 libregraph.Pe return _c } -func (_c *DriveItemPermissionsProvider_CreateLink_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) (libregraph.Permission, error)) *DriveItemPermissionsProvider_CreateLink_Call { +func (_c *DriveItemPermissionsProvider_CreateLink_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) (libregraph.Permission, error)) *DriveItemPermissionsProvider_CreateLink_Call { _c.Call.Return(run) return _c } // CreateSpaceRootLink provides a mock function with given fields: ctx, driveID, createLink -func (_m *DriveItemPermissionsProvider) CreateSpaceRootLink(ctx context.Context, driveID providerv1beta1.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) { +func (_m *DriveItemPermissionsProvider) CreateSpaceRootLink(ctx context.Context, driveID *providerv1beta1.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) { ret := _m.Called(ctx, driveID, createLink) if len(ret) == 0 { @@ -92,16 +92,16 @@ func (_m *DriveItemPermissionsProvider) CreateSpaceRootLink(ctx context.Context, var r0 libregraph.Permission var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) (libregraph.Permission, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) (libregraph.Permission, error)); ok { return rf(ctx, driveID, createLink) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) libregraph.Permission); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) libregraph.Permission); ok { r0 = rf(ctx, driveID, createLink) } else { r0 = ret.Get(0).(libregraph.Permission) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) error); ok { r1 = rf(ctx, driveID, createLink) } else { r1 = ret.Error(1) @@ -117,15 +117,15 @@ type DriveItemPermissionsProvider_CreateSpaceRootLink_Call struct { // CreateSpaceRootLink is a helper method to define mock.On call // - ctx context.Context -// - driveID providerv1beta1.ResourceId +// - driveID *providerv1beta1.ResourceId // - createLink libregraph.DriveItemCreateLink func (_e *DriveItemPermissionsProvider_Expecter) CreateSpaceRootLink(ctx interface{}, driveID interface{}, createLink interface{}) *DriveItemPermissionsProvider_CreateSpaceRootLink_Call { return &DriveItemPermissionsProvider_CreateSpaceRootLink_Call{Call: _e.mock.On("CreateSpaceRootLink", ctx, driveID, createLink)} } -func (_c *DriveItemPermissionsProvider_CreateSpaceRootLink_Call) Run(run func(ctx context.Context, driveID providerv1beta1.ResourceId, createLink libregraph.DriveItemCreateLink)) *DriveItemPermissionsProvider_CreateSpaceRootLink_Call { +func (_c *DriveItemPermissionsProvider_CreateSpaceRootLink_Call) Run(run func(ctx context.Context, driveID *providerv1beta1.ResourceId, createLink libregraph.DriveItemCreateLink)) *DriveItemPermissionsProvider_CreateSpaceRootLink_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(libregraph.DriveItemCreateLink)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(libregraph.DriveItemCreateLink)) }) return _c } @@ -135,13 +135,13 @@ func (_c *DriveItemPermissionsProvider_CreateSpaceRootLink_Call) Return(_a0 libr return _c } -func (_c *DriveItemPermissionsProvider_CreateSpaceRootLink_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) (libregraph.Permission, error)) *DriveItemPermissionsProvider_CreateSpaceRootLink_Call { +func (_c *DriveItemPermissionsProvider_CreateSpaceRootLink_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemCreateLink) (libregraph.Permission, error)) *DriveItemPermissionsProvider_CreateSpaceRootLink_Call { _c.Call.Return(run) return _c } // DeletePermission provides a mock function with given fields: ctx, itemID, permissionID -func (_m *DriveItemPermissionsProvider) DeletePermission(ctx context.Context, itemID providerv1beta1.ResourceId, permissionID string) error { +func (_m *DriveItemPermissionsProvider) DeletePermission(ctx context.Context, itemID *providerv1beta1.ResourceId, permissionID string) error { ret := _m.Called(ctx, itemID, permissionID) if len(ret) == 0 { @@ -149,7 +149,7 @@ func (_m *DriveItemPermissionsProvider) DeletePermission(ctx context.Context, it } var r0 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string) error); ok { r0 = rf(ctx, itemID, permissionID) } else { r0 = ret.Error(0) @@ -165,15 +165,15 @@ type DriveItemPermissionsProvider_DeletePermission_Call struct { // DeletePermission is a helper method to define mock.On call // - ctx context.Context -// - itemID providerv1beta1.ResourceId +// - itemID *providerv1beta1.ResourceId // - permissionID string func (_e *DriveItemPermissionsProvider_Expecter) DeletePermission(ctx interface{}, itemID interface{}, permissionID interface{}) *DriveItemPermissionsProvider_DeletePermission_Call { return &DriveItemPermissionsProvider_DeletePermission_Call{Call: _e.mock.On("DeletePermission", ctx, itemID, permissionID)} } -func (_c *DriveItemPermissionsProvider_DeletePermission_Call) Run(run func(ctx context.Context, itemID providerv1beta1.ResourceId, permissionID string)) *DriveItemPermissionsProvider_DeletePermission_Call { +func (_c *DriveItemPermissionsProvider_DeletePermission_Call) Run(run func(ctx context.Context, itemID *providerv1beta1.ResourceId, permissionID string)) *DriveItemPermissionsProvider_DeletePermission_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(string)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(string)) }) return _c } @@ -183,13 +183,13 @@ func (_c *DriveItemPermissionsProvider_DeletePermission_Call) Return(_a0 error) return _c } -func (_c *DriveItemPermissionsProvider_DeletePermission_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, string) error) *DriveItemPermissionsProvider_DeletePermission_Call { +func (_c *DriveItemPermissionsProvider_DeletePermission_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, string) error) *DriveItemPermissionsProvider_DeletePermission_Call { _c.Call.Return(run) return _c } // DeleteSpaceRootPermission provides a mock function with given fields: ctx, driveID, permissionID -func (_m *DriveItemPermissionsProvider) DeleteSpaceRootPermission(ctx context.Context, driveID providerv1beta1.ResourceId, permissionID string) error { +func (_m *DriveItemPermissionsProvider) DeleteSpaceRootPermission(ctx context.Context, driveID *providerv1beta1.ResourceId, permissionID string) error { ret := _m.Called(ctx, driveID, permissionID) if len(ret) == 0 { @@ -197,7 +197,7 @@ func (_m *DriveItemPermissionsProvider) DeleteSpaceRootPermission(ctx context.Co } var r0 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string) error); ok { r0 = rf(ctx, driveID, permissionID) } else { r0 = ret.Error(0) @@ -213,15 +213,15 @@ type DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call struct { // DeleteSpaceRootPermission is a helper method to define mock.On call // - ctx context.Context -// - driveID providerv1beta1.ResourceId +// - driveID *providerv1beta1.ResourceId // - permissionID string func (_e *DriveItemPermissionsProvider_Expecter) DeleteSpaceRootPermission(ctx interface{}, driveID interface{}, permissionID interface{}) *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call { return &DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call{Call: _e.mock.On("DeleteSpaceRootPermission", ctx, driveID, permissionID)} } -func (_c *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call) Run(run func(ctx context.Context, driveID providerv1beta1.ResourceId, permissionID string)) *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call { +func (_c *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call) Run(run func(ctx context.Context, driveID *providerv1beta1.ResourceId, permissionID string)) *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(string)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(string)) }) return _c } @@ -231,13 +231,13 @@ func (_c *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call) Return(_a return _c } -func (_c *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, string) error) *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call { +func (_c *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, string) error) *DriveItemPermissionsProvider_DeleteSpaceRootPermission_Call { _c.Call.Return(run) return _c } // Invite provides a mock function with given fields: ctx, resourceId, invite -func (_m *DriveItemPermissionsProvider) Invite(ctx context.Context, resourceId providerv1beta1.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { +func (_m *DriveItemPermissionsProvider) Invite(ctx context.Context, resourceId *providerv1beta1.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { ret := _m.Called(ctx, resourceId, invite) if len(ret) == 0 { @@ -246,16 +246,16 @@ func (_m *DriveItemPermissionsProvider) Invite(ctx context.Context, resourceId p var r0 libregraph.Permission var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemInvite) (libregraph.Permission, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemInvite) (libregraph.Permission, error)); ok { return rf(ctx, resourceId, invite) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemInvite) libregraph.Permission); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemInvite) libregraph.Permission); ok { r0 = rf(ctx, resourceId, invite) } else { r0 = ret.Get(0).(libregraph.Permission) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemInvite) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemInvite) error); ok { r1 = rf(ctx, resourceId, invite) } else { r1 = ret.Error(1) @@ -271,15 +271,15 @@ type DriveItemPermissionsProvider_Invite_Call struct { // Invite is a helper method to define mock.On call // - ctx context.Context -// - resourceId providerv1beta1.ResourceId +// - resourceId *providerv1beta1.ResourceId // - invite libregraph.DriveItemInvite func (_e *DriveItemPermissionsProvider_Expecter) Invite(ctx interface{}, resourceId interface{}, invite interface{}) *DriveItemPermissionsProvider_Invite_Call { return &DriveItemPermissionsProvider_Invite_Call{Call: _e.mock.On("Invite", ctx, resourceId, invite)} } -func (_c *DriveItemPermissionsProvider_Invite_Call) Run(run func(ctx context.Context, resourceId providerv1beta1.ResourceId, invite libregraph.DriveItemInvite)) *DriveItemPermissionsProvider_Invite_Call { +func (_c *DriveItemPermissionsProvider_Invite_Call) Run(run func(ctx context.Context, resourceId *providerv1beta1.ResourceId, invite libregraph.DriveItemInvite)) *DriveItemPermissionsProvider_Invite_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(libregraph.DriveItemInvite)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(libregraph.DriveItemInvite)) }) return _c } @@ -289,13 +289,13 @@ func (_c *DriveItemPermissionsProvider_Invite_Call) Return(_a0 libregraph.Permis return _c } -func (_c *DriveItemPermissionsProvider_Invite_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemInvite) (libregraph.Permission, error)) *DriveItemPermissionsProvider_Invite_Call { +func (_c *DriveItemPermissionsProvider_Invite_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemInvite) (libregraph.Permission, error)) *DriveItemPermissionsProvider_Invite_Call { _c.Call.Return(run) return _c } // ListPermissions provides a mock function with given fields: ctx, itemID -func (_m *DriveItemPermissionsProvider) ListPermissions(ctx context.Context, itemID providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { +func (_m *DriveItemPermissionsProvider) ListPermissions(ctx context.Context, itemID *providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { ret := _m.Called(ctx, itemID) if len(ret) == 0 { @@ -304,16 +304,16 @@ func (_m *DriveItemPermissionsProvider) ListPermissions(ctx context.Context, ite var r0 libregraph.CollectionOfPermissionsWithAllowedValues var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error)); ok { return rf(ctx, itemID) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId) libregraph.CollectionOfPermissionsWithAllowedValues); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId) libregraph.CollectionOfPermissionsWithAllowedValues); ok { r0 = rf(ctx, itemID) } else { r0 = ret.Get(0).(libregraph.CollectionOfPermissionsWithAllowedValues) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId) error); ok { r1 = rf(ctx, itemID) } else { r1 = ret.Error(1) @@ -329,14 +329,14 @@ type DriveItemPermissionsProvider_ListPermissions_Call struct { // ListPermissions is a helper method to define mock.On call // - ctx context.Context -// - itemID providerv1beta1.ResourceId +// - itemID *providerv1beta1.ResourceId func (_e *DriveItemPermissionsProvider_Expecter) ListPermissions(ctx interface{}, itemID interface{}) *DriveItemPermissionsProvider_ListPermissions_Call { return &DriveItemPermissionsProvider_ListPermissions_Call{Call: _e.mock.On("ListPermissions", ctx, itemID)} } -func (_c *DriveItemPermissionsProvider_ListPermissions_Call) Run(run func(ctx context.Context, itemID providerv1beta1.ResourceId)) *DriveItemPermissionsProvider_ListPermissions_Call { +func (_c *DriveItemPermissionsProvider_ListPermissions_Call) Run(run func(ctx context.Context, itemID *providerv1beta1.ResourceId)) *DriveItemPermissionsProvider_ListPermissions_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId)) }) return _c } @@ -346,13 +346,13 @@ func (_c *DriveItemPermissionsProvider_ListPermissions_Call) Return(_a0 libregra return _c } -func (_c *DriveItemPermissionsProvider_ListPermissions_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error)) *DriveItemPermissionsProvider_ListPermissions_Call { +func (_c *DriveItemPermissionsProvider_ListPermissions_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error)) *DriveItemPermissionsProvider_ListPermissions_Call { _c.Call.Return(run) return _c } // ListSpaceRootPermissions provides a mock function with given fields: ctx, driveID -func (_m *DriveItemPermissionsProvider) ListSpaceRootPermissions(ctx context.Context, driveID providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { +func (_m *DriveItemPermissionsProvider) ListSpaceRootPermissions(ctx context.Context, driveID *providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { ret := _m.Called(ctx, driveID) if len(ret) == 0 { @@ -361,16 +361,16 @@ func (_m *DriveItemPermissionsProvider) ListSpaceRootPermissions(ctx context.Con var r0 libregraph.CollectionOfPermissionsWithAllowedValues var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error)); ok { return rf(ctx, driveID) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId) libregraph.CollectionOfPermissionsWithAllowedValues); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId) libregraph.CollectionOfPermissionsWithAllowedValues); ok { r0 = rf(ctx, driveID) } else { r0 = ret.Get(0).(libregraph.CollectionOfPermissionsWithAllowedValues) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId) error); ok { r1 = rf(ctx, driveID) } else { r1 = ret.Error(1) @@ -386,14 +386,14 @@ type DriveItemPermissionsProvider_ListSpaceRootPermissions_Call struct { // ListSpaceRootPermissions is a helper method to define mock.On call // - ctx context.Context -// - driveID providerv1beta1.ResourceId +// - driveID *providerv1beta1.ResourceId func (_e *DriveItemPermissionsProvider_Expecter) ListSpaceRootPermissions(ctx interface{}, driveID interface{}) *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call { return &DriveItemPermissionsProvider_ListSpaceRootPermissions_Call{Call: _e.mock.On("ListSpaceRootPermissions", ctx, driveID)} } -func (_c *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call) Run(run func(ctx context.Context, driveID providerv1beta1.ResourceId)) *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call { +func (_c *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call) Run(run func(ctx context.Context, driveID *providerv1beta1.ResourceId)) *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId)) }) return _c } @@ -403,13 +403,13 @@ func (_c *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call) Return(_a0 return _c } -func (_c *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error)) *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call { +func (_c *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error)) *DriveItemPermissionsProvider_ListSpaceRootPermissions_Call { _c.Call.Return(run) return _c } // SetPublicLinkPassword provides a mock function with given fields: ctx, driveItemID, permissionID, password -func (_m *DriveItemPermissionsProvider) SetPublicLinkPassword(ctx context.Context, driveItemID providerv1beta1.ResourceId, permissionID string, password string) (libregraph.Permission, error) { +func (_m *DriveItemPermissionsProvider) SetPublicLinkPassword(ctx context.Context, driveItemID *providerv1beta1.ResourceId, permissionID string, password string) (libregraph.Permission, error) { ret := _m.Called(ctx, driveItemID, permissionID, password) if len(ret) == 0 { @@ -418,16 +418,16 @@ func (_m *DriveItemPermissionsProvider) SetPublicLinkPassword(ctx context.Contex var r0 libregraph.Permission var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string, string) (libregraph.Permission, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string, string) (libregraph.Permission, error)); ok { return rf(ctx, driveItemID, permissionID, password) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string, string) libregraph.Permission); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string, string) libregraph.Permission); ok { r0 = rf(ctx, driveItemID, permissionID, password) } else { r0 = ret.Get(0).(libregraph.Permission) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId, string, string) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId, string, string) error); ok { r1 = rf(ctx, driveItemID, permissionID, password) } else { r1 = ret.Error(1) @@ -443,16 +443,16 @@ type DriveItemPermissionsProvider_SetPublicLinkPassword_Call struct { // SetPublicLinkPassword is a helper method to define mock.On call // - ctx context.Context -// - driveItemID providerv1beta1.ResourceId +// - driveItemID *providerv1beta1.ResourceId // - permissionID string // - password string func (_e *DriveItemPermissionsProvider_Expecter) SetPublicLinkPassword(ctx interface{}, driveItemID interface{}, permissionID interface{}, password interface{}) *DriveItemPermissionsProvider_SetPublicLinkPassword_Call { return &DriveItemPermissionsProvider_SetPublicLinkPassword_Call{Call: _e.mock.On("SetPublicLinkPassword", ctx, driveItemID, permissionID, password)} } -func (_c *DriveItemPermissionsProvider_SetPublicLinkPassword_Call) Run(run func(ctx context.Context, driveItemID providerv1beta1.ResourceId, permissionID string, password string)) *DriveItemPermissionsProvider_SetPublicLinkPassword_Call { +func (_c *DriveItemPermissionsProvider_SetPublicLinkPassword_Call) Run(run func(ctx context.Context, driveItemID *providerv1beta1.ResourceId, permissionID string, password string)) *DriveItemPermissionsProvider_SetPublicLinkPassword_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(string), args[3].(string)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(string), args[3].(string)) }) return _c } @@ -462,13 +462,13 @@ func (_c *DriveItemPermissionsProvider_SetPublicLinkPassword_Call) Return(_a0 li return _c } -func (_c *DriveItemPermissionsProvider_SetPublicLinkPassword_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, string, string) (libregraph.Permission, error)) *DriveItemPermissionsProvider_SetPublicLinkPassword_Call { +func (_c *DriveItemPermissionsProvider_SetPublicLinkPassword_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, string, string) (libregraph.Permission, error)) *DriveItemPermissionsProvider_SetPublicLinkPassword_Call { _c.Call.Return(run) return _c } // SetPublicLinkPasswordOnSpaceRoot provides a mock function with given fields: ctx, driveID, permissionID, password -func (_m *DriveItemPermissionsProvider) SetPublicLinkPasswordOnSpaceRoot(ctx context.Context, driveID providerv1beta1.ResourceId, permissionID string, password string) (libregraph.Permission, error) { +func (_m *DriveItemPermissionsProvider) SetPublicLinkPasswordOnSpaceRoot(ctx context.Context, driveID *providerv1beta1.ResourceId, permissionID string, password string) (libregraph.Permission, error) { ret := _m.Called(ctx, driveID, permissionID, password) if len(ret) == 0 { @@ -477,16 +477,16 @@ func (_m *DriveItemPermissionsProvider) SetPublicLinkPasswordOnSpaceRoot(ctx con var r0 libregraph.Permission var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string, string) (libregraph.Permission, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string, string) (libregraph.Permission, error)); ok { return rf(ctx, driveID, permissionID, password) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string, string) libregraph.Permission); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string, string) libregraph.Permission); ok { r0 = rf(ctx, driveID, permissionID, password) } else { r0 = ret.Get(0).(libregraph.Permission) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId, string, string) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId, string, string) error); ok { r1 = rf(ctx, driveID, permissionID, password) } else { r1 = ret.Error(1) @@ -502,16 +502,16 @@ type DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call struct { // SetPublicLinkPasswordOnSpaceRoot is a helper method to define mock.On call // - ctx context.Context -// - driveID providerv1beta1.ResourceId +// - driveID *providerv1beta1.ResourceId // - permissionID string // - password string func (_e *DriveItemPermissionsProvider_Expecter) SetPublicLinkPasswordOnSpaceRoot(ctx interface{}, driveID interface{}, permissionID interface{}, password interface{}) *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call { return &DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call{Call: _e.mock.On("SetPublicLinkPasswordOnSpaceRoot", ctx, driveID, permissionID, password)} } -func (_c *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call) Run(run func(ctx context.Context, driveID providerv1beta1.ResourceId, permissionID string, password string)) *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call { +func (_c *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call) Run(run func(ctx context.Context, driveID *providerv1beta1.ResourceId, permissionID string, password string)) *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(string), args[3].(string)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(string), args[3].(string)) }) return _c } @@ -521,13 +521,13 @@ func (_c *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call) Re return _c } -func (_c *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, string, string) (libregraph.Permission, error)) *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call { +func (_c *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, string, string) (libregraph.Permission, error)) *DriveItemPermissionsProvider_SetPublicLinkPasswordOnSpaceRoot_Call { _c.Call.Return(run) return _c } // SpaceRootInvite provides a mock function with given fields: ctx, driveID, invite -func (_m *DriveItemPermissionsProvider) SpaceRootInvite(ctx context.Context, driveID providerv1beta1.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { +func (_m *DriveItemPermissionsProvider) SpaceRootInvite(ctx context.Context, driveID *providerv1beta1.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { ret := _m.Called(ctx, driveID, invite) if len(ret) == 0 { @@ -536,16 +536,16 @@ func (_m *DriveItemPermissionsProvider) SpaceRootInvite(ctx context.Context, dri var r0 libregraph.Permission var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemInvite) (libregraph.Permission, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemInvite) (libregraph.Permission, error)); ok { return rf(ctx, driveID, invite) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemInvite) libregraph.Permission); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemInvite) libregraph.Permission); ok { r0 = rf(ctx, driveID, invite) } else { r0 = ret.Get(0).(libregraph.Permission) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemInvite) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemInvite) error); ok { r1 = rf(ctx, driveID, invite) } else { r1 = ret.Error(1) @@ -561,15 +561,15 @@ type DriveItemPermissionsProvider_SpaceRootInvite_Call struct { // SpaceRootInvite is a helper method to define mock.On call // - ctx context.Context -// - driveID providerv1beta1.ResourceId +// - driveID *providerv1beta1.ResourceId // - invite libregraph.DriveItemInvite func (_e *DriveItemPermissionsProvider_Expecter) SpaceRootInvite(ctx interface{}, driveID interface{}, invite interface{}) *DriveItemPermissionsProvider_SpaceRootInvite_Call { return &DriveItemPermissionsProvider_SpaceRootInvite_Call{Call: _e.mock.On("SpaceRootInvite", ctx, driveID, invite)} } -func (_c *DriveItemPermissionsProvider_SpaceRootInvite_Call) Run(run func(ctx context.Context, driveID providerv1beta1.ResourceId, invite libregraph.DriveItemInvite)) *DriveItemPermissionsProvider_SpaceRootInvite_Call { +func (_c *DriveItemPermissionsProvider_SpaceRootInvite_Call) Run(run func(ctx context.Context, driveID *providerv1beta1.ResourceId, invite libregraph.DriveItemInvite)) *DriveItemPermissionsProvider_SpaceRootInvite_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(libregraph.DriveItemInvite)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(libregraph.DriveItemInvite)) }) return _c } @@ -579,13 +579,13 @@ func (_c *DriveItemPermissionsProvider_SpaceRootInvite_Call) Return(_a0 libregra return _c } -func (_c *DriveItemPermissionsProvider_SpaceRootInvite_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, libregraph.DriveItemInvite) (libregraph.Permission, error)) *DriveItemPermissionsProvider_SpaceRootInvite_Call { +func (_c *DriveItemPermissionsProvider_SpaceRootInvite_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, libregraph.DriveItemInvite) (libregraph.Permission, error)) *DriveItemPermissionsProvider_SpaceRootInvite_Call { _c.Call.Return(run) return _c } // UpdatePermission provides a mock function with given fields: ctx, itemID, permissionID, newPermission -func (_m *DriveItemPermissionsProvider) UpdatePermission(ctx context.Context, itemID providerv1beta1.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) { +func (_m *DriveItemPermissionsProvider) UpdatePermission(ctx context.Context, itemID *providerv1beta1.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) { ret := _m.Called(ctx, itemID, permissionID, newPermission) if len(ret) == 0 { @@ -594,16 +594,16 @@ func (_m *DriveItemPermissionsProvider) UpdatePermission(ctx context.Context, it var r0 libregraph.Permission var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string, libregraph.Permission) (libregraph.Permission, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string, libregraph.Permission) (libregraph.Permission, error)); ok { return rf(ctx, itemID, permissionID, newPermission) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string, libregraph.Permission) libregraph.Permission); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string, libregraph.Permission) libregraph.Permission); ok { r0 = rf(ctx, itemID, permissionID, newPermission) } else { r0 = ret.Get(0).(libregraph.Permission) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId, string, libregraph.Permission) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId, string, libregraph.Permission) error); ok { r1 = rf(ctx, itemID, permissionID, newPermission) } else { r1 = ret.Error(1) @@ -619,16 +619,16 @@ type DriveItemPermissionsProvider_UpdatePermission_Call struct { // UpdatePermission is a helper method to define mock.On call // - ctx context.Context -// - itemID providerv1beta1.ResourceId +// - itemID *providerv1beta1.ResourceId // - permissionID string // - newPermission libregraph.Permission func (_e *DriveItemPermissionsProvider_Expecter) UpdatePermission(ctx interface{}, itemID interface{}, permissionID interface{}, newPermission interface{}) *DriveItemPermissionsProvider_UpdatePermission_Call { return &DriveItemPermissionsProvider_UpdatePermission_Call{Call: _e.mock.On("UpdatePermission", ctx, itemID, permissionID, newPermission)} } -func (_c *DriveItemPermissionsProvider_UpdatePermission_Call) Run(run func(ctx context.Context, itemID providerv1beta1.ResourceId, permissionID string, newPermission libregraph.Permission)) *DriveItemPermissionsProvider_UpdatePermission_Call { +func (_c *DriveItemPermissionsProvider_UpdatePermission_Call) Run(run func(ctx context.Context, itemID *providerv1beta1.ResourceId, permissionID string, newPermission libregraph.Permission)) *DriveItemPermissionsProvider_UpdatePermission_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(string), args[3].(libregraph.Permission)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(string), args[3].(libregraph.Permission)) }) return _c } @@ -638,13 +638,13 @@ func (_c *DriveItemPermissionsProvider_UpdatePermission_Call) Return(_a0 libregr return _c } -func (_c *DriveItemPermissionsProvider_UpdatePermission_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, string, libregraph.Permission) (libregraph.Permission, error)) *DriveItemPermissionsProvider_UpdatePermission_Call { +func (_c *DriveItemPermissionsProvider_UpdatePermission_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, string, libregraph.Permission) (libregraph.Permission, error)) *DriveItemPermissionsProvider_UpdatePermission_Call { _c.Call.Return(run) return _c } // UpdateSpaceRootPermission provides a mock function with given fields: ctx, driveID, permissionID, newPermission -func (_m *DriveItemPermissionsProvider) UpdateSpaceRootPermission(ctx context.Context, driveID providerv1beta1.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) { +func (_m *DriveItemPermissionsProvider) UpdateSpaceRootPermission(ctx context.Context, driveID *providerv1beta1.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) { ret := _m.Called(ctx, driveID, permissionID, newPermission) if len(ret) == 0 { @@ -653,16 +653,16 @@ func (_m *DriveItemPermissionsProvider) UpdateSpaceRootPermission(ctx context.Co var r0 libregraph.Permission var r1 error - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string, libregraph.Permission) (libregraph.Permission, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string, libregraph.Permission) (libregraph.Permission, error)); ok { return rf(ctx, driveID, permissionID, newPermission) } - if rf, ok := ret.Get(0).(func(context.Context, providerv1beta1.ResourceId, string, libregraph.Permission) libregraph.Permission); ok { + if rf, ok := ret.Get(0).(func(context.Context, *providerv1beta1.ResourceId, string, libregraph.Permission) libregraph.Permission); ok { r0 = rf(ctx, driveID, permissionID, newPermission) } else { r0 = ret.Get(0).(libregraph.Permission) } - if rf, ok := ret.Get(1).(func(context.Context, providerv1beta1.ResourceId, string, libregraph.Permission) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *providerv1beta1.ResourceId, string, libregraph.Permission) error); ok { r1 = rf(ctx, driveID, permissionID, newPermission) } else { r1 = ret.Error(1) @@ -678,16 +678,16 @@ type DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call struct { // UpdateSpaceRootPermission is a helper method to define mock.On call // - ctx context.Context -// - driveID providerv1beta1.ResourceId +// - driveID *providerv1beta1.ResourceId // - permissionID string // - newPermission libregraph.Permission func (_e *DriveItemPermissionsProvider_Expecter) UpdateSpaceRootPermission(ctx interface{}, driveID interface{}, permissionID interface{}, newPermission interface{}) *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call { return &DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call{Call: _e.mock.On("UpdateSpaceRootPermission", ctx, driveID, permissionID, newPermission)} } -func (_c *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call) Run(run func(ctx context.Context, driveID providerv1beta1.ResourceId, permissionID string, newPermission libregraph.Permission)) *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call { +func (_c *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call) Run(run func(ctx context.Context, driveID *providerv1beta1.ResourceId, permissionID string, newPermission libregraph.Permission)) *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(context.Context), args[1].(providerv1beta1.ResourceId), args[2].(string), args[3].(libregraph.Permission)) + run(args[0].(context.Context), args[1].(*providerv1beta1.ResourceId), args[2].(string), args[3].(libregraph.Permission)) }) return _c } @@ -697,7 +697,7 @@ func (_c *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call) Return(_a return _c } -func (_c *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call) RunAndReturn(run func(context.Context, providerv1beta1.ResourceId, string, libregraph.Permission) (libregraph.Permission, error)) *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call { +func (_c *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ResourceId, string, libregraph.Permission) (libregraph.Permission, error)) *DriveItemPermissionsProvider_UpdateSpaceRootPermission_Call { _c.Call.Return(run) return _c } diff --git a/services/graph/pkg/linktype/linktype.go b/services/graph/pkg/linktype/linktype.go index 9b36b6cec74..a2b6557c100 100644 --- a/services/graph/pkg/linktype/linktype.go +++ b/services/graph/pkg/linktype/linktype.go @@ -40,7 +40,7 @@ func SharingLinkTypeFromCS3Permissions(permissions *linkv1beta1.PublicSharePermi return &linkType.linkType, nil } } - return nil, unifiedrole.CS3ResourcePermissionsToLibregraphActions(*permissions.GetPermissions()) + return nil, unifiedrole.CS3ResourcePermissionsToLibregraphActions(permissions.GetPermissions()) } // CS3ResourcePermissionsFromSharingLink creates a cs3 resource permissions type diff --git a/services/graph/pkg/service/v0/api_driveitem_permissions.go b/services/graph/pkg/service/v0/api_driveitem_permissions.go index cf1661ade76..f51c1ed7163 100644 --- a/services/graph/pkg/service/v0/api_driveitem_permissions.go +++ b/services/graph/pkg/service/v0/api_driveitem_permissions.go @@ -41,18 +41,18 @@ const ( // DriveItemPermissionsProvider contains the methods related to handling permissions on drive items type DriveItemPermissionsProvider interface { - Invite(ctx context.Context, resourceId storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) - SpaceRootInvite(ctx context.Context, driveID storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) - ListPermissions(ctx context.Context, itemID storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) - ListSpaceRootPermissions(ctx context.Context, driveID storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) - DeletePermission(ctx context.Context, itemID storageprovider.ResourceId, permissionID string) error - DeleteSpaceRootPermission(ctx context.Context, driveID storageprovider.ResourceId, permissionID string) error - UpdatePermission(ctx context.Context, itemID storageprovider.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) - UpdateSpaceRootPermission(ctx context.Context, driveID storageprovider.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) - CreateLink(ctx context.Context, driveItemID storageprovider.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) - CreateSpaceRootLink(ctx context.Context, driveID storageprovider.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) - SetPublicLinkPassword(ctx context.Context, driveItemID storageprovider.ResourceId, permissionID string, password string) (libregraph.Permission, error) - SetPublicLinkPasswordOnSpaceRoot(ctx context.Context, driveID storageprovider.ResourceId, permissionID string, password string) (libregraph.Permission, error) + Invite(ctx context.Context, resourceId *storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) + SpaceRootInvite(ctx context.Context, driveID *storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) + ListPermissions(ctx context.Context, itemID *storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) + ListSpaceRootPermissions(ctx context.Context, driveID *storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) + DeletePermission(ctx context.Context, itemID *storageprovider.ResourceId, permissionID string) error + DeleteSpaceRootPermission(ctx context.Context, driveID *storageprovider.ResourceId, permissionID string) error + UpdatePermission(ctx context.Context, itemID *storageprovider.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) + UpdateSpaceRootPermission(ctx context.Context, driveID *storageprovider.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) + CreateLink(ctx context.Context, driveItemID *storageprovider.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) + CreateSpaceRootLink(ctx context.Context, driveID *storageprovider.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) + SetPublicLinkPassword(ctx context.Context, driveItemID *storageprovider.ResourceId, permissionID string, password string) (libregraph.Permission, error) + SetPublicLinkPasswordOnSpaceRoot(ctx context.Context, driveID *storageprovider.ResourceId, permissionID string, password string) (libregraph.Permission, error) } // DriveItemPermissionsService contains the production business logic for everything that relates to permissions on drive items. @@ -82,13 +82,13 @@ func NewDriveItemPermissionsService(logger log.Logger, gatewaySelector pool.Sele } // Invite invites a user to a drive item. -func (s DriveItemPermissionsService) Invite(ctx context.Context, resourceId storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { +func (s DriveItemPermissionsService) Invite(ctx context.Context, resourceId *storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { gatewayClient, err := s.gatewaySelector.Next() if err != nil { return libregraph.Permission{}, err } - statResponse, err := gatewayClient.Stat(ctx, &storageprovider.StatRequest{Ref: &storageprovider.Reference{ResourceId: &resourceId}}) + statResponse, err := gatewayClient.Stat(ctx, &storageprovider.StatRequest{Ref: &storageprovider.Reference{ResourceId: resourceId}}) if err := errorcode.FromStat(statResponse, err); err != nil { s.logger.Warn().Err(err).Interface("stat.res", statResponse).Msg("stat failed") return libregraph.Permission{}, err @@ -121,12 +121,12 @@ func (s DriveItemPermissionsService) Invite(ctx context.Context, resourceId stor cs3ResourcePermissions := unifiedrole.PermissionsToCS3ResourcePermissions(unifiedRolePermissions) permission := &libregraph.Permission{} - if role := unifiedrole.CS3ResourcePermissionsToUnifiedRole(*cs3ResourcePermissions, condition); role != nil { + if role := unifiedrole.CS3ResourcePermissionsToUnifiedRole(cs3ResourcePermissions, condition); role != nil { permission.Roles = []string{role.GetId()} } if len(permission.GetRoles()) == 0 { - permission.LibreGraphPermissionsActions = unifiedrole.CS3ResourcePermissionsToLibregraphActions(*cs3ResourcePermissions) + permission.LibreGraphPermissionsActions = unifiedrole.CS3ResourcePermissionsToLibregraphActions(cs3ResourcePermissions) } var shareid string @@ -284,7 +284,7 @@ func createShareRequestToFederatedUser(user libregraph.User, resourceId *storage } // SpaceRootInvite handles invitation request on project spaces -func (s DriveItemPermissionsService) SpaceRootInvite(ctx context.Context, driveID storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { +func (s DriveItemPermissionsService) SpaceRootInvite(ctx context.Context, driveID *storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { gatewayClient, err := s.gatewaySelector.Next() if err != nil { return libregraph.Permission{}, err @@ -300,18 +300,18 @@ func (s DriveItemPermissionsService) SpaceRootInvite(ctx context.Context, driveI } rootResourceID := space.GetRoot() - return s.Invite(ctx, *rootResourceID, invite) + return s.Invite(ctx, rootResourceID, invite) } // ListPermissions lists the permissions of a driveItem -func (s DriveItemPermissionsService) ListPermissions(ctx context.Context, itemID storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { +func (s DriveItemPermissionsService) ListPermissions(ctx context.Context, itemID *storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { collectionOfPermissions := libregraph.CollectionOfPermissionsWithAllowedValues{} gatewayClient, err := s.gatewaySelector.Next() if err != nil { return collectionOfPermissions, err } - statResponse, err := gatewayClient.Stat(ctx, &storageprovider.StatRequest{Ref: &storageprovider.Reference{ResourceId: &itemID}}) + statResponse, err := gatewayClient.Stat(ctx, &storageprovider.StatRequest{Ref: &storageprovider.Reference{ResourceId: itemID}}) if err := errorcode.FromStat(statResponse, err); err != nil { s.logger.Warn().Err(err).Interface("stat.res", statResponse).Msg("stat failed") return collectionOfPermissions, err @@ -322,7 +322,7 @@ func (s DriveItemPermissionsService) ListPermissions(ctx context.Context, itemID return collectionOfPermissions, err } - permissionSet := *statResponse.GetInfo().GetPermissionSet() + permissionSet := statResponse.GetInfo().GetPermissionSet() allowedActions := unifiedrole.CS3ResourcePermissionsToLibregraphActions(permissionSet) collectionOfPermissions = libregraph.CollectionOfPermissionsWithAllowedValues{ @@ -352,7 +352,7 @@ func (s DriveItemPermissionsService) ListPermissions(ctx context.Context, itemID } else { // "normal" driveItem, populate user permissions via share providers driveItems, err = s.listUserShares(ctx, []*collaboration.Filter{ - share.ResourceIDFilter(conversions.ToPointer(itemID)), + share.ResourceIDFilter(itemID), }, driveItems) if err != nil { return collectionOfPermissions, err @@ -360,7 +360,7 @@ func (s DriveItemPermissionsService) ListPermissions(ctx context.Context, itemID } // finally get public shares, which are possible for spaceroots and "normal" resources driveItems, err = s.listPublicShares(ctx, []*link.ListPublicSharesRequest_Filter{ - publicshare.ResourceIDFilter(conversions.ToPointer(itemID)), + publicshare.ResourceIDFilter(itemID), }, driveItems) if err != nil { return collectionOfPermissions, err @@ -374,7 +374,7 @@ func (s DriveItemPermissionsService) ListPermissions(ctx context.Context, itemID } // ListSpaceRootPermissions handles ListPermissions request on project spaces -func (s DriveItemPermissionsService) ListSpaceRootPermissions(ctx context.Context, driveID storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { +func (s DriveItemPermissionsService) ListSpaceRootPermissions(ctx context.Context, driveID *storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { collectionOfPermissions := libregraph.CollectionOfPermissionsWithAllowedValues{} gatewayClient, err := s.gatewaySelector.Next() if err != nil { @@ -392,11 +392,11 @@ func (s DriveItemPermissionsService) ListSpaceRootPermissions(ctx context.Contex } rootResourceID := space.GetRoot() - return s.ListPermissions(ctx, *rootResourceID) + return s.ListPermissions(ctx, rootResourceID) } // DeletePermission deletes a permission from a drive item -func (s DriveItemPermissionsService) DeletePermission(ctx context.Context, itemID storageprovider.ResourceId, permissionID string) error { +func (s DriveItemPermissionsService) DeletePermission(ctx context.Context, itemID *storageprovider.ResourceId, permissionID string) error { var permissionType permissionType sharedResourceID, err := s.getLinkPermissionResourceID(ctx, permissionID) @@ -406,9 +406,9 @@ func (s DriveItemPermissionsService) DeletePermission(ctx context.Context, itemI permissionType = Public // If the item id is referring to a space root and this is not a public share // we have to deal with space permissions - case IsSpaceRoot(&itemID): + case IsSpaceRoot(itemID): permissionType = Space - sharedResourceID = &itemID + sharedResourceID = itemID err = nil // If this is neither a public share nor a space permission, check if this is a // user share @@ -430,7 +430,7 @@ func (s DriveItemPermissionsService) DeletePermission(ctx context.Context, itemI // The resourceID of the shared resource need to match the item ID from the Request Path // otherwise this is an invalid Request. - if !utils.ResourceIDEqual(sharedResourceID, &itemID) { + if !utils.ResourceIDEqual(sharedResourceID, itemID) { s.logger.Debug().Msg("resourceID of shared does not match itemID") return errorcode.New(errorcode.InvalidRequest, "permissionID and itemID do not match") } @@ -449,7 +449,7 @@ func (s DriveItemPermissionsService) DeletePermission(ctx context.Context, itemI } // DeleteSpaceRootPermission deletes a permission on the root item of a project space -func (s DriveItemPermissionsService) DeleteSpaceRootPermission(ctx context.Context, driveID storageprovider.ResourceId, permissionID string) error { +func (s DriveItemPermissionsService) DeleteSpaceRootPermission(ctx context.Context, driveID *storageprovider.ResourceId, permissionID string) error { gatewayClient, err := s.gatewaySelector.Next() if err != nil { return err @@ -465,26 +465,26 @@ func (s DriveItemPermissionsService) DeleteSpaceRootPermission(ctx context.Conte } rootResourceID := space.GetRoot() - return s.DeletePermission(ctx, *rootResourceID, permissionID) + return s.DeletePermission(ctx, rootResourceID, permissionID) } // UpdatePermission updates a permission on a drive item -func (s DriveItemPermissionsService) UpdatePermission(ctx context.Context, itemID storageprovider.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) { - oldPermission, sharedResourceID, err := s.getPermissionByID(ctx, permissionID, &itemID) +func (s DriveItemPermissionsService) UpdatePermission(ctx context.Context, itemID *storageprovider.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) { + oldPermission, sharedResourceID, err := s.getPermissionByID(ctx, permissionID, itemID) if err != nil { return libregraph.Permission{}, err } // The resourceID of the shared resource need to match the item ID from the Request Path // otherwise this is an invalid Request. - if !utils.ResourceIDEqual(sharedResourceID, &itemID) { + if !utils.ResourceIDEqual(sharedResourceID, itemID) { s.logger.Debug().Msg("resourceID of shared does not match itemID") return libregraph.Permission{}, errorcode.New(errorcode.InvalidRequest, "permissionID and itemID do not match") } // This is a public link if _, ok := oldPermission.GetLinkOk(); ok { - updatedPermission, err := s.updatePublicLinkPermission(ctx, permissionID, &itemID, &newPermission) + updatedPermission, err := s.updatePublicLinkPermission(ctx, permissionID, itemID, &newPermission) if err != nil { return libregraph.Permission{}, err } @@ -500,7 +500,7 @@ func (s DriveItemPermissionsService) UpdatePermission(ctx context.Context, itemI } // UpdateSpaceRootPermission updates a permission on the root item of a project space -func (s DriveItemPermissionsService) UpdateSpaceRootPermission(ctx context.Context, driveID storageprovider.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) { +func (s DriveItemPermissionsService) UpdateSpaceRootPermission(ctx context.Context, driveID *storageprovider.ResourceId, permissionID string, newPermission libregraph.Permission) (libregraph.Permission, error) { gatewayClient, err := s.gatewaySelector.Next() if err != nil { return libregraph.Permission{}, err @@ -516,7 +516,7 @@ func (s DriveItemPermissionsService) UpdateSpaceRootPermission(ctx context.Conte } rootResourceID := space.GetRoot() - return s.UpdatePermission(ctx, *rootResourceID, permissionID, newPermission) + return s.UpdatePermission(ctx, rootResourceID, permissionID, newPermission) } // DriveItemPermissionsService is the api that registers the http endpoints which expose needed operation to the graph api. @@ -557,7 +557,7 @@ func (api DriveItemPermissionsApi) Invite(w http.ResponseWriter, r *http.Request errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, err.Error()) return } - permission, err := api.driveItemPermissionsService.Invite(ctx, itemID, *driveItemInvite) + permission, err := api.driveItemPermissionsService.Invite(ctx, &itemID, *driveItemInvite) if err != nil { errorcode.RenderError(w, r, err) @@ -590,7 +590,7 @@ func (api DriveItemPermissionsApi) SpaceRootInvite(w http.ResponseWriter, r *htt errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, err.Error()) return } - permission, err := api.driveItemPermissionsService.SpaceRootInvite(ctx, driveID, *driveItemInvite) + permission, err := api.driveItemPermissionsService.SpaceRootInvite(ctx, &driveID, *driveItemInvite) if err != nil { errorcode.RenderError(w, r, err) @@ -612,7 +612,7 @@ func (api DriveItemPermissionsApi) ListPermissions(w http.ResponseWriter, r *htt ctx := r.Context() - permissions, err := api.driveItemPermissionsService.ListPermissions(ctx, itemID) + permissions, err := api.driveItemPermissionsService.ListPermissions(ctx, &itemID) if err != nil { errorcode.RenderError(w, r, err) return @@ -632,7 +632,7 @@ func (api DriveItemPermissionsApi) ListSpaceRootPermissions(w http.ResponseWrite } ctx := r.Context() - permissions, err := api.driveItemPermissionsService.ListSpaceRootPermissions(ctx, driveID) + permissions, err := api.driveItemPermissionsService.ListSpaceRootPermissions(ctx, &driveID) if err != nil { errorcode.RenderError(w, r, err) @@ -660,7 +660,7 @@ func (api DriveItemPermissionsApi) DeletePermission(w http.ResponseWriter, r *ht } ctx := r.Context() - err = api.driveItemPermissionsService.DeletePermission(ctx, itemID, permissionID) + err = api.driveItemPermissionsService.DeletePermission(ctx, &itemID, permissionID) if err != nil { errorcode.RenderError(w, r, err) return @@ -687,7 +687,7 @@ func (api DriveItemPermissionsApi) DeleteSpaceRootPermission(w http.ResponseWrit } ctx := r.Context() - err = api.driveItemPermissionsService.DeleteSpaceRootPermission(ctx, driveID, permissionID) + err = api.driveItemPermissionsService.DeleteSpaceRootPermission(ctx, &driveID, permissionID) if err != nil { errorcode.RenderError(w, r, err) return @@ -727,7 +727,7 @@ func (api DriveItemPermissionsApi) UpdatePermission(w http.ResponseWriter, r *ht return } - updatedPermission, err := api.driveItemPermissionsService.UpdatePermission(ctx, itemID, permissionID, permission) + updatedPermission, err := api.driveItemPermissionsService.UpdatePermission(ctx, &itemID, permissionID, permission) if err != nil { errorcode.RenderError(w, r, err) return @@ -766,7 +766,7 @@ func (api DriveItemPermissionsApi) UpdateSpaceRootPermission(w http.ResponseWrit return } - updatedPermission, err := api.driveItemPermissionsService.UpdateSpaceRootPermission(ctx, driveID, permissionID, permission) + updatedPermission, err := api.driveItemPermissionsService.UpdateSpaceRootPermission(ctx, &driveID, permissionID, permission) if err != nil { errorcode.RenderError(w, r, err) return diff --git a/services/graph/pkg/service/v0/api_driveitem_permissions_links.go b/services/graph/pkg/service/v0/api_driveitem_permissions_links.go index a69a581ec1f..86675f83ee0 100644 --- a/services/graph/pkg/service/v0/api_driveitem_permissions_links.go +++ b/services/graph/pkg/service/v0/api_driveitem_permissions_links.go @@ -20,7 +20,7 @@ import ( "github.com/owncloud/ocis/v2/services/graph/pkg/linktype" ) -func (s DriveItemPermissionsService) CreateLink(ctx context.Context, driveItemID storageprovider.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) { +func (s DriveItemPermissionsService) CreateLink(ctx context.Context, driveItemID *storageprovider.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) { gatewayClient, err := s.gatewaySelector.Next() if err != nil { s.logger.Error().Err(err).Msg("could not select next gateway client") @@ -31,7 +31,7 @@ func (s DriveItemPermissionsService) CreateLink(ctx context.Context, driveItemID ctx, &storageprovider.StatRequest{ Ref: &storageprovider.Reference{ - ResourceId: &driveItemID, + ResourceId: driveItemID, Path: ".", }, }) @@ -93,7 +93,7 @@ func (s DriveItemPermissionsService) CreateLink(ctx context.Context, driveItemID return *perm, nil } -func (s DriveItemPermissionsService) CreateSpaceRootLink(ctx context.Context, driveID storageprovider.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) { +func (s DriveItemPermissionsService) CreateSpaceRootLink(ctx context.Context, driveID *storageprovider.ResourceId, createLink libregraph.DriveItemCreateLink) (libregraph.Permission, error) { gatewayClient, err := s.gatewaySelector.Next() if err != nil { return libregraph.Permission{}, err @@ -108,10 +108,10 @@ func (s DriveItemPermissionsService) CreateSpaceRootLink(ctx context.Context, dr } rootResourceID := space.GetRoot() - return s.CreateLink(ctx, *rootResourceID, createLink) + return s.CreateLink(ctx, rootResourceID, createLink) } -func (s DriveItemPermissionsService) SetPublicLinkPassword(ctx context.Context, driveItemId storageprovider.ResourceId, permissionID string, password string) (libregraph.Permission, error) { +func (s DriveItemPermissionsService) SetPublicLinkPassword(ctx context.Context, driveItemId *storageprovider.ResourceId, permissionID string, password string) (libregraph.Permission, error) { publicShare, err := s.getCS3PublicShareByID(ctx, permissionID) if err != nil { return libregraph.Permission{}, err @@ -119,7 +119,7 @@ func (s DriveItemPermissionsService) SetPublicLinkPassword(ctx context.Context, // The resourceID of the shared resource need to match the item ID from the Request Path // otherwise this is an invalid Request. - if !utils.ResourceIDEqual(publicShare.GetResourceId(), &driveItemId) { + if !utils.ResourceIDEqual(publicShare.GetResourceId(), driveItemId) { s.logger.Debug().Msg("resourceID of shared does not match itemID") return libregraph.Permission{}, errorcode.New(errorcode.InvalidRequest, "permissionID and itemID do not match") } @@ -131,7 +131,7 @@ func (s DriveItemPermissionsService) SetPublicLinkPassword(ctx context.Context, return *permission, nil } -func (s DriveItemPermissionsService) SetPublicLinkPasswordOnSpaceRoot(ctx context.Context, driveID storageprovider.ResourceId, permissionID string, password string) (libregraph.Permission, error) { +func (s DriveItemPermissionsService) SetPublicLinkPasswordOnSpaceRoot(ctx context.Context, driveID *storageprovider.ResourceId, permissionID string, password string) (libregraph.Permission, error) { gatewayClient, err := s.gatewaySelector.Next() if err != nil { return libregraph.Permission{}, err @@ -145,7 +145,7 @@ func (s DriveItemPermissionsService) SetPublicLinkPasswordOnSpaceRoot(ctx contex return libregraph.Permission{}, errorcode.New(errorcode.InvalidRequest, "unsupported space type") } rootResourceID := space.GetRoot() - return s.SetPublicLinkPassword(ctx, *rootResourceID, permissionID, password) + return s.SetPublicLinkPassword(ctx, rootResourceID, permissionID, password) } // CreateLink creates a public link on the cs3 api @@ -166,7 +166,7 @@ func (api DriveItemPermissionsApi) CreateLink(w http.ResponseWriter, r *http.Req return } - perm, err := api.driveItemPermissionsService.CreateLink(r.Context(), driveItemID, createLink) + perm, err := api.driveItemPermissionsService.CreateLink(r.Context(), &driveItemID, createLink) if err != nil { errorcode.RenderError(w, r, err) return @@ -195,7 +195,7 @@ func (api DriveItemPermissionsApi) CreateSpaceRootLink(w http.ResponseWriter, r return } - perm, err := api.driveItemPermissionsService.CreateSpaceRootLink(r.Context(), driveID, createLink) + perm, err := api.driveItemPermissionsService.CreateSpaceRootLink(r.Context(), &driveID, createLink) if err != nil { errorcode.RenderError(w, r, err) return @@ -228,7 +228,7 @@ func (api DriveItemPermissionsApi) SetLinkPassword(w http.ResponseWriter, r *htt return } - newPermission, err := api.driveItemPermissionsService.SetPublicLinkPassword(ctx, itemID, permissionID, password.GetPassword()) + newPermission, err := api.driveItemPermissionsService.SetPublicLinkPassword(ctx, &itemID, permissionID, password.GetPassword()) if err != nil { errorcode.RenderError(w, r, err) return @@ -262,7 +262,7 @@ func (api DriveItemPermissionsApi) SetSpaceRootLinkPassword(w http.ResponseWrite } ctx := r.Context() - newPermission, err := api.driveItemPermissionsService.SetPublicLinkPasswordOnSpaceRoot(ctx, driveID, permissionID, password.GetPassword()) + newPermission, err := api.driveItemPermissionsService.SetPublicLinkPasswordOnSpaceRoot(ctx, &driveID, permissionID, password.GetPassword()) if err != nil { errorcode.RenderError(w, r, err) return diff --git a/services/graph/pkg/service/v0/api_driveitem_permissions_links_test.go b/services/graph/pkg/service/v0/api_driveitem_permissions_links_test.go index df913a782ef..f9e5e420d6d 100644 --- a/services/graph/pkg/service/v0/api_driveitem_permissions_links_test.go +++ b/services/graph/pkg/service/v0/api_driveitem_permissions_links_test.go @@ -29,7 +29,7 @@ import ( var _ = Describe("createLinkTests", func() { var ( svc service.DriveItemPermissionsService - driveItemId provider.ResourceId + driveItemId *provider.ResourceId ctx context.Context gatewayClient *cs3mocks.GatewayAPIClient gatewaySelector *mocks.Selectable[gateway.GatewayAPIClient] @@ -56,7 +56,7 @@ var _ = Describe("createLinkTests", func() { cfg := defaults.FullDefaultConfig() svc, err = service.NewDriveItemPermissionsService(logger, gatewaySelector, cache, cfg) Expect(err).ToNot(HaveOccurred()) - driveItemId = provider.ResourceId{ + driveItemId = &provider.ResourceId{ StorageId: "1", SpaceId: "2", OpaqueId: "3", @@ -225,7 +225,7 @@ var _ = Describe("createLinkTests", func() { Id: &link.PublicShareId{ OpaqueId: "permissionid", }, - ResourceId: &driveItemId, + ResourceId: driveItemId, Permissions: &link.PublicSharePermissions{ Permissions: linktype.NewViewLinkPermissionSet().GetPermissions(), }, diff --git a/services/graph/pkg/service/v0/api_driveitem_permissions_test.go b/services/graph/pkg/service/v0/api_driveitem_permissions_test.go index 3d9dd889faa..3af2d99151c 100644 --- a/services/graph/pkg/service/v0/api_driveitem_permissions_test.go +++ b/services/graph/pkg/service/v0/api_driveitem_permissions_test.go @@ -56,7 +56,7 @@ var _ = Describe("DriveItemPermissionsService", func() { }, } statResponse *provider.StatResponse - driveItemId provider.ResourceId + driveItemId *provider.ResourceId ctx context.Context ) @@ -88,7 +88,7 @@ var _ = Describe("DriveItemPermissionsService", func() { Status: status.NewOK(ctx), } - driveItemId = provider.ResourceId{ + driveItemId = &provider.ResourceId{ StorageId: "1", SpaceId: "2", OpaqueId: "3", @@ -106,7 +106,7 @@ var _ = Describe("DriveItemPermissionsService", func() { BeforeEach(func() { gatewayClient.On("Stat", mock.Anything, mock.Anything).Return(statResponse, nil) statResponse.Info = &provider.ResourceInfo{ - Id: &driveItemId, + Id: driveItemId, Type: provider.ResourceType_RESOURCE_TYPE_FILE, } @@ -258,12 +258,12 @@ var _ = Describe("DriveItemPermissionsService", func() { var ( createShareResponse *collaboration.CreateShareResponse driveItemInvite libregraph.DriveItemInvite - driveId provider.ResourceId + driveId *provider.ResourceId getUserResponse *userpb.GetUserResponse ) BeforeEach(func() { - driveId = provider.ResourceId{ + driveId = &provider.ResourceId{ StorageId: "1", SpaceId: "2", } @@ -344,11 +344,11 @@ var _ = Describe("DriveItemPermissionsService", func() { }) Describe("ListPermissions", func() { var ( - itemID provider.ResourceId + itemID *provider.ResourceId listSharesResponse *collaboration.ListSharesResponse ) BeforeEach(func() { - itemID = provider.ResourceId{ + itemID = &provider.ResourceId{ StorageId: "1", SpaceId: "2", OpaqueId: "3", @@ -358,7 +358,7 @@ var _ = Describe("DriveItemPermissionsService", func() { Shares: []*collaboration.Share{}, } statResponse.Info = &provider.ResourceInfo{ - Id: &itemID, + Id: itemID, Type: provider.ResourceType_RESOURCE_TYPE_FILE, PermissionSet: roleconversions.NewViewerRole().CS3ResourcePermissions(), } @@ -423,11 +423,11 @@ var _ = Describe("DriveItemPermissionsService", func() { }) Describe("ListSpaceRootPermissions", func() { var ( - driveId provider.ResourceId + driveId *provider.ResourceId ) BeforeEach(func() { - driveId = provider.ResourceId{ + driveId = &provider.ResourceId{ StorageId: "1", SpaceId: "2", } @@ -489,7 +489,7 @@ var _ = Describe("DriveItemPermissionsService", func() { gatewayClient.On("GetPublicShare", mock.Anything, mock.Anything).Return(&getPublicShareResponse, nil) err := driveItemPermissionsService.DeletePermission(context.Background(), - *getShareResponse.Share.ResourceId, + getShareResponse.Share.ResourceId, "permissionid", ) Expect(err).To(MatchError(errorcode.New(errorcode.ItemNotFound, "failed to resolve resource id for shared resource"))) @@ -515,7 +515,7 @@ var _ = Describe("DriveItemPermissionsService", func() { ).Return(rmShareMockResponse, nil) err := driveItemPermissionsService.DeletePermission(context.Background(), - *getShareResponse.Share.ResourceId, + getShareResponse.Share.ResourceId, "permissionid", ) Expect(err).ToNot(HaveOccurred()) @@ -545,7 +545,7 @@ var _ = Describe("DriveItemPermissionsService", func() { ) err := driveItemPermissionsService.DeletePermission(context.Background(), - *getShareResponse.Share.ResourceId, + getShareResponse.Share.ResourceId, "linkpermissionid", ) Expect(err).ToNot(HaveOccurred()) @@ -564,7 +564,7 @@ var _ = Describe("DriveItemPermissionsService", func() { }) err := driveItemPermissionsService.DeletePermission(context.Background(), - provider.ResourceId{ + &provider.ResourceId{ StorageId: "1", SpaceId: "2", OpaqueId: "2", @@ -597,7 +597,7 @@ var _ = Describe("DriveItemPermissionsService", func() { ctx = context.WithValue(context.Background(), chi.RouteCtxKey, rctx) err := driveItemPermissionsService.DeletePermission(context.Background(), - provider.ResourceId{ + &provider.ResourceId{ StorageId: "1", SpaceId: "2", OpaqueId: "3", @@ -625,7 +625,7 @@ var _ = Describe("DriveItemPermissionsService", func() { Id: &collaboration.ShareId{ OpaqueId: "permissionid", }, - ResourceId: &driveItemId, + ResourceId: driveItemId, Grantee: &provider.Grantee{ Type: provider.GranteeType_GRANTEE_TYPE_USER, Id: &provider.Grantee_UserId{ @@ -659,7 +659,7 @@ var _ = Describe("DriveItemPermissionsService", func() { Id: &link.PublicShareId{ OpaqueId: "permissionid", }, - ResourceId: &driveItemId, + ResourceId: driveItemId, Permissions: &link.PublicSharePermissions{ Permissions: linktype.NewViewLinkPermissionSet().GetPermissions(), }, @@ -669,7 +669,7 @@ var _ = Describe("DriveItemPermissionsService", func() { statResponse = &provider.StatResponse{ Status: status.NewOK(ctx), Info: &provider.ResourceInfo{ - Id: &driveItemId, + Id: driveItemId, Type: provider.ResourceType_RESOURCE_TYPE_CONTAINER, }, } @@ -739,7 +739,7 @@ var _ = Describe("DriveItemPermissionsService", func() { })).Return(getPublicShareMockResponse, nil) gatewayClient.On("Stat", mock.Anything, mock.MatchedBy(func(req *provider.StatRequest) bool { - return utils.ResourceIDEqual(req.GetRef().GetResourceId(), &driveItemId) && req.GetRef().GetPath() == "." + return utils.ResourceIDEqual(req.GetRef().GetResourceId(), driveItemId) && req.GetRef().GetPath() == "." })).Return(statResponse, nil) gatewayClient.On("UpdatePublicShare", @@ -851,7 +851,7 @@ var _ = Describe("DriveItemPermissionsService", func() { gatewayClient.On("GetUser", mock.Anything, mock.Anything).Return(getUserResponse, nil) driveItemPermission.SetRoles([]string{unifiedrole.NewFileEditorUnifiedRole().GetId()}) - spaceId := provider.ResourceId{ + spaceId := &provider.ResourceId{ StorageId: "1", SpaceId: "2", OpaqueId: "2", @@ -1072,7 +1072,7 @@ var _ = Describe("DriveItemPermissionsApi", func() { onInvite := mockProvider.On("Invite", mock.Anything, mock.Anything, mock.Anything) - onInvite.Return(func(ctx context.Context, resourceID storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { + onInvite.Return(func(ctx context.Context, resourceID *storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { return libregraph.Permission{}, errors.New("any") }).Once() @@ -1088,7 +1088,7 @@ var _ = Describe("DriveItemPermissionsApi", func() { Expect(err).ToNot(HaveOccurred()) onInvite := mockProvider.On("Invite", mock.Anything, mock.Anything, mock.Anything) - onInvite.Return(func(ctx context.Context, resourceID storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { + onInvite.Return(func(ctx context.Context, resourceID *storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { Expect(storagespace.FormatResourceID(resourceID)).To(Equal("1$2!3")) return libregraph.Permission{}, nil }).Once() @@ -1109,7 +1109,7 @@ var _ = Describe("DriveItemPermissionsApi", func() { Expect(err).ToNot(HaveOccurred()) onInvite := mockProvider.On("SpaceRootInvite", mock.Anything, mock.Anything, mock.Anything) - onInvite.Return(func(ctx context.Context, driveID storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { + onInvite.Return(func(ctx context.Context, driveID *storageprovider.ResourceId, invite libregraph.DriveItemInvite) (libregraph.Permission, error) { Expect(storagespace.FormatResourceID(driveID)).To(Equal("1$2")) return libregraph.Permission{}, nil }).Once() @@ -1145,7 +1145,7 @@ var _ = Describe("DriveItemPermissionsApi", func() { Expect(err).ToNot(HaveOccurred()) mockProvider.On("ListPermissions", mock.Anything, mock.Anything, mock.Anything). - Return(func(ctx context.Context, itemid storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { + Return(func(ctx context.Context, itemid *storageprovider.ResourceId) (libregraph.CollectionOfPermissionsWithAllowedValues, error) { Expect(storagespace.FormatResourceID(itemid)).To(Equal("1$2!3")) return libregraph.CollectionOfPermissionsWithAllowedValues{}, nil }).Once() diff --git a/services/graph/pkg/service/v0/application_test.go b/services/graph/pkg/service/v0/application_test.go index d46f10900aa..38dc96dd3c3 100644 --- a/services/graph/pkg/service/v0/application_test.go +++ b/services/graph/pkg/service/v0/application_test.go @@ -55,7 +55,7 @@ var _ = Describe("Applications", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/approleassignments_test.go b/services/graph/pkg/service/v0/approleassignments_test.go index c262d6f85c1..e27a5b84b6d 100644 --- a/services/graph/pkg/service/v0/approleassignments_test.go +++ b/services/graph/pkg/service/v0/approleassignments_test.go @@ -65,7 +65,7 @@ var _ = Describe("AppRoleAssignments", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/base.go b/services/graph/pkg/service/v0/base.go index 5a1cec83440..8e157217aa6 100644 --- a/services/graph/pkg/service/v0/base.go +++ b/services/graph/pkg/service/v0/base.go @@ -62,18 +62,18 @@ func (g BaseGraphService) getSpaceRootPermissions(ctx context.Context, spaceID * return g.cs3SpacePermissionsToLibreGraph(ctx, space, APIVersion_1_Beta_1), nil } -func (g BaseGraphService) getDriveItem(ctx context.Context, ref storageprovider.Reference) (*libregraph.DriveItem, error) { +func (g BaseGraphService) getDriveItem(ctx context.Context, ref *storageprovider.Reference) (*libregraph.DriveItem, error) { gatewayClient, err := g.gatewaySelector.Next() if err != nil { return nil, err } - res, err := gatewayClient.Stat(ctx, &storageprovider.StatRequest{Ref: &ref}) + res, err := gatewayClient.Stat(ctx, &storageprovider.StatRequest{Ref: ref}) if err != nil { return nil, err } if res.GetStatus().GetCode() != rpc.Code_CODE_OK { - refStr, _ := storagespace.FormatReference(&ref) + refStr, _ := storagespace.FormatReference(ref) return nil, fmt.Errorf("could not stat %s: %s", refStr, res.GetStatus().GetMessage()) } return cs3ResourceToDriveItem(g.logger, res.GetInfo()) @@ -191,7 +191,7 @@ func (g BaseGraphService) cs3SpacePermissionsToLibreGraph(ctx context.Context, s p.SetExpirationDateTime(time.Unix(int64(exp.GetSeconds()), int64(exp.GetNanos()))) } - if role := unifiedrole.CS3ResourcePermissionsToUnifiedRole(*perm, unifiedrole.UnifiedRoleConditionDrive); role != nil { + if role := unifiedrole.CS3ResourcePermissionsToUnifiedRole(perm, unifiedrole.UnifiedRoleConditionDrive); role != nil { switch apiVersion { case APIVersion_1: if r := unifiedrole.GetLegacyName(*role); r != "" { @@ -308,10 +308,10 @@ func (g BaseGraphService) listPublicShares(ctx context.Context, filters []*link. func (g BaseGraphService) cs3UserSharesToDriveItems(ctx context.Context, shares []*collaboration.Share, driveItems driveItemsByResourceID) (driveItemsByResourceID, error) { for _, s := range shares { g.logger.Debug().Interface("CS3 UserShare", s).Msg("Got Share") - resIDStr := storagespace.FormatResourceID(*s.ResourceId) + resIDStr := storagespace.FormatResourceID(s.ResourceId) item, ok := driveItems[resIDStr] if !ok { - itemptr, err := g.getDriveItem(ctx, storageprovider.Reference{ResourceId: s.ResourceId}) + itemptr, err := g.getDriveItem(ctx, &storageprovider.Reference{ResourceId: s.ResourceId}) if err != nil { g.logger.Debug().Err(err).Interface("Share", s.ResourceId).Msg("could not stat share, skipping") continue @@ -393,13 +393,13 @@ func (g BaseGraphService) cs3UserShareToPermission(ctx context.Context, share *c perm.SetCreatedDateTime(cs3TimestampToTime(share.GetCtime())) } role := unifiedrole.CS3ResourcePermissionsToUnifiedRole( - *share.GetPermissions().GetPermissions(), + share.GetPermissions().GetPermissions(), roleCondition, ) if role != nil { perm.SetRoles([]string{role.GetId()}) } else { - actions := unifiedrole.CS3ResourcePermissionsToLibregraphActions(*share.GetPermissions().GetPermissions()) + actions := unifiedrole.CS3ResourcePermissionsToLibregraphActions(share.GetPermissions().GetPermissions()) perm.SetLibreGraphPermissionsActions(actions) perm.SetRoles(nil) } @@ -410,10 +410,10 @@ func (g BaseGraphService) cs3UserShareToPermission(ctx context.Context, share *c func (g BaseGraphService) cs3PublicSharesToDriveItems(ctx context.Context, shares []*link.PublicShare, driveItems driveItemsByResourceID) (driveItemsByResourceID, error) { for _, s := range shares { g.logger.Debug().Interface("CS3 PublicShare", s).Msg("Got Share") - resIDStr := storagespace.FormatResourceID(*s.ResourceId) + resIDStr := storagespace.FormatResourceID(s.ResourceId) item, ok := driveItems[resIDStr] if !ok { - itemptr, err := g.getDriveItem(ctx, storageprovider.Reference{ResourceId: s.ResourceId}) + itemptr, err := g.getDriveItem(ctx, &storageprovider.Reference{ResourceId: s.ResourceId}) if err != nil { g.logger.Debug().Err(err).Interface("Share", s.ResourceId).Msg("could not stat share, skipping") continue diff --git a/services/graph/pkg/service/v0/driveitems.go b/services/graph/pkg/service/v0/driveitems.go index 16235ce7e5d..1fcda72e4eb 100644 --- a/services/graph/pkg/service/v0/driveitems.go +++ b/services/graph/pkg/service/v0/driveitems.go @@ -409,7 +409,7 @@ func (g Graph) getRemoteItem(ctx context.Context, root *storageprovider.Resource if res.GetInfo().GetSpace().GetRoot() != nil { webDavURL := *baseURL relativePath := res.GetInfo().GetPath() - webDavURL.Path = path.Join(webDavURL.Path, storagespace.FormatResourceID(*res.GetInfo().GetSpace().GetRoot()), relativePath) + webDavURL.Path = path.Join(webDavURL.Path, storagespace.FormatResourceID(res.GetInfo().GetSpace().GetRoot()), relativePath) item.WebDavUrl = libregraph.PtrString(webDavURL.String()) } } @@ -438,7 +438,7 @@ func cs3ResourceToDriveItem(logger *log.Logger, res *storageprovider.ResourceInf *size = int64(res.GetSize()) // TODO lurking overflow: make size of libregraph drive item use uint64 driveItem := &libregraph.DriveItem{ - Id: libregraph.PtrString(storagespace.FormatResourceID(*res.GetId())), + Id: libregraph.PtrString(storagespace.FormatResourceID(res.GetId())), Size: size, } @@ -456,7 +456,7 @@ func cs3ResourceToDriveItem(logger *log.Logger, res *storageprovider.ResourceInf parentRef := libregraph.NewItemReference() parentRef.SetDriveType(res.GetSpace().GetSpaceType()) parentRef.SetDriveId(storagespace.FormatStorageID(res.GetParentId().GetStorageId(), res.GetParentId().GetSpaceId())) - parentRef.SetId(storagespace.FormatResourceID(*res.GetParentId())) + parentRef.SetId(storagespace.FormatResourceID(res.GetParentId())) parentRef.SetName(path.Base(path.Dir(res.GetPath()))) parentRef.SetPath(path.Dir(res.GetPath())) driveItem.ParentReference = parentRef @@ -602,7 +602,7 @@ func cs3ResourceToRemoteItem(res *storageprovider.ResourceInfo) (*libregraph.Rem *size = int64(res.GetSize()) // TODO lurking overflow: make size of libregraph drive item use uint64 remoteItem := &libregraph.RemoteItem{ - Id: libregraph.PtrString(storagespace.FormatResourceID(*res.GetId())), + Id: libregraph.PtrString(storagespace.FormatResourceID(res.GetId())), Size: size, } @@ -626,7 +626,7 @@ func cs3ResourceToRemoteItem(res *storageprovider.ResourceInfo) (*libregraph.Rem remoteItem.Folder = &libregraph.Folder{} } if res.GetSpace() != nil && res.GetSpace().GetRoot() != nil { - remoteItem.RootId = libregraph.PtrString(storagespace.FormatResourceID(*res.GetSpace().GetRoot())) + remoteItem.RootId = libregraph.PtrString(storagespace.FormatResourceID(res.GetSpace().GetRoot())) grantSpaceAlias := utils.ReadPlainFromOpaque(res.GetSpace().GetOpaque(), "spaceAlias") if grantSpaceAlias != "" { remoteItem.DriveAlias = libregraph.PtrString(grantSpaceAlias) @@ -692,12 +692,12 @@ func (g Graph) getSpecialDriveItems(ctx context.Context, baseURL *url.URL, space } func (g Graph) fetchSpecialDriveItem(ctx context.Context, spaceItems []libregraph.DriveItem, itemName string, itemNode string, space *storageprovider.StorageSpace, baseURL *url.URL) []libregraph.DriveItem { - var ref storageprovider.Reference + var ref *storageprovider.Reference if itemNode != "" { rid, _ := storagespace.ParseID(itemNode) rid.StorageId = space.GetRoot().GetStorageId() - ref = storageprovider.Reference{ + ref = &storageprovider.Reference{ ResourceId: &rid, } spaceItem := g.getSpecialDriveItem(ctx, ref, itemName, baseURL, space) @@ -730,7 +730,7 @@ type specialDriveItemEntry struct { rootMtime *types.Timestamp } -func (g Graph) getSpecialDriveItem(ctx context.Context, ref storageprovider.Reference, itemName string, baseURL *url.URL, space *storageprovider.StorageSpace) *libregraph.DriveItem { +func (g Graph) getSpecialDriveItem(ctx context.Context, ref *storageprovider.Reference, itemName string, baseURL *url.URL, space *storageprovider.StorageSpace) *libregraph.DriveItem { var spaceItem *libregraph.DriveItem if ref.GetResourceId().GetSpaceId() == "" && ref.GetResourceId().GetOpaqueId() == "" { return nil diff --git a/services/graph/pkg/service/v0/driveitems_test.go b/services/graph/pkg/service/v0/driveitems_test.go index 0324ff34f85..36579c68373 100644 --- a/services/graph/pkg/service/v0/driveitems_test.go +++ b/services/graph/pkg/service/v0/driveitems_test.go @@ -66,7 +66,7 @@ var _ = Describe("Driveitems", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/drives.go b/services/graph/pkg/service/v0/drives.go index 28b12ef5679..c494612484c 100644 --- a/services/graph/pkg/service/v0/drives.go +++ b/services/graph/pkg/service/v0/drives.go @@ -23,6 +23,7 @@ import ( "github.com/pkg/errors" merrors "go-micro.dev/v4/errors" "golang.org/x/sync/errgroup" + "google.golang.org/protobuf/proto" revactx "github.com/cs3org/reva/v2/pkg/ctx" "github.com/cs3org/reva/v2/pkg/storagespace" @@ -259,7 +260,7 @@ func (g Graph) GetSingleDrive(w http.ResponseWriter, r *http.Request) { log.Debug().Msg("calling list storage spaces with id filter") filters := []*storageprovider.ListStorageSpacesRequest_Filter{ - listStorageSpacesIDFilter(storagespace.FormatResourceID(rid)), + listStorageSpacesIDFilter(storagespace.FormatResourceID(&rid)), } res, err := g.ListStorageSpacesWithFilters(ctx, filters, true) switch { @@ -492,7 +493,7 @@ func (g Graph) UpdateDrive(w http.ResponseWriter, r *http.Request) { // the original storage space. StorageSpace: &storageprovider.StorageSpace{ Id: &storageprovider.StorageSpaceId{ - OpaqueId: storagespace.FormatResourceID(rid), + OpaqueId: storagespace.FormatResourceID(&rid), }, Root: root, }, @@ -743,7 +744,7 @@ func (g Graph) cs3StorageSpaceToDrive(ctx context.Context, baseURL *url.URL, spa logger.Error().Msg("unable to parse space: space has no root") return nil, errors.New("space has no root") } - spaceRid := *space.Root + spaceRid := proto.Clone(space.Root).(*storageprovider.ResourceId) if space.Root.GetSpaceId() == space.Root.GetOpaqueId() { spaceRid.OpaqueId = "" } @@ -1047,11 +1048,11 @@ func (g Graph) DeleteDrive(w http.ResponseWriter, r *http.Request) { dRes, err := gatewayClient.DeleteStorageSpace(r.Context(), &storageprovider.DeleteStorageSpaceRequest{ Opaque: opaque, Id: &storageprovider.StorageSpaceId{ - OpaqueId: storagespace.FormatResourceID(rid), + OpaqueId: storagespace.FormatResourceID(&rid), }, }) if err != nil { - logger.Error().Err(err).Interface("id", rid).Msg("could not delete drive: transport error") + logger.Error().Err(err).Str("id", rid.String()).Msg("could not delete drive: transport error") errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "transport error") return } diff --git a/services/graph/pkg/service/v0/educationclasses_test.go b/services/graph/pkg/service/v0/educationclasses_test.go index a140bad02e3..732db58d6d2 100644 --- a/services/graph/pkg/service/v0/educationclasses_test.go +++ b/services/graph/pkg/service/v0/educationclasses_test.go @@ -58,7 +58,7 @@ var _ = Describe("EducationClass", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/educationschools_test.go b/services/graph/pkg/service/v0/educationschools_test.go index 6f49ab09637..d8885462c5b 100644 --- a/services/graph/pkg/service/v0/educationschools_test.go +++ b/services/graph/pkg/service/v0/educationschools_test.go @@ -59,7 +59,7 @@ var _ = Describe("Schools", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/educationuser_test.go b/services/graph/pkg/service/v0/educationuser_test.go index 5158c088d23..640f94e055e 100644 --- a/services/graph/pkg/service/v0/educationuser_test.go +++ b/services/graph/pkg/service/v0/educationuser_test.go @@ -63,7 +63,7 @@ var _ = Describe("EducationUsers", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/graph_test.go b/services/graph/pkg/service/v0/graph_test.go index fc8ec5eb46e..f191ecfabb6 100644 --- a/services/graph/pkg/service/v0/graph_test.go +++ b/services/graph/pkg/service/v0/graph_test.go @@ -73,7 +73,7 @@ var _ = Describe("Graph", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/groups_test.go b/services/graph/pkg/service/v0/groups_test.go index 1ce23af4446..41ebcdf7a21 100644 --- a/services/graph/pkg/service/v0/groups_test.go +++ b/services/graph/pkg/service/v0/groups_test.go @@ -64,7 +64,7 @@ var _ = Describe("Groups", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/password_test.go b/services/graph/pkg/service/v0/password_test.go index e25bfea3ad3..6447de5a19a 100644 --- a/services/graph/pkg/service/v0/password_test.go +++ b/services/graph/pkg/service/v0/password_test.go @@ -56,7 +56,7 @@ var _ = Describe("Users changing their own password", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/sharedbyme_test.go b/services/graph/pkg/service/v0/sharedbyme_test.go index e87ef7094b7..aa342962943 100644 --- a/services/graph/pkg/service/v0/sharedbyme_test.go +++ b/services/graph/pkg/service/v0/sharedbyme_test.go @@ -229,7 +229,7 @@ var _ = Describe("sharedbyme", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) @@ -336,7 +336,7 @@ var _ = Describe("sharedbyme", func() { Expect(len(res.Value)).To(Equal(1)) di := res.Value[0] - Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(*userShare.GetResourceId()))) + Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(userShare.GetResourceId()))) perm := di.GetPermissions() Expect(perm[0].GetId()).To(Equal(userShare.GetId().GetOpaqueId())) @@ -380,7 +380,7 @@ var _ = Describe("sharedbyme", func() { Expect(len(res.Value)).To(Equal(1)) di := res.Value[0] - Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(*groupShare.GetResourceId()))) + Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(groupShare.GetResourceId()))) perm := di.GetPermissions() Expect(perm[0].GetId()).To(Equal(userShare.GetId().GetOpaqueId())) @@ -425,7 +425,7 @@ var _ = Describe("sharedbyme", func() { Expect(len(res.Value)).To(Equal(1)) di := res.Value[0] - Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(*groupShare.GetResourceId()))) + Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(groupShare.GetResourceId()))) // one permission per share Expect(len(di.GetPermissions())).To(Equal(2)) @@ -456,7 +456,7 @@ var _ = Describe("sharedbyme", func() { Expect(len(res.Value)).To(Equal(1)) di := res.Value[0] - Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(*userShareWithExpiration.GetResourceId()))) + Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(userShareWithExpiration.GetResourceId()))) perm := di.GetPermissions() Expect(perm[0].GetId()).To(Equal(userShareWithExpiration.GetId().GetOpaqueId())) @@ -519,7 +519,7 @@ var _ = Describe("sharedbyme", func() { Expect(len(res.Value)).To(Equal(1)) di := res.Value[0] - Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(*publicShare.GetResourceId()))) + Expect(di.GetId()).To(Equal(storagespace.FormatResourceID(publicShare.GetResourceId()))) perm := di.GetPermissions() Expect(perm[0].GetId()).To(Equal(publicShare.GetId().GetOpaqueId())) diff --git a/services/graph/pkg/service/v0/sharedwithme_test.go b/services/graph/pkg/service/v0/sharedwithme_test.go index 84b00507bab..af5192a8be4 100644 --- a/services/graph/pkg/service/v0/sharedwithme_test.go +++ b/services/graph/pkg/service/v0/sharedwithme_test.go @@ -52,7 +52,7 @@ var _ = Describe("SharedWithMe", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) @@ -253,7 +253,7 @@ var _ = Describe("SharedWithMe", func() { Expect(jsonData.Get("eTag").String()).To(Equal(resourceInfo.Etag)) Expect(jsonData.Get("id").String()).To(Equal(storagespace.FormatResourceID( - providerv1beta1.ResourceId{ + &providerv1beta1.ResourceId{ StorageId: utils.ShareStorageProviderID, SpaceId: utils.ShareStorageSpaceID, OpaqueId: share.Id.OpaqueId, @@ -299,7 +299,7 @@ var _ = Describe("SharedWithMe", func() { jsonData := gjson.Get(tape.Body.String(), "value.0.remoteItem") Expect(jsonData.Get("eTag").String()).To(Equal(resourceInfo.Etag)) - Expect(jsonData.Get("id").String()).To(Equal(storagespace.FormatResourceID(*share.ResourceId))) + Expect(jsonData.Get("id").String()).To(Equal(storagespace.FormatResourceID(share.ResourceId))) Expect(jsonData.Get("lastModifiedDateTime").String()).To(Equal(utils.TSToTime(resourceInfo.Mtime).Format(time.RFC3339Nano))) Expect(jsonData.Get("name").String()).To(Equal(resourceInfo.Name)) Expect(jsonData.Get("size").Num).To(Equal(float64(resourceInfo.Size))) diff --git a/services/graph/pkg/service/v0/spacetemplates.go b/services/graph/pkg/service/v0/spacetemplates.go index 6e502d80cdf..1a7e0ea0faa 100644 --- a/services/graph/pkg/service/v0/spacetemplates.go +++ b/services/graph/pkg/service/v0/spacetemplates.go @@ -89,7 +89,7 @@ func (g Graph) applyDefaultTemplate(ctx context.Context, gwc gateway.GatewayAPIC resp, err := gwc.UpdateStorageSpace(ctx, &storageprovider.UpdateStorageSpaceRequest{ StorageSpace: &storageprovider.StorageSpace{ Id: &storageprovider.StorageSpaceId{ - OpaqueId: storagespace.FormatResourceID(*root), + OpaqueId: storagespace.FormatResourceID(root), }, Root: root, Opaque: opaque, diff --git a/services/graph/pkg/service/v0/users_test.go b/services/graph/pkg/service/v0/users_test.go index 8e51f6c3bd3..0cd2fbe7ccd 100644 --- a/services/graph/pkg/service/v0/users_test.go +++ b/services/graph/pkg/service/v0/users_test.go @@ -70,7 +70,7 @@ var _ = Describe("Users", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/graph/pkg/service/v0/utils.go b/services/graph/pkg/service/v0/utils.go index 86b42f5ec54..62c2d362f1e 100644 --- a/services/graph/pkg/service/v0/utils.go +++ b/services/graph/pkg/service/v0/utils.go @@ -156,7 +156,7 @@ func cs3ReceivedSharesToDriveItems(ctx context.Context, continue } - rIDStr := storagespace.FormatResourceID(*receivedShare.GetShare().GetResourceId()) + rIDStr := storagespace.FormatResourceID(receivedShare.GetShare().GetResourceId()) receivedSharesByResourceID[rIDStr] = append(receivedSharesByResourceID[rIDStr], receivedShare) } @@ -203,7 +203,7 @@ func cs3ReceivedSharesToDriveItems(ctx context.Context, remoteItem := driveItem.RemoteItem { if id := shareStat.GetInfo().GetId(); id != nil { - remoteItem.SetId(storagespace.FormatResourceID(*id)) + remoteItem.SetId(storagespace.FormatResourceID(id)) } if name := shareStat.GetInfo().GetName(); name != "" { @@ -228,7 +228,7 @@ func cs3ReceivedSharesToDriveItems(ctx context.Context, } if root := shareStat.GetInfo().GetSpace().GetRoot(); root != nil { - parentReference.SetDriveId(storagespace.FormatResourceID(*root)) + parentReference.SetDriveId(storagespace.FormatResourceID(root)) } if !reflect.ValueOf(*parentReference).IsZero() { remoteItem.ParentReference = parentReference @@ -241,7 +241,7 @@ func cs3ReceivedSharesToDriveItems(ctx context.Context, driveItem.ParentReference = libregraph.NewItemReference() driveItem.ParentReference.SetDriveType(_spaceTypeVirtual) driveItem.ParentReference.SetDriveId(storagespace.FormatStorageID(utils.ShareStorageProviderID, utils.ShareStorageSpaceID)) - driveItem.ParentReference.SetId(storagespace.FormatResourceID(storageprovider.ResourceId{ + driveItem.ParentReference.SetId(storagespace.FormatResourceID(&storageprovider.ResourceId{ StorageId: utils.ShareStorageProviderID, OpaqueId: utils.ShareStorageSpaceID, SpaceId: utils.ShareStorageSpaceID, @@ -383,7 +383,7 @@ func fillDriveItemPropertiesFromReceivedShare(ctx context.Context, logger *log.L // ID across all services this means we needed to make similar adjustments // to the sharejail (usershareprovider, webdav). Which we can't currently do // as some clients rely on the IDs used there having a special format. - driveItem.SetId(storagespace.FormatResourceID(storageprovider.ResourceId{ + driveItem.SetId(storagespace.FormatResourceID(&storageprovider.ResourceId{ StorageId: utils.ShareStorageProviderID, OpaqueId: oldestReceivedShare.GetShare().GetId().GetOpaqueId(), SpaceId: utils.ShareStorageSpaceID, @@ -416,13 +416,13 @@ func cs3ReceivedShareToLibreGraphPermissions(ctx context.Context, logger *log.Lo if err != nil { return nil, err } - role := unifiedrole.CS3ResourcePermissionsToUnifiedRole(*permissionSet, condition) + role := unifiedrole.CS3ResourcePermissionsToUnifiedRole(permissionSet, condition) if role != nil { permission.SetRoles([]string{role.GetId()}) } - actions := unifiedrole.CS3ResourcePermissionsToLibregraphActions(*permissionSet) + actions := unifiedrole.CS3ResourcePermissionsToLibregraphActions(permissionSet) // actions only make sense if no role is set if role == nil && len(actions) > 0 { @@ -537,7 +537,7 @@ func cs3ReceivedOCMSharesToDriveItems(ctx context.Context, remoteItem := driveItem.RemoteItem { if id := shareStat.GetInfo().GetId(); id != nil { - remoteItem.SetId(storagespace.FormatResourceID(*id)) + remoteItem.SetId(storagespace.FormatResourceID(id)) } if name := shareStat.GetInfo().GetName(); name != "" { @@ -562,7 +562,7 @@ func cs3ReceivedOCMSharesToDriveItems(ctx context.Context, } if root := shareStat.GetInfo().GetSpace().GetRoot(); root != nil { - parentReference.SetDriveId(storagespace.FormatResourceID(*root)) + parentReference.SetDriveId(storagespace.FormatResourceID(root)) } if !reflect.ValueOf(*parentReference).IsZero() { remoteItem.ParentReference = parentReference @@ -575,7 +575,7 @@ func cs3ReceivedOCMSharesToDriveItems(ctx context.Context, driveItem.ParentReference = libregraph.NewItemReference() driveItem.ParentReference.SetDriveType("virtual") driveItem.ParentReference.SetDriveId(storagespace.FormatStorageID(utils.ShareStorageProviderID, utils.ShareStorageSpaceID)) - driveItem.ParentReference.SetId(storagespace.FormatResourceID(storageprovider.ResourceId{ + driveItem.ParentReference.SetId(storagespace.FormatResourceID(&storageprovider.ResourceId{ StorageId: utils.ShareStorageProviderID, OpaqueId: utils.ShareStorageSpaceID, SpaceId: utils.ShareStorageSpaceID, @@ -721,7 +721,7 @@ func fillDriveItemPropertiesFromReceivedOCMShare(ctx context.Context, logger *lo // ID across all services this means we needed to make similar adjustments // to the sharejail (usershareprovider, webdav). Which we can't currently do // as some clients rely on the IDs used there having a special format. - driveItem.SetId(storagespace.FormatResourceID(storageprovider.ResourceId{ + driveItem.SetId(storagespace.FormatResourceID(&storageprovider.ResourceId{ StorageId: utils.OCMStorageProviderID, SpaceId: utils.OCMStorageSpaceID, OpaqueId: oldestReceivedShare.GetRemoteShareId(), diff --git a/services/graph/pkg/unifiedrole/unifiedrole.go b/services/graph/pkg/unifiedrole/unifiedrole.go index 23ad7c26f7b..4a6d5123ddc 100644 --- a/services/graph/pkg/unifiedrole/unifiedrole.go +++ b/services/graph/pkg/unifiedrole/unifiedrole.go @@ -368,7 +368,7 @@ func PermissionsToCS3ResourcePermissions(unifiedRolePermissions []*libregraph.Un // CS3ResourcePermissionsToLibregraphActions converts the provided cs3 ResourcePermissions to a list of // libregraph actions -func CS3ResourcePermissionsToLibregraphActions(p provider.ResourcePermissions) (actions []string) { +func CS3ResourcePermissionsToLibregraphActions(p *provider.ResourcePermissions) (actions []string) { if p.GetAddGrant() { actions = append(actions, DriveItemPermissionsCreate) } @@ -435,7 +435,7 @@ func GetLegacyName(role libregraph.UnifiedRoleDefinition) string { // CS3ResourcePermissionsToUnifiedRole tries to find the UnifiedRoleDefinition that matches the supplied // CS3 ResourcePermissions and constraints. -func CS3ResourcePermissionsToUnifiedRole(p provider.ResourcePermissions, constraints string) *libregraph.UnifiedRoleDefinition { +func CS3ResourcePermissionsToUnifiedRole(p *provider.ResourcePermissions, constraints string) *libregraph.UnifiedRoleDefinition { actionSet := map[string]struct{}{} for _, action := range CS3ResourcePermissionsToLibregraphActions(p) { actionSet[action] = struct{}{} @@ -514,7 +514,7 @@ func convert(role *conversions.Role) []string { if role == nil && role.CS3ResourcePermissions() == nil { return actions } - return CS3ResourcePermissionsToLibregraphActions(*role.CS3ResourcePermissions()) + return CS3ResourcePermissionsToLibregraphActions(role.CS3ResourcePermissions()) } func GetAllowedResourceActions(role *libregraph.UnifiedRoleDefinition, condition string) []string { diff --git a/services/graph/pkg/unifiedrole/unifiedrole_test.go b/services/graph/pkg/unifiedrole/unifiedrole_test.go index 2d1e4a0a9c8..8cfe6093920 100644 --- a/services/graph/pkg/unifiedrole/unifiedrole_test.go +++ b/services/graph/pkg/unifiedrole/unifiedrole_test.go @@ -20,7 +20,7 @@ var _ = Describe("unifiedroles", func() { func(legacyRole *rConversions.Role, unifiedRole *libregraph.UnifiedRoleDefinition, constraints string) { cs3perm := legacyRole.CS3ResourcePermissions() - r := unifiedrole.CS3ResourcePermissionsToUnifiedRole(*cs3perm, constraints) + r := unifiedrole.CS3ResourcePermissionsToUnifiedRole(cs3perm, constraints) Expect(r.GetId()).To(Equal(unifiedRole.GetId())) }, diff --git a/services/notifications/pkg/service/service_test.go b/services/notifications/pkg/service/service_test.go index 2bdcb3651d4..1fbc8a168f7 100644 --- a/services/notifications/pkg/service/service_test.go +++ b/services/notifications/pkg/service/service_test.go @@ -57,7 +57,7 @@ var _ = Describe("Notifications", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) @@ -250,7 +250,7 @@ var _ = Describe("Notifications X-Site Scripting", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/proxy/pkg/middleware/authentication_test.go b/services/proxy/pkg/middleware/authentication_test.go index afc9782919d..25601dbcd97 100644 --- a/services/proxy/pkg/middleware/authentication_test.go +++ b/services/proxy/pkg/middleware/authentication_test.go @@ -92,7 +92,7 @@ var _ = Describe("Authenticating requests", Label("Authentication"), func() { RevaGatewaySelector: pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return mockGatewayClient{ AuthenticateFunc: func(authType, clientID, clientSecret string) (string, rpcv1beta1.Code) { if authType != "publicshares" { diff --git a/services/proxy/pkg/middleware/policies_test.go b/services/proxy/pkg/middleware/policies_test.go index e02508981bd..33e95f379b2 100644 --- a/services/proxy/pkg/middleware/policies_test.go +++ b/services/proxy/pkg/middleware/policies_test.go @@ -147,7 +147,7 @@ func prepare(q string) (http.Handler, *mocks.PoliciesProviderService, *cs3mocks. gatewaySelector := pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/proxy/pkg/middleware/public_share_auth_test.go b/services/proxy/pkg/middleware/public_share_auth_test.go index 5c3aad445ab..4c07ffe0615 100644 --- a/services/proxy/pkg/middleware/public_share_auth_test.go +++ b/services/proxy/pkg/middleware/public_share_auth_test.go @@ -23,7 +23,7 @@ var _ = Describe("Authenticating requests", Label("PublicShareAuthenticator"), f RevaGatewaySelector: pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return mockGatewayClient{ AuthenticateFunc: func(authType, clientID, clientSecret string) (string, rpcv1beta1.Code) { if authType != "publicshares" { diff --git a/services/proxy/pkg/user/backend/mocks/user_backend.go b/services/proxy/pkg/user/backend/mocks/user_backend.go index a44198f619a..7dbe2b746cf 100644 --- a/services/proxy/pkg/user/backend/mocks/user_backend.go +++ b/services/proxy/pkg/user/backend/mocks/user_backend.go @@ -215,6 +215,54 @@ func (_c *UserBackend_GetUserByClaims_Call) RunAndReturn(run func(context.Contex return _c } +// SyncGroupMemberships provides a mock function with given fields: ctx, user, claims +func (_m *UserBackend) SyncGroupMemberships(ctx context.Context, user *userv1beta1.User, claims map[string]interface{}) error { + ret := _m.Called(ctx, user, claims) + + if len(ret) == 0 { + panic("no return value specified for SyncGroupMemberships") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *userv1beta1.User, map[string]interface{}) error); ok { + r0 = rf(ctx, user, claims) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// UserBackend_SyncGroupMemberships_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncGroupMemberships' +type UserBackend_SyncGroupMemberships_Call struct { + *mock.Call +} + +// SyncGroupMemberships is a helper method to define mock.On call +// - ctx context.Context +// - user *userv1beta1.User +// - claims map[string]interface{} +func (_e *UserBackend_Expecter) SyncGroupMemberships(ctx interface{}, user interface{}, claims interface{}) *UserBackend_SyncGroupMemberships_Call { + return &UserBackend_SyncGroupMemberships_Call{Call: _e.mock.On("SyncGroupMemberships", ctx, user, claims)} +} + +func (_c *UserBackend_SyncGroupMemberships_Call) Run(run func(ctx context.Context, user *userv1beta1.User, claims map[string]interface{})) *UserBackend_SyncGroupMemberships_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(context.Context), args[1].(*userv1beta1.User), args[2].(map[string]interface{})) + }) + return _c +} + +func (_c *UserBackend_SyncGroupMemberships_Call) Return(_a0 error) *UserBackend_SyncGroupMemberships_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UserBackend_SyncGroupMemberships_Call) RunAndReturn(run func(context.Context, *userv1beta1.User, map[string]interface{}) error) *UserBackend_SyncGroupMemberships_Call { + _c.Call.Return(run) + return _c +} + // UpdateUserIfNeeded provides a mock function with given fields: ctx, user, claims func (_m *UserBackend) UpdateUserIfNeeded(ctx context.Context, user *userv1beta1.User, claims map[string]interface{}) error { ret := _m.Called(ctx, user, claims) diff --git a/services/search/pkg/engine/bleve.go b/services/search/pkg/engine/bleve.go index c11dd2cbcce..b5170ac7ae6 100644 --- a/services/search/pkg/engine/bleve.go +++ b/services/search/pkg/engine/bleve.go @@ -146,7 +146,7 @@ func (b *Bleve) Search(ctx context.Context, sir *searchService.SearchIndexReques &query.TermQuery{ FieldVal: "RootID", Term: storagespace.FormatResourceID( - storageProvider.ResourceId{ + &storageProvider.ResourceId{ StorageId: sir.Ref.GetResourceId().GetStorageId(), SpaceId: sir.Ref.GetResourceId().GetSpaceId(), OpaqueId: sir.Ref.GetResourceId().GetOpaqueId(), diff --git a/services/search/pkg/search/events.go b/services/search/pkg/search/events.go index e191bbd4767..0354614c756 100644 --- a/services/search/pkg/search/events.go +++ b/services/search/pkg/search/events.go @@ -43,7 +43,7 @@ func HandleEvents(s Searcher, bus events.Consumer, logger log.Logger, cfg *confi getSpaceID := func(ref *provider.Reference) *provider.StorageSpaceId { return &provider.StorageSpaceId{ OpaqueId: storagespace.FormatResourceID( - provider.ResourceId{ + &provider.ResourceId{ StorageId: ref.GetResourceId().GetStorageId(), SpaceId: ref.GetResourceId().GetSpaceId(), }, diff --git a/services/search/pkg/search/service.go b/services/search/pkg/search/service.go index c446473a40d..5f74ea56093 100644 --- a/services/search/pkg/search/service.go +++ b/services/search/pkg/search/service.go @@ -167,7 +167,7 @@ func (s *Service) Search(ctx context.Context, req *searchsvc.SearchRequest) (*se continue } opaqueMap := sdk.DecodeOpaqueMap(space.Opaque) - grantSpaceID := storagespace.FormatResourceID(provider.ResourceId{ + grantSpaceID := storagespace.FormatResourceID(&provider.ResourceId{ StorageId: opaqueMap["grantStorageID"], SpaceId: opaqueMap["grantSpaceID"], OpaqueId: opaqueMap["grantOpaqueID"], @@ -443,7 +443,7 @@ func (s *Service) IndexSpace(spaceID *provider.StorageSpaceId) error { s.logger.Debug().Str("path", ref.Path).Msg("Walking tree") searchRes, err := s.engine.Search(ownerCtx, &searchsvc.SearchIndexRequest{ - Query: "id:" + storagespace.FormatResourceID(*info.Id) + ` mtime>=` + utils.TSToTime(info.Mtime).Format(time.RFC3339Nano), + Query: "id:" + storagespace.FormatResourceID(info.Id) + ` mtime>=` + utils.TSToTime(info.Mtime).Format(time.RFC3339Nano), }) if err == nil && len(searchRes.Matches) >= 1 { @@ -471,7 +471,7 @@ func (s *Service) IndexSpace(spaceID *provider.StorageSpaceId) error { // TrashItem marks the item as deleted. func (s *Service) TrashItem(rID *provider.ResourceId) { - err := s.engine.Delete(storagespace.FormatResourceID(*rID)) + err := s.engine.Delete(storagespace.FormatResourceID(rID)) if err != nil { s.logger.Error().Err(err).Interface("Id", rID).Msg("failed to remove item from index") } @@ -491,8 +491,8 @@ func (s *Service) UpsertItem(ref *provider.Reference) { } r := engine.Resource{ - ID: storagespace.FormatResourceID(*stat.Info.Id), - RootID: storagespace.FormatResourceID(provider.ResourceId{ + ID: storagespace.FormatResourceID(stat.Info.Id), + RootID: storagespace.FormatResourceID(&provider.ResourceId{ StorageId: stat.Info.Id.StorageId, OpaqueId: stat.Info.Id.SpaceId, SpaceId: stat.Info.Id.SpaceId, @@ -504,7 +504,7 @@ func (s *Service) UpsertItem(ref *provider.Reference) { r.Hidden = strings.HasPrefix(r.Path, ".") if parentID := stat.GetInfo().GetParentId(); parentID != nil { - r.ParentID = storagespace.FormatResourceID(*parentID) + r.ParentID = storagespace.FormatResourceID(parentID) } if err = s.engine.Upsert(r.ID, r); err != nil { @@ -615,7 +615,7 @@ func (s *Service) RestoreItem(ref *provider.Reference) { return } - if err := s.engine.Restore(storagespace.FormatResourceID(*stat.Info.Id)); err != nil { + if err := s.engine.Restore(storagespace.FormatResourceID(stat.Info.Id)); err != nil { s.logger.Error().Err(err).Msg("failed to restore the changed resource in the index") } } @@ -627,7 +627,7 @@ func (s *Service) MoveItem(ref *provider.Reference) { return } - if err := s.engine.Move(storagespace.FormatResourceID(*stat.GetInfo().GetId()), storagespace.FormatResourceID(*stat.GetInfo().GetParentId()), path); err != nil { + if err := s.engine.Move(storagespace.FormatResourceID(stat.GetInfo().GetId()), storagespace.FormatResourceID(stat.GetInfo().GetParentId()), path); err != nil { s.logger.Error().Err(err).Msg("failed to move the changed resource in the index") } } diff --git a/services/search/pkg/search/service_test.go b/services/search/pkg/search/service_test.go index a7a7075ae14..b8ab269b743 100644 --- a/services/search/pkg/search/service_test.go +++ b/services/search/pkg/search/service_test.go @@ -81,7 +81,7 @@ var _ = Describe("Searchprovider", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/storage-users/pkg/task/trash_bin_test.go b/services/storage-users/pkg/task/trash_bin_test.go index 9800f954f67..009b3c15119 100644 --- a/services/storage-users/pkg/task/trash_bin_test.go +++ b/services/storage-users/pkg/task/trash_bin_test.go @@ -53,7 +53,7 @@ var _ = Describe("trash", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/userlog/pkg/service/conversion.go b/services/userlog/pkg/service/conversion.go index 147015bc54d..f60f30cc801 100644 --- a/services/userlog/pkg/service/conversion.go +++ b/services/userlog/pkg/service/conversion.go @@ -223,7 +223,7 @@ func (c *Converter) shareMessage(eventid string, nt NotificationTemplate, execut Service: c.serviceName, UserName: usr.GetUsername(), Timestamp: ts.Format(time.RFC3339Nano), - ResourceID: storagespace.FormatResourceID(*info.GetId()), + ResourceID: storagespace.FormatResourceID(info.GetId()), ResourceType: _resourceTypeShare, Subject: subj, SubjectRaw: subjraw, @@ -257,7 +257,7 @@ func (c *Converter) virusMessage(eventid string, nt NotificationTemplate, execut Service: c.serviceName, UserName: executant.GetUsername(), Timestamp: ts.Format(time.RFC3339Nano), - ResourceID: storagespace.FormatResourceID(*rid), + ResourceID: storagespace.FormatResourceID(rid), ResourceType: _resourceTypeResource, Subject: subj, SubjectRaw: subjraw, @@ -415,7 +415,7 @@ func generateDetails(user *user.User, space *storageprovider.StorageSpace, item if item != nil { details["resource"] = map[string]string{ - "id": storagespace.FormatResourceID(*item.GetId()), + "id": storagespace.FormatResourceID(item.GetId()), "name": item.GetName(), } } diff --git a/services/userlog/pkg/service/service_test.go b/services/userlog/pkg/service/service_test.go index bd5889612d7..bbef0959423 100644 --- a/services/userlog/pkg/service/service_test.go +++ b/services/userlog/pkg/service/service_test.go @@ -59,7 +59,7 @@ var _ = Describe("UserlogService", func() { gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient]( "GatewaySelector", "com.owncloud.api.gateway", - func(cc *grpc.ClientConn) gateway.GatewayAPIClient { + func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient { return gatewayClient }, ) diff --git a/services/webdav/pkg/dav/requests/thumbnail.go b/services/webdav/pkg/dav/requests/thumbnail.go index 2a5aa7da57f..97ee95acf27 100644 --- a/services/webdav/pkg/dav/requests/thumbnail.go +++ b/services/webdav/pkg/dav/requests/thumbnail.go @@ -43,7 +43,7 @@ type ThumbnailRequest struct { } func addMissingStorageID(id string) string { - rid := providerv1beta1.ResourceId{} + rid := &providerv1beta1.ResourceId{} rid.StorageId, rid.SpaceId, rid.OpaqueId, _ = storagespace.SplitID(id) if rid.StorageId == "" && rid.SpaceId == utils.ShareStorageSpaceID { rid.StorageId = utils.ShareStorageProviderID diff --git a/services/webdav/pkg/service/v0/search.go b/services/webdav/pkg/service/v0/search.go index 3ad3184e444..46ec66d8f53 100644 --- a/services/webdav/pkg/service/v0/search.go +++ b/services/webdav/pkg/service/v0/search.go @@ -170,13 +170,13 @@ func matchToPropResponse(ctx context.Context, match *searchmsg.Match) (*propfind Prop: []prop.PropertyXML{}, } - propstatOK.Prop = append(propstatOK.Prop, prop.Escaped("oc:fileid", storagespace.FormatResourceID(provider.ResourceId{ + propstatOK.Prop = append(propstatOK.Prop, prop.Escaped("oc:fileid", storagespace.FormatResourceID(&provider.ResourceId{ StorageId: match.Entity.Id.StorageId, SpaceId: match.Entity.Id.SpaceId, OpaqueId: match.Entity.Id.OpaqueId, }))) if match.Entity.ParentId != nil { - propstatOK.Prop = append(propstatOK.Prop, prop.Escaped("oc:file-parent", storagespace.FormatResourceID(provider.ResourceId{ + propstatOK.Prop = append(propstatOK.Prop, prop.Escaped("oc:file-parent", storagespace.FormatResourceID(&provider.ResourceId{ StorageId: match.Entity.ParentId.StorageId, SpaceId: match.Entity.ParentId.SpaceId, OpaqueId: match.Entity.ParentId.OpaqueId, @@ -185,7 +185,7 @@ func matchToPropResponse(ctx context.Context, match *searchmsg.Match) (*propfind if match.Entity.Ref.ResourceId.StorageId == utils.ShareStorageProviderID { propstatOK.Prop = append(propstatOK.Prop, prop.Escaped("oc:shareid", match.Entity.Ref.ResourceId.OpaqueId)) propstatOK.Prop = append(propstatOK.Prop, prop.Escaped("oc:shareroot", match.Entity.ShareRootName)) - propstatOK.Prop = append(propstatOK.Prop, prop.Escaped("oc:remote-item-id", storagespace.FormatResourceID(provider.ResourceId{ + propstatOK.Prop = append(propstatOK.Prop, prop.Escaped("oc:remote-item-id", storagespace.FormatResourceID(&provider.ResourceId{ StorageId: match.Entity.GetRemoteItemId().GetStorageId(), SpaceId: match.Entity.GetRemoteItemId().GetSpaceId(), OpaqueId: match.Entity.GetRemoteItemId().GetOpaqueId(), diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/provider_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/provider_api.pb.go index d6791a8e85b..2934e601a34 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/provider_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/provider_api.pb.go @@ -1,33 +1,51 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/app/provider/v1beta1/provider_api.proto package providerv1beta1 import ( - context "context" - fmt "fmt" v1beta12 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 OpenInAppRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -46,66 +64,74 @@ type OpenInAppRequest struct { // ResourceIds MUST NOT change when a resource is renamed. // The access token MUST be short-lived. // TODO(labkode): investigate token derivation techniques. - AccessToken string `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AccessToken string `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` } -func (m *OpenInAppRequest) Reset() { *m = OpenInAppRequest{} } -func (m *OpenInAppRequest) String() string { return proto.CompactTextString(m) } -func (*OpenInAppRequest) ProtoMessage() {} -func (*OpenInAppRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c007b70b037097fe, []int{0} +func (x *OpenInAppRequest) Reset() { + *x = OpenInAppRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_provider_v1beta1_provider_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OpenInAppRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OpenInAppRequest.Unmarshal(m, b) -} -func (m *OpenInAppRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OpenInAppRequest.Marshal(b, m, deterministic) -} -func (m *OpenInAppRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OpenInAppRequest.Merge(m, src) +func (x *OpenInAppRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OpenInAppRequest) XXX_Size() int { - return xxx_messageInfo_OpenInAppRequest.Size(m) -} -func (m *OpenInAppRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OpenInAppRequest.DiscardUnknown(m) + +func (*OpenInAppRequest) ProtoMessage() {} + +func (x *OpenInAppRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_OpenInAppRequest proto.InternalMessageInfo +// Deprecated: Use OpenInAppRequest.ProtoReflect.Descriptor instead. +func (*OpenInAppRequest) Descriptor() ([]byte, []int) { + return file_cs3_app_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{0} +} -func (m *OpenInAppRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *OpenInAppRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *OpenInAppRequest) GetResourceInfo() *v1beta11.ResourceInfo { - if m != nil { - return m.ResourceInfo +func (x *OpenInAppRequest) GetResourceInfo() *v1beta11.ResourceInfo { + if x != nil { + return x.ResourceInfo } return nil } -func (m *OpenInAppRequest) GetViewMode() ViewMode { - if m != nil { - return m.ViewMode +func (x *OpenInAppRequest) GetViewMode() ViewMode { + if x != nil { + return x.ViewMode } return ViewMode_VIEW_MODE_INVALID } -func (m *OpenInAppRequest) GetAccessToken() string { - if m != nil { - return m.AccessToken +func (x *OpenInAppRequest) GetAccessToken() string { + if x != nil { + return x.AccessToken } return "" } type OpenInAppResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -115,179 +141,218 @@ type OpenInAppResponse struct { // REQUIRED. // The url that user agents will render to clients. // Usually the rendering happens by using HTML iframes or in separate browser tabs. - AppUrl *OpenInAppURL `protobuf:"bytes,3,opt,name=app_url,json=appUrl,proto3" json:"app_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AppUrl *OpenInAppURL `protobuf:"bytes,3,opt,name=app_url,json=appUrl,proto3" json:"app_url,omitempty"` } -func (m *OpenInAppResponse) Reset() { *m = OpenInAppResponse{} } -func (m *OpenInAppResponse) String() string { return proto.CompactTextString(m) } -func (*OpenInAppResponse) ProtoMessage() {} -func (*OpenInAppResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c007b70b037097fe, []int{1} +func (x *OpenInAppResponse) Reset() { + *x = OpenInAppResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_provider_v1beta1_provider_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OpenInAppResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OpenInAppResponse.Unmarshal(m, b) -} -func (m *OpenInAppResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OpenInAppResponse.Marshal(b, m, deterministic) -} -func (m *OpenInAppResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_OpenInAppResponse.Merge(m, src) -} -func (m *OpenInAppResponse) XXX_Size() int { - return xxx_messageInfo_OpenInAppResponse.Size(m) -} -func (m *OpenInAppResponse) XXX_DiscardUnknown() { - xxx_messageInfo_OpenInAppResponse.DiscardUnknown(m) +func (x *OpenInAppResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_OpenInAppResponse proto.InternalMessageInfo +func (*OpenInAppResponse) ProtoMessage() {} -func (m *OpenInAppResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *OpenInAppResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_provider_v1beta1_provider_api_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 nil + return mi.MessageOf(x) } -func (m *OpenInAppResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil +// Deprecated: Use OpenInAppResponse.ProtoReflect.Descriptor instead. +func (*OpenInAppResponse) Descriptor() ([]byte, []int) { + return file_cs3_app_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{1} } -func (m *OpenInAppResponse) GetAppUrl() *OpenInAppURL { - if m != nil { - return m.AppUrl +func (x *OpenInAppResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func init() { - proto.RegisterType((*OpenInAppRequest)(nil), "cs3.app.provider.v1beta1.OpenInAppRequest") - proto.RegisterType((*OpenInAppResponse)(nil), "cs3.app.provider.v1beta1.OpenInAppResponse") -} - -func init() { - proto.RegisterFile("cs3/app/provider/v1beta1/provider_api.proto", fileDescriptor_c007b70b037097fe) -} - -var fileDescriptor_c007b70b037097fe = []byte{ - // 438 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4f, 0x6f, 0xd3, 0x30, - 0x18, 0xc6, 0x95, 0x0e, 0x15, 0xea, 0x0e, 0x18, 0xbe, 0x10, 0xaa, 0x21, 0x95, 0x1e, 0x50, 0xb5, - 0x21, 0x57, 0x6d, 0x3f, 0xc0, 0x94, 0xee, 0x54, 0x09, 0xd4, 0xc8, 0xb0, 0x1d, 0x50, 0xa5, 0xc8, - 0x73, 0xde, 0xa1, 0x88, 0x2d, 0x7e, 0x67, 0x3b, 0xa9, 0x38, 0xf1, 0x5d, 0x38, 0xf2, 0x09, 0xf8, - 0x0c, 0x7c, 0x24, 0x4e, 0x28, 0x8e, 0x13, 0x55, 0x42, 0x11, 0xbd, 0xc5, 0x7e, 0x7e, 0xcf, 0xfb, - 0xe7, 0x89, 0xc9, 0xb9, 0x34, 0xcb, 0x99, 0x40, 0x9c, 0xa1, 0x56, 0x65, 0x96, 0x82, 0x9e, 0x95, - 0xf3, 0x1b, 0xb0, 0x62, 0xde, 0x5e, 0x24, 0x02, 0x33, 0x86, 0x5a, 0x59, 0x45, 0x43, 0x69, 0x96, - 0x4c, 0x20, 0xb2, 0x46, 0x63, 0x1e, 0x1e, 0x4d, 0x3b, 0xcb, 0x68, 0x30, 0xaa, 0xd0, 0x12, 0x4c, - 0x5d, 0x63, 0x74, 0x5a, 0x91, 0x1a, 0x65, 0x0b, 0x18, 0x2b, 0x6c, 0xd1, 0xa8, 0xef, 0x2a, 0xd5, - 0x58, 0xa5, 0xc5, 0x17, 0xf8, 0x7f, 0xad, 0xd7, 0x15, 0x6d, 0xbf, 0x21, 0x98, 0x16, 0x71, 0xa7, - 0x5a, 0x9e, 0xfc, 0x09, 0xc8, 0xc9, 0x06, 0x21, 0x5f, 0xe7, 0x11, 0x22, 0x87, 0x87, 0x02, 0x8c, - 0xa5, 0x73, 0xd2, 0x57, 0x28, 0x1e, 0x0a, 0x08, 0x83, 0x71, 0x30, 0x1d, 0x2e, 0x5e, 0xb1, 0x6a, - 0xa9, 0xda, 0xe6, 0x8b, 0xb0, 0x8d, 0x03, 0xb8, 0x07, 0xe9, 0x86, 0x3c, 0x6d, 0x3a, 0x27, 0x59, - 0x7e, 0xab, 0xc2, 0x9e, 0x73, 0x9e, 0x39, 0xa7, 0x1f, 0xf6, 0x9f, 0x48, 0x18, 0xf7, 0x96, 0x75, - 0x7e, 0xab, 0xf8, 0xb1, 0xde, 0x3b, 0xd1, 0x0b, 0x32, 0x28, 0x33, 0xd8, 0x25, 0xf7, 0x2a, 0x85, - 0xf0, 0x68, 0x1c, 0x4c, 0x9f, 0x2d, 0x26, 0xac, 0x2b, 0x5b, 0x76, 0x9d, 0xc1, 0xee, 0x83, 0x4a, - 0x81, 0x3f, 0x29, 0xfd, 0x17, 0x7d, 0x43, 0x8e, 0x85, 0x94, 0x60, 0x4c, 0x62, 0xd5, 0x57, 0xc8, - 0xc3, 0x47, 0xe3, 0x60, 0x3a, 0xe0, 0xc3, 0xfa, 0xee, 0x53, 0x75, 0x35, 0xf9, 0x15, 0x90, 0x17, - 0x7b, 0xcb, 0x1b, 0x54, 0xb9, 0x01, 0x3a, 0x23, 0xfd, 0x3a, 0x6f, 0xbf, 0xfd, 0x4b, 0xd7, 0x56, - 0xa3, 0x6c, 0xbb, 0x7d, 0x74, 0x32, 0xf7, 0xd8, 0x5e, 0x5c, 0xbd, 0x43, 0xe3, 0xba, 0x20, 0x8f, - 0x05, 0x62, 0x52, 0xe8, 0x3b, 0xb7, 0xdb, 0x70, 0xf1, 0xb6, 0x7b, 0xb7, 0x76, 0xc2, 0x2b, 0xfe, - 0x9e, 0xf7, 0x05, 0xe2, 0x95, 0xbe, 0x5b, 0x18, 0x32, 0x8c, 0x3d, 0x18, 0xc5, 0x6b, 0x9a, 0x92, - 0x41, 0x8b, 0xd1, 0xb3, 0x03, 0x6a, 0xf9, 0x5f, 0x3d, 0x3a, 0x3f, 0x88, 0xad, 0x93, 0x59, 0x7d, - 0x27, 0xa7, 0x52, 0xdd, 0x77, 0x3a, 0x56, 0x27, 0xed, 0x48, 0x98, 0xc5, 0xd5, 0xf3, 0x8a, 0x83, - 0xcf, 0xcf, 0x1b, 0xca, 0x43, 0x3f, 0x7a, 0x47, 0x97, 0x51, 0xfc, 0xb3, 0x17, 0x5e, 0x9a, 0x25, - 0x8b, 0x10, 0x59, 0xe3, 0x61, 0xd7, 0xf3, 0x55, 0x05, 0xfc, 0x76, 0xd2, 0x36, 0x42, 0xdc, 0x36, - 0xd2, 0xd6, 0x4b, 0x37, 0x7d, 0xf7, 0x68, 0x97, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xb9, - 0x16, 0xb5, 0x92, 0x03, 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 - -// ProviderAPIClient is the client API for ProviderAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProviderAPIClient interface { - // Returns the App URL and all necessary info to open a resource in an online editor. - // MUST return CODE_NOT_FOUND if the resource does not exist. - OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*OpenInAppResponse, error) -} - -type providerAPIClient struct { - cc *grpc.ClientConn -} - -func NewProviderAPIClient(cc *grpc.ClientConn) ProviderAPIClient { - return &providerAPIClient{cc} -} - -func (c *providerAPIClient) OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*OpenInAppResponse, error) { - out := new(OpenInAppResponse) - err := c.cc.Invoke(ctx, "/cs3.app.provider.v1beta1.ProviderAPI/OpenInApp", in, out, opts...) - if err != nil { - return nil, err +func (x *OpenInAppResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - return out, nil -} - -// ProviderAPIServer is the server API for ProviderAPI service. -type ProviderAPIServer interface { - // Returns the App URL and all necessary info to open a resource in an online editor. - // MUST return CODE_NOT_FOUND if the resource does not exist. - OpenInApp(context.Context, *OpenInAppRequest) (*OpenInAppResponse, error) -} - -// UnimplementedProviderAPIServer can be embedded to have forward compatible implementations. -type UnimplementedProviderAPIServer struct { + return nil } -func (*UnimplementedProviderAPIServer) OpenInApp(ctx context.Context, req *OpenInAppRequest) (*OpenInAppResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method OpenInApp not implemented") +func (x *OpenInAppResponse) GetAppUrl() *OpenInAppURL { + if x != nil { + return x.AppUrl + } + return nil } -func RegisterProviderAPIServer(s *grpc.Server, srv ProviderAPIServer) { - s.RegisterService(&_ProviderAPI_serviceDesc, srv) -} +var File_cs3_app_provider_v1beta1_provider_api_proto protoreflect.FileDescriptor + +var file_cs3_app_provider_v1beta1_provider_api_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x70, 0x70, + 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, + 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfa, 0x01, 0x0a, + 0x10, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3f, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6d, 0x6f, + 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x76, 0x69, + 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb8, 0x01, 0x0a, 0x11, 0x4f, 0x70, + 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x55, 0x52, 0x4c, 0x52, 0x06, 0x61, 0x70, + 0x70, 0x55, 0x72, 0x6c, 0x32, 0x73, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x41, 0x50, 0x49, 0x12, 0x64, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, + 0x12, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, + 0x49, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, + 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xfa, 0x01, 0x0a, 0x1c, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x10, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, + 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, + 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x50, 0xaa, 0x02, 0x18, 0x43, 0x73, + 0x33, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x18, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x70, 0x70, + 0x5c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xe2, 0x02, 0x24, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x70, 0x70, 0x5c, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x43, 0x73, 0x33, 0x3a, 0x3a, + 0x41, 0x70, 0x70, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_app_provider_v1beta1_provider_api_proto_rawDescOnce sync.Once + file_cs3_app_provider_v1beta1_provider_api_proto_rawDescData = file_cs3_app_provider_v1beta1_provider_api_proto_rawDesc +) -func _ProviderAPI_OpenInApp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OpenInAppRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).OpenInApp(ctx, in) +func file_cs3_app_provider_v1beta1_provider_api_proto_rawDescGZIP() []byte { + file_cs3_app_provider_v1beta1_provider_api_proto_rawDescOnce.Do(func() { + file_cs3_app_provider_v1beta1_provider_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_app_provider_v1beta1_provider_api_proto_rawDescData) + }) + return file_cs3_app_provider_v1beta1_provider_api_proto_rawDescData +} + +var file_cs3_app_provider_v1beta1_provider_api_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_cs3_app_provider_v1beta1_provider_api_proto_goTypes = []interface{}{ + (*OpenInAppRequest)(nil), // 0: cs3.app.provider.v1beta1.OpenInAppRequest + (*OpenInAppResponse)(nil), // 1: cs3.app.provider.v1beta1.OpenInAppResponse + (*v1beta1.Opaque)(nil), // 2: cs3.types.v1beta1.Opaque + (*v1beta11.ResourceInfo)(nil), // 3: cs3.storage.provider.v1beta1.ResourceInfo + (ViewMode)(0), // 4: cs3.app.provider.v1beta1.ViewMode + (*v1beta12.Status)(nil), // 5: cs3.rpc.v1beta1.Status + (*OpenInAppURL)(nil), // 6: cs3.app.provider.v1beta1.OpenInAppURL +} +var file_cs3_app_provider_v1beta1_provider_api_proto_depIdxs = []int32{ + 2, // 0: cs3.app.provider.v1beta1.OpenInAppRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 3, // 1: cs3.app.provider.v1beta1.OpenInAppRequest.resource_info:type_name -> cs3.storage.provider.v1beta1.ResourceInfo + 4, // 2: cs3.app.provider.v1beta1.OpenInAppRequest.view_mode:type_name -> cs3.app.provider.v1beta1.ViewMode + 5, // 3: cs3.app.provider.v1beta1.OpenInAppResponse.status:type_name -> cs3.rpc.v1beta1.Status + 2, // 4: cs3.app.provider.v1beta1.OpenInAppResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 6, // 5: cs3.app.provider.v1beta1.OpenInAppResponse.app_url:type_name -> cs3.app.provider.v1beta1.OpenInAppURL + 0, // 6: cs3.app.provider.v1beta1.ProviderAPI.OpenInApp:input_type -> cs3.app.provider.v1beta1.OpenInAppRequest + 1, // 7: cs3.app.provider.v1beta1.ProviderAPI.OpenInApp:output_type -> cs3.app.provider.v1beta1.OpenInAppResponse + 7, // [7:8] is the sub-list for method output_type + 6, // [6:7] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_cs3_app_provider_v1beta1_provider_api_proto_init() } +func file_cs3_app_provider_v1beta1_provider_api_proto_init() { + if File_cs3_app_provider_v1beta1_provider_api_proto != nil { + return } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.app.provider.v1beta1.ProviderAPI/OpenInApp", + file_cs3_app_provider_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_app_provider_v1beta1_provider_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpenInAppRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_provider_v1beta1_provider_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpenInAppResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).OpenInApp(ctx, req.(*OpenInAppRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ProviderAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.app.provider.v1beta1.ProviderAPI", - HandlerType: (*ProviderAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "OpenInApp", - Handler: _ProviderAPI_OpenInApp_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_app_provider_v1beta1_provider_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/app/provider/v1beta1/provider_api.proto", + GoTypes: file_cs3_app_provider_v1beta1_provider_api_proto_goTypes, + DependencyIndexes: file_cs3_app_provider_v1beta1_provider_api_proto_depIdxs, + MessageInfos: file_cs3_app_provider_v1beta1_provider_api_proto_msgTypes, + }.Build() + File_cs3_app_provider_v1beta1_provider_api_proto = out.File + file_cs3_app_provider_v1beta1_provider_api_proto_rawDesc = nil + file_cs3_app_provider_v1beta1_provider_api_proto_goTypes = nil + file_cs3_app_provider_v1beta1_provider_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/provider_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/provider_api_grpc.pb.go new file mode 100644 index 00000000000..6625bc722c7 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/provider_api_grpc.pb.go @@ -0,0 +1,129 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/app/provider/v1beta1/provider_api.proto + +package providerv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + ProviderAPI_OpenInApp_FullMethodName = "/cs3.app.provider.v1beta1.ProviderAPI/OpenInApp" +) + +// ProviderAPIClient is the client API for ProviderAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ProviderAPIClient interface { + // Returns the App URL and all necessary info to open a resource in an online editor. + // MUST return CODE_NOT_FOUND if the resource does not exist. + OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*OpenInAppResponse, error) +} + +type providerAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewProviderAPIClient(cc grpc.ClientConnInterface) ProviderAPIClient { + return &providerAPIClient{cc} +} + +func (c *providerAPIClient) OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*OpenInAppResponse, error) { + out := new(OpenInAppResponse) + err := c.cc.Invoke(ctx, ProviderAPI_OpenInApp_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ProviderAPIServer is the server API for ProviderAPI service. +// All implementations should embed UnimplementedProviderAPIServer +// for forward compatibility +type ProviderAPIServer interface { + // Returns the App URL and all necessary info to open a resource in an online editor. + // MUST return CODE_NOT_FOUND if the resource does not exist. + OpenInApp(context.Context, *OpenInAppRequest) (*OpenInAppResponse, error) +} + +// UnimplementedProviderAPIServer should be embedded to have forward compatible implementations. +type UnimplementedProviderAPIServer struct { +} + +func (UnimplementedProviderAPIServer) OpenInApp(context.Context, *OpenInAppRequest) (*OpenInAppResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method OpenInApp not implemented") +} + +// UnsafeProviderAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ProviderAPIServer will +// result in compilation errors. +type UnsafeProviderAPIServer interface { + mustEmbedUnimplementedProviderAPIServer() +} + +func RegisterProviderAPIServer(s grpc.ServiceRegistrar, srv ProviderAPIServer) { + s.RegisterService(&ProviderAPI_ServiceDesc, srv) +} + +func _ProviderAPI_OpenInApp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OpenInAppRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).OpenInApp(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_OpenInApp_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).OpenInApp(ctx, req.(*OpenInAppRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ProviderAPI_ServiceDesc is the grpc.ServiceDesc for ProviderAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ProviderAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.app.provider.v1beta1.ProviderAPI", + HandlerType: (*ProviderAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "OpenInApp", + Handler: _ProviderAPI_OpenInApp_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/app/provider/v1beta1/provider_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/resources.pb.go index 68bb20e81e4..9c0e84914b9 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1/resources.pb.go @@ -1,24 +1,42 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/app/provider/v1beta1/resources.proto package providerv1beta1 import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // Defines the view modes. type ViewMode int32 @@ -39,28 +57,49 @@ const ( ViewMode_VIEW_MODE_PREVIEW ViewMode = 4 ) -var ViewMode_name = map[int32]string{ - 0: "VIEW_MODE_INVALID", - 1: "VIEW_MODE_VIEW_ONLY", - 2: "VIEW_MODE_READ_ONLY", - 3: "VIEW_MODE_READ_WRITE", - 4: "VIEW_MODE_PREVIEW", -} +// Enum value maps for ViewMode. +var ( + ViewMode_name = map[int32]string{ + 0: "VIEW_MODE_INVALID", + 1: "VIEW_MODE_VIEW_ONLY", + 2: "VIEW_MODE_READ_ONLY", + 3: "VIEW_MODE_READ_WRITE", + 4: "VIEW_MODE_PREVIEW", + } + ViewMode_value = map[string]int32{ + "VIEW_MODE_INVALID": 0, + "VIEW_MODE_VIEW_ONLY": 1, + "VIEW_MODE_READ_ONLY": 2, + "VIEW_MODE_READ_WRITE": 3, + "VIEW_MODE_PREVIEW": 4, + } +) -var ViewMode_value = map[string]int32{ - "VIEW_MODE_INVALID": 0, - "VIEW_MODE_VIEW_ONLY": 1, - "VIEW_MODE_READ_ONLY": 2, - "VIEW_MODE_READ_WRITE": 3, - "VIEW_MODE_PREVIEW": 4, +func (x ViewMode) Enum() *ViewMode { + p := new(ViewMode) + *p = x + return p } func (x ViewMode) String() string { - return proto.EnumName(ViewMode_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ViewMode) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_app_provider_v1beta1_resources_proto_enumTypes[0].Descriptor() +} + +func (ViewMode) Type() protoreflect.EnumType { + return &file_cs3_app_provider_v1beta1_resources_proto_enumTypes[0] } +func (x ViewMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ViewMode.Descriptor instead. func (ViewMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f3a36ae8e74be4dc, []int{0} + return file_cs3_app_provider_v1beta1_resources_proto_rawDescGZIP(), []int{0} } // Defines the valid targets for an app URL. @@ -74,28 +113,53 @@ const ( Target_TARGET_BLANK Target = 2 ) -var Target_name = map[int32]string{ - 0: "TARGET_INVALID", - 1: "TARGET_IFRAME", - 2: "TARGET_BLANK", -} +// Enum value maps for Target. +var ( + Target_name = map[int32]string{ + 0: "TARGET_INVALID", + 1: "TARGET_IFRAME", + 2: "TARGET_BLANK", + } + Target_value = map[string]int32{ + "TARGET_INVALID": 0, + "TARGET_IFRAME": 1, + "TARGET_BLANK": 2, + } +) -var Target_value = map[string]int32{ - "TARGET_INVALID": 0, - "TARGET_IFRAME": 1, - "TARGET_BLANK": 2, +func (x Target) Enum() *Target { + p := new(Target) + *p = x + return p } func (x Target) String() string { - return proto.EnumName(Target_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Target) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_app_provider_v1beta1_resources_proto_enumTypes[1].Descriptor() +} + +func (Target) Type() protoreflect.EnumType { + return &file_cs3_app_provider_v1beta1_resources_proto_enumTypes[1] +} + +func (x Target) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Target.Descriptor instead. func (Target) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f3a36ae8e74be4dc, []int{1} + return file_cs3_app_provider_v1beta1_resources_proto_rawDescGZIP(), []int{1} } // Represents the information for the app URL to be called by the clients. type OpenInAppURL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The URL that clients will perform requests to. AppUrl string `protobuf:"bytes,1,opt,name=app_url,json=appUrl,proto3" json:"app_url,omitempty"` @@ -112,113 +176,209 @@ type OpenInAppURL struct { Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // REQUIRED. // Whether the target for the app URL is an iframe or a new page. - Target Target `protobuf:"varint,5,opt,name=target,proto3,enum=cs3.app.provider.v1beta1.Target" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Target Target `protobuf:"varint,5,opt,name=target,proto3,enum=cs3.app.provider.v1beta1.Target" json:"target,omitempty"` } -func (m *OpenInAppURL) Reset() { *m = OpenInAppURL{} } -func (m *OpenInAppURL) String() string { return proto.CompactTextString(m) } -func (*OpenInAppURL) ProtoMessage() {} -func (*OpenInAppURL) Descriptor() ([]byte, []int) { - return fileDescriptor_f3a36ae8e74be4dc, []int{0} +func (x *OpenInAppURL) Reset() { + *x = OpenInAppURL{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_provider_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OpenInAppURL) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OpenInAppURL.Unmarshal(m, b) -} -func (m *OpenInAppURL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OpenInAppURL.Marshal(b, m, deterministic) -} -func (m *OpenInAppURL) XXX_Merge(src proto.Message) { - xxx_messageInfo_OpenInAppURL.Merge(m, src) -} -func (m *OpenInAppURL) XXX_Size() int { - return xxx_messageInfo_OpenInAppURL.Size(m) +func (x *OpenInAppURL) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OpenInAppURL) XXX_DiscardUnknown() { - xxx_messageInfo_OpenInAppURL.DiscardUnknown(m) + +func (*OpenInAppURL) ProtoMessage() {} + +func (x *OpenInAppURL) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_provider_v1beta1_resources_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) } -var xxx_messageInfo_OpenInAppURL proto.InternalMessageInfo +// Deprecated: Use OpenInAppURL.ProtoReflect.Descriptor instead. +func (*OpenInAppURL) Descriptor() ([]byte, []int) { + return file_cs3_app_provider_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *OpenInAppURL) GetAppUrl() string { - if m != nil { - return m.AppUrl +func (x *OpenInAppURL) GetAppUrl() string { + if x != nil { + return x.AppUrl } return "" } -func (m *OpenInAppURL) GetMethod() string { - if m != nil { - return m.Method +func (x *OpenInAppURL) GetMethod() string { + if x != nil { + return x.Method } return "" } -func (m *OpenInAppURL) GetFormParameters() map[string]string { - if m != nil { - return m.FormParameters +func (x *OpenInAppURL) GetFormParameters() map[string]string { + if x != nil { + return x.FormParameters } return nil } -func (m *OpenInAppURL) GetHeaders() map[string]string { - if m != nil { - return m.Headers +func (x *OpenInAppURL) GetHeaders() map[string]string { + if x != nil { + return x.Headers } return nil } -func (m *OpenInAppURL) GetTarget() Target { - if m != nil { - return m.Target +func (x *OpenInAppURL) GetTarget() Target { + if x != nil { + return x.Target } return Target_TARGET_INVALID } -func init() { - proto.RegisterEnum("cs3.app.provider.v1beta1.ViewMode", ViewMode_name, ViewMode_value) - proto.RegisterEnum("cs3.app.provider.v1beta1.Target", Target_name, Target_value) - proto.RegisterType((*OpenInAppURL)(nil), "cs3.app.provider.v1beta1.OpenInAppURL") - proto.RegisterMapType((map[string]string)(nil), "cs3.app.provider.v1beta1.OpenInAppURL.FormParametersEntry") - proto.RegisterMapType((map[string]string)(nil), "cs3.app.provider.v1beta1.OpenInAppURL.HeadersEntry") -} - -func init() { - proto.RegisterFile("cs3/app/provider/v1beta1/resources.proto", fileDescriptor_f3a36ae8e74be4dc) -} - -var fileDescriptor_f3a36ae8e74be4dc = []byte{ - // 458 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0xc5, 0x76, 0x9b, 0xc2, 0x10, 0x52, 0x77, 0x5b, 0xa8, 0x55, 0x71, 0x88, 0x38, 0x45, 0x3d, - 0x6c, 0x94, 0xfa, 0x52, 0xe5, 0xb6, 0x69, 0x5c, 0xb0, 0xc8, 0x87, 0xb5, 0x4a, 0x53, 0x81, 0x22, - 0x45, 0x5b, 0x67, 0x4b, 0x2b, 0xe2, 0xec, 0x68, 0xed, 0x04, 0xf5, 0xc0, 0x8d, 0x5f, 0xc2, 0x11, - 0xf1, 0x4b, 0xf8, 0x55, 0xc8, 0x5f, 0x90, 0x20, 0x22, 0xc1, 0x6d, 0xe7, 0xbd, 0x37, 0x6f, 0x46, - 0x4f, 0xb3, 0xd0, 0x08, 0x63, 0xb7, 0x29, 0x10, 0x9b, 0xa8, 0xd5, 0xea, 0x7e, 0x26, 0x75, 0x73, - 0xd5, 0xba, 0x91, 0x89, 0x68, 0x35, 0xb5, 0x8c, 0xd5, 0x52, 0x87, 0x32, 0xa6, 0xa8, 0x55, 0xa2, - 0x88, 0x13, 0xc6, 0x2e, 0x15, 0x88, 0xb4, 0x54, 0xd2, 0x42, 0xf9, 0xea, 0xbb, 0x05, 0xd5, 0x21, - 0xca, 0x85, 0xbf, 0x60, 0x88, 0x57, 0xbc, 0x47, 0x8e, 0x61, 0x4f, 0x20, 0x4e, 0x97, 0x7a, 0xee, - 0x18, 0x75, 0xa3, 0xf1, 0x84, 0x57, 0x04, 0xe2, 0x95, 0x9e, 0x93, 0x17, 0x50, 0x89, 0x64, 0x72, - 0xa7, 0x66, 0x8e, 0x99, 0xe3, 0x79, 0x45, 0x42, 0xd8, 0xbf, 0x55, 0x3a, 0x9a, 0xa2, 0xd0, 0x22, - 0x92, 0x89, 0xd4, 0xb1, 0x63, 0xd5, 0xad, 0xc6, 0xd3, 0xb3, 0x36, 0xdd, 0x36, 0x95, 0xae, 0x4f, - 0xa4, 0x97, 0x4a, 0x47, 0xc1, 0xaf, 0x66, 0x6f, 0x91, 0xe8, 0x07, 0x5e, 0xbb, 0xdd, 0x00, 0x49, - 0x1f, 0xf6, 0xee, 0xa4, 0x98, 0xa5, 0xe6, 0x3b, 0x99, 0xb9, 0xfb, 0x8f, 0xe6, 0x6f, 0xf2, 0xae, - 0xdc, 0xb5, 0xf4, 0x20, 0xe7, 0x50, 0x49, 0x84, 0xfe, 0x20, 0x13, 0x67, 0xb7, 0x6e, 0x34, 0x6a, - 0x67, 0xf5, 0xed, 0x6e, 0xa3, 0x4c, 0xc7, 0x0b, 0xfd, 0x09, 0x83, 0xc3, 0xbf, 0xec, 0x4b, 0x6c, - 0xb0, 0x3e, 0xca, 0x87, 0x22, 0xb1, 0xf4, 0x49, 0x8e, 0x60, 0x77, 0x25, 0xe6, 0x4b, 0x59, 0xa4, - 0x95, 0x17, 0x6d, 0xf3, 0xdc, 0x38, 0x69, 0x43, 0x75, 0x7d, 0xab, 0xff, 0xe9, 0x3d, 0xfd, 0x62, - 0xc0, 0xe3, 0xf1, 0xbd, 0xfc, 0xd4, 0x57, 0x33, 0x49, 0x9e, 0xc3, 0xc1, 0xd8, 0xf7, 0xae, 0xa7, - 0xfd, 0x61, 0xd7, 0x9b, 0xfa, 0x83, 0x31, 0xeb, 0xf9, 0x5d, 0xfb, 0x11, 0x39, 0x86, 0xc3, 0xdf, - 0x70, 0xf6, 0x1a, 0x0e, 0x7a, 0xef, 0x6c, 0x63, 0x93, 0xe0, 0x1e, 0xeb, 0xe6, 0x84, 0x49, 0x1c, - 0x38, 0xfa, 0x83, 0xb8, 0xe6, 0xfe, 0xc8, 0xb3, 0xad, 0xcd, 0x11, 0x01, 0xf7, 0xd2, 0xc2, 0xde, - 0x39, 0x65, 0x50, 0xc9, 0x73, 0x21, 0x04, 0x6a, 0x23, 0xc6, 0x5f, 0x7b, 0xa3, 0xb5, 0x05, 0x0e, - 0xe0, 0x59, 0x89, 0x5d, 0x72, 0xd6, 0xf7, 0x6c, 0x83, 0xd8, 0x50, 0x2d, 0xa0, 0x4e, 0x8f, 0x0d, - 0xde, 0xda, 0x66, 0xe7, 0x33, 0xbc, 0x0c, 0x55, 0xb4, 0x35, 0xf7, 0x4e, 0x8d, 0x97, 0x37, 0x1c, - 0xa4, 0x27, 0x1c, 0x18, 0xef, 0xf7, 0x4b, 0x4d, 0x21, 0xf9, 0x6a, 0x5a, 0x17, 0x2c, 0xf8, 0x66, - 0x3a, 0x17, 0xb1, 0x4b, 0x19, 0x22, 0x0d, 0x4a, 0x8f, 0x71, 0xab, 0x93, 0x0a, 0x7e, 0x64, 0xd4, - 0x84, 0x21, 0x4e, 0x4a, 0x6a, 0x52, 0x50, 0x37, 0x95, 0xec, 0x63, 0xb8, 0x3f, 0x03, 0x00, 0x00, - 0xff, 0xff, 0x85, 0x9b, 0x05, 0x50, 0x44, 0x03, 0x00, 0x00, +var File_cs3_app_provider_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_app_provider_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x73, 0x33, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x22, 0xac, 0x03, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, + 0x70, 0x70, 0x55, 0x52, 0x4c, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x5f, 0x75, 0x72, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x70, 0x55, 0x72, 0x6c, 0x12, 0x16, + 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x63, 0x0a, 0x0f, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, + 0x6e, 0x41, 0x70, 0x70, 0x55, 0x52, 0x4c, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x66, 0x6f, 0x72, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x4d, 0x0a, 0x07, 0x68, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, + 0x70, 0x55, 0x52, 0x4c, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x1a, 0x41, 0x0a, 0x13, 0x46, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x2a, 0x84, 0x01, 0x0a, 0x08, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, + 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x49, 0x45, 0x57, 0x5f, + 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, + 0x12, 0x17, 0x0a, 0x13, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x41, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x56, 0x49, 0x45, + 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x57, 0x52, 0x49, 0x54, + 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, + 0x5f, 0x50, 0x52, 0x45, 0x56, 0x49, 0x45, 0x57, 0x10, 0x04, 0x2a, 0x41, 0x0a, 0x06, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x41, 0x52, 0x47, + 0x45, 0x54, 0x5f, 0x49, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x54, + 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x41, 0x4e, 0x4b, 0x10, 0x02, 0x42, 0xf8, 0x01, + 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, + 0x73, 0x33, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x50, 0xaa, 0x02, 0x18, + 0x43, 0x73, 0x33, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x18, 0x43, 0x73, 0x33, 0x5c, 0x41, + 0x70, 0x70, 0x5c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0xe2, 0x02, 0x24, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x70, 0x70, 0x5c, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x43, 0x73, 0x33, + 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_app_provider_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_app_provider_v1beta1_resources_proto_rawDescData = file_cs3_app_provider_v1beta1_resources_proto_rawDesc +) + +func file_cs3_app_provider_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_app_provider_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_app_provider_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_app_provider_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_app_provider_v1beta1_resources_proto_rawDescData +} + +var file_cs3_app_provider_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_cs3_app_provider_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_cs3_app_provider_v1beta1_resources_proto_goTypes = []interface{}{ + (ViewMode)(0), // 0: cs3.app.provider.v1beta1.ViewMode + (Target)(0), // 1: cs3.app.provider.v1beta1.Target + (*OpenInAppURL)(nil), // 2: cs3.app.provider.v1beta1.OpenInAppURL + nil, // 3: cs3.app.provider.v1beta1.OpenInAppURL.FormParametersEntry + nil, // 4: cs3.app.provider.v1beta1.OpenInAppURL.HeadersEntry +} +var file_cs3_app_provider_v1beta1_resources_proto_depIdxs = []int32{ + 3, // 0: cs3.app.provider.v1beta1.OpenInAppURL.form_parameters:type_name -> cs3.app.provider.v1beta1.OpenInAppURL.FormParametersEntry + 4, // 1: cs3.app.provider.v1beta1.OpenInAppURL.headers:type_name -> cs3.app.provider.v1beta1.OpenInAppURL.HeadersEntry + 1, // 2: cs3.app.provider.v1beta1.OpenInAppURL.target:type_name -> cs3.app.provider.v1beta1.Target + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_cs3_app_provider_v1beta1_resources_proto_init() } +func file_cs3_app_provider_v1beta1_resources_proto_init() { + if File_cs3_app_provider_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_app_provider_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpenInAppURL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_app_provider_v1beta1_resources_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_app_provider_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_app_provider_v1beta1_resources_proto_depIdxs, + EnumInfos: file_cs3_app_provider_v1beta1_resources_proto_enumTypes, + MessageInfos: file_cs3_app_provider_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_app_provider_v1beta1_resources_proto = out.File + file_cs3_app_provider_v1beta1_resources_proto_rawDesc = nil + file_cs3_app_provider_v1beta1_resources_proto_goTypes = nil + file_cs3_app_provider_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/registry_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/registry_api.pb.go index 0b25e156f53..d57d82d679a 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/registry_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/registry_api.pb.go @@ -1,84 +1,110 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/app/registry/v1beta1/registry_api.proto package registryv1beta1 import ( - context "context" - fmt "fmt" v1beta12 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 GetAppProvidersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The resource information. - ResourceInfo *v1beta11.ResourceInfo `protobuf:"bytes,2,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ResourceInfo *v1beta11.ResourceInfo `protobuf:"bytes,2,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"` } -func (m *GetAppProvidersRequest) Reset() { *m = GetAppProvidersRequest{} } -func (m *GetAppProvidersRequest) String() string { return proto.CompactTextString(m) } -func (*GetAppProvidersRequest) ProtoMessage() {} -func (*GetAppProvidersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{0} +func (x *GetAppProvidersRequest) Reset() { + *x = GetAppProvidersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAppProvidersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAppProvidersRequest.Unmarshal(m, b) -} -func (m *GetAppProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAppProvidersRequest.Marshal(b, m, deterministic) +func (x *GetAppProvidersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAppProvidersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAppProvidersRequest.Merge(m, src) -} -func (m *GetAppProvidersRequest) XXX_Size() int { - return xxx_messageInfo_GetAppProvidersRequest.Size(m) -} -func (m *GetAppProvidersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAppProvidersRequest.DiscardUnknown(m) + +func (*GetAppProvidersRequest) ProtoMessage() {} + +func (x *GetAppProvidersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetAppProvidersRequest proto.InternalMessageInfo +// Deprecated: Use GetAppProvidersRequest.ProtoReflect.Descriptor instead. +func (*GetAppProvidersRequest) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{0} +} -func (m *GetAppProvidersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetAppProvidersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetAppProvidersRequest) GetResourceInfo() *v1beta11.ResourceInfo { - if m != nil { - return m.ResourceInfo +func (x *GetAppProvidersRequest) GetResourceInfo() *v1beta11.ResourceInfo { + if x != nil { + return x.ResourceInfo } return nil } type GetAppProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -87,202 +113,234 @@ type GetAppProvidersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The app providers available for the given resource info. - Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` } -func (m *GetAppProvidersResponse) Reset() { *m = GetAppProvidersResponse{} } -func (m *GetAppProvidersResponse) String() string { return proto.CompactTextString(m) } -func (*GetAppProvidersResponse) ProtoMessage() {} -func (*GetAppProvidersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{1} +func (x *GetAppProvidersResponse) Reset() { + *x = GetAppProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAppProvidersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAppProvidersResponse.Unmarshal(m, b) +func (x *GetAppProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAppProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAppProvidersResponse.Marshal(b, m, deterministic) -} -func (m *GetAppProvidersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAppProvidersResponse.Merge(m, src) -} -func (m *GetAppProvidersResponse) XXX_Size() int { - return xxx_messageInfo_GetAppProvidersResponse.Size(m) -} -func (m *GetAppProvidersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAppProvidersResponse.DiscardUnknown(m) + +func (*GetAppProvidersResponse) ProtoMessage() {} + +func (x *GetAppProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetAppProvidersResponse proto.InternalMessageInfo +// Deprecated: Use GetAppProvidersResponse.ProtoReflect.Descriptor instead. +func (*GetAppProvidersResponse) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{1} +} -func (m *GetAppProvidersResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *GetAppProvidersResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *GetAppProvidersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetAppProvidersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetAppProvidersResponse) GetProviders() []*ProviderInfo { - if m != nil { - return m.Providers +func (x *GetAppProvidersResponse) GetProviders() []*ProviderInfo { + if x != nil { + return x.Providers } return nil } type AddAppProviderRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The app provider to be registered. - Provider *ProviderInfo `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Provider *ProviderInfo `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` } -func (m *AddAppProviderRequest) Reset() { *m = AddAppProviderRequest{} } -func (m *AddAppProviderRequest) String() string { return proto.CompactTextString(m) } -func (*AddAppProviderRequest) ProtoMessage() {} -func (*AddAppProviderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{2} +func (x *AddAppProviderRequest) Reset() { + *x = AddAppProviderRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddAppProviderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddAppProviderRequest.Unmarshal(m, b) -} -func (m *AddAppProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddAppProviderRequest.Marshal(b, m, deterministic) -} -func (m *AddAppProviderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddAppProviderRequest.Merge(m, src) -} -func (m *AddAppProviderRequest) XXX_Size() int { - return xxx_messageInfo_AddAppProviderRequest.Size(m) +func (x *AddAppProviderRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddAppProviderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddAppProviderRequest.DiscardUnknown(m) + +func (*AddAppProviderRequest) ProtoMessage() {} + +func (x *AddAppProviderRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_AddAppProviderRequest proto.InternalMessageInfo +// Deprecated: Use AddAppProviderRequest.ProtoReflect.Descriptor instead. +func (*AddAppProviderRequest) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{2} +} -func (m *AddAppProviderRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *AddAppProviderRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *AddAppProviderRequest) GetProvider() *ProviderInfo { - if m != nil { - return m.Provider +func (x *AddAppProviderRequest) GetProvider() *ProviderInfo { + if x != nil { + return x.Provider } return nil } type AddAppProviderResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *AddAppProviderResponse) Reset() { *m = AddAppProviderResponse{} } -func (m *AddAppProviderResponse) String() string { return proto.CompactTextString(m) } -func (*AddAppProviderResponse) ProtoMessage() {} -func (*AddAppProviderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{3} +func (x *AddAppProviderResponse) Reset() { + *x = AddAppProviderResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddAppProviderResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddAppProviderResponse.Unmarshal(m, b) -} -func (m *AddAppProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddAppProviderResponse.Marshal(b, m, deterministic) -} -func (m *AddAppProviderResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddAppProviderResponse.Merge(m, src) +func (x *AddAppProviderResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddAppProviderResponse) XXX_Size() int { - return xxx_messageInfo_AddAppProviderResponse.Size(m) -} -func (m *AddAppProviderResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddAppProviderResponse.DiscardUnknown(m) + +func (*AddAppProviderResponse) ProtoMessage() {} + +func (x *AddAppProviderResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_AddAppProviderResponse proto.InternalMessageInfo +// Deprecated: Use AddAppProviderResponse.ProtoReflect.Descriptor instead. +func (*AddAppProviderResponse) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{3} +} -func (m *AddAppProviderResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *AddAppProviderResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *AddAppProviderResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *AddAppProviderResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type ListAppProvidersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *ListAppProvidersRequest) Reset() { *m = ListAppProvidersRequest{} } -func (m *ListAppProvidersRequest) String() string { return proto.CompactTextString(m) } -func (*ListAppProvidersRequest) ProtoMessage() {} -func (*ListAppProvidersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{4} +func (x *ListAppProvidersRequest) Reset() { + *x = ListAppProvidersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAppProvidersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAppProvidersRequest.Unmarshal(m, b) -} -func (m *ListAppProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAppProvidersRequest.Marshal(b, m, deterministic) -} -func (m *ListAppProvidersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAppProvidersRequest.Merge(m, src) -} -func (m *ListAppProvidersRequest) XXX_Size() int { - return xxx_messageInfo_ListAppProvidersRequest.Size(m) +func (x *ListAppProvidersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAppProvidersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAppProvidersRequest.DiscardUnknown(m) + +func (*ListAppProvidersRequest) ProtoMessage() {} + +func (x *ListAppProvidersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_ListAppProvidersRequest proto.InternalMessageInfo +// Deprecated: Use ListAppProvidersRequest.ProtoReflect.Descriptor instead. +func (*ListAppProvidersRequest) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{4} +} -func (m *ListAppProvidersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListAppProvidersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type ListAppProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -291,100 +349,116 @@ type ListAppProvidersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The list of app providers this registry knows about. - Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` } -func (m *ListAppProvidersResponse) Reset() { *m = ListAppProvidersResponse{} } -func (m *ListAppProvidersResponse) String() string { return proto.CompactTextString(m) } -func (*ListAppProvidersResponse) ProtoMessage() {} -func (*ListAppProvidersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{5} +func (x *ListAppProvidersResponse) Reset() { + *x = ListAppProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAppProvidersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAppProvidersResponse.Unmarshal(m, b) -} -func (m *ListAppProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAppProvidersResponse.Marshal(b, m, deterministic) -} -func (m *ListAppProvidersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAppProvidersResponse.Merge(m, src) +func (x *ListAppProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAppProvidersResponse) XXX_Size() int { - return xxx_messageInfo_ListAppProvidersResponse.Size(m) -} -func (m *ListAppProvidersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAppProvidersResponse.DiscardUnknown(m) + +func (*ListAppProvidersResponse) ProtoMessage() {} + +func (x *ListAppProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_ListAppProvidersResponse proto.InternalMessageInfo +// Deprecated: Use ListAppProvidersResponse.ProtoReflect.Descriptor instead. +func (*ListAppProvidersResponse) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{5} +} -func (m *ListAppProvidersResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *ListAppProvidersResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *ListAppProvidersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListAppProvidersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListAppProvidersResponse) GetProviders() []*ProviderInfo { - if m != nil { - return m.Providers +func (x *ListAppProvidersResponse) GetProviders() []*ProviderInfo { + if x != nil { + return x.Providers } return nil } type ListSupportedMimeTypesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *ListSupportedMimeTypesRequest) Reset() { *m = ListSupportedMimeTypesRequest{} } -func (m *ListSupportedMimeTypesRequest) String() string { return proto.CompactTextString(m) } -func (*ListSupportedMimeTypesRequest) ProtoMessage() {} -func (*ListSupportedMimeTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{6} +func (x *ListSupportedMimeTypesRequest) Reset() { + *x = ListSupportedMimeTypesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListSupportedMimeTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSupportedMimeTypesRequest.Unmarshal(m, b) -} -func (m *ListSupportedMimeTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSupportedMimeTypesRequest.Marshal(b, m, deterministic) +func (x *ListSupportedMimeTypesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListSupportedMimeTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSupportedMimeTypesRequest.Merge(m, src) -} -func (m *ListSupportedMimeTypesRequest) XXX_Size() int { - return xxx_messageInfo_ListSupportedMimeTypesRequest.Size(m) -} -func (m *ListSupportedMimeTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSupportedMimeTypesRequest.DiscardUnknown(m) + +func (*ListSupportedMimeTypesRequest) ProtoMessage() {} + +func (x *ListSupportedMimeTypesRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_ListSupportedMimeTypesRequest proto.InternalMessageInfo +// Deprecated: Use ListSupportedMimeTypesRequest.ProtoReflect.Descriptor instead. +func (*ListSupportedMimeTypesRequest) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{6} +} -func (m *ListSupportedMimeTypesRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListSupportedMimeTypesRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type ListSupportedMimeTypesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -393,112 +467,126 @@ type ListSupportedMimeTypesResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The list of supported mime types and their properties. - MimeTypes []*MimeTypeInfo `protobuf:"bytes,3,rep,name=mime_types,json=mimeTypes,proto3" json:"mime_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MimeTypes []*MimeTypeInfo `protobuf:"bytes,3,rep,name=mime_types,json=mimeTypes,proto3" json:"mime_types,omitempty"` } -func (m *ListSupportedMimeTypesResponse) Reset() { *m = ListSupportedMimeTypesResponse{} } -func (m *ListSupportedMimeTypesResponse) String() string { return proto.CompactTextString(m) } -func (*ListSupportedMimeTypesResponse) ProtoMessage() {} -func (*ListSupportedMimeTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{7} +func (x *ListSupportedMimeTypesResponse) Reset() { + *x = ListSupportedMimeTypesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListSupportedMimeTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSupportedMimeTypesResponse.Unmarshal(m, b) +func (x *ListSupportedMimeTypesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListSupportedMimeTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSupportedMimeTypesResponse.Marshal(b, m, deterministic) -} -func (m *ListSupportedMimeTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSupportedMimeTypesResponse.Merge(m, src) -} -func (m *ListSupportedMimeTypesResponse) XXX_Size() int { - return xxx_messageInfo_ListSupportedMimeTypesResponse.Size(m) -} -func (m *ListSupportedMimeTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSupportedMimeTypesResponse.DiscardUnknown(m) + +func (*ListSupportedMimeTypesResponse) ProtoMessage() {} + +func (x *ListSupportedMimeTypesResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_ListSupportedMimeTypesResponse proto.InternalMessageInfo +// Deprecated: Use ListSupportedMimeTypesResponse.ProtoReflect.Descriptor instead. +func (*ListSupportedMimeTypesResponse) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{7} +} -func (m *ListSupportedMimeTypesResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *ListSupportedMimeTypesResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *ListSupportedMimeTypesResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListSupportedMimeTypesResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListSupportedMimeTypesResponse) GetMimeTypes() []*MimeTypeInfo { - if m != nil { - return m.MimeTypes +func (x *ListSupportedMimeTypesResponse) GetMimeTypes() []*MimeTypeInfo { + if x != nil { + return x.MimeTypes } return nil } type GetDefaultAppProviderForMimeTypeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The mimetype for which the default app has to be returned. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` } -func (m *GetDefaultAppProviderForMimeTypeRequest) Reset() { - *m = GetDefaultAppProviderForMimeTypeRequest{} -} -func (m *GetDefaultAppProviderForMimeTypeRequest) String() string { return proto.CompactTextString(m) } -func (*GetDefaultAppProviderForMimeTypeRequest) ProtoMessage() {} -func (*GetDefaultAppProviderForMimeTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{8} +func (x *GetDefaultAppProviderForMimeTypeRequest) Reset() { + *x = GetDefaultAppProviderForMimeTypeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDefaultAppProviderForMimeTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDefaultAppProviderForMimeTypeRequest.Unmarshal(m, b) -} -func (m *GetDefaultAppProviderForMimeTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDefaultAppProviderForMimeTypeRequest.Marshal(b, m, deterministic) +func (x *GetDefaultAppProviderForMimeTypeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDefaultAppProviderForMimeTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDefaultAppProviderForMimeTypeRequest.Merge(m, src) -} -func (m *GetDefaultAppProviderForMimeTypeRequest) XXX_Size() int { - return xxx_messageInfo_GetDefaultAppProviderForMimeTypeRequest.Size(m) -} -func (m *GetDefaultAppProviderForMimeTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDefaultAppProviderForMimeTypeRequest.DiscardUnknown(m) + +func (*GetDefaultAppProviderForMimeTypeRequest) ProtoMessage() {} + +func (x *GetDefaultAppProviderForMimeTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetDefaultAppProviderForMimeTypeRequest proto.InternalMessageInfo +// Deprecated: Use GetDefaultAppProviderForMimeTypeRequest.ProtoReflect.Descriptor instead. +func (*GetDefaultAppProviderForMimeTypeRequest) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{8} +} -func (m *GetDefaultAppProviderForMimeTypeRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetDefaultAppProviderForMimeTypeRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetDefaultAppProviderForMimeTypeRequest) GetMimeType() string { - if m != nil { - return m.MimeType +func (x *GetDefaultAppProviderForMimeTypeRequest) GetMimeType() string { + if x != nil { + return x.MimeType } return "" } type GetDefaultAppProviderForMimeTypeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -507,61 +595,67 @@ type GetDefaultAppProviderForMimeTypeResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The default app provider for the specified mime type. - Provider *ProviderInfo `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Provider *ProviderInfo `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` } -func (m *GetDefaultAppProviderForMimeTypeResponse) Reset() { - *m = GetDefaultAppProviderForMimeTypeResponse{} -} -func (m *GetDefaultAppProviderForMimeTypeResponse) String() string { return proto.CompactTextString(m) } -func (*GetDefaultAppProviderForMimeTypeResponse) ProtoMessage() {} -func (*GetDefaultAppProviderForMimeTypeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{9} +func (x *GetDefaultAppProviderForMimeTypeResponse) Reset() { + *x = GetDefaultAppProviderForMimeTypeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDefaultAppProviderForMimeTypeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDefaultAppProviderForMimeTypeResponse.Unmarshal(m, b) -} -func (m *GetDefaultAppProviderForMimeTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDefaultAppProviderForMimeTypeResponse.Marshal(b, m, deterministic) -} -func (m *GetDefaultAppProviderForMimeTypeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDefaultAppProviderForMimeTypeResponse.Merge(m, src) +func (x *GetDefaultAppProviderForMimeTypeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDefaultAppProviderForMimeTypeResponse) XXX_Size() int { - return xxx_messageInfo_GetDefaultAppProviderForMimeTypeResponse.Size(m) -} -func (m *GetDefaultAppProviderForMimeTypeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetDefaultAppProviderForMimeTypeResponse.DiscardUnknown(m) + +func (*GetDefaultAppProviderForMimeTypeResponse) ProtoMessage() {} + +func (x *GetDefaultAppProviderForMimeTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetDefaultAppProviderForMimeTypeResponse proto.InternalMessageInfo +// Deprecated: Use GetDefaultAppProviderForMimeTypeResponse.ProtoReflect.Descriptor instead. +func (*GetDefaultAppProviderForMimeTypeResponse) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{9} +} -func (m *GetDefaultAppProviderForMimeTypeResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *GetDefaultAppProviderForMimeTypeResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *GetDefaultAppProviderForMimeTypeResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetDefaultAppProviderForMimeTypeResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetDefaultAppProviderForMimeTypeResponse) GetProvider() *ProviderInfo { - if m != nil { - return m.Provider +func (x *GetDefaultAppProviderForMimeTypeResponse) GetProvider() *ProviderInfo { + if x != nil { + return x.Provider } return nil } type SetDefaultAppProviderForMimeTypeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -570,447 +664,572 @@ type SetDefaultAppProviderForMimeTypeRequest struct { MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // REQUIRED. // The app provider to be marked as default for the specified mime type. - Provider *ProviderInfo `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Provider *ProviderInfo `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` } -func (m *SetDefaultAppProviderForMimeTypeRequest) Reset() { - *m = SetDefaultAppProviderForMimeTypeRequest{} -} -func (m *SetDefaultAppProviderForMimeTypeRequest) String() string { return proto.CompactTextString(m) } -func (*SetDefaultAppProviderForMimeTypeRequest) ProtoMessage() {} -func (*SetDefaultAppProviderForMimeTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{10} +func (x *SetDefaultAppProviderForMimeTypeRequest) Reset() { + *x = SetDefaultAppProviderForMimeTypeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetDefaultAppProviderForMimeTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetDefaultAppProviderForMimeTypeRequest.Unmarshal(m, b) -} -func (m *SetDefaultAppProviderForMimeTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetDefaultAppProviderForMimeTypeRequest.Marshal(b, m, deterministic) +func (x *SetDefaultAppProviderForMimeTypeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetDefaultAppProviderForMimeTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetDefaultAppProviderForMimeTypeRequest.Merge(m, src) -} -func (m *SetDefaultAppProviderForMimeTypeRequest) XXX_Size() int { - return xxx_messageInfo_SetDefaultAppProviderForMimeTypeRequest.Size(m) -} -func (m *SetDefaultAppProviderForMimeTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetDefaultAppProviderForMimeTypeRequest.DiscardUnknown(m) + +func (*SetDefaultAppProviderForMimeTypeRequest) ProtoMessage() {} + +func (x *SetDefaultAppProviderForMimeTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SetDefaultAppProviderForMimeTypeRequest proto.InternalMessageInfo +// Deprecated: Use SetDefaultAppProviderForMimeTypeRequest.ProtoReflect.Descriptor instead. +func (*SetDefaultAppProviderForMimeTypeRequest) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{10} +} -func (m *SetDefaultAppProviderForMimeTypeRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *SetDefaultAppProviderForMimeTypeRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *SetDefaultAppProviderForMimeTypeRequest) GetMimeType() string { - if m != nil { - return m.MimeType +func (x *SetDefaultAppProviderForMimeTypeRequest) GetMimeType() string { + if x != nil { + return x.MimeType } return "" } -func (m *SetDefaultAppProviderForMimeTypeRequest) GetProvider() *ProviderInfo { - if m != nil { - return m.Provider +func (x *SetDefaultAppProviderForMimeTypeRequest) GetProvider() *ProviderInfo { + if x != nil { + return x.Provider } return nil } type SetDefaultAppProviderForMimeTypeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SetDefaultAppProviderForMimeTypeResponse) Reset() { - *m = SetDefaultAppProviderForMimeTypeResponse{} -} -func (m *SetDefaultAppProviderForMimeTypeResponse) String() string { return proto.CompactTextString(m) } -func (*SetDefaultAppProviderForMimeTypeResponse) ProtoMessage() {} -func (*SetDefaultAppProviderForMimeTypeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9a26a91cc65771e6, []int{11} -} - -func (m *SetDefaultAppProviderForMimeTypeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetDefaultAppProviderForMimeTypeResponse.Unmarshal(m, b) -} -func (m *SetDefaultAppProviderForMimeTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetDefaultAppProviderForMimeTypeResponse.Marshal(b, m, deterministic) -} -func (m *SetDefaultAppProviderForMimeTypeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetDefaultAppProviderForMimeTypeResponse.Merge(m, src) -} -func (m *SetDefaultAppProviderForMimeTypeResponse) XXX_Size() int { - return xxx_messageInfo_SetDefaultAppProviderForMimeTypeResponse.Size(m) -} -func (m *SetDefaultAppProviderForMimeTypeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetDefaultAppProviderForMimeTypeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SetDefaultAppProviderForMimeTypeResponse proto.InternalMessageInfo - -func (m *SetDefaultAppProviderForMimeTypeResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *SetDefaultAppProviderForMimeTypeResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func init() { - proto.RegisterType((*GetAppProvidersRequest)(nil), "cs3.app.registry.v1beta1.GetAppProvidersRequest") - proto.RegisterType((*GetAppProvidersResponse)(nil), "cs3.app.registry.v1beta1.GetAppProvidersResponse") - proto.RegisterType((*AddAppProviderRequest)(nil), "cs3.app.registry.v1beta1.AddAppProviderRequest") - proto.RegisterType((*AddAppProviderResponse)(nil), "cs3.app.registry.v1beta1.AddAppProviderResponse") - proto.RegisterType((*ListAppProvidersRequest)(nil), "cs3.app.registry.v1beta1.ListAppProvidersRequest") - proto.RegisterType((*ListAppProvidersResponse)(nil), "cs3.app.registry.v1beta1.ListAppProvidersResponse") - proto.RegisterType((*ListSupportedMimeTypesRequest)(nil), "cs3.app.registry.v1beta1.ListSupportedMimeTypesRequest") - proto.RegisterType((*ListSupportedMimeTypesResponse)(nil), "cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse") - proto.RegisterType((*GetDefaultAppProviderForMimeTypeRequest)(nil), "cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeRequest") - proto.RegisterType((*GetDefaultAppProviderForMimeTypeResponse)(nil), "cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeResponse") - proto.RegisterType((*SetDefaultAppProviderForMimeTypeRequest)(nil), "cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeRequest") - proto.RegisterType((*SetDefaultAppProviderForMimeTypeResponse)(nil), "cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeResponse") -} - -func init() { - proto.RegisterFile("cs3/app/registry/v1beta1/registry_api.proto", fileDescriptor_9a26a91cc65771e6) -} - -var fileDescriptor_9a26a91cc65771e6 = []byte{ - // 650 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xcf, 0x6e, 0xd3, 0x4e, - 0x10, 0xd6, 0x26, 0x52, 0xd4, 0x4e, 0x7f, 0x3f, 0x5a, 0x59, 0xa2, 0x35, 0xa6, 0x45, 0x95, 0x0f, - 0x34, 0x02, 0xb4, 0x6e, 0x92, 0x03, 0x5c, 0x9d, 0x16, 0xaa, 0x4a, 0x45, 0x8d, 0x6c, 0xc4, 0x01, - 0x55, 0xaa, 0x5c, 0x67, 0x53, 0x59, 0x22, 0xd9, 0xed, 0xae, 0x1d, 0x29, 0x12, 0x12, 0x0f, 0x80, - 0xd4, 0x27, 0xe0, 0xc4, 0x0d, 0xde, 0x81, 0x13, 0x9c, 0xe0, 0xc6, 0x95, 0x97, 0x41, 0x76, 0x76, - 0x8d, 0x49, 0xe3, 0xfc, 0xc1, 0x55, 0x80, 0xa3, 0x3d, 0xdf, 0xf7, 0xcd, 0x37, 0xb3, 0xde, 0x19, - 0xc3, 0x7d, 0x5f, 0x34, 0x2c, 0x8f, 0x31, 0x8b, 0x93, 0xf3, 0x40, 0x84, 0x7c, 0x60, 0xf5, 0x6b, - 0x67, 0x24, 0xf4, 0x6a, 0xe9, 0x8b, 0x53, 0x8f, 0x05, 0x98, 0x71, 0x1a, 0x52, 0x4d, 0xf7, 0x45, - 0x03, 0x7b, 0x8c, 0x61, 0x15, 0xc3, 0x12, 0x6c, 0x54, 0x27, 0xc8, 0x08, 0x1a, 0x71, 0x9f, 0x88, - 0xa1, 0x86, 0xb1, 0x19, 0x23, 0x39, 0xf3, 0x53, 0x80, 0x08, 0xbd, 0x30, 0x52, 0xd1, 0x07, 0x71, - 0x54, 0x84, 0x94, 0x7b, 0xe7, 0xc4, 0x62, 0x9c, 0xf6, 0x83, 0x36, 0xe1, 0xb9, 0x5a, 0x5b, 0x31, - 0x3a, 0x1c, 0x30, 0x22, 0x52, 0x48, 0xf2, 0x34, 0x0c, 0x9b, 0x6f, 0x11, 0xac, 0x1f, 0x90, 0xd0, - 0x66, 0xac, 0x25, 0x95, 0x84, 0x43, 0x2e, 0x22, 0x22, 0x42, 0xad, 0x06, 0x15, 0xca, 0xbc, 0x8b, - 0x88, 0xe8, 0x68, 0x1b, 0x55, 0x57, 0xea, 0xb7, 0x70, 0x5c, 0xda, 0x90, 0x2c, 0xa5, 0xf0, 0x71, - 0x02, 0x70, 0x24, 0x50, 0x3b, 0x86, 0xff, 0x55, 0xfe, 0xd3, 0xa0, 0xd7, 0xa1, 0x7a, 0x29, 0x61, - 0xde, 0x4b, 0x98, 0xd2, 0x32, 0x56, 0x96, 0x53, 0x11, 0x47, 0x52, 0x0e, 0x7b, 0x1d, 0xea, 0xfc, - 0xc7, 0x33, 0x4f, 0xe6, 0x27, 0x04, 0x1b, 0x57, 0xec, 0x09, 0x46, 0x7b, 0x82, 0x68, 0x16, 0x54, - 0x86, 0x7d, 0x91, 0xfe, 0x36, 0x92, 0x2c, 0x9c, 0xf9, 0xa9, 0xb0, 0x9b, 0x84, 0x1d, 0x09, 0xcb, - 0x14, 0x54, 0x9a, 0xb5, 0xa0, 0x7d, 0x58, 0x56, 0x76, 0x85, 0x5e, 0xde, 0x2e, 0x57, 0x57, 0xea, - 0x77, 0x71, 0xde, 0x09, 0x63, 0xe5, 0x31, 0x29, 0xe4, 0x27, 0xd1, 0xbc, 0x44, 0x70, 0xd3, 0x6e, - 0xb7, 0x33, 0x55, 0x14, 0xe8, 0x71, 0x13, 0x96, 0x94, 0xb2, 0xac, 0x63, 0x56, 0x47, 0x29, 0xcf, - 0x7c, 0x05, 0xeb, 0xa3, 0x7e, 0x16, 0xd7, 0x54, 0xf3, 0x08, 0x36, 0x8e, 0x02, 0x71, 0x4d, 0xdf, - 0x9c, 0xf9, 0x19, 0x81, 0x7e, 0x55, 0xee, 0x9f, 0xfb, 0x46, 0x1c, 0xd8, 0x8a, 0xab, 0x70, 0x23, - 0xc6, 0x28, 0x0f, 0x49, 0xfb, 0x69, 0xd0, 0x25, 0xcf, 0xe2, 0xb4, 0x05, 0x5a, 0xf3, 0x15, 0xc1, - 0x9d, 0x3c, 0xd1, 0x05, 0x36, 0xe8, 0x31, 0x40, 0x37, 0xe8, 0x92, 0xd3, 0x04, 0x34, 0xbd, 0x43, - 0xca, 0xe4, 0xb0, 0x43, 0x5d, 0x65, 0xd9, 0x1c, 0xc0, 0xce, 0x01, 0x09, 0xf7, 0x49, 0xc7, 0x8b, - 0x5e, 0x66, 0x4f, 0xfb, 0x09, 0xe5, 0x8a, 0x52, 0xe0, 0x5a, 0xdd, 0x86, 0xe5, 0xd4, 0x64, 0x52, - 0xda, 0xb2, 0xb3, 0xa4, 0x72, 0x9b, 0xdf, 0x10, 0x54, 0xa7, 0xe7, 0x5e, 0x60, 0x4b, 0xb3, 0x43, - 0xa0, 0xfc, 0x9b, 0x43, 0xe0, 0x23, 0x82, 0x1d, 0xf7, 0xcf, 0x34, 0xf4, 0x5a, 0xfc, 0x5f, 0x22, - 0xa8, 0xba, 0x7f, 0xd1, 0xa1, 0xd4, 0xbf, 0x57, 0x60, 0xc5, 0x91, 0xe6, 0xed, 0xd6, 0xa1, 0xd6, - 0x87, 0xd5, 0x91, 0xdd, 0xa5, 0xed, 0xe6, 0x57, 0x39, 0x7e, 0x0b, 0x1b, 0xb5, 0x39, 0x18, 0xb2, - 0x56, 0x01, 0x37, 0x7e, 0x9d, 0xee, 0x9a, 0x95, 0x2f, 0x32, 0x76, 0x2f, 0x19, 0xbb, 0xb3, 0x13, - 0x64, 0xd2, 0x01, 0xac, 0x8d, 0x4e, 0x61, 0x6d, 0x82, 0xf7, 0x9c, 0x05, 0x60, 0xd4, 0xe7, 0xa1, - 0xc8, 0xd4, 0x6f, 0x10, 0xac, 0x8f, 0x1f, 0x73, 0xda, 0xc3, 0xc9, 0x72, 0xb9, 0xd3, 0xd6, 0x78, - 0x34, 0x3f, 0x51, 0xba, 0x79, 0x8f, 0x60, 0x7b, 0xda, 0xac, 0xd0, 0xec, 0x89, 0xa7, 0x3a, 0xcb, - 0x95, 0x34, 0x9a, 0x45, 0x24, 0x32, 0x5e, 0xdd, 0x02, 0x5e, 0xdd, 0xe2, 0x5e, 0x67, 0xbd, 0xc1, - 0xcd, 0xd7, 0xb0, 0xe9, 0xd3, 0x6e, 0xae, 0x50, 0x73, 0x2d, 0xbd, 0x7a, 0x2c, 0x68, 0xc5, 0xff, - 0xb6, 0x2d, 0xf4, 0x62, 0x55, 0xa1, 0x24, 0xe8, 0x5d, 0xa9, 0xbc, 0x67, 0x3b, 0x1f, 0x4a, 0xfa, - 0x9e, 0x68, 0x60, 0x9b, 0x31, 0xac, 0x38, 0xf8, 0x79, 0xad, 0x19, 0x03, 0xbe, 0x24, 0xa1, 0x13, - 0x9b, 0xb1, 0x13, 0x15, 0x3a, 0x91, 0xa1, 0xb3, 0x4a, 0xf2, 0xc7, 0xdc, 0xf8, 0x11, 0x00, 0x00, - 0xff, 0xff, 0x8a, 0xca, 0x34, 0x4a, 0x0f, 0x0c, 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 - -// RegistryAPIClient is the client API for RegistryAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegistryAPIClient interface { - // Returns the app providers that are capable of handling this resource info. - // MUST return CODE_NOT_FOUND if no providers are available. - GetAppProviders(ctx context.Context, in *GetAppProvidersRequest, opts ...grpc.CallOption) (*GetAppProvidersResponse, error) - // Registers a new app provider to the registry. - AddAppProvider(ctx context.Context, in *AddAppProviderRequest, opts ...grpc.CallOption) (*AddAppProviderResponse, error) - // Returns a list of the available app providers known by this registry. - ListAppProviders(ctx context.Context, in *ListAppProvidersRequest, opts ...grpc.CallOption) (*ListAppProvidersResponse, error) - // Returns a list of the supported mime types along with the apps which they can be opened with. - ListSupportedMimeTypes(ctx context.Context, in *ListSupportedMimeTypesRequest, opts ...grpc.CallOption) (*ListSupportedMimeTypesResponse, error) - // Returns the default app provider which serves a specified mime type. - GetDefaultAppProviderForMimeType(ctx context.Context, in *GetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*GetDefaultAppProviderForMimeTypeResponse, error) - // Sets the default app provider for a specified mime type. - SetDefaultAppProviderForMimeType(ctx context.Context, in *SetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*SetDefaultAppProviderForMimeTypeResponse, error) -} - -type registryAPIClient struct { - cc *grpc.ClientConn -} - -func NewRegistryAPIClient(cc *grpc.ClientConn) RegistryAPIClient { - return ®istryAPIClient{cc} -} - -func (c *registryAPIClient) GetAppProviders(ctx context.Context, in *GetAppProvidersRequest, opts ...grpc.CallOption) (*GetAppProvidersResponse, error) { - out := new(GetAppProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.app.registry.v1beta1.RegistryAPI/GetAppProviders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (c *registryAPIClient) AddAppProvider(ctx context.Context, in *AddAppProviderRequest, opts ...grpc.CallOption) (*AddAppProviderResponse, error) { - out := new(AddAppProviderResponse) - err := c.cc.Invoke(ctx, "/cs3.app.registry.v1beta1.RegistryAPI/AddAppProvider", in, out, opts...) - if err != nil { - return nil, err +func (x *SetDefaultAppProviderForMimeTypeResponse) Reset() { + *x = SetDefaultAppProviderForMimeTypeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -func (c *registryAPIClient) ListAppProviders(ctx context.Context, in *ListAppProvidersRequest, opts ...grpc.CallOption) (*ListAppProvidersResponse, error) { - out := new(ListAppProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.app.registry.v1beta1.RegistryAPI/ListAppProviders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (x *SetDefaultAppProviderForMimeTypeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *registryAPIClient) ListSupportedMimeTypes(ctx context.Context, in *ListSupportedMimeTypesRequest, opts ...grpc.CallOption) (*ListSupportedMimeTypesResponse, error) { - out := new(ListSupportedMimeTypesResponse) - err := c.cc.Invoke(ctx, "/cs3.app.registry.v1beta1.RegistryAPI/ListSupportedMimeTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *registryAPIClient) GetDefaultAppProviderForMimeType(ctx context.Context, in *GetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*GetDefaultAppProviderForMimeTypeResponse, error) { - out := new(GetDefaultAppProviderForMimeTypeResponse) - err := c.cc.Invoke(ctx, "/cs3.app.registry.v1beta1.RegistryAPI/GetDefaultAppProviderForMimeType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func (*SetDefaultAppProviderForMimeTypeResponse) ProtoMessage() {} -func (c *registryAPIClient) SetDefaultAppProviderForMimeType(ctx context.Context, in *SetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*SetDefaultAppProviderForMimeTypeResponse, error) { - out := new(SetDefaultAppProviderForMimeTypeResponse) - err := c.cc.Invoke(ctx, "/cs3.app.registry.v1beta1.RegistryAPI/SetDefaultAppProviderForMimeType", in, out, opts...) - if err != nil { - return nil, err +func (x *SetDefaultAppProviderForMimeTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return out, nil + return mi.MessageOf(x) } -// RegistryAPIServer is the server API for RegistryAPI service. -type RegistryAPIServer interface { - // Returns the app providers that are capable of handling this resource info. - // MUST return CODE_NOT_FOUND if no providers are available. - GetAppProviders(context.Context, *GetAppProvidersRequest) (*GetAppProvidersResponse, error) - // Registers a new app provider to the registry. - AddAppProvider(context.Context, *AddAppProviderRequest) (*AddAppProviderResponse, error) - // Returns a list of the available app providers known by this registry. - ListAppProviders(context.Context, *ListAppProvidersRequest) (*ListAppProvidersResponse, error) - // Returns a list of the supported mime types along with the apps which they can be opened with. - ListSupportedMimeTypes(context.Context, *ListSupportedMimeTypesRequest) (*ListSupportedMimeTypesResponse, error) - // Returns the default app provider which serves a specified mime type. - GetDefaultAppProviderForMimeType(context.Context, *GetDefaultAppProviderForMimeTypeRequest) (*GetDefaultAppProviderForMimeTypeResponse, error) - // Sets the default app provider for a specified mime type. - SetDefaultAppProviderForMimeType(context.Context, *SetDefaultAppProviderForMimeTypeRequest) (*SetDefaultAppProviderForMimeTypeResponse, error) -} - -// UnimplementedRegistryAPIServer can be embedded to have forward compatible implementations. -type UnimplementedRegistryAPIServer struct { -} - -func (*UnimplementedRegistryAPIServer) GetAppProviders(ctx context.Context, req *GetAppProvidersRequest) (*GetAppProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAppProviders not implemented") -} -func (*UnimplementedRegistryAPIServer) AddAppProvider(ctx context.Context, req *AddAppProviderRequest) (*AddAppProviderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddAppProvider not implemented") -} -func (*UnimplementedRegistryAPIServer) ListAppProviders(ctx context.Context, req *ListAppProvidersRequest) (*ListAppProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAppProviders not implemented") -} -func (*UnimplementedRegistryAPIServer) ListSupportedMimeTypes(ctx context.Context, req *ListSupportedMimeTypesRequest) (*ListSupportedMimeTypesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSupportedMimeTypes not implemented") -} -func (*UnimplementedRegistryAPIServer) GetDefaultAppProviderForMimeType(ctx context.Context, req *GetDefaultAppProviderForMimeTypeRequest) (*GetDefaultAppProviderForMimeTypeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDefaultAppProviderForMimeType not implemented") -} -func (*UnimplementedRegistryAPIServer) SetDefaultAppProviderForMimeType(ctx context.Context, req *SetDefaultAppProviderForMimeTypeRequest) (*SetDefaultAppProviderForMimeTypeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetDefaultAppProviderForMimeType not implemented") -} - -func RegisterRegistryAPIServer(s *grpc.Server, srv RegistryAPIServer) { - s.RegisterService(&_RegistryAPI_serviceDesc, srv) -} - -func _RegistryAPI_GetAppProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAppProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegistryAPIServer).GetAppProviders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.app.registry.v1beta1.RegistryAPI/GetAppProviders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).GetAppProviders(ctx, req.(*GetAppProvidersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegistryAPI_AddAppProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddAppProviderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegistryAPIServer).AddAppProvider(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.app.registry.v1beta1.RegistryAPI/AddAppProvider", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).AddAppProvider(ctx, req.(*AddAppProviderRequest)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use SetDefaultAppProviderForMimeTypeResponse.ProtoReflect.Descriptor instead. +func (*SetDefaultAppProviderForMimeTypeResponse) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{11} } -func _RegistryAPI_ListAppProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAppProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegistryAPIServer).ListAppProviders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.app.registry.v1beta1.RegistryAPI/ListAppProviders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).ListAppProviders(ctx, req.(*ListAppProvidersRequest)) +func (x *SetDefaultAppProviderForMimeTypeResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } - return interceptor(ctx, in, info, handler) + return nil } -func _RegistryAPI_ListSupportedMimeTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSupportedMimeTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegistryAPIServer).ListSupportedMimeTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.app.registry.v1beta1.RegistryAPI/ListSupportedMimeTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).ListSupportedMimeTypes(ctx, req.(*ListSupportedMimeTypesRequest)) +func (x *SetDefaultAppProviderForMimeTypeResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - return interceptor(ctx, in, info, handler) + return nil } -func _RegistryAPI_GetDefaultAppProviderForMimeType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDefaultAppProviderForMimeTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegistryAPIServer).GetDefaultAppProviderForMimeType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.app.registry.v1beta1.RegistryAPI/GetDefaultAppProviderForMimeType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).GetDefaultAppProviderForMimeType(ctx, req.(*GetDefaultAppProviderForMimeTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_app_registry_v1beta1_registry_api_proto protoreflect.FileDescriptor + +var file_cs3_app_registry_v1beta1_registry_api_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x70, 0x70, + 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, + 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x01, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x17, + 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x09, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x42, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x22, 0x7c, 0x0a, 0x16, 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x22, 0x4c, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xc4, + 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x44, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x73, 0x22, 0x52, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x70, + 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x1e, 0x4c, 0x69, + 0x73, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x4d, 0x69, 0x6d, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x12, 0x45, 0x0a, 0x0a, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6d, 0x69, + 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x79, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x22, 0xd2, 0x01, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, + 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0xbd, 0x01, 0x0a, 0x27, 0x53, 0x65, 0x74, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x8e, 0x01, 0x0a, 0x28, 0x53, 0x65, 0x74, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x32, 0xdb, 0x06, 0x0a, 0x0b, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x50, 0x49, 0x12, 0x76, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, + 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x30, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x73, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, + 0x64, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, + 0x64, 0x64, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x8b, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x65, 0x64, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x37, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x65, 0x64, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x4d, 0x69, 0x6d, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa9, + 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x41, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa9, 0x01, 0x0a, 0x20, 0x53, + 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x41, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, + 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xfa, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, + 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x70, + 0x70, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x52, 0xaa, 0x02, 0x18, 0x43, 0x73, 0x33, 0x2e, 0x41, + 0x70, 0x70, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0xca, 0x02, 0x18, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x70, 0x70, 0x5c, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, + 0x24, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x70, 0x70, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x41, 0x70, 0x70, + 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_app_registry_v1beta1_registry_api_proto_rawDescOnce sync.Once + file_cs3_app_registry_v1beta1_registry_api_proto_rawDescData = file_cs3_app_registry_v1beta1_registry_api_proto_rawDesc +) -func _RegistryAPI_SetDefaultAppProviderForMimeType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetDefaultAppProviderForMimeTypeRequest) - if err := dec(in); err != nil { - return nil, err +func file_cs3_app_registry_v1beta1_registry_api_proto_rawDescGZIP() []byte { + file_cs3_app_registry_v1beta1_registry_api_proto_rawDescOnce.Do(func() { + file_cs3_app_registry_v1beta1_registry_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_app_registry_v1beta1_registry_api_proto_rawDescData) + }) + return file_cs3_app_registry_v1beta1_registry_api_proto_rawDescData +} + +var file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_cs3_app_registry_v1beta1_registry_api_proto_goTypes = []interface{}{ + (*GetAppProvidersRequest)(nil), // 0: cs3.app.registry.v1beta1.GetAppProvidersRequest + (*GetAppProvidersResponse)(nil), // 1: cs3.app.registry.v1beta1.GetAppProvidersResponse + (*AddAppProviderRequest)(nil), // 2: cs3.app.registry.v1beta1.AddAppProviderRequest + (*AddAppProviderResponse)(nil), // 3: cs3.app.registry.v1beta1.AddAppProviderResponse + (*ListAppProvidersRequest)(nil), // 4: cs3.app.registry.v1beta1.ListAppProvidersRequest + (*ListAppProvidersResponse)(nil), // 5: cs3.app.registry.v1beta1.ListAppProvidersResponse + (*ListSupportedMimeTypesRequest)(nil), // 6: cs3.app.registry.v1beta1.ListSupportedMimeTypesRequest + (*ListSupportedMimeTypesResponse)(nil), // 7: cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse + (*GetDefaultAppProviderForMimeTypeRequest)(nil), // 8: cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeRequest + (*GetDefaultAppProviderForMimeTypeResponse)(nil), // 9: cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeResponse + (*SetDefaultAppProviderForMimeTypeRequest)(nil), // 10: cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeRequest + (*SetDefaultAppProviderForMimeTypeResponse)(nil), // 11: cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeResponse + (*v1beta1.Opaque)(nil), // 12: cs3.types.v1beta1.Opaque + (*v1beta11.ResourceInfo)(nil), // 13: cs3.storage.provider.v1beta1.ResourceInfo + (*v1beta12.Status)(nil), // 14: cs3.rpc.v1beta1.Status + (*ProviderInfo)(nil), // 15: cs3.app.registry.v1beta1.ProviderInfo + (*MimeTypeInfo)(nil), // 16: cs3.app.registry.v1beta1.MimeTypeInfo +} +var file_cs3_app_registry_v1beta1_registry_api_proto_depIdxs = []int32{ + 12, // 0: cs3.app.registry.v1beta1.GetAppProvidersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 1: cs3.app.registry.v1beta1.GetAppProvidersRequest.resource_info:type_name -> cs3.storage.provider.v1beta1.ResourceInfo + 14, // 2: cs3.app.registry.v1beta1.GetAppProvidersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 12, // 3: cs3.app.registry.v1beta1.GetAppProvidersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 15, // 4: cs3.app.registry.v1beta1.GetAppProvidersResponse.providers:type_name -> cs3.app.registry.v1beta1.ProviderInfo + 12, // 5: cs3.app.registry.v1beta1.AddAppProviderRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 15, // 6: cs3.app.registry.v1beta1.AddAppProviderRequest.provider:type_name -> cs3.app.registry.v1beta1.ProviderInfo + 14, // 7: cs3.app.registry.v1beta1.AddAppProviderResponse.status:type_name -> cs3.rpc.v1beta1.Status + 12, // 8: cs3.app.registry.v1beta1.AddAppProviderResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 9: cs3.app.registry.v1beta1.ListAppProvidersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 10: cs3.app.registry.v1beta1.ListAppProvidersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 12, // 11: cs3.app.registry.v1beta1.ListAppProvidersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 15, // 12: cs3.app.registry.v1beta1.ListAppProvidersResponse.providers:type_name -> cs3.app.registry.v1beta1.ProviderInfo + 12, // 13: cs3.app.registry.v1beta1.ListSupportedMimeTypesRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 14: cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse.status:type_name -> cs3.rpc.v1beta1.Status + 12, // 15: cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 16: cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse.mime_types:type_name -> cs3.app.registry.v1beta1.MimeTypeInfo + 12, // 17: cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 18: cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeResponse.status:type_name -> cs3.rpc.v1beta1.Status + 12, // 19: cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 15, // 20: cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeResponse.provider:type_name -> cs3.app.registry.v1beta1.ProviderInfo + 12, // 21: cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 15, // 22: cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeRequest.provider:type_name -> cs3.app.registry.v1beta1.ProviderInfo + 14, // 23: cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeResponse.status:type_name -> cs3.rpc.v1beta1.Status + 12, // 24: cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 0, // 25: cs3.app.registry.v1beta1.RegistryAPI.GetAppProviders:input_type -> cs3.app.registry.v1beta1.GetAppProvidersRequest + 2, // 26: cs3.app.registry.v1beta1.RegistryAPI.AddAppProvider:input_type -> cs3.app.registry.v1beta1.AddAppProviderRequest + 4, // 27: cs3.app.registry.v1beta1.RegistryAPI.ListAppProviders:input_type -> cs3.app.registry.v1beta1.ListAppProvidersRequest + 6, // 28: cs3.app.registry.v1beta1.RegistryAPI.ListSupportedMimeTypes:input_type -> cs3.app.registry.v1beta1.ListSupportedMimeTypesRequest + 8, // 29: cs3.app.registry.v1beta1.RegistryAPI.GetDefaultAppProviderForMimeType:input_type -> cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeRequest + 10, // 30: cs3.app.registry.v1beta1.RegistryAPI.SetDefaultAppProviderForMimeType:input_type -> cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeRequest + 1, // 31: cs3.app.registry.v1beta1.RegistryAPI.GetAppProviders:output_type -> cs3.app.registry.v1beta1.GetAppProvidersResponse + 3, // 32: cs3.app.registry.v1beta1.RegistryAPI.AddAppProvider:output_type -> cs3.app.registry.v1beta1.AddAppProviderResponse + 5, // 33: cs3.app.registry.v1beta1.RegistryAPI.ListAppProviders:output_type -> cs3.app.registry.v1beta1.ListAppProvidersResponse + 7, // 34: cs3.app.registry.v1beta1.RegistryAPI.ListSupportedMimeTypes:output_type -> cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse + 9, // 35: cs3.app.registry.v1beta1.RegistryAPI.GetDefaultAppProviderForMimeType:output_type -> cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeResponse + 11, // 36: cs3.app.registry.v1beta1.RegistryAPI.SetDefaultAppProviderForMimeType:output_type -> cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeResponse + 31, // [31:37] is the sub-list for method output_type + 25, // [25:31] is the sub-list for method input_type + 25, // [25:25] is the sub-list for extension type_name + 25, // [25:25] is the sub-list for extension extendee + 0, // [0:25] is the sub-list for field type_name +} + +func init() { file_cs3_app_registry_v1beta1_registry_api_proto_init() } +func file_cs3_app_registry_v1beta1_registry_api_proto_init() { + if File_cs3_app_registry_v1beta1_registry_api_proto != nil { + return } - if interceptor == nil { - return srv.(RegistryAPIServer).SetDefaultAppProviderForMimeType(ctx, in) + file_cs3_app_registry_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAppProvidersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAppProvidersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddAppProviderRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddAppProviderResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAppProvidersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAppProvidersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSupportedMimeTypesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSupportedMimeTypesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDefaultAppProviderForMimeTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDefaultAppProviderForMimeTypeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetDefaultAppProviderForMimeTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetDefaultAppProviderForMimeTypeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.app.registry.v1beta1.RegistryAPI/SetDefaultAppProviderForMimeType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).SetDefaultAppProviderForMimeType(ctx, req.(*SetDefaultAppProviderForMimeTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegistryAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.app.registry.v1beta1.RegistryAPI", - HandlerType: (*RegistryAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAppProviders", - Handler: _RegistryAPI_GetAppProviders_Handler, - }, - { - MethodName: "AddAppProvider", - Handler: _RegistryAPI_AddAppProvider_Handler, - }, - { - MethodName: "ListAppProviders", - Handler: _RegistryAPI_ListAppProviders_Handler, - }, - { - MethodName: "ListSupportedMimeTypes", - Handler: _RegistryAPI_ListSupportedMimeTypes_Handler, - }, - { - MethodName: "GetDefaultAppProviderForMimeType", - Handler: _RegistryAPI_GetDefaultAppProviderForMimeType_Handler, - }, - { - MethodName: "SetDefaultAppProviderForMimeType", - Handler: _RegistryAPI_SetDefaultAppProviderForMimeType_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_app_registry_v1beta1_registry_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/app/registry/v1beta1/registry_api.proto", + GoTypes: file_cs3_app_registry_v1beta1_registry_api_proto_goTypes, + DependencyIndexes: file_cs3_app_registry_v1beta1_registry_api_proto_depIdxs, + MessageInfos: file_cs3_app_registry_v1beta1_registry_api_proto_msgTypes, + }.Build() + File_cs3_app_registry_v1beta1_registry_api_proto = out.File + file_cs3_app_registry_v1beta1_registry_api_proto_rawDesc = nil + file_cs3_app_registry_v1beta1_registry_api_proto_goTypes = nil + file_cs3_app_registry_v1beta1_registry_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/registry_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/registry_api_grpc.pb.go new file mode 100644 index 00000000000..d7140795fb2 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/registry_api_grpc.pb.go @@ -0,0 +1,324 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/app/registry/v1beta1/registry_api.proto + +package registryv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + RegistryAPI_GetAppProviders_FullMethodName = "/cs3.app.registry.v1beta1.RegistryAPI/GetAppProviders" + RegistryAPI_AddAppProvider_FullMethodName = "/cs3.app.registry.v1beta1.RegistryAPI/AddAppProvider" + RegistryAPI_ListAppProviders_FullMethodName = "/cs3.app.registry.v1beta1.RegistryAPI/ListAppProviders" + RegistryAPI_ListSupportedMimeTypes_FullMethodName = "/cs3.app.registry.v1beta1.RegistryAPI/ListSupportedMimeTypes" + RegistryAPI_GetDefaultAppProviderForMimeType_FullMethodName = "/cs3.app.registry.v1beta1.RegistryAPI/GetDefaultAppProviderForMimeType" + RegistryAPI_SetDefaultAppProviderForMimeType_FullMethodName = "/cs3.app.registry.v1beta1.RegistryAPI/SetDefaultAppProviderForMimeType" +) + +// RegistryAPIClient is the client API for RegistryAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type RegistryAPIClient interface { + // Returns the app providers that are capable of handling this resource info. + // MUST return CODE_NOT_FOUND if no providers are available. + GetAppProviders(ctx context.Context, in *GetAppProvidersRequest, opts ...grpc.CallOption) (*GetAppProvidersResponse, error) + // Registers a new app provider to the registry. + AddAppProvider(ctx context.Context, in *AddAppProviderRequest, opts ...grpc.CallOption) (*AddAppProviderResponse, error) + // Returns a list of the available app providers known by this registry. + ListAppProviders(ctx context.Context, in *ListAppProvidersRequest, opts ...grpc.CallOption) (*ListAppProvidersResponse, error) + // Returns a list of the supported mime types along with the apps which they can be opened with. + ListSupportedMimeTypes(ctx context.Context, in *ListSupportedMimeTypesRequest, opts ...grpc.CallOption) (*ListSupportedMimeTypesResponse, error) + // Returns the default app provider which serves a specified mime type. + GetDefaultAppProviderForMimeType(ctx context.Context, in *GetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*GetDefaultAppProviderForMimeTypeResponse, error) + // Sets the default app provider for a specified mime type. + SetDefaultAppProviderForMimeType(ctx context.Context, in *SetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*SetDefaultAppProviderForMimeTypeResponse, error) +} + +type registryAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewRegistryAPIClient(cc grpc.ClientConnInterface) RegistryAPIClient { + return ®istryAPIClient{cc} +} + +func (c *registryAPIClient) GetAppProviders(ctx context.Context, in *GetAppProvidersRequest, opts ...grpc.CallOption) (*GetAppProvidersResponse, error) { + out := new(GetAppProvidersResponse) + err := c.cc.Invoke(ctx, RegistryAPI_GetAppProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryAPIClient) AddAppProvider(ctx context.Context, in *AddAppProviderRequest, opts ...grpc.CallOption) (*AddAppProviderResponse, error) { + out := new(AddAppProviderResponse) + err := c.cc.Invoke(ctx, RegistryAPI_AddAppProvider_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryAPIClient) ListAppProviders(ctx context.Context, in *ListAppProvidersRequest, opts ...grpc.CallOption) (*ListAppProvidersResponse, error) { + out := new(ListAppProvidersResponse) + err := c.cc.Invoke(ctx, RegistryAPI_ListAppProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryAPIClient) ListSupportedMimeTypes(ctx context.Context, in *ListSupportedMimeTypesRequest, opts ...grpc.CallOption) (*ListSupportedMimeTypesResponse, error) { + out := new(ListSupportedMimeTypesResponse) + err := c.cc.Invoke(ctx, RegistryAPI_ListSupportedMimeTypes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryAPIClient) GetDefaultAppProviderForMimeType(ctx context.Context, in *GetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*GetDefaultAppProviderForMimeTypeResponse, error) { + out := new(GetDefaultAppProviderForMimeTypeResponse) + err := c.cc.Invoke(ctx, RegistryAPI_GetDefaultAppProviderForMimeType_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryAPIClient) SetDefaultAppProviderForMimeType(ctx context.Context, in *SetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*SetDefaultAppProviderForMimeTypeResponse, error) { + out := new(SetDefaultAppProviderForMimeTypeResponse) + err := c.cc.Invoke(ctx, RegistryAPI_SetDefaultAppProviderForMimeType_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RegistryAPIServer is the server API for RegistryAPI service. +// All implementations should embed UnimplementedRegistryAPIServer +// for forward compatibility +type RegistryAPIServer interface { + // Returns the app providers that are capable of handling this resource info. + // MUST return CODE_NOT_FOUND if no providers are available. + GetAppProviders(context.Context, *GetAppProvidersRequest) (*GetAppProvidersResponse, error) + // Registers a new app provider to the registry. + AddAppProvider(context.Context, *AddAppProviderRequest) (*AddAppProviderResponse, error) + // Returns a list of the available app providers known by this registry. + ListAppProviders(context.Context, *ListAppProvidersRequest) (*ListAppProvidersResponse, error) + // Returns a list of the supported mime types along with the apps which they can be opened with. + ListSupportedMimeTypes(context.Context, *ListSupportedMimeTypesRequest) (*ListSupportedMimeTypesResponse, error) + // Returns the default app provider which serves a specified mime type. + GetDefaultAppProviderForMimeType(context.Context, *GetDefaultAppProviderForMimeTypeRequest) (*GetDefaultAppProviderForMimeTypeResponse, error) + // Sets the default app provider for a specified mime type. + SetDefaultAppProviderForMimeType(context.Context, *SetDefaultAppProviderForMimeTypeRequest) (*SetDefaultAppProviderForMimeTypeResponse, error) +} + +// UnimplementedRegistryAPIServer should be embedded to have forward compatible implementations. +type UnimplementedRegistryAPIServer struct { +} + +func (UnimplementedRegistryAPIServer) GetAppProviders(context.Context, *GetAppProvidersRequest) (*GetAppProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAppProviders not implemented") +} +func (UnimplementedRegistryAPIServer) AddAppProvider(context.Context, *AddAppProviderRequest) (*AddAppProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddAppProvider not implemented") +} +func (UnimplementedRegistryAPIServer) ListAppProviders(context.Context, *ListAppProvidersRequest) (*ListAppProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAppProviders not implemented") +} +func (UnimplementedRegistryAPIServer) ListSupportedMimeTypes(context.Context, *ListSupportedMimeTypesRequest) (*ListSupportedMimeTypesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListSupportedMimeTypes not implemented") +} +func (UnimplementedRegistryAPIServer) GetDefaultAppProviderForMimeType(context.Context, *GetDefaultAppProviderForMimeTypeRequest) (*GetDefaultAppProviderForMimeTypeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDefaultAppProviderForMimeType not implemented") +} +func (UnimplementedRegistryAPIServer) SetDefaultAppProviderForMimeType(context.Context, *SetDefaultAppProviderForMimeTypeRequest) (*SetDefaultAppProviderForMimeTypeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetDefaultAppProviderForMimeType not implemented") +} + +// UnsafeRegistryAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RegistryAPIServer will +// result in compilation errors. +type UnsafeRegistryAPIServer interface { + mustEmbedUnimplementedRegistryAPIServer() +} + +func RegisterRegistryAPIServer(s grpc.ServiceRegistrar, srv RegistryAPIServer) { + s.RegisterService(&RegistryAPI_ServiceDesc, srv) +} + +func _RegistryAPI_GetAppProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAppProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).GetAppProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_GetAppProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).GetAppProviders(ctx, req.(*GetAppProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryAPI_AddAppProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddAppProviderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).AddAppProvider(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_AddAppProvider_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).AddAppProvider(ctx, req.(*AddAppProviderRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryAPI_ListAppProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListAppProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).ListAppProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_ListAppProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).ListAppProviders(ctx, req.(*ListAppProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryAPI_ListSupportedMimeTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListSupportedMimeTypesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).ListSupportedMimeTypes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_ListSupportedMimeTypes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).ListSupportedMimeTypes(ctx, req.(*ListSupportedMimeTypesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryAPI_GetDefaultAppProviderForMimeType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDefaultAppProviderForMimeTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).GetDefaultAppProviderForMimeType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_GetDefaultAppProviderForMimeType_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).GetDefaultAppProviderForMimeType(ctx, req.(*GetDefaultAppProviderForMimeTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryAPI_SetDefaultAppProviderForMimeType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetDefaultAppProviderForMimeTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).SetDefaultAppProviderForMimeType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_SetDefaultAppProviderForMimeType_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).SetDefaultAppProviderForMimeType(ctx, req.(*SetDefaultAppProviderForMimeTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// RegistryAPI_ServiceDesc is the grpc.ServiceDesc for RegistryAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var RegistryAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.app.registry.v1beta1.RegistryAPI", + HandlerType: (*RegistryAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAppProviders", + Handler: _RegistryAPI_GetAppProviders_Handler, + }, + { + MethodName: "AddAppProvider", + Handler: _RegistryAPI_AddAppProvider_Handler, + }, + { + MethodName: "ListAppProviders", + Handler: _RegistryAPI_ListAppProviders_Handler, + }, + { + MethodName: "ListSupportedMimeTypes", + Handler: _RegistryAPI_ListSupportedMimeTypes_Handler, + }, + { + MethodName: "GetDefaultAppProviderForMimeType", + Handler: _RegistryAPI_GetDefaultAppProviderForMimeType_Handler, + }, + { + MethodName: "SetDefaultAppProviderForMimeType", + Handler: _RegistryAPI_SetDefaultAppProviderForMimeType_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/app/registry/v1beta1/registry_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/resources.pb.go index 0f859a349dd..0ea63707d36 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1/resources.pb.go @@ -1,25 +1,43 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/app/registry/v1beta1/resources.proto package registryv1beta1 import ( - fmt "fmt" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // REQUIRED. // The capability of the underlying app. @@ -33,28 +51,53 @@ const ( ProviderInfo_CAPABILITY_EDITOR ProviderInfo_Capability = 2 ) -var ProviderInfo_Capability_name = map[int32]string{ - 0: "CAPABILITY_INVALID", - 1: "CAPABILITY_VIEWER", - 2: "CAPABILITY_EDITOR", -} +// Enum value maps for ProviderInfo_Capability. +var ( + ProviderInfo_Capability_name = map[int32]string{ + 0: "CAPABILITY_INVALID", + 1: "CAPABILITY_VIEWER", + 2: "CAPABILITY_EDITOR", + } + ProviderInfo_Capability_value = map[string]int32{ + "CAPABILITY_INVALID": 0, + "CAPABILITY_VIEWER": 1, + "CAPABILITY_EDITOR": 2, + } +) -var ProviderInfo_Capability_value = map[string]int32{ - "CAPABILITY_INVALID": 0, - "CAPABILITY_VIEWER": 1, - "CAPABILITY_EDITOR": 2, +func (x ProviderInfo_Capability) Enum() *ProviderInfo_Capability { + p := new(ProviderInfo_Capability) + *p = x + return p } func (x ProviderInfo_Capability) String() string { - return proto.EnumName(ProviderInfo_Capability_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProviderInfo_Capability) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_app_registry_v1beta1_resources_proto_enumTypes[0].Descriptor() } +func (ProviderInfo_Capability) Type() protoreflect.EnumType { + return &file_cs3_app_registry_v1beta1_resources_proto_enumTypes[0] +} + +func (x ProviderInfo_Capability) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProviderInfo_Capability.Descriptor instead. func (ProviderInfo_Capability) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2e6a666226304af3, []int{0, 0} + return file_cs3_app_registry_v1beta1_resources_proto_rawDescGZIP(), []int{0, 0} } // Represents the information of the app provider. type ProviderInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -83,102 +126,110 @@ type ProviderInfo struct { // OPTIONAL. // The action to be displayed to the user on the context menu. // By default this is "Open with". - Action string `protobuf:"bytes,9,opt,name=action,proto3" json:"action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Action string `protobuf:"bytes,9,opt,name=action,proto3" json:"action,omitempty"` } -func (m *ProviderInfo) Reset() { *m = ProviderInfo{} } -func (m *ProviderInfo) String() string { return proto.CompactTextString(m) } -func (*ProviderInfo) ProtoMessage() {} -func (*ProviderInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2e6a666226304af3, []int{0} +func (x *ProviderInfo) Reset() { + *x = ProviderInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProviderInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProviderInfo.Unmarshal(m, b) -} -func (m *ProviderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProviderInfo.Marshal(b, m, deterministic) -} -func (m *ProviderInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProviderInfo.Merge(m, src) -} -func (m *ProviderInfo) XXX_Size() int { - return xxx_messageInfo_ProviderInfo.Size(m) +func (x *ProviderInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProviderInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProviderInfo.DiscardUnknown(m) + +func (*ProviderInfo) ProtoMessage() {} + +func (x *ProviderInfo) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_resources_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) } -var xxx_messageInfo_ProviderInfo proto.InternalMessageInfo +// Deprecated: Use ProviderInfo.ProtoReflect.Descriptor instead. +func (*ProviderInfo) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *ProviderInfo) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ProviderInfo) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ProviderInfo) GetMimeTypes() []string { - if m != nil { - return m.MimeTypes +func (x *ProviderInfo) GetMimeTypes() []string { + if x != nil { + return x.MimeTypes } return nil } -func (m *ProviderInfo) GetAddress() string { - if m != nil { - return m.Address +func (x *ProviderInfo) GetAddress() string { + if x != nil { + return x.Address } return "" } -func (m *ProviderInfo) GetCapability() ProviderInfo_Capability { - if m != nil { - return m.Capability +func (x *ProviderInfo) GetCapability() ProviderInfo_Capability { + if x != nil { + return x.Capability } return ProviderInfo_CAPABILITY_INVALID } -func (m *ProviderInfo) GetName() string { - if m != nil { - return m.Name +func (x *ProviderInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ProviderInfo) GetDescription() string { - if m != nil { - return m.Description +func (x *ProviderInfo) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *ProviderInfo) GetIcon() string { - if m != nil { - return m.Icon +func (x *ProviderInfo) GetIcon() string { + if x != nil { + return x.Icon } return "" } -func (m *ProviderInfo) GetDesktopOnly() bool { - if m != nil { - return m.DesktopOnly +func (x *ProviderInfo) GetDesktopOnly() bool { + if x != nil { + return x.DesktopOnly } return false } -func (m *ProviderInfo) GetAction() string { - if m != nil { - return m.Action +func (x *ProviderInfo) GetAction() string { + if x != nil { + return x.Action } return "" } // Represents a mime type and its corresponding file extension. type MimeTypeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -207,143 +258,261 @@ type MimeTypeInfo struct { AllowCreation bool `protobuf:"varint,8,opt,name=allow_creation,json=allowCreation,proto3" json:"allow_creation,omitempty"` // OPTIONAL. // name of the default application to open this mime type - DefaultApplication string `protobuf:"bytes,9,opt,name=default_application,json=defaultApplication,proto3" json:"default_application,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DefaultApplication string `protobuf:"bytes,9,opt,name=default_application,json=defaultApplication,proto3" json:"default_application,omitempty"` } -func (m *MimeTypeInfo) Reset() { *m = MimeTypeInfo{} } -func (m *MimeTypeInfo) String() string { return proto.CompactTextString(m) } -func (*MimeTypeInfo) ProtoMessage() {} -func (*MimeTypeInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2e6a666226304af3, []int{1} +func (x *MimeTypeInfo) Reset() { + *x = MimeTypeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_app_registry_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MimeTypeInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MimeTypeInfo.Unmarshal(m, b) -} -func (m *MimeTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MimeTypeInfo.Marshal(b, m, deterministic) -} -func (m *MimeTypeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MimeTypeInfo.Merge(m, src) +func (x *MimeTypeInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MimeTypeInfo) XXX_Size() int { - return xxx_messageInfo_MimeTypeInfo.Size(m) -} -func (m *MimeTypeInfo) XXX_DiscardUnknown() { - xxx_messageInfo_MimeTypeInfo.DiscardUnknown(m) + +func (*MimeTypeInfo) ProtoMessage() {} + +func (x *MimeTypeInfo) ProtoReflect() protoreflect.Message { + mi := &file_cs3_app_registry_v1beta1_resources_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) } -var xxx_messageInfo_MimeTypeInfo proto.InternalMessageInfo +// Deprecated: Use MimeTypeInfo.ProtoReflect.Descriptor instead. +func (*MimeTypeInfo) Descriptor() ([]byte, []int) { + return file_cs3_app_registry_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *MimeTypeInfo) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *MimeTypeInfo) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *MimeTypeInfo) GetMimeType() string { - if m != nil { - return m.MimeType +func (x *MimeTypeInfo) GetMimeType() string { + if x != nil { + return x.MimeType } return "" } -func (m *MimeTypeInfo) GetExt() string { - if m != nil { - return m.Ext +func (x *MimeTypeInfo) GetExt() string { + if x != nil { + return x.Ext } return "" } -func (m *MimeTypeInfo) GetAppProviders() []*ProviderInfo { - if m != nil { - return m.AppProviders +func (x *MimeTypeInfo) GetAppProviders() []*ProviderInfo { + if x != nil { + return x.AppProviders } return nil } -func (m *MimeTypeInfo) GetName() string { - if m != nil { - return m.Name +func (x *MimeTypeInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *MimeTypeInfo) GetDescription() string { - if m != nil { - return m.Description +func (x *MimeTypeInfo) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *MimeTypeInfo) GetIcon() string { - if m != nil { - return m.Icon +func (x *MimeTypeInfo) GetIcon() string { + if x != nil { + return x.Icon } return "" } -func (m *MimeTypeInfo) GetAllowCreation() bool { - if m != nil { - return m.AllowCreation +func (x *MimeTypeInfo) GetAllowCreation() bool { + if x != nil { + return x.AllowCreation } return false } -func (m *MimeTypeInfo) GetDefaultApplication() string { - if m != nil { - return m.DefaultApplication +func (x *MimeTypeInfo) GetDefaultApplication() string { + if x != nil { + return x.DefaultApplication } return "" } -func init() { - proto.RegisterEnum("cs3.app.registry.v1beta1.ProviderInfo_Capability", ProviderInfo_Capability_name, ProviderInfo_Capability_value) - proto.RegisterType((*ProviderInfo)(nil), "cs3.app.registry.v1beta1.ProviderInfo") - proto.RegisterType((*MimeTypeInfo)(nil), "cs3.app.registry.v1beta1.MimeTypeInfo") -} - -func init() { - proto.RegisterFile("cs3/app/registry/v1beta1/resources.proto", fileDescriptor_2e6a666226304af3) -} - -var fileDescriptor_2e6a666226304af3 = []byte{ - // 514 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xdd, 0x8e, 0xd2, 0x40, - 0x14, 0xb6, 0x2d, 0xb2, 0x70, 0x60, 0x11, 0xc7, 0xb8, 0x19, 0x7f, 0x36, 0xa9, 0x24, 0x9a, 0x5e, - 0x0d, 0x01, 0x9e, 0xa0, 0xb0, 0x5c, 0x34, 0xae, 0x82, 0x13, 0x82, 0xd1, 0x90, 0x34, 0x43, 0x3b, - 0x6b, 0x1a, 0x4b, 0x67, 0xec, 0x94, 0x55, 0x2e, 0x7c, 0x19, 0x2f, 0xbc, 0xf0, 0x51, 0x7c, 0x09, - 0x5f, 0xc5, 0x74, 0x98, 0xb2, 0xc4, 0x64, 0x13, 0x63, 0xbc, 0x9b, 0xf9, 0xfe, 0x7a, 0x3a, 0x5f, - 0x0e, 0x78, 0x91, 0x1a, 0xf5, 0x99, 0x94, 0xfd, 0x9c, 0x7f, 0x48, 0x54, 0x91, 0xef, 0xfa, 0xd7, - 0x83, 0x35, 0x2f, 0xd8, 0xa0, 0x9f, 0x73, 0x25, 0xb6, 0x79, 0xc4, 0x15, 0x91, 0xb9, 0x28, 0x04, - 0xc2, 0x91, 0x1a, 0x11, 0x26, 0x25, 0xa9, 0x94, 0xc4, 0x28, 0x1f, 0x9f, 0x97, 0x19, 0xc5, 0x4e, - 0x72, 0x75, 0x30, 0xeb, 0xdb, 0xde, 0xd8, 0xfb, 0xee, 0x40, 0x7b, 0x9e, 0x8b, 0xeb, 0x24, 0xe6, - 0x79, 0x90, 0x5d, 0x09, 0x34, 0x80, 0xba, 0x90, 0xec, 0xd3, 0x96, 0x63, 0xcb, 0xb5, 0xbc, 0xd6, - 0xf0, 0x11, 0x29, 0xa3, 0xf7, 0x16, 0x13, 0x40, 0x66, 0x5a, 0x40, 0x8d, 0x10, 0x9d, 0x03, 0x6c, - 0x92, 0x0d, 0x0f, 0xb5, 0x08, 0xdb, 0xae, 0xe3, 0x35, 0x69, 0xb3, 0x44, 0x16, 0x25, 0x80, 0x30, - 0x9c, 0xb0, 0x38, 0xce, 0xb9, 0x52, 0xd8, 0x71, 0x2d, 0xaf, 0x49, 0xab, 0x2b, 0x7a, 0x03, 0x10, - 0x31, 0xc9, 0xd6, 0x49, 0x9a, 0x14, 0x3b, 0x5c, 0x73, 0x2d, 0xaf, 0x33, 0x1c, 0x90, 0xdb, 0x7e, - 0x85, 0x1c, 0xcf, 0x49, 0x26, 0x07, 0x23, 0x3d, 0x0a, 0x41, 0x08, 0x6a, 0x19, 0xdb, 0x70, 0x7c, - 0x57, 0x7f, 0x49, 0x9f, 0x91, 0x0b, 0xad, 0x98, 0xab, 0x28, 0x4f, 0x64, 0x91, 0x88, 0x0c, 0xd7, - 0x35, 0x75, 0x0c, 0x95, 0xae, 0x24, 0x12, 0x19, 0x3e, 0xd9, 0xbb, 0xca, 0x33, 0x7a, 0x06, 0xed, - 0x98, 0xab, 0x8f, 0x85, 0x90, 0xa1, 0xc8, 0xd2, 0x1d, 0x6e, 0xb8, 0x96, 0xd7, 0xd0, 0xb6, 0x12, - 0x9b, 0x65, 0xe9, 0x0e, 0x9d, 0x41, 0x9d, 0x45, 0x3a, 0xb3, 0xa9, 0x8d, 0xe6, 0xd6, 0xa3, 0x00, - 0x37, 0xe3, 0xa1, 0x33, 0x40, 0x13, 0x7f, 0xee, 0x8f, 0x83, 0xcb, 0x60, 0xf1, 0x2e, 0x0c, 0x5e, - 0x2f, 0xfd, 0xcb, 0xe0, 0xa2, 0x7b, 0x07, 0x3d, 0x84, 0xfb, 0x47, 0xf8, 0x32, 0x98, 0xbe, 0x9d, - 0xd2, 0xae, 0xf5, 0x07, 0x3c, 0xbd, 0x08, 0x16, 0x33, 0xda, 0xb5, 0x7b, 0xbf, 0x6c, 0x68, 0xbf, - 0x32, 0x6f, 0xfa, 0xaf, 0x45, 0x3d, 0x81, 0xe6, 0xa1, 0x28, 0x6c, 0xeb, 0x91, 0x1b, 0x55, 0x4f, - 0xa8, 0x0b, 0x0e, 0xff, 0x52, 0x98, 0x8a, 0xca, 0x23, 0x7a, 0x09, 0xa7, 0x4c, 0xca, 0x50, 0x9a, - 0x67, 0x57, 0xb8, 0xe6, 0x3a, 0x5e, 0x6b, 0xf8, 0xe2, 0xef, 0x1a, 0xa2, 0x6d, 0x26, 0x65, 0x05, - 0xa8, 0xff, 0x58, 0xcc, 0x73, 0xe8, 0xb0, 0x34, 0x15, 0x9f, 0xc3, 0x28, 0xe7, 0x4c, 0x1b, 0xf7, - 0xd5, 0x9c, 0x6a, 0x74, 0x62, 0x40, 0xd4, 0x87, 0x07, 0x31, 0xbf, 0x62, 0xdb, 0xb4, 0x08, 0x99, - 0x94, 0x69, 0x12, 0xb1, 0xa3, 0xa6, 0x90, 0xa1, 0xfc, 0x1b, 0x66, 0xfc, 0x15, 0x9e, 0x46, 0x62, - 0x73, 0xeb, 0xcf, 0x8d, 0x3b, 0xb4, 0x5a, 0xba, 0x79, 0xb9, 0x3a, 0x73, 0xeb, 0xfd, 0xbd, 0x4a, - 0x63, 0x24, 0xdf, 0x6c, 0x67, 0xe2, 0xd3, 0x1f, 0x36, 0x9e, 0xa8, 0x11, 0xf1, 0xa5, 0x24, 0xb4, - 0xca, 0x58, 0x0e, 0xc6, 0xa5, 0xe0, 0xa7, 0xa6, 0x56, 0xbe, 0x94, 0xab, 0x8a, 0x5a, 0x19, 0x6a, - 0x5d, 0xd7, 0x0b, 0x39, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x25, 0x86, 0x7b, 0x9b, 0xf5, 0x03, - 0x00, 0x00, +var File_cs3_app_registry_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_app_registry_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x73, 0x33, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x03, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x6d, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x69, 0x6d, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x51, 0x0a, 0x0a, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x61, 0x70, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, + 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x21, 0x0a, + 0x0c, 0x64, 0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x6b, 0x74, 0x6f, 0x70, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x52, 0x0a, 0x0a, 0x43, 0x61, 0x70, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x41, 0x50, 0x41, 0x42, 0x49, + 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x15, + 0x0a, 0x11, 0x43, 0x41, 0x50, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x56, 0x49, 0x45, + 0x57, 0x45, 0x52, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x41, 0x50, 0x41, 0x42, 0x49, 0x4c, + 0x49, 0x54, 0x59, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x10, 0x02, 0x22, 0xdf, 0x02, 0x0a, + 0x0c, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x78, 0x74, 0x12, + 0x4b, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, + 0x61, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, + 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xf8, + 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, + 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, + 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x63, 0x73, 0x33, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x52, 0xaa, 0x02, + 0x18, 0x43, 0x73, 0x33, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x18, 0x43, 0x73, 0x33, 0x5c, + 0x41, 0x70, 0x70, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x24, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x70, 0x70, 0x5c, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x43, 0x73, + 0x33, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_cs3_app_registry_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_app_registry_v1beta1_resources_proto_rawDescData = file_cs3_app_registry_v1beta1_resources_proto_rawDesc +) + +func file_cs3_app_registry_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_app_registry_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_app_registry_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_app_registry_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_app_registry_v1beta1_resources_proto_rawDescData +} + +var file_cs3_app_registry_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cs3_app_registry_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_cs3_app_registry_v1beta1_resources_proto_goTypes = []interface{}{ + (ProviderInfo_Capability)(0), // 0: cs3.app.registry.v1beta1.ProviderInfo.Capability + (*ProviderInfo)(nil), // 1: cs3.app.registry.v1beta1.ProviderInfo + (*MimeTypeInfo)(nil), // 2: cs3.app.registry.v1beta1.MimeTypeInfo + (*v1beta1.Opaque)(nil), // 3: cs3.types.v1beta1.Opaque +} +var file_cs3_app_registry_v1beta1_resources_proto_depIdxs = []int32{ + 3, // 0: cs3.app.registry.v1beta1.ProviderInfo.opaque:type_name -> cs3.types.v1beta1.Opaque + 0, // 1: cs3.app.registry.v1beta1.ProviderInfo.capability:type_name -> cs3.app.registry.v1beta1.ProviderInfo.Capability + 3, // 2: cs3.app.registry.v1beta1.MimeTypeInfo.opaque:type_name -> cs3.types.v1beta1.Opaque + 1, // 3: cs3.app.registry.v1beta1.MimeTypeInfo.app_providers:type_name -> cs3.app.registry.v1beta1.ProviderInfo + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_cs3_app_registry_v1beta1_resources_proto_init() } +func file_cs3_app_registry_v1beta1_resources_proto_init() { + if File_cs3_app_registry_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_app_registry_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProviderInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_app_registry_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MimeTypeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_app_registry_v1beta1_resources_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_app_registry_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_app_registry_v1beta1_resources_proto_depIdxs, + EnumInfos: file_cs3_app_registry_v1beta1_resources_proto_enumTypes, + MessageInfos: file_cs3_app_registry_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_app_registry_v1beta1_resources_proto = out.File + file_cs3_app_registry_v1beta1_resources_proto_rawDesc = nil + file_cs3_app_registry_v1beta1_resources_proto_goTypes = nil + file_cs3_app_registry_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/applications_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/applications_api.pb.go index c9b70c82293..7bbb7dfb30b 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/applications_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/applications_api.pb.go @@ -1,34 +1,52 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/auth/applications/v1beta1/applications_api.proto package applicationsv1beta1 import ( - context "context" - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1" v1beta13 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 GenerateAppPasswordRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -41,66 +59,74 @@ type GenerateAppPasswordRequest struct { Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // OPTIONAL. // The time when the token will expire. - Expiration *v1beta1.Timestamp `protobuf:"bytes,4,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration *v1beta1.Timestamp `protobuf:"bytes,4,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *GenerateAppPasswordRequest) Reset() { *m = GenerateAppPasswordRequest{} } -func (m *GenerateAppPasswordRequest) String() string { return proto.CompactTextString(m) } -func (*GenerateAppPasswordRequest) ProtoMessage() {} -func (*GenerateAppPasswordRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_829b4bb376cdbfb0, []int{0} +func (x *GenerateAppPasswordRequest) Reset() { + *x = GenerateAppPasswordRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GenerateAppPasswordRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateAppPasswordRequest.Unmarshal(m, b) +func (x *GenerateAppPasswordRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GenerateAppPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateAppPasswordRequest.Marshal(b, m, deterministic) -} -func (m *GenerateAppPasswordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateAppPasswordRequest.Merge(m, src) -} -func (m *GenerateAppPasswordRequest) XXX_Size() int { - return xxx_messageInfo_GenerateAppPasswordRequest.Size(m) -} -func (m *GenerateAppPasswordRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateAppPasswordRequest.DiscardUnknown(m) + +func (*GenerateAppPasswordRequest) ProtoMessage() {} + +func (x *GenerateAppPasswordRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_applications_v1beta1_applications_api_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) } -var xxx_messageInfo_GenerateAppPasswordRequest proto.InternalMessageInfo +// Deprecated: Use GenerateAppPasswordRequest.ProtoReflect.Descriptor instead. +func (*GenerateAppPasswordRequest) Descriptor() ([]byte, []int) { + return file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescGZIP(), []int{0} +} -func (m *GenerateAppPasswordRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GenerateAppPasswordRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GenerateAppPasswordRequest) GetTokenScope() map[string]*v1beta11.Scope { - if m != nil { - return m.TokenScope +func (x *GenerateAppPasswordRequest) GetTokenScope() map[string]*v1beta11.Scope { + if x != nil { + return x.TokenScope } return nil } -func (m *GenerateAppPasswordRequest) GetLabel() string { - if m != nil { - return m.Label +func (x *GenerateAppPasswordRequest) GetLabel() string { + if x != nil { + return x.Label } return "" } -func (m *GenerateAppPasswordRequest) GetExpiration() *v1beta1.Timestamp { - if m != nil { - return m.Expiration +func (x *GenerateAppPasswordRequest) GetExpiration() *v1beta1.Timestamp { + if x != nil { + return x.Expiration } return nil } type GenerateAppPasswordResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -109,100 +135,116 @@ type GenerateAppPasswordResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The generated access password. - AppPassword *AppPassword `protobuf:"bytes,3,opt,name=app_password,json=appPassword,proto3" json:"app_password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AppPassword *AppPassword `protobuf:"bytes,3,opt,name=app_password,json=appPassword,proto3" json:"app_password,omitempty"` } -func (m *GenerateAppPasswordResponse) Reset() { *m = GenerateAppPasswordResponse{} } -func (m *GenerateAppPasswordResponse) String() string { return proto.CompactTextString(m) } -func (*GenerateAppPasswordResponse) ProtoMessage() {} -func (*GenerateAppPasswordResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_829b4bb376cdbfb0, []int{1} +func (x *GenerateAppPasswordResponse) Reset() { + *x = GenerateAppPasswordResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GenerateAppPasswordResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateAppPasswordResponse.Unmarshal(m, b) -} -func (m *GenerateAppPasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateAppPasswordResponse.Marshal(b, m, deterministic) -} -func (m *GenerateAppPasswordResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateAppPasswordResponse.Merge(m, src) -} -func (m *GenerateAppPasswordResponse) XXX_Size() int { - return xxx_messageInfo_GenerateAppPasswordResponse.Size(m) +func (x *GenerateAppPasswordResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GenerateAppPasswordResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateAppPasswordResponse.DiscardUnknown(m) + +func (*GenerateAppPasswordResponse) ProtoMessage() {} + +func (x *GenerateAppPasswordResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_applications_v1beta1_applications_api_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) } -var xxx_messageInfo_GenerateAppPasswordResponse proto.InternalMessageInfo +// Deprecated: Use GenerateAppPasswordResponse.ProtoReflect.Descriptor instead. +func (*GenerateAppPasswordResponse) Descriptor() ([]byte, []int) { + return file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescGZIP(), []int{1} +} -func (m *GenerateAppPasswordResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *GenerateAppPasswordResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *GenerateAppPasswordResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GenerateAppPasswordResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GenerateAppPasswordResponse) GetAppPassword() *AppPassword { - if m != nil { - return m.AppPassword +func (x *GenerateAppPasswordResponse) GetAppPassword() *AppPassword { + if x != nil { + return x.AppPassword } return nil } type ListAppPasswordsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *ListAppPasswordsRequest) Reset() { *m = ListAppPasswordsRequest{} } -func (m *ListAppPasswordsRequest) String() string { return proto.CompactTextString(m) } -func (*ListAppPasswordsRequest) ProtoMessage() {} -func (*ListAppPasswordsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_829b4bb376cdbfb0, []int{2} +func (x *ListAppPasswordsRequest) Reset() { + *x = ListAppPasswordsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAppPasswordsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAppPasswordsRequest.Unmarshal(m, b) -} -func (m *ListAppPasswordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAppPasswordsRequest.Marshal(b, m, deterministic) +func (x *ListAppPasswordsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAppPasswordsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAppPasswordsRequest.Merge(m, src) -} -func (m *ListAppPasswordsRequest) XXX_Size() int { - return xxx_messageInfo_ListAppPasswordsRequest.Size(m) -} -func (m *ListAppPasswordsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAppPasswordsRequest.DiscardUnknown(m) + +func (*ListAppPasswordsRequest) ProtoMessage() {} + +func (x *ListAppPasswordsRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_applications_v1beta1_applications_api_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) } -var xxx_messageInfo_ListAppPasswordsRequest proto.InternalMessageInfo +// Deprecated: Use ListAppPasswordsRequest.ProtoReflect.Descriptor instead. +func (*ListAppPasswordsRequest) Descriptor() ([]byte, []int) { + return file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescGZIP(), []int{2} +} -func (m *ListAppPasswordsRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListAppPasswordsRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type ListAppPasswordsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -211,161 +253,185 @@ type ListAppPasswordsResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The generated access password. - AppPasswords []*AppPassword `protobuf:"bytes,3,rep,name=app_passwords,json=appPasswords,proto3" json:"app_passwords,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AppPasswords []*AppPassword `protobuf:"bytes,3,rep,name=app_passwords,json=appPasswords,proto3" json:"app_passwords,omitempty"` } -func (m *ListAppPasswordsResponse) Reset() { *m = ListAppPasswordsResponse{} } -func (m *ListAppPasswordsResponse) String() string { return proto.CompactTextString(m) } -func (*ListAppPasswordsResponse) ProtoMessage() {} -func (*ListAppPasswordsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_829b4bb376cdbfb0, []int{3} +func (x *ListAppPasswordsResponse) Reset() { + *x = ListAppPasswordsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAppPasswordsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAppPasswordsResponse.Unmarshal(m, b) -} -func (m *ListAppPasswordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAppPasswordsResponse.Marshal(b, m, deterministic) -} -func (m *ListAppPasswordsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAppPasswordsResponse.Merge(m, src) +func (x *ListAppPasswordsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAppPasswordsResponse) XXX_Size() int { - return xxx_messageInfo_ListAppPasswordsResponse.Size(m) -} -func (m *ListAppPasswordsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAppPasswordsResponse.DiscardUnknown(m) + +func (*ListAppPasswordsResponse) ProtoMessage() {} + +func (x *ListAppPasswordsResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_applications_v1beta1_applications_api_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) } -var xxx_messageInfo_ListAppPasswordsResponse proto.InternalMessageInfo +// Deprecated: Use ListAppPasswordsResponse.ProtoReflect.Descriptor instead. +func (*ListAppPasswordsResponse) Descriptor() ([]byte, []int) { + return file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescGZIP(), []int{3} +} -func (m *ListAppPasswordsResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *ListAppPasswordsResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *ListAppPasswordsResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListAppPasswordsResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListAppPasswordsResponse) GetAppPasswords() []*AppPassword { - if m != nil { - return m.AppPasswords +func (x *ListAppPasswordsResponse) GetAppPasswords() []*AppPassword { + if x != nil { + return x.AppPasswords } return nil } type InvalidateAppPasswordRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The password which has to be invalidated. - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` } -func (m *InvalidateAppPasswordRequest) Reset() { *m = InvalidateAppPasswordRequest{} } -func (m *InvalidateAppPasswordRequest) String() string { return proto.CompactTextString(m) } -func (*InvalidateAppPasswordRequest) ProtoMessage() {} -func (*InvalidateAppPasswordRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_829b4bb376cdbfb0, []int{4} +func (x *InvalidateAppPasswordRequest) Reset() { + *x = InvalidateAppPasswordRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InvalidateAppPasswordRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvalidateAppPasswordRequest.Unmarshal(m, b) -} -func (m *InvalidateAppPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvalidateAppPasswordRequest.Marshal(b, m, deterministic) -} -func (m *InvalidateAppPasswordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvalidateAppPasswordRequest.Merge(m, src) +func (x *InvalidateAppPasswordRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InvalidateAppPasswordRequest) XXX_Size() int { - return xxx_messageInfo_InvalidateAppPasswordRequest.Size(m) -} -func (m *InvalidateAppPasswordRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InvalidateAppPasswordRequest.DiscardUnknown(m) + +func (*InvalidateAppPasswordRequest) ProtoMessage() {} + +func (x *InvalidateAppPasswordRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_applications_v1beta1_applications_api_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) } -var xxx_messageInfo_InvalidateAppPasswordRequest proto.InternalMessageInfo +// Deprecated: Use InvalidateAppPasswordRequest.ProtoReflect.Descriptor instead. +func (*InvalidateAppPasswordRequest) Descriptor() ([]byte, []int) { + return file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescGZIP(), []int{4} +} -func (m *InvalidateAppPasswordRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *InvalidateAppPasswordRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *InvalidateAppPasswordRequest) GetPassword() string { - if m != nil { - return m.Password +func (x *InvalidateAppPasswordRequest) GetPassword() string { + if x != nil { + return x.Password } return "" } type InvalidateAppPasswordResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *InvalidateAppPasswordResponse) Reset() { *m = InvalidateAppPasswordResponse{} } -func (m *InvalidateAppPasswordResponse) String() string { return proto.CompactTextString(m) } -func (*InvalidateAppPasswordResponse) ProtoMessage() {} -func (*InvalidateAppPasswordResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_829b4bb376cdbfb0, []int{5} +func (x *InvalidateAppPasswordResponse) Reset() { + *x = InvalidateAppPasswordResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InvalidateAppPasswordResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvalidateAppPasswordResponse.Unmarshal(m, b) -} -func (m *InvalidateAppPasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvalidateAppPasswordResponse.Marshal(b, m, deterministic) -} -func (m *InvalidateAppPasswordResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvalidateAppPasswordResponse.Merge(m, src) +func (x *InvalidateAppPasswordResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InvalidateAppPasswordResponse) XXX_Size() int { - return xxx_messageInfo_InvalidateAppPasswordResponse.Size(m) -} -func (m *InvalidateAppPasswordResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InvalidateAppPasswordResponse.DiscardUnknown(m) + +func (*InvalidateAppPasswordResponse) ProtoMessage() {} + +func (x *InvalidateAppPasswordResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_applications_v1beta1_applications_api_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) } -var xxx_messageInfo_InvalidateAppPasswordResponse proto.InternalMessageInfo +// Deprecated: Use InvalidateAppPasswordResponse.ProtoReflect.Descriptor instead. +func (*InvalidateAppPasswordResponse) Descriptor() ([]byte, []int) { + return file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescGZIP(), []int{5} +} -func (m *InvalidateAppPasswordResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *InvalidateAppPasswordResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *InvalidateAppPasswordResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *InvalidateAppPasswordResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetAppPasswordRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -374,59 +440,67 @@ type GetAppPasswordRequest struct { User *v1beta13.UserId `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // REQUIRED. // The password which has to be retrieved. - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` } -func (m *GetAppPasswordRequest) Reset() { *m = GetAppPasswordRequest{} } -func (m *GetAppPasswordRequest) String() string { return proto.CompactTextString(m) } -func (*GetAppPasswordRequest) ProtoMessage() {} -func (*GetAppPasswordRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_829b4bb376cdbfb0, []int{6} +func (x *GetAppPasswordRequest) Reset() { + *x = GetAppPasswordRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAppPasswordRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAppPasswordRequest.Unmarshal(m, b) -} -func (m *GetAppPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAppPasswordRequest.Marshal(b, m, deterministic) -} -func (m *GetAppPasswordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAppPasswordRequest.Merge(m, src) +func (x *GetAppPasswordRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAppPasswordRequest) XXX_Size() int { - return xxx_messageInfo_GetAppPasswordRequest.Size(m) -} -func (m *GetAppPasswordRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAppPasswordRequest.DiscardUnknown(m) + +func (*GetAppPasswordRequest) ProtoMessage() {} + +func (x *GetAppPasswordRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_applications_v1beta1_applications_api_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) } -var xxx_messageInfo_GetAppPasswordRequest proto.InternalMessageInfo +// Deprecated: Use GetAppPasswordRequest.ProtoReflect.Descriptor instead. +func (*GetAppPasswordRequest) Descriptor() ([]byte, []int) { + return file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescGZIP(), []int{6} +} -func (m *GetAppPasswordRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetAppPasswordRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetAppPasswordRequest) GetUser() *v1beta13.UserId { - if m != nil { - return m.User +func (x *GetAppPasswordRequest) GetUser() *v1beta13.UserId { + if x != nil { + return x.User } return nil } -func (m *GetAppPasswordRequest) GetPassword() string { - if m != nil { - return m.Password +func (x *GetAppPasswordRequest) GetPassword() string { + if x != nil { + return x.Password } return "" } type GetAppPasswordResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -435,315 +509,417 @@ type GetAppPasswordResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The generated access password. - AppPassword *AppPassword `protobuf:"bytes,3,opt,name=app_password,json=appPassword,proto3" json:"app_password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetAppPasswordResponse) Reset() { *m = GetAppPasswordResponse{} } -func (m *GetAppPasswordResponse) String() string { return proto.CompactTextString(m) } -func (*GetAppPasswordResponse) ProtoMessage() {} -func (*GetAppPasswordResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_829b4bb376cdbfb0, []int{7} -} - -func (m *GetAppPasswordResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAppPasswordResponse.Unmarshal(m, b) -} -func (m *GetAppPasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAppPasswordResponse.Marshal(b, m, deterministic) -} -func (m *GetAppPasswordResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAppPasswordResponse.Merge(m, src) -} -func (m *GetAppPasswordResponse) XXX_Size() int { - return xxx_messageInfo_GetAppPasswordResponse.Size(m) -} -func (m *GetAppPasswordResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAppPasswordResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAppPasswordResponse proto.InternalMessageInfo - -func (m *GetAppPasswordResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status - } - return nil + AppPassword *AppPassword `protobuf:"bytes,3,opt,name=app_password,json=appPassword,proto3" json:"app_password,omitempty"` } -func (m *GetAppPasswordResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetAppPasswordResponse) Reset() { + *x = GetAppPasswordResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *GetAppPasswordResponse) GetAppPassword() *AppPassword { - if m != nil { - return m.AppPassword - } - return nil +func (x *GetAppPasswordResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func init() { - proto.RegisterType((*GenerateAppPasswordRequest)(nil), "cs3.auth.applications.v1beta1.GenerateAppPasswordRequest") - proto.RegisterMapType((map[string]*v1beta11.Scope)(nil), "cs3.auth.applications.v1beta1.GenerateAppPasswordRequest.TokenScopeEntry") - proto.RegisterType((*GenerateAppPasswordResponse)(nil), "cs3.auth.applications.v1beta1.GenerateAppPasswordResponse") - proto.RegisterType((*ListAppPasswordsRequest)(nil), "cs3.auth.applications.v1beta1.ListAppPasswordsRequest") - proto.RegisterType((*ListAppPasswordsResponse)(nil), "cs3.auth.applications.v1beta1.ListAppPasswordsResponse") - proto.RegisterType((*InvalidateAppPasswordRequest)(nil), "cs3.auth.applications.v1beta1.InvalidateAppPasswordRequest") - proto.RegisterType((*InvalidateAppPasswordResponse)(nil), "cs3.auth.applications.v1beta1.InvalidateAppPasswordResponse") - proto.RegisterType((*GetAppPasswordRequest)(nil), "cs3.auth.applications.v1beta1.GetAppPasswordRequest") - proto.RegisterType((*GetAppPasswordResponse)(nil), "cs3.auth.applications.v1beta1.GetAppPasswordResponse") -} - -func init() { - proto.RegisterFile("cs3/auth/applications/v1beta1/applications_api.proto", fileDescriptor_829b4bb376cdbfb0) -} - -var fileDescriptor_829b4bb376cdbfb0 = []byte{ - // 686 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x41, 0x4f, 0x13, 0x41, - 0x14, 0xce, 0x6c, 0x81, 0xc8, 0x2b, 0x0a, 0x19, 0x40, 0xea, 0x0a, 0x49, 0xd9, 0x13, 0x9a, 0xb8, - 0x4d, 0x5b, 0x40, 0x45, 0x2e, 0x85, 0x18, 0xd2, 0x04, 0x43, 0xb3, 0xa2, 0x07, 0x43, 0xd2, 0x0c, - 0xdb, 0x49, 0x5c, 0x69, 0x77, 0x87, 0x9d, 0xd9, 0x6a, 0x0f, 0x9e, 0xb8, 0x7a, 0xf2, 0xe0, 0xcd, - 0x8b, 0x47, 0x7f, 0x82, 0x3f, 0x41, 0x0f, 0xfa, 0x53, 0xfc, 0x09, 0x66, 0x66, 0x87, 0xed, 0xb6, - 0x96, 0x56, 0x1a, 0x42, 0xe2, 0xad, 0xd3, 0xf7, 0x7d, 0xdf, 0x7b, 0xf3, 0xbd, 0x79, 0x2f, 0x0b, - 0xeb, 0x2e, 0x2f, 0x17, 0x48, 0x24, 0x5e, 0x17, 0x08, 0x63, 0x4d, 0xcf, 0x25, 0xc2, 0x0b, 0x7c, - 0x5e, 0x68, 0x17, 0x8f, 0xa9, 0x20, 0xc5, 0x9e, 0x3f, 0xeb, 0x84, 0x79, 0x36, 0x0b, 0x03, 0x11, - 0xe0, 0x15, 0x97, 0x97, 0x6d, 0xc9, 0xb2, 0xd3, 0x00, 0x5b, 0xb3, 0xcc, 0x07, 0xc3, 0x45, 0x43, - 0xca, 0x83, 0x28, 0x74, 0x29, 0x8f, 0xd5, 0xcc, 0x7b, 0x09, 0x9c, 0x85, 0x41, 0xdb, 0x6b, 0xd0, - 0x70, 0x38, 0xd4, 0x6b, 0x50, 0x5f, 0x78, 0xa2, 0x53, 0x88, 0xf8, 0x10, 0xe8, 0xb2, 0x84, 0x86, - 0xcc, 0x4d, 0x00, 0x5c, 0x10, 0x11, 0x9d, 0x47, 0xe5, 0x0d, 0x0a, 0xa2, 0xc3, 0x68, 0xb7, 0x2c, - 0x75, 0x8a, 0xc3, 0xd6, 0x6f, 0x03, 0xcc, 0x3d, 0xea, 0xd3, 0x90, 0x08, 0x5a, 0x61, 0xac, 0x46, - 0x38, 0x7f, 0x1b, 0x84, 0x0d, 0x87, 0x9e, 0x46, 0x94, 0x0b, 0x5c, 0x84, 0xa9, 0x80, 0x91, 0xd3, - 0x88, 0xe6, 0x50, 0x1e, 0xad, 0x65, 0x4b, 0x77, 0x6c, 0x69, 0x48, 0x2c, 0xa0, 0xe5, 0xec, 0x03, - 0x05, 0x70, 0x34, 0x10, 0xbf, 0x81, 0xac, 0x08, 0x4e, 0xa8, 0x5f, 0xe7, 0x6e, 0xc0, 0x68, 0xce, - 0xc8, 0x67, 0xd6, 0xb2, 0xa5, 0xaa, 0x3d, 0xd4, 0x48, 0xfb, 0xe2, 0x12, 0xec, 0x43, 0x29, 0xf6, - 0x5c, 0x6a, 0x3d, 0xf5, 0x45, 0xd8, 0x71, 0x40, 0x24, 0x7f, 0xe0, 0x05, 0x98, 0x6c, 0x92, 0x63, - 0xda, 0xcc, 0x65, 0xf2, 0x68, 0x6d, 0xda, 0x89, 0x0f, 0x78, 0x1b, 0x80, 0xbe, 0x63, 0x5e, 0xa8, - 0x72, 0xe4, 0x26, 0x54, 0xe1, 0xcb, 0x03, 0x0a, 0x3f, 0xf4, 0x5a, 0x94, 0x0b, 0xd2, 0x62, 0x4e, - 0x0a, 0x6f, 0xd6, 0x61, 0xb6, 0x2f, 0x25, 0x9e, 0x83, 0xcc, 0x09, 0xed, 0x28, 0x0b, 0xa6, 0x1d, - 0xf9, 0x13, 0x6f, 0xc2, 0x64, 0x9b, 0x34, 0x23, 0x79, 0x3d, 0xa9, 0x9e, 0xef, 0x5e, 0xef, 0xbc, - 0xb3, 0x49, 0x16, 0xa5, 0xe3, 0xc4, 0xf0, 0x2d, 0xe3, 0x11, 0xb2, 0x7e, 0x21, 0xb8, 0x3b, 0xf0, - 0xbe, 0x9c, 0x05, 0x3e, 0xa7, 0xb8, 0x00, 0x53, 0x71, 0x07, 0xb5, 0xe7, 0x4b, 0x4a, 0x3c, 0x64, - 0x6e, 0x57, 0x52, 0x85, 0x1d, 0x0d, 0x4b, 0x35, 0xc9, 0xf8, 0xd7, 0x26, 0x3d, 0x83, 0x19, 0xc2, - 0x58, 0x9d, 0xe9, 0xdc, 0xca, 0xbf, 0x6c, 0xe9, 0xfe, 0x88, 0x2e, 0xa5, 0xab, 0xcd, 0x92, 0xee, - 0xc1, 0xda, 0x87, 0xa5, 0x7d, 0x8f, 0x8b, 0x54, 0x9c, 0x8f, 0xff, 0x82, 0xac, 0x9f, 0x08, 0x72, - 0x7f, 0xcb, 0x5d, 0xa3, 0x3b, 0x07, 0x70, 0x33, 0xed, 0x0e, 0xcf, 0x65, 0xd4, 0x23, 0xbe, 0x8c, - 0x3d, 0x33, 0x29, 0x7b, 0xb8, 0xd5, 0x82, 0xe5, 0xaa, 0xdf, 0x26, 0x4d, 0xaf, 0x71, 0x65, 0x63, - 0x66, 0xc2, 0x8d, 0xa4, 0x7b, 0x86, 0x7a, 0x98, 0xc9, 0xd9, 0x3a, 0x43, 0xb0, 0x72, 0x41, 0xbe, - 0xeb, 0x73, 0xd1, 0xfa, 0x8c, 0x60, 0x71, 0x8f, 0x8a, 0xab, 0xb9, 0xee, 0x06, 0x4c, 0xc8, 0x25, - 0xa8, 0xb3, 0xaf, 0x2a, 0xc2, 0xf9, 0x7a, 0xb4, 0x65, 0x24, 0x21, 0xbe, 0xe0, 0x34, 0xac, 0x36, - 0x1c, 0x05, 0xef, 0x71, 0x29, 0xd3, 0xe7, 0xd2, 0x0f, 0x04, 0xb7, 0xfb, 0xeb, 0xfb, 0x6f, 0x47, - 0xb0, 0xf4, 0x6d, 0x02, 0x66, 0x2b, 0x29, 0x46, 0xa5, 0x56, 0xc5, 0x1f, 0x10, 0xcc, 0x0f, 0xd8, - 0x34, 0xf8, 0xf1, 0xd8, 0xdb, 0xd8, 0xdc, 0x1a, 0x87, 0xaa, 0x5d, 0x3d, 0x43, 0x30, 0xd7, 0x3f, - 0xd7, 0x78, 0x73, 0x84, 0xe0, 0x05, 0x7b, 0xc5, 0x7c, 0x78, 0x69, 0x9e, 0xae, 0xe2, 0x23, 0x82, - 0xc5, 0x81, 0xc3, 0x81, 0x9f, 0x8c, 0x90, 0x1c, 0x36, 0xc2, 0xe6, 0xf6, 0x78, 0x64, 0x5d, 0xd4, - 0x7b, 0xb8, 0xd5, 0xfb, 0x14, 0xf1, 0xfa, 0x48, 0xa3, 0x07, 0x4c, 0x96, 0xb9, 0x71, 0x49, 0x56, - 0x9c, 0x7e, 0xe7, 0x13, 0x82, 0x55, 0x37, 0x68, 0x0d, 0x27, 0xef, 0x2c, 0xf4, 0xbc, 0x2f, 0xe6, - 0xd5, 0xe4, 0x17, 0x44, 0x0d, 0xbd, 0x9a, 0x4f, 0xa3, 0x35, 0xf8, 0x8b, 0x91, 0xd9, 0xad, 0x54, - 0xbe, 0x1a, 0x2b, 0xbb, 0xbc, 0x6c, 0x57, 0xa4, 0x64, 0x9a, 0x6c, 0xbf, 0x2c, 0xee, 0x48, 0xd4, - 0x77, 0x15, 0x3f, 0x92, 0xf1, 0xa3, 0x74, 0xfc, 0x48, 0xc7, 0x8f, 0xa7, 0xd4, 0x57, 0x4a, 0xf9, - 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x14, 0x79, 0xb2, 0xbe, 0x09, 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 - -// ApplicationsAPIClient is the client API for ApplicationsAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ApplicationsAPIClient interface { - // GenerateAppPassword creates a password with specified scope to be used by - // third-party applications. - GenerateAppPassword(ctx context.Context, in *GenerateAppPasswordRequest, opts ...grpc.CallOption) (*GenerateAppPasswordResponse, error) - // ListAppPasswords lists the application passwords created by a user. - ListAppPasswords(ctx context.Context, in *ListAppPasswordsRequest, opts ...grpc.CallOption) (*ListAppPasswordsResponse, error) - // InvalidateAppPassword invalidates a generated password. - InvalidateAppPassword(ctx context.Context, in *InvalidateAppPasswordRequest, opts ...grpc.CallOption) (*InvalidateAppPasswordResponse, error) - // GetAppPassword retrieves the password information by the combination of username and password. - GetAppPassword(ctx context.Context, in *GetAppPasswordRequest, opts ...grpc.CallOption) (*GetAppPasswordResponse, error) -} - -type applicationsAPIClient struct { - cc *grpc.ClientConn -} - -func NewApplicationsAPIClient(cc *grpc.ClientConn) ApplicationsAPIClient { - return &applicationsAPIClient{cc} -} - -func (c *applicationsAPIClient) GenerateAppPassword(ctx context.Context, in *GenerateAppPasswordRequest, opts ...grpc.CallOption) (*GenerateAppPasswordResponse, error) { - out := new(GenerateAppPasswordResponse) - err := c.cc.Invoke(ctx, "/cs3.auth.applications.v1beta1.ApplicationsAPI/GenerateAppPassword", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func (*GetAppPasswordResponse) ProtoMessage() {} -func (c *applicationsAPIClient) ListAppPasswords(ctx context.Context, in *ListAppPasswordsRequest, opts ...grpc.CallOption) (*ListAppPasswordsResponse, error) { - out := new(ListAppPasswordsResponse) - err := c.cc.Invoke(ctx, "/cs3.auth.applications.v1beta1.ApplicationsAPI/ListAppPasswords", in, out, opts...) - if err != nil { - return nil, err +func (x *GetAppPasswordResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_applications_v1beta1_applications_api_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 out, nil + return mi.MessageOf(x) } -func (c *applicationsAPIClient) InvalidateAppPassword(ctx context.Context, in *InvalidateAppPasswordRequest, opts ...grpc.CallOption) (*InvalidateAppPasswordResponse, error) { - out := new(InvalidateAppPasswordResponse) - err := c.cc.Invoke(ctx, "/cs3.auth.applications.v1beta1.ApplicationsAPI/InvalidateAppPassword", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *applicationsAPIClient) GetAppPassword(ctx context.Context, in *GetAppPasswordRequest, opts ...grpc.CallOption) (*GetAppPasswordResponse, error) { - out := new(GetAppPasswordResponse) - err := c.cc.Invoke(ctx, "/cs3.auth.applications.v1beta1.ApplicationsAPI/GetAppPassword", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ApplicationsAPIServer is the server API for ApplicationsAPI service. -type ApplicationsAPIServer interface { - // GenerateAppPassword creates a password with specified scope to be used by - // third-party applications. - GenerateAppPassword(context.Context, *GenerateAppPasswordRequest) (*GenerateAppPasswordResponse, error) - // ListAppPasswords lists the application passwords created by a user. - ListAppPasswords(context.Context, *ListAppPasswordsRequest) (*ListAppPasswordsResponse, error) - // InvalidateAppPassword invalidates a generated password. - InvalidateAppPassword(context.Context, *InvalidateAppPasswordRequest) (*InvalidateAppPasswordResponse, error) - // GetAppPassword retrieves the password information by the combination of username and password. - GetAppPassword(context.Context, *GetAppPasswordRequest) (*GetAppPasswordResponse, error) -} - -// UnimplementedApplicationsAPIServer can be embedded to have forward compatible implementations. -type UnimplementedApplicationsAPIServer struct { -} - -func (*UnimplementedApplicationsAPIServer) GenerateAppPassword(ctx context.Context, req *GenerateAppPasswordRequest) (*GenerateAppPasswordResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateAppPassword not implemented") -} -func (*UnimplementedApplicationsAPIServer) ListAppPasswords(ctx context.Context, req *ListAppPasswordsRequest) (*ListAppPasswordsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAppPasswords not implemented") -} -func (*UnimplementedApplicationsAPIServer) InvalidateAppPassword(ctx context.Context, req *InvalidateAppPasswordRequest) (*InvalidateAppPasswordResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InvalidateAppPassword not implemented") -} -func (*UnimplementedApplicationsAPIServer) GetAppPassword(ctx context.Context, req *GetAppPasswordRequest) (*GetAppPasswordResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAppPassword not implemented") -} - -func RegisterApplicationsAPIServer(s *grpc.Server, srv ApplicationsAPIServer) { - s.RegisterService(&_ApplicationsAPI_serviceDesc, srv) +// Deprecated: Use GetAppPasswordResponse.ProtoReflect.Descriptor instead. +func (*GetAppPasswordResponse) Descriptor() ([]byte, []int) { + return file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescGZIP(), []int{7} } -func _ApplicationsAPI_GenerateAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GenerateAppPasswordRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationsAPIServer).GenerateAppPassword(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.auth.applications.v1beta1.ApplicationsAPI/GenerateAppPassword", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationsAPIServer).GenerateAppPassword(ctx, req.(*GenerateAppPasswordRequest)) +func (x *GetAppPasswordResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } - return interceptor(ctx, in, info, handler) + return nil } -func _ApplicationsAPI_ListAppPasswords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAppPasswordsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationsAPIServer).ListAppPasswords(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.auth.applications.v1beta1.ApplicationsAPI/ListAppPasswords", +func (x *GetAppPasswordResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationsAPIServer).ListAppPasswords(ctx, req.(*ListAppPasswordsRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _ApplicationsAPI_InvalidateAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InvalidateAppPasswordRequest) - if err := dec(in); err != nil { - return nil, err +func (x *GetAppPasswordResponse) GetAppPassword() *AppPassword { + if x != nil { + return x.AppPassword } - if interceptor == nil { - return srv.(ApplicationsAPIServer).InvalidateAppPassword(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.auth.applications.v1beta1.ApplicationsAPI/InvalidateAppPassword", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationsAPIServer).InvalidateAppPassword(ctx, req.(*InvalidateAppPasswordRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _ApplicationsAPI_GetAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAppPasswordRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationsAPIServer).GetAppPassword(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.auth.applications.v1beta1.ApplicationsAPI/GetAppPassword", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationsAPIServer).GetAppPassword(ctx, req.(*GetAppPasswordRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_auth_applications_v1beta1_applications_api_proto protoreflect.FileDescriptor + +var file_cs3_auth_applications_v1beta1_applications_api_proto_rawDesc = []byte{ + 0x0a, 0x34, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, + 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x2d, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, + 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x02, 0x0a, 0x1a, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x6a, 0x0a, 0x0b, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x49, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, + 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x3c, 0x0a, 0x0a, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x5f, 0x0a, 0x0f, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd0, 0x01, 0x0a, 0x1b, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4d, + 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x52, 0x0b, 0x61, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x4c, 0x0a, + 0x17, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xcf, 0x01, 0x0a, 0x18, + 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4f, 0x0a, 0x0d, + 0x61, 0x70, 0x70, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, + 0x0c, 0x61, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x6d, 0x0a, + 0x1c, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x83, 0x01, 0x0a, + 0x1d, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x22, 0xcb, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x12, 0x4d, 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x32, 0xba, 0x04, 0x0a, 0x0f, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x41, 0x50, 0x49, 0x12, 0x8c, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x39, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, + 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x92, 0x01, 0x0a, 0x15, 0x49, 0x6e, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x12, 0x3b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, + 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x12, 0x34, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xa0, 0x02, + 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x42, 0x14, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, + 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, + 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, + 0x41, 0xaa, 0x02, 0x1d, 0x43, 0x73, 0x33, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xca, 0x02, 0x1d, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xe2, 0x02, 0x29, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x20, + 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescOnce sync.Once + file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescData = file_cs3_auth_applications_v1beta1_applications_api_proto_rawDesc +) -var _ApplicationsAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.auth.applications.v1beta1.ApplicationsAPI", - HandlerType: (*ApplicationsAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GenerateAppPassword", - Handler: _ApplicationsAPI_GenerateAppPassword_Handler, - }, - { - MethodName: "ListAppPasswords", - Handler: _ApplicationsAPI_ListAppPasswords_Handler, - }, - { - MethodName: "InvalidateAppPassword", - Handler: _ApplicationsAPI_InvalidateAppPassword_Handler, - }, - { - MethodName: "GetAppPassword", - Handler: _ApplicationsAPI_GetAppPassword_Handler, +func file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescGZIP() []byte { + file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescOnce.Do(func() { + file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescData) + }) + return file_cs3_auth_applications_v1beta1_applications_api_proto_rawDescData +} + +var file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_cs3_auth_applications_v1beta1_applications_api_proto_goTypes = []interface{}{ + (*GenerateAppPasswordRequest)(nil), // 0: cs3.auth.applications.v1beta1.GenerateAppPasswordRequest + (*GenerateAppPasswordResponse)(nil), // 1: cs3.auth.applications.v1beta1.GenerateAppPasswordResponse + (*ListAppPasswordsRequest)(nil), // 2: cs3.auth.applications.v1beta1.ListAppPasswordsRequest + (*ListAppPasswordsResponse)(nil), // 3: cs3.auth.applications.v1beta1.ListAppPasswordsResponse + (*InvalidateAppPasswordRequest)(nil), // 4: cs3.auth.applications.v1beta1.InvalidateAppPasswordRequest + (*InvalidateAppPasswordResponse)(nil), // 5: cs3.auth.applications.v1beta1.InvalidateAppPasswordResponse + (*GetAppPasswordRequest)(nil), // 6: cs3.auth.applications.v1beta1.GetAppPasswordRequest + (*GetAppPasswordResponse)(nil), // 7: cs3.auth.applications.v1beta1.GetAppPasswordResponse + nil, // 8: cs3.auth.applications.v1beta1.GenerateAppPasswordRequest.TokenScopeEntry + (*v1beta1.Opaque)(nil), // 9: cs3.types.v1beta1.Opaque + (*v1beta1.Timestamp)(nil), // 10: cs3.types.v1beta1.Timestamp + (*v1beta12.Status)(nil), // 11: cs3.rpc.v1beta1.Status + (*AppPassword)(nil), // 12: cs3.auth.applications.v1beta1.AppPassword + (*v1beta13.UserId)(nil), // 13: cs3.identity.user.v1beta1.UserId + (*v1beta11.Scope)(nil), // 14: cs3.auth.provider.v1beta1.Scope +} +var file_cs3_auth_applications_v1beta1_applications_api_proto_depIdxs = []int32{ + 9, // 0: cs3.auth.applications.v1beta1.GenerateAppPasswordRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 8, // 1: cs3.auth.applications.v1beta1.GenerateAppPasswordRequest.token_scope:type_name -> cs3.auth.applications.v1beta1.GenerateAppPasswordRequest.TokenScopeEntry + 10, // 2: cs3.auth.applications.v1beta1.GenerateAppPasswordRequest.expiration:type_name -> cs3.types.v1beta1.Timestamp + 11, // 3: cs3.auth.applications.v1beta1.GenerateAppPasswordResponse.status:type_name -> cs3.rpc.v1beta1.Status + 9, // 4: cs3.auth.applications.v1beta1.GenerateAppPasswordResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 5: cs3.auth.applications.v1beta1.GenerateAppPasswordResponse.app_password:type_name -> cs3.auth.applications.v1beta1.AppPassword + 9, // 6: cs3.auth.applications.v1beta1.ListAppPasswordsRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 7: cs3.auth.applications.v1beta1.ListAppPasswordsResponse.status:type_name -> cs3.rpc.v1beta1.Status + 9, // 8: cs3.auth.applications.v1beta1.ListAppPasswordsResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 9: cs3.auth.applications.v1beta1.ListAppPasswordsResponse.app_passwords:type_name -> cs3.auth.applications.v1beta1.AppPassword + 9, // 10: cs3.auth.applications.v1beta1.InvalidateAppPasswordRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 11: cs3.auth.applications.v1beta1.InvalidateAppPasswordResponse.status:type_name -> cs3.rpc.v1beta1.Status + 9, // 12: cs3.auth.applications.v1beta1.InvalidateAppPasswordResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 9, // 13: cs3.auth.applications.v1beta1.GetAppPasswordRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 14: cs3.auth.applications.v1beta1.GetAppPasswordRequest.user:type_name -> cs3.identity.user.v1beta1.UserId + 11, // 15: cs3.auth.applications.v1beta1.GetAppPasswordResponse.status:type_name -> cs3.rpc.v1beta1.Status + 9, // 16: cs3.auth.applications.v1beta1.GetAppPasswordResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 17: cs3.auth.applications.v1beta1.GetAppPasswordResponse.app_password:type_name -> cs3.auth.applications.v1beta1.AppPassword + 14, // 18: cs3.auth.applications.v1beta1.GenerateAppPasswordRequest.TokenScopeEntry.value:type_name -> cs3.auth.provider.v1beta1.Scope + 0, // 19: cs3.auth.applications.v1beta1.ApplicationsAPI.GenerateAppPassword:input_type -> cs3.auth.applications.v1beta1.GenerateAppPasswordRequest + 2, // 20: cs3.auth.applications.v1beta1.ApplicationsAPI.ListAppPasswords:input_type -> cs3.auth.applications.v1beta1.ListAppPasswordsRequest + 4, // 21: cs3.auth.applications.v1beta1.ApplicationsAPI.InvalidateAppPassword:input_type -> cs3.auth.applications.v1beta1.InvalidateAppPasswordRequest + 6, // 22: cs3.auth.applications.v1beta1.ApplicationsAPI.GetAppPassword:input_type -> cs3.auth.applications.v1beta1.GetAppPasswordRequest + 1, // 23: cs3.auth.applications.v1beta1.ApplicationsAPI.GenerateAppPassword:output_type -> cs3.auth.applications.v1beta1.GenerateAppPasswordResponse + 3, // 24: cs3.auth.applications.v1beta1.ApplicationsAPI.ListAppPasswords:output_type -> cs3.auth.applications.v1beta1.ListAppPasswordsResponse + 5, // 25: cs3.auth.applications.v1beta1.ApplicationsAPI.InvalidateAppPassword:output_type -> cs3.auth.applications.v1beta1.InvalidateAppPasswordResponse + 7, // 26: cs3.auth.applications.v1beta1.ApplicationsAPI.GetAppPassword:output_type -> cs3.auth.applications.v1beta1.GetAppPasswordResponse + 23, // [23:27] is the sub-list for method output_type + 19, // [19:23] is the sub-list for method input_type + 19, // [19:19] is the sub-list for extension type_name + 19, // [19:19] is the sub-list for extension extendee + 0, // [0:19] is the sub-list for field type_name +} + +func init() { file_cs3_auth_applications_v1beta1_applications_api_proto_init() } +func file_cs3_auth_applications_v1beta1_applications_api_proto_init() { + if File_cs3_auth_applications_v1beta1_applications_api_proto != nil { + return + } + file_cs3_auth_applications_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenerateAppPasswordRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenerateAppPasswordResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAppPasswordsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAppPasswordsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvalidateAppPasswordRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvalidateAppPasswordResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAppPasswordRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAppPasswordResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_auth_applications_v1beta1_applications_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 9, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/auth/applications/v1beta1/applications_api.proto", + GoTypes: file_cs3_auth_applications_v1beta1_applications_api_proto_goTypes, + DependencyIndexes: file_cs3_auth_applications_v1beta1_applications_api_proto_depIdxs, + MessageInfos: file_cs3_auth_applications_v1beta1_applications_api_proto_msgTypes, + }.Build() + File_cs3_auth_applications_v1beta1_applications_api_proto = out.File + file_cs3_auth_applications_v1beta1_applications_api_proto_rawDesc = nil + file_cs3_auth_applications_v1beta1_applications_api_proto_goTypes = nil + file_cs3_auth_applications_v1beta1_applications_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/applications_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/applications_api_grpc.pb.go new file mode 100644 index 00000000000..32200f875cb --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/applications_api_grpc.pb.go @@ -0,0 +1,246 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/auth/applications/v1beta1/applications_api.proto + +package applicationsv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + ApplicationsAPI_GenerateAppPassword_FullMethodName = "/cs3.auth.applications.v1beta1.ApplicationsAPI/GenerateAppPassword" + ApplicationsAPI_ListAppPasswords_FullMethodName = "/cs3.auth.applications.v1beta1.ApplicationsAPI/ListAppPasswords" + ApplicationsAPI_InvalidateAppPassword_FullMethodName = "/cs3.auth.applications.v1beta1.ApplicationsAPI/InvalidateAppPassword" + ApplicationsAPI_GetAppPassword_FullMethodName = "/cs3.auth.applications.v1beta1.ApplicationsAPI/GetAppPassword" +) + +// ApplicationsAPIClient is the client API for ApplicationsAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ApplicationsAPIClient interface { + // GenerateAppPassword creates a password with specified scope to be used by + // third-party applications. + GenerateAppPassword(ctx context.Context, in *GenerateAppPasswordRequest, opts ...grpc.CallOption) (*GenerateAppPasswordResponse, error) + // ListAppPasswords lists the application passwords created by a user. + ListAppPasswords(ctx context.Context, in *ListAppPasswordsRequest, opts ...grpc.CallOption) (*ListAppPasswordsResponse, error) + // InvalidateAppPassword invalidates a generated password. + InvalidateAppPassword(ctx context.Context, in *InvalidateAppPasswordRequest, opts ...grpc.CallOption) (*InvalidateAppPasswordResponse, error) + // GetAppPassword retrieves the password information by the combination of username and password. + GetAppPassword(ctx context.Context, in *GetAppPasswordRequest, opts ...grpc.CallOption) (*GetAppPasswordResponse, error) +} + +type applicationsAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewApplicationsAPIClient(cc grpc.ClientConnInterface) ApplicationsAPIClient { + return &applicationsAPIClient{cc} +} + +func (c *applicationsAPIClient) GenerateAppPassword(ctx context.Context, in *GenerateAppPasswordRequest, opts ...grpc.CallOption) (*GenerateAppPasswordResponse, error) { + out := new(GenerateAppPasswordResponse) + err := c.cc.Invoke(ctx, ApplicationsAPI_GenerateAppPassword_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *applicationsAPIClient) ListAppPasswords(ctx context.Context, in *ListAppPasswordsRequest, opts ...grpc.CallOption) (*ListAppPasswordsResponse, error) { + out := new(ListAppPasswordsResponse) + err := c.cc.Invoke(ctx, ApplicationsAPI_ListAppPasswords_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *applicationsAPIClient) InvalidateAppPassword(ctx context.Context, in *InvalidateAppPasswordRequest, opts ...grpc.CallOption) (*InvalidateAppPasswordResponse, error) { + out := new(InvalidateAppPasswordResponse) + err := c.cc.Invoke(ctx, ApplicationsAPI_InvalidateAppPassword_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *applicationsAPIClient) GetAppPassword(ctx context.Context, in *GetAppPasswordRequest, opts ...grpc.CallOption) (*GetAppPasswordResponse, error) { + out := new(GetAppPasswordResponse) + err := c.cc.Invoke(ctx, ApplicationsAPI_GetAppPassword_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ApplicationsAPIServer is the server API for ApplicationsAPI service. +// All implementations should embed UnimplementedApplicationsAPIServer +// for forward compatibility +type ApplicationsAPIServer interface { + // GenerateAppPassword creates a password with specified scope to be used by + // third-party applications. + GenerateAppPassword(context.Context, *GenerateAppPasswordRequest) (*GenerateAppPasswordResponse, error) + // ListAppPasswords lists the application passwords created by a user. + ListAppPasswords(context.Context, *ListAppPasswordsRequest) (*ListAppPasswordsResponse, error) + // InvalidateAppPassword invalidates a generated password. + InvalidateAppPassword(context.Context, *InvalidateAppPasswordRequest) (*InvalidateAppPasswordResponse, error) + // GetAppPassword retrieves the password information by the combination of username and password. + GetAppPassword(context.Context, *GetAppPasswordRequest) (*GetAppPasswordResponse, error) +} + +// UnimplementedApplicationsAPIServer should be embedded to have forward compatible implementations. +type UnimplementedApplicationsAPIServer struct { +} + +func (UnimplementedApplicationsAPIServer) GenerateAppPassword(context.Context, *GenerateAppPasswordRequest) (*GenerateAppPasswordResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GenerateAppPassword not implemented") +} +func (UnimplementedApplicationsAPIServer) ListAppPasswords(context.Context, *ListAppPasswordsRequest) (*ListAppPasswordsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAppPasswords not implemented") +} +func (UnimplementedApplicationsAPIServer) InvalidateAppPassword(context.Context, *InvalidateAppPasswordRequest) (*InvalidateAppPasswordResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InvalidateAppPassword not implemented") +} +func (UnimplementedApplicationsAPIServer) GetAppPassword(context.Context, *GetAppPasswordRequest) (*GetAppPasswordResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAppPassword not implemented") +} + +// UnsafeApplicationsAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ApplicationsAPIServer will +// result in compilation errors. +type UnsafeApplicationsAPIServer interface { + mustEmbedUnimplementedApplicationsAPIServer() +} + +func RegisterApplicationsAPIServer(s grpc.ServiceRegistrar, srv ApplicationsAPIServer) { + s.RegisterService(&ApplicationsAPI_ServiceDesc, srv) +} + +func _ApplicationsAPI_GenerateAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GenerateAppPasswordRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ApplicationsAPIServer).GenerateAppPassword(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ApplicationsAPI_GenerateAppPassword_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ApplicationsAPIServer).GenerateAppPassword(ctx, req.(*GenerateAppPasswordRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ApplicationsAPI_ListAppPasswords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListAppPasswordsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ApplicationsAPIServer).ListAppPasswords(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ApplicationsAPI_ListAppPasswords_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ApplicationsAPIServer).ListAppPasswords(ctx, req.(*ListAppPasswordsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ApplicationsAPI_InvalidateAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InvalidateAppPasswordRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ApplicationsAPIServer).InvalidateAppPassword(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ApplicationsAPI_InvalidateAppPassword_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ApplicationsAPIServer).InvalidateAppPassword(ctx, req.(*InvalidateAppPasswordRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ApplicationsAPI_GetAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAppPasswordRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ApplicationsAPIServer).GetAppPassword(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ApplicationsAPI_GetAppPassword_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ApplicationsAPIServer).GetAppPassword(ctx, req.(*GetAppPasswordRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ApplicationsAPI_ServiceDesc is the grpc.ServiceDesc for ApplicationsAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ApplicationsAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.auth.applications.v1beta1.ApplicationsAPI", + HandlerType: (*ApplicationsAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GenerateAppPassword", + Handler: _ApplicationsAPI_GenerateAppPassword_Handler, + }, + { + MethodName: "ListAppPasswords", + Handler: _ApplicationsAPI_ListAppPasswords_Handler, + }, + { + MethodName: "InvalidateAppPassword", + Handler: _ApplicationsAPI_InvalidateAppPassword_Handler, + }, + { + MethodName: "GetAppPassword", + Handler: _ApplicationsAPI_GetAppPassword_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/auth/applications/v1beta1/applications_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/resources.pb.go index acc02cc3cc5..b0e1f2d0d8d 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1/resources.pb.go @@ -1,31 +1,53 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/auth/applications/v1beta1/resources.proto package applicationsv1beta1 import ( - fmt "fmt" v1beta1 "github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // AppPassword stores information about secondary passwords generated by users // to be used with third-party applications. type AppPassword struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The generated access password. Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` @@ -47,121 +69,225 @@ type AppPassword struct { Ctime *v1beta12.Timestamp `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime,omitempty"` // REQUIRED. // The last time the password was used. - Utime *v1beta12.Timestamp `protobuf:"bytes,7,opt,name=utime,proto3" json:"utime,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Utime *v1beta12.Timestamp `protobuf:"bytes,7,opt,name=utime,proto3" json:"utime,omitempty"` } -func (m *AppPassword) Reset() { *m = AppPassword{} } -func (m *AppPassword) String() string { return proto.CompactTextString(m) } -func (*AppPassword) ProtoMessage() {} -func (*AppPassword) Descriptor() ([]byte, []int) { - return fileDescriptor_1b1b72514a65f2c5, []int{0} +func (x *AppPassword) Reset() { + *x = AppPassword{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_applications_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AppPassword) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppPassword.Unmarshal(m, b) -} -func (m *AppPassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppPassword.Marshal(b, m, deterministic) +func (x *AppPassword) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AppPassword) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppPassword.Merge(m, src) -} -func (m *AppPassword) XXX_Size() int { - return xxx_messageInfo_AppPassword.Size(m) -} -func (m *AppPassword) XXX_DiscardUnknown() { - xxx_messageInfo_AppPassword.DiscardUnknown(m) + +func (*AppPassword) ProtoMessage() {} + +func (x *AppPassword) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_applications_v1beta1_resources_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) } -var xxx_messageInfo_AppPassword proto.InternalMessageInfo +// Deprecated: Use AppPassword.ProtoReflect.Descriptor instead. +func (*AppPassword) Descriptor() ([]byte, []int) { + return file_cs3_auth_applications_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *AppPassword) GetPassword() string { - if m != nil { - return m.Password +func (x *AppPassword) GetPassword() string { + if x != nil { + return x.Password } return "" } -func (m *AppPassword) GetTokenScope() map[string]*v1beta1.Scope { - if m != nil { - return m.TokenScope +func (x *AppPassword) GetTokenScope() map[string]*v1beta1.Scope { + if x != nil { + return x.TokenScope } return nil } -func (m *AppPassword) GetLabel() string { - if m != nil { - return m.Label +func (x *AppPassword) GetLabel() string { + if x != nil { + return x.Label } return "" } -func (m *AppPassword) GetUser() *v1beta11.UserId { - if m != nil { - return m.User +func (x *AppPassword) GetUser() *v1beta11.UserId { + if x != nil { + return x.User } return nil } -func (m *AppPassword) GetExpiration() *v1beta12.Timestamp { - if m != nil { - return m.Expiration +func (x *AppPassword) GetExpiration() *v1beta12.Timestamp { + if x != nil { + return x.Expiration } return nil } -func (m *AppPassword) GetCtime() *v1beta12.Timestamp { - if m != nil { - return m.Ctime +func (x *AppPassword) GetCtime() *v1beta12.Timestamp { + if x != nil { + return x.Ctime } return nil } -func (m *AppPassword) GetUtime() *v1beta12.Timestamp { - if m != nil { - return m.Utime +func (x *AppPassword) GetUtime() *v1beta12.Timestamp { + if x != nil { + return x.Utime } return nil } -func init() { - proto.RegisterType((*AppPassword)(nil), "cs3.auth.applications.v1beta1.AppPassword") - proto.RegisterMapType((map[string]*v1beta1.Scope)(nil), "cs3.auth.applications.v1beta1.AppPassword.TokenScopeEntry") -} - -func init() { - proto.RegisterFile("cs3/auth/applications/v1beta1/resources.proto", fileDescriptor_1b1b72514a65f2c5) -} - -var fileDescriptor_1b1b72514a65f2c5 = []byte{ - // 412 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0xca, 0xd3, 0x30, - 0x18, 0xc6, 0x69, 0xbb, 0x4e, 0x4d, 0x41, 0x25, 0x7a, 0x50, 0x86, 0x83, 0xce, 0xa3, 0x79, 0x60, - 0xca, 0x56, 0x14, 0x19, 0x9e, 0x74, 0xc3, 0x03, 0xcf, 0x46, 0x9d, 0x1e, 0xe8, 0x60, 0x64, 0x6d, - 0xc0, 0xb0, 0xb6, 0x09, 0x49, 0x3a, 0xed, 0x5d, 0x78, 0x0d, 0x1e, 0x7a, 0x29, 0x5e, 0x82, 0x57, - 0x23, 0x49, 0xff, 0xac, 0x7c, 0xf0, 0x8d, 0x9d, 0x25, 0x7d, 0x7e, 0xcf, 0xf3, 0xe6, 0x7d, 0xfb, - 0x82, 0xd7, 0xa9, 0x8c, 0x42, 0x5c, 0xa9, 0xef, 0x21, 0xe6, 0x3c, 0xa7, 0x29, 0x56, 0x94, 0x95, - 0x32, 0x3c, 0x2f, 0x8e, 0x44, 0xe1, 0x45, 0x28, 0x88, 0x64, 0x95, 0x48, 0x89, 0x44, 0x5c, 0x30, - 0xc5, 0xe0, 0x34, 0x95, 0x11, 0xd2, 0x38, 0x1a, 0xe2, 0xa8, 0xc5, 0x27, 0xaf, 0xfa, 0x34, 0x2e, - 0xd8, 0x99, 0x66, 0x44, 0xdc, 0x97, 0xd4, 0xa0, 0x34, 0x23, 0xa5, 0xa2, 0xaa, 0x0e, 0x2b, 0x79, - 0x05, 0xd5, 0x45, 0x43, 0x55, 0x73, 0x72, 0x79, 0x97, 0xb9, 0x35, 0xf2, 0xcb, 0x7f, 0x0e, 0xf0, - 0x62, 0xce, 0xb7, 0x58, 0xca, 0x1f, 0x4c, 0x64, 0x70, 0x02, 0x1e, 0xf2, 0xf6, 0xec, 0x5b, 0x81, - 0x35, 0x7f, 0x94, 0xf4, 0x77, 0xf8, 0x0d, 0x78, 0x8a, 0x9d, 0x48, 0x79, 0x90, 0x29, 0xe3, 0xc4, - 0xb7, 0x03, 0x67, 0xee, 0x2d, 0x57, 0xe8, 0x6a, 0x57, 0x68, 0x10, 0x8e, 0x76, 0xda, 0xfd, 0x49, - 0x9b, 0x3f, 0x94, 0x4a, 0xd4, 0x09, 0x50, 0xfd, 0x07, 0xf8, 0x1c, 0xb8, 0x39, 0x3e, 0x92, 0xdc, - 0x77, 0x4c, 0xd5, 0xe6, 0x02, 0xdf, 0x80, 0x91, 0xee, 0xce, 0x1f, 0x05, 0xd6, 0xdc, 0x5b, 0xce, - 0x4c, 0xad, 0xae, 0x6f, 0xa4, 0x95, 0xbe, 0xce, 0x67, 0x49, 0xc4, 0xc7, 0x2c, 0x31, 0x38, 0x7c, - 0x0f, 0x00, 0xf9, 0xc9, 0xa9, 0x30, 0x6f, 0xf1, 0x5d, 0x63, 0x7e, 0x61, 0xcc, 0x4d, 0xef, 0x9d, - 0x69, 0x47, 0x0b, 0x22, 0x15, 0x2e, 0x78, 0x32, 0xe0, 0xe1, 0x12, 0xb8, 0xa9, 0xa2, 0x05, 0xf1, - 0xc7, 0x37, 0x18, 0x1b, 0x54, 0x7b, 0x2a, 0xe3, 0x79, 0x70, 0x8b, 0xc7, 0xa0, 0x93, 0x03, 0x78, - 0x72, 0x67, 0x22, 0xf0, 0x29, 0x70, 0x4e, 0xa4, 0x6e, 0x27, 0xaf, 0x8f, 0xf0, 0x2d, 0x70, 0xcf, - 0x38, 0xaf, 0xf4, 0xb8, 0x75, 0x70, 0x70, 0x19, 0x77, 0xb7, 0x25, 0x7d, 0x01, 0x93, 0x93, 0x34, - 0xf8, 0xca, 0x7e, 0x67, 0xad, 0x7f, 0x59, 0x60, 0x96, 0xb2, 0xe2, 0xfa, 0x1f, 0x5a, 0x3f, 0x4e, - 0xba, 0x95, 0xd9, 0xea, 0x95, 0xd8, 0x5a, 0x5f, 0x9f, 0x0d, 0xb9, 0x16, 0xfb, 0x6d, 0x3b, 0x9b, - 0x38, 0xfe, 0x63, 0x4f, 0x37, 0x32, 0x42, 0xb1, 0x0e, 0x8b, 0x87, 0x61, 0x5f, 0x16, 0x6b, 0x4d, - 0xfd, 0x35, 0xfa, 0x5e, 0xeb, 0xfb, 0xa1, 0xbe, 0x6f, 0xf5, 0xe3, 0xd8, 0xac, 0x5d, 0xf4, 0x3f, - 0x00, 0x00, 0xff, 0xff, 0x4f, 0x72, 0x99, 0xb3, 0x3b, 0x03, 0x00, 0x00, +var File_cs3_auth_applications_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_auth_applications_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x1d, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x29, + 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x03, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, + 0x5b, 0x0a, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x75, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x75, 0x74, 0x69, 0x6d, 0x65, 0x1a, + 0x5f, 0x0a, 0x0f, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x42, 0x9a, 0x02, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, + 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x41, 0xaa, 0x02, + 0x1d, 0x43, 0x73, 0x33, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, + 0x1d, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, + 0x29, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x20, 0x43, 0x73, 0x33, + 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_auth_applications_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_auth_applications_v1beta1_resources_proto_rawDescData = file_cs3_auth_applications_v1beta1_resources_proto_rawDesc +) + +func file_cs3_auth_applications_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_auth_applications_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_auth_applications_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_auth_applications_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_auth_applications_v1beta1_resources_proto_rawDescData +} + +var file_cs3_auth_applications_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_cs3_auth_applications_v1beta1_resources_proto_goTypes = []interface{}{ + (*AppPassword)(nil), // 0: cs3.auth.applications.v1beta1.AppPassword + nil, // 1: cs3.auth.applications.v1beta1.AppPassword.TokenScopeEntry + (*v1beta11.UserId)(nil), // 2: cs3.identity.user.v1beta1.UserId + (*v1beta12.Timestamp)(nil), // 3: cs3.types.v1beta1.Timestamp + (*v1beta1.Scope)(nil), // 4: cs3.auth.provider.v1beta1.Scope +} +var file_cs3_auth_applications_v1beta1_resources_proto_depIdxs = []int32{ + 1, // 0: cs3.auth.applications.v1beta1.AppPassword.token_scope:type_name -> cs3.auth.applications.v1beta1.AppPassword.TokenScopeEntry + 2, // 1: cs3.auth.applications.v1beta1.AppPassword.user:type_name -> cs3.identity.user.v1beta1.UserId + 3, // 2: cs3.auth.applications.v1beta1.AppPassword.expiration:type_name -> cs3.types.v1beta1.Timestamp + 3, // 3: cs3.auth.applications.v1beta1.AppPassword.ctime:type_name -> cs3.types.v1beta1.Timestamp + 3, // 4: cs3.auth.applications.v1beta1.AppPassword.utime:type_name -> cs3.types.v1beta1.Timestamp + 4, // 5: cs3.auth.applications.v1beta1.AppPassword.TokenScopeEntry.value:type_name -> cs3.auth.provider.v1beta1.Scope + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_cs3_auth_applications_v1beta1_resources_proto_init() } +func file_cs3_auth_applications_v1beta1_resources_proto_init() { + if File_cs3_auth_applications_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_auth_applications_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppPassword); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_auth_applications_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_auth_applications_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_auth_applications_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_auth_applications_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_auth_applications_v1beta1_resources_proto = out.File + file_cs3_auth_applications_v1beta1_resources_proto_rawDesc = nil + file_cs3_auth_applications_v1beta1_resources_proto_goTypes = nil + file_cs3_auth_applications_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/provider_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/provider_api.pb.go index 747abcad7d7..20640e5ba16 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/provider_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/provider_api.pb.go @@ -1,33 +1,51 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/auth/provider/v1beta1/provider_api.proto package providerv1beta1 import ( - context "context" - fmt "fmt" v1beta12 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 AuthenticateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -39,59 +57,67 @@ type AuthenticateRequest struct { ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // OPTIONAL. // The secret of the client. - ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` } -func (m *AuthenticateRequest) Reset() { *m = AuthenticateRequest{} } -func (m *AuthenticateRequest) String() string { return proto.CompactTextString(m) } -func (*AuthenticateRequest) ProtoMessage() {} -func (*AuthenticateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2ddf0fa535f43d36, []int{0} +func (x *AuthenticateRequest) Reset() { + *x = AuthenticateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_provider_v1beta1_provider_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthenticateRequest.Unmarshal(m, b) -} -func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthenticateRequest.Marshal(b, m, deterministic) -} -func (m *AuthenticateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticateRequest.Merge(m, src) +func (x *AuthenticateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AuthenticateRequest) XXX_Size() int { - return xxx_messageInfo_AuthenticateRequest.Size(m) -} -func (m *AuthenticateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AuthenticateRequest.DiscardUnknown(m) + +func (*AuthenticateRequest) ProtoMessage() {} + +func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_AuthenticateRequest proto.InternalMessageInfo +// Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead. +func (*AuthenticateRequest) Descriptor() ([]byte, []int) { + return file_cs3_auth_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{0} +} -func (m *AuthenticateRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *AuthenticateRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *AuthenticateRequest) GetClientId() string { - if m != nil { - return m.ClientId +func (x *AuthenticateRequest) GetClientId() string { + if x != nil { + return x.ClientId } return "" } -func (m *AuthenticateRequest) GetClientSecret() string { - if m != nil { - return m.ClientSecret +func (x *AuthenticateRequest) GetClientSecret() string { + if x != nil { + return x.ClientSecret } return "" } type AuthenticateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -101,179 +127,220 @@ type AuthenticateResponse struct { // REQUIRED. // The scope of the token to be issued. // This would be a list of resources with corresponding role-based access scope. - TokenScope map[string]*Scope `protobuf:"bytes,3,rep,name=token_scope,json=tokenScope,proto3" json:"token_scope,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TokenScope map[string]*Scope `protobuf:"bytes,3,rep,name=token_scope,json=tokenScope,proto3" json:"token_scope,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *AuthenticateResponse) Reset() { *m = AuthenticateResponse{} } -func (m *AuthenticateResponse) String() string { return proto.CompactTextString(m) } -func (*AuthenticateResponse) ProtoMessage() {} -func (*AuthenticateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2ddf0fa535f43d36, []int{1} +func (x *AuthenticateResponse) Reset() { + *x = AuthenticateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_provider_v1beta1_provider_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthenticateResponse.Unmarshal(m, b) -} -func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthenticateResponse.Marshal(b, m, deterministic) -} -func (m *AuthenticateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticateResponse.Merge(m, src) -} -func (m *AuthenticateResponse) XXX_Size() int { - return xxx_messageInfo_AuthenticateResponse.Size(m) -} -func (m *AuthenticateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AuthenticateResponse.DiscardUnknown(m) +func (x *AuthenticateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_AuthenticateResponse proto.InternalMessageInfo +func (*AuthenticateResponse) ProtoMessage() {} -func (m *AuthenticateResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_provider_v1beta1_provider_api_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 nil + return mi.MessageOf(x) } -func (m *AuthenticateResponse) GetUser() *v1beta12.User { - if m != nil { - return m.User - } - return nil +// Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead. +func (*AuthenticateResponse) Descriptor() ([]byte, []int) { + return file_cs3_auth_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{1} } -func (m *AuthenticateResponse) GetTokenScope() map[string]*Scope { - if m != nil { - return m.TokenScope +func (x *AuthenticateResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func init() { - proto.RegisterType((*AuthenticateRequest)(nil), "cs3.auth.provider.v1beta1.AuthenticateRequest") - proto.RegisterType((*AuthenticateResponse)(nil), "cs3.auth.provider.v1beta1.AuthenticateResponse") - proto.RegisterMapType((map[string]*Scope)(nil), "cs3.auth.provider.v1beta1.AuthenticateResponse.TokenScopeEntry") -} - -func init() { - proto.RegisterFile("cs3/auth/provider/v1beta1/provider_api.proto", fileDescriptor_2ddf0fa535f43d36) -} - -var fileDescriptor_2ddf0fa535f43d36 = []byte{ - // 459 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xcf, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x49, 0xa2, 0xc5, 0x4e, 0x56, 0x76, 0x19, 0x05, 0xdb, 0xea, 0x62, 0x59, 0x2f, 0x15, - 0x64, 0x42, 0x1b, 0x10, 0xf1, 0x22, 0xed, 0xe2, 0x61, 0x4f, 0x86, 0x54, 0x3d, 0x48, 0xa1, 0x66, - 0xa7, 0x0f, 0x36, 0xec, 0x9a, 0x99, 0x9d, 0x79, 0x29, 0xe4, 0xe2, 0xc1, 0xa3, 0x7f, 0x86, 0x47, - 0xff, 0x09, 0xef, 0xfe, 0x55, 0x32, 0x3f, 0x12, 0x54, 0x6c, 0x71, 0x6f, 0xed, 0xfb, 0x7c, 0xde, - 0x9b, 0xef, 0x9b, 0x0c, 0x79, 0xc6, 0x75, 0x9a, 0x14, 0x35, 0x5e, 0x24, 0x52, 0x89, 0x6d, 0xb9, - 0x01, 0x95, 0x6c, 0xa7, 0xe7, 0x80, 0xc5, 0xb4, 0x2b, 0xac, 0x0b, 0x59, 0x32, 0xa9, 0x04, 0x0a, - 0x3a, 0xe4, 0x3a, 0x65, 0xc6, 0x66, 0x2d, 0x64, 0xde, 0x1e, 0x3d, 0xdd, 0x3d, 0x48, 0x81, 0x16, - 0xb5, 0xe2, 0xa0, 0xdd, 0x14, 0xa7, 0x96, 0x1b, 0xa8, 0xb0, 0xc4, 0x26, 0xa9, 0xf5, 0x1e, 0xf5, - 0x91, 0x51, 0x95, 0xe4, 0x9d, 0xa0, 0xb1, 0xc0, 0xba, 0xa5, 0xc7, 0x86, 0x62, 0x23, 0x41, 0x77, - 0xdc, 0xfe, 0x73, 0xf8, 0xe4, 0x6b, 0x40, 0xee, 0xcd, 0x6b, 0xbc, 0x30, 0x07, 0xf1, 0x02, 0x21, - 0x87, 0xeb, 0x1a, 0x34, 0xd2, 0x29, 0xe9, 0x09, 0x59, 0x5c, 0xd7, 0x30, 0x08, 0xc6, 0xc1, 0x24, - 0x9e, 0x0d, 0x99, 0x59, 0xcb, 0x75, 0xfa, 0x39, 0xec, 0x8d, 0x15, 0x72, 0x2f, 0xd2, 0x87, 0xa4, - 0xcf, 0xaf, 0x4a, 0xa8, 0x70, 0x5d, 0x6e, 0x06, 0xe1, 0x38, 0x98, 0xf4, 0xf3, 0x3b, 0xae, 0x70, - 0xb6, 0xa1, 0x4f, 0xc8, 0x5d, 0x0f, 0x35, 0x70, 0x05, 0x38, 0x88, 0xac, 0x70, 0xe0, 0x8a, 0x4b, - 0x5b, 0x3b, 0xf9, 0x11, 0x92, 0xfb, 0x7f, 0x86, 0xd1, 0x52, 0x54, 0x1a, 0x68, 0x42, 0x7a, 0x6e, - 0x29, 0x9f, 0xe6, 0x81, 0x4d, 0xa3, 0x24, 0xef, 0xb2, 0x2c, 0x2d, 0xce, 0xbd, 0x46, 0x53, 0x72, - 0xcb, 0xdc, 0x99, 0x8d, 0x11, 0xcf, 0x1e, 0x5b, 0xbd, 0xbd, 0x4d, 0x66, 0x48, 0xd7, 0xf8, 0x4e, - 0x83, 0xca, 0xad, 0x4c, 0x3f, 0x92, 0x18, 0xc5, 0x25, 0x54, 0x6b, 0xcd, 0x85, 0x84, 0x41, 0x34, - 0x8e, 0x26, 0xf1, 0xec, 0x15, 0xdb, 0xf9, 0x3d, 0xd9, 0xbf, 0xb2, 0xb2, 0xb7, 0x66, 0xc4, 0xd2, - 0x4c, 0x78, 0x5d, 0xa1, 0x6a, 0x72, 0x82, 0x5d, 0x61, 0xb4, 0x26, 0x87, 0x7f, 0x61, 0x7a, 0x44, - 0xa2, 0x4b, 0x68, 0xec, 0x5e, 0xfd, 0xdc, 0xfc, 0xa4, 0xcf, 0xc9, 0xed, 0x6d, 0x71, 0x55, 0x83, - 0x0f, 0x3f, 0xde, 0x13, 0xc0, 0xce, 0xc9, 0x9d, 0xfe, 0x32, 0x7c, 0x11, 0xcc, 0x3e, 0x93, 0x38, - 0xf3, 0xd2, 0x3c, 0x3b, 0xa3, 0x82, 0x1c, 0xfc, 0x9e, 0x91, 0xb2, 0xff, 0x5e, 0xc6, 0xbe, 0x82, - 0x51, 0x72, 0xc3, 0xe5, 0x17, 0x5f, 0x02, 0x72, 0xcc, 0xc5, 0xa7, 0xdd, 0x6d, 0x8b, 0xa3, 0x2e, - 0x9f, 0x2c, 0x33, 0xf3, 0x04, 0xb3, 0xe0, 0xc3, 0x61, 0x6b, 0x79, 0xe9, 0x5b, 0x18, 0x9d, 0xce, - 0xb3, 0xef, 0xe1, 0xf0, 0x54, 0xa7, 0xf6, 0x1c, 0xd6, 0x36, 0xb1, 0xf7, 0xd3, 0x85, 0x31, 0x7e, - 0x5a, 0xb6, 0x32, 0x6c, 0xd5, 0xb2, 0x95, 0x67, 0xe7, 0x3d, 0xfb, 0xb4, 0xd3, 0x5f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xb6, 0x5c, 0x02, 0x69, 0xb8, 0x03, 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 - -// ProviderAPIClient is the client API for ProviderAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProviderAPIClient interface { - // Authenticate authenticates a client. - Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) -} - -type providerAPIClient struct { - cc *grpc.ClientConn -} - -func NewProviderAPIClient(cc *grpc.ClientConn) ProviderAPIClient { - return &providerAPIClient{cc} -} - -func (c *providerAPIClient) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) { - out := new(AuthenticateResponse) - err := c.cc.Invoke(ctx, "/cs3.auth.provider.v1beta1.ProviderAPI/Authenticate", in, out, opts...) - if err != nil { - return nil, err +func (x *AuthenticateResponse) GetUser() *v1beta12.User { + if x != nil { + return x.User } - return out, nil -} - -// ProviderAPIServer is the server API for ProviderAPI service. -type ProviderAPIServer interface { - // Authenticate authenticates a client. - Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) -} - -// UnimplementedProviderAPIServer can be embedded to have forward compatible implementations. -type UnimplementedProviderAPIServer struct { + return nil } -func (*UnimplementedProviderAPIServer) Authenticate(ctx context.Context, req *AuthenticateRequest) (*AuthenticateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Authenticate not implemented") +func (x *AuthenticateResponse) GetTokenScope() map[string]*Scope { + if x != nil { + return x.TokenScope + } + return nil } -func RegisterProviderAPIServer(s *grpc.Server, srv ProviderAPIServer) { - s.RegisterService(&_ProviderAPI_serviceDesc, srv) -} +var File_cs3_auth_provider_v1beta1_provider_api_proto protoreflect.FileDescriptor + +var file_cs3_auth_provider_v1beta1_provider_api_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, + 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, + 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x01, 0x0a, + 0x13, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0xbf, 0x02, 0x0a, 0x14, 0x41, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x33, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x60, 0x0a, 0x0b, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, + 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x1a, 0x5f, 0x0a, 0x0f, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0x7e, 0x0a, 0x0b, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x50, 0x49, 0x12, 0x6f, 0x0a, 0x0c, 0x41, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x80, 0x02, 0x0a, 0x1d, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x10, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, + 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x50, 0xaa, + 0x02, 0x19, 0x43, 0x73, 0x33, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x19, 0x43, 0x73, + 0x33, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x25, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x75, + 0x74, 0x68, 0x5c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x1c, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x3a, 0x3a, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_auth_provider_v1beta1_provider_api_proto_rawDescOnce sync.Once + file_cs3_auth_provider_v1beta1_provider_api_proto_rawDescData = file_cs3_auth_provider_v1beta1_provider_api_proto_rawDesc +) -func _ProviderAPI_Authenticate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AuthenticateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).Authenticate(ctx, in) +func file_cs3_auth_provider_v1beta1_provider_api_proto_rawDescGZIP() []byte { + file_cs3_auth_provider_v1beta1_provider_api_proto_rawDescOnce.Do(func() { + file_cs3_auth_provider_v1beta1_provider_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_auth_provider_v1beta1_provider_api_proto_rawDescData) + }) + return file_cs3_auth_provider_v1beta1_provider_api_proto_rawDescData +} + +var file_cs3_auth_provider_v1beta1_provider_api_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_cs3_auth_provider_v1beta1_provider_api_proto_goTypes = []interface{}{ + (*AuthenticateRequest)(nil), // 0: cs3.auth.provider.v1beta1.AuthenticateRequest + (*AuthenticateResponse)(nil), // 1: cs3.auth.provider.v1beta1.AuthenticateResponse + nil, // 2: cs3.auth.provider.v1beta1.AuthenticateResponse.TokenScopeEntry + (*v1beta1.Opaque)(nil), // 3: cs3.types.v1beta1.Opaque + (*v1beta11.Status)(nil), // 4: cs3.rpc.v1beta1.Status + (*v1beta12.User)(nil), // 5: cs3.identity.user.v1beta1.User + (*Scope)(nil), // 6: cs3.auth.provider.v1beta1.Scope +} +var file_cs3_auth_provider_v1beta1_provider_api_proto_depIdxs = []int32{ + 3, // 0: cs3.auth.provider.v1beta1.AuthenticateRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 4, // 1: cs3.auth.provider.v1beta1.AuthenticateResponse.status:type_name -> cs3.rpc.v1beta1.Status + 5, // 2: cs3.auth.provider.v1beta1.AuthenticateResponse.user:type_name -> cs3.identity.user.v1beta1.User + 2, // 3: cs3.auth.provider.v1beta1.AuthenticateResponse.token_scope:type_name -> cs3.auth.provider.v1beta1.AuthenticateResponse.TokenScopeEntry + 6, // 4: cs3.auth.provider.v1beta1.AuthenticateResponse.TokenScopeEntry.value:type_name -> cs3.auth.provider.v1beta1.Scope + 0, // 5: cs3.auth.provider.v1beta1.ProviderAPI.Authenticate:input_type -> cs3.auth.provider.v1beta1.AuthenticateRequest + 1, // 6: cs3.auth.provider.v1beta1.ProviderAPI.Authenticate:output_type -> cs3.auth.provider.v1beta1.AuthenticateResponse + 6, // [6:7] is the sub-list for method output_type + 5, // [5:6] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_cs3_auth_provider_v1beta1_provider_api_proto_init() } +func file_cs3_auth_provider_v1beta1_provider_api_proto_init() { + if File_cs3_auth_provider_v1beta1_provider_api_proto != nil { + return } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.auth.provider.v1beta1.ProviderAPI/Authenticate", + file_cs3_auth_provider_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_auth_provider_v1beta1_provider_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthenticateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_provider_v1beta1_provider_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthenticateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).Authenticate(ctx, req.(*AuthenticateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ProviderAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.auth.provider.v1beta1.ProviderAPI", - HandlerType: (*ProviderAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Authenticate", - Handler: _ProviderAPI_Authenticate_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_auth_provider_v1beta1_provider_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/auth/provider/v1beta1/provider_api.proto", + GoTypes: file_cs3_auth_provider_v1beta1_provider_api_proto_goTypes, + DependencyIndexes: file_cs3_auth_provider_v1beta1_provider_api_proto_depIdxs, + MessageInfos: file_cs3_auth_provider_v1beta1_provider_api_proto_msgTypes, + }.Build() + File_cs3_auth_provider_v1beta1_provider_api_proto = out.File + file_cs3_auth_provider_v1beta1_provider_api_proto_rawDesc = nil + file_cs3_auth_provider_v1beta1_provider_api_proto_goTypes = nil + file_cs3_auth_provider_v1beta1_provider_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/provider_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/provider_api_grpc.pb.go new file mode 100644 index 00000000000..27952575063 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/provider_api_grpc.pb.go @@ -0,0 +1,127 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/auth/provider/v1beta1/provider_api.proto + +package providerv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + ProviderAPI_Authenticate_FullMethodName = "/cs3.auth.provider.v1beta1.ProviderAPI/Authenticate" +) + +// ProviderAPIClient is the client API for ProviderAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ProviderAPIClient interface { + // Authenticate authenticates a client. + Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) +} + +type providerAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewProviderAPIClient(cc grpc.ClientConnInterface) ProviderAPIClient { + return &providerAPIClient{cc} +} + +func (c *providerAPIClient) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) { + out := new(AuthenticateResponse) + err := c.cc.Invoke(ctx, ProviderAPI_Authenticate_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ProviderAPIServer is the server API for ProviderAPI service. +// All implementations should embed UnimplementedProviderAPIServer +// for forward compatibility +type ProviderAPIServer interface { + // Authenticate authenticates a client. + Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) +} + +// UnimplementedProviderAPIServer should be embedded to have forward compatible implementations. +type UnimplementedProviderAPIServer struct { +} + +func (UnimplementedProviderAPIServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Authenticate not implemented") +} + +// UnsafeProviderAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ProviderAPIServer will +// result in compilation errors. +type UnsafeProviderAPIServer interface { + mustEmbedUnimplementedProviderAPIServer() +} + +func RegisterProviderAPIServer(s grpc.ServiceRegistrar, srv ProviderAPIServer) { + s.RegisterService(&ProviderAPI_ServiceDesc, srv) +} + +func _ProviderAPI_Authenticate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AuthenticateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).Authenticate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_Authenticate_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).Authenticate(ctx, req.(*AuthenticateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ProviderAPI_ServiceDesc is the grpc.ServiceDesc for ProviderAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ProviderAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.auth.provider.v1beta1.ProviderAPI", + HandlerType: (*ProviderAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Authenticate", + Handler: _ProviderAPI_Authenticate_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/auth/provider/v1beta1/provider_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/resources.pb.go index 23016279f64..08f0f5e7002 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1/resources.pb.go @@ -1,25 +1,43 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/auth/provider/v1beta1/resources.proto package providerv1beta1 import ( - fmt "fmt" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // The role associated with the scope. type Role int32 @@ -43,119 +61,229 @@ const ( Role_ROLE_UPLOADER Role = 7 ) -var Role_name = map[int32]string{ - 0: "ROLE_INVALID", - 1: "ROLE_OWNER", - 2: "ROLE_LEGACY", - 3: "ROLE_VIEWER", - 4: "ROLE_EDITOR", - 5: "ROLE_FILE_EDITOR", - 6: "ROLE_COOWNER", - 7: "ROLE_UPLOADER", -} +// Enum value maps for Role. +var ( + Role_name = map[int32]string{ + 0: "ROLE_INVALID", + 1: "ROLE_OWNER", + 2: "ROLE_LEGACY", + 3: "ROLE_VIEWER", + 4: "ROLE_EDITOR", + 5: "ROLE_FILE_EDITOR", + 6: "ROLE_COOWNER", + 7: "ROLE_UPLOADER", + } + Role_value = map[string]int32{ + "ROLE_INVALID": 0, + "ROLE_OWNER": 1, + "ROLE_LEGACY": 2, + "ROLE_VIEWER": 3, + "ROLE_EDITOR": 4, + "ROLE_FILE_EDITOR": 5, + "ROLE_COOWNER": 6, + "ROLE_UPLOADER": 7, + } +) -var Role_value = map[string]int32{ - "ROLE_INVALID": 0, - "ROLE_OWNER": 1, - "ROLE_LEGACY": 2, - "ROLE_VIEWER": 3, - "ROLE_EDITOR": 4, - "ROLE_FILE_EDITOR": 5, - "ROLE_COOWNER": 6, - "ROLE_UPLOADER": 7, +func (x Role) Enum() *Role { + p := new(Role) + *p = x + return p } func (x Role) String() string { - return proto.EnumName(Role_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Role) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_auth_provider_v1beta1_resources_proto_enumTypes[0].Descriptor() } +func (Role) Type() protoreflect.EnumType { + return &file_cs3_auth_provider_v1beta1_resources_proto_enumTypes[0] +} + +func (x Role) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Role.Descriptor instead. func (Role) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a291f551e0c9d7e6, []int{0} + return file_cs3_auth_provider_v1beta1_resources_proto_rawDescGZIP(), []int{0} } // Scope defines role-based permissions for various resources. type Scope struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The resource embedded in the request of a particular method. It depends on // the method, hence is left as opaque. Resource *v1beta1.OpaqueEntry `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // REQUIRED. // The role associated with the resource. - Role Role `protobuf:"varint,2,opt,name=role,proto3,enum=cs3.auth.provider.v1beta1.Role" json:"role,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Role Role `protobuf:"varint,2,opt,name=role,proto3,enum=cs3.auth.provider.v1beta1.Role" json:"role,omitempty"` } -func (m *Scope) Reset() { *m = Scope{} } -func (m *Scope) String() string { return proto.CompactTextString(m) } -func (*Scope) ProtoMessage() {} -func (*Scope) Descriptor() ([]byte, []int) { - return fileDescriptor_a291f551e0c9d7e6, []int{0} +func (x *Scope) Reset() { + *x = Scope{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_provider_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Scope) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Scope.Unmarshal(m, b) -} -func (m *Scope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Scope.Marshal(b, m, deterministic) -} -func (m *Scope) XXX_Merge(src proto.Message) { - xxx_messageInfo_Scope.Merge(m, src) +func (x *Scope) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Scope) XXX_Size() int { - return xxx_messageInfo_Scope.Size(m) -} -func (m *Scope) XXX_DiscardUnknown() { - xxx_messageInfo_Scope.DiscardUnknown(m) + +func (*Scope) ProtoMessage() {} + +func (x *Scope) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_provider_v1beta1_resources_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) } -var xxx_messageInfo_Scope proto.InternalMessageInfo +// Deprecated: Use Scope.ProtoReflect.Descriptor instead. +func (*Scope) Descriptor() ([]byte, []int) { + return file_cs3_auth_provider_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *Scope) GetResource() *v1beta1.OpaqueEntry { - if m != nil { - return m.Resource +func (x *Scope) GetResource() *v1beta1.OpaqueEntry { + if x != nil { + return x.Resource } return nil } -func (m *Scope) GetRole() Role { - if m != nil { - return m.Role +func (x *Scope) GetRole() Role { + if x != nil { + return x.Role } return Role_ROLE_INVALID } -func init() { - proto.RegisterEnum("cs3.auth.provider.v1beta1.Role", Role_name, Role_value) - proto.RegisterType((*Scope)(nil), "cs3.auth.provider.v1beta1.Scope") -} - -func init() { - proto.RegisterFile("cs3/auth/provider/v1beta1/resources.proto", fileDescriptor_a291f551e0c9d7e6) -} - -var fileDescriptor_a291f551e0c9d7e6 = []byte{ - // 336 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x4f, 0x4f, 0xc2, 0x30, - 0x18, 0xc6, 0xed, 0xf8, 0xa3, 0x29, 0x0a, 0xb5, 0xf1, 0x00, 0x26, 0x28, 0xf1, 0x84, 0x1e, 0xba, - 0xc0, 0x6e, 0xde, 0xc6, 0xa8, 0x66, 0xc9, 0xc2, 0x96, 0xaa, 0x10, 0x0d, 0x89, 0x81, 0xd9, 0x44, - 0x13, 0xb4, 0xb3, 0x1b, 0x44, 0x6e, 0x7e, 0x0a, 0x3f, 0x80, 0x47, 0x3f, 0x8a, 0x9f, 0xca, 0xb4, - 0xac, 0xf3, 0xc4, 0xf1, 0x7d, 0x9e, 0xdf, 0xf3, 0xb4, 0x7d, 0x0b, 0xcf, 0xe3, 0xd4, 0xb1, 0x67, - 0xcb, 0xec, 0xd9, 0x4e, 0xa4, 0x58, 0xbd, 0x3c, 0x71, 0x69, 0xaf, 0x7a, 0x73, 0x9e, 0xcd, 0x7a, - 0xb6, 0xe4, 0xa9, 0x58, 0xca, 0x98, 0xa7, 0x24, 0x91, 0x22, 0x13, 0xb8, 0x15, 0xa7, 0x0e, 0x51, - 0x28, 0x31, 0x28, 0xc9, 0xd1, 0xe3, 0xb6, 0x6a, 0xc9, 0xd6, 0x09, 0x4f, 0x8b, 0xb4, 0x9e, 0x36, - 0xc9, 0xb3, 0x0f, 0x58, 0xb9, 0x89, 0x45, 0xc2, 0xf1, 0x25, 0xdc, 0x33, 0xad, 0x4d, 0xd0, 0x01, - 0xdd, 0x5a, 0xff, 0x84, 0xa8, 0xd6, 0x0d, 0x9c, 0x47, 0x49, 0x98, 0xcc, 0xde, 0x97, 0x9c, 0xbe, - 0x65, 0x72, 0xcd, 0x0a, 0x1e, 0x3b, 0xb0, 0x2c, 0xc5, 0x82, 0x37, 0xad, 0x0e, 0xe8, 0xd6, 0xfb, - 0xa7, 0x64, 0xeb, 0x6d, 0x08, 0x13, 0x0b, 0xce, 0x34, 0x7c, 0xf1, 0x05, 0x60, 0x59, 0x8d, 0x18, - 0xc1, 0x7d, 0x16, 0x06, 0xf4, 0xd1, 0x1f, 0x8d, 0xdd, 0xc0, 0x1f, 0xa2, 0x1d, 0x5c, 0x87, 0x50, - 0x2b, 0xe1, 0x64, 0x44, 0x19, 0x02, 0xb8, 0x01, 0x6b, 0x7a, 0x0e, 0xe8, 0xb5, 0xeb, 0xdd, 0x23, - 0xab, 0x10, 0xc6, 0x3e, 0x9d, 0x50, 0x86, 0x4a, 0x85, 0x40, 0x87, 0xfe, 0x6d, 0xc8, 0x50, 0x19, - 0x1f, 0x41, 0xa4, 0x85, 0x2b, 0xff, 0x5f, 0xad, 0x14, 0x47, 0x79, 0xe1, 0xa6, 0xba, 0x8a, 0x0f, - 0xe1, 0x81, 0x56, 0xee, 0xa2, 0x20, 0x74, 0x87, 0x94, 0xa1, 0xdd, 0xc1, 0x27, 0x80, 0xed, 0x58, - 0xbc, 0x6e, 0x7f, 0xc5, 0xa0, 0xce, 0xcc, 0xfe, 0x23, 0xb5, 0xc4, 0x08, 0x3c, 0x34, 0x0c, 0x93, - 0x23, 0xdf, 0x56, 0xc9, 0x73, 0xa3, 0x1f, 0xab, 0xe5, 0xa5, 0x0e, 0x71, 0x55, 0x49, 0x64, 0x4a, - 0xc6, 0xbd, 0x81, 0x22, 0x7e, 0xb5, 0x37, 0x55, 0xde, 0xd4, 0x78, 0xd3, 0xdc, 0x9b, 0x57, 0xf5, - 0xe7, 0x38, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x68, 0x6b, 0x72, 0xb1, 0x03, 0x02, 0x00, 0x00, +var File_cs3_auth_provider_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_auth_provider_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x63, 0x73, 0x33, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x3a, + 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x72, 0x6f, + 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, + 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x2a, + 0x96, 0x01, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x4f, 0x4c, 0x45, + 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x4f, + 0x4c, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x4f, + 0x4c, 0x45, 0x5f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x52, + 0x4f, 0x4c, 0x45, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x45, 0x52, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, + 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x14, 0x0a, + 0x10, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x4f, + 0x52, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4f, 0x57, + 0x4e, 0x45, 0x52, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x50, + 0x4c, 0x4f, 0x41, 0x44, 0x45, 0x52, 0x10, 0x07, 0x42, 0xfe, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, + 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x50, 0xaa, 0x02, 0x19, 0x43, 0x73, 0x33, + 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x19, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x75, 0x74, + 0x68, 0x5c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0xe2, 0x02, 0x25, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x43, 0x73, 0x33, + 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_cs3_auth_provider_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_auth_provider_v1beta1_resources_proto_rawDescData = file_cs3_auth_provider_v1beta1_resources_proto_rawDesc +) + +func file_cs3_auth_provider_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_auth_provider_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_auth_provider_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_auth_provider_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_auth_provider_v1beta1_resources_proto_rawDescData +} + +var file_cs3_auth_provider_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cs3_auth_provider_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_cs3_auth_provider_v1beta1_resources_proto_goTypes = []interface{}{ + (Role)(0), // 0: cs3.auth.provider.v1beta1.Role + (*Scope)(nil), // 1: cs3.auth.provider.v1beta1.Scope + (*v1beta1.OpaqueEntry)(nil), // 2: cs3.types.v1beta1.OpaqueEntry +} +var file_cs3_auth_provider_v1beta1_resources_proto_depIdxs = []int32{ + 2, // 0: cs3.auth.provider.v1beta1.Scope.resource:type_name -> cs3.types.v1beta1.OpaqueEntry + 0, // 1: cs3.auth.provider.v1beta1.Scope.role:type_name -> cs3.auth.provider.v1beta1.Role + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_cs3_auth_provider_v1beta1_resources_proto_init() } +func file_cs3_auth_provider_v1beta1_resources_proto_init() { + if File_cs3_auth_provider_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_auth_provider_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Scope); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_auth_provider_v1beta1_resources_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_auth_provider_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_auth_provider_v1beta1_resources_proto_depIdxs, + EnumInfos: file_cs3_auth_provider_v1beta1_resources_proto_enumTypes, + MessageInfos: file_cs3_auth_provider_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_auth_provider_v1beta1_resources_proto = out.File + file_cs3_auth_provider_v1beta1_resources_proto_rawDesc = nil + file_cs3_auth_provider_v1beta1_resources_proto_goTypes = nil + file_cs3_auth_provider_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/registry_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/registry_api.pb.go index c3c5b757d24..1262655008a 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/registry_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/registry_api.pb.go @@ -1,83 +1,109 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/auth/registry/v1beta1/registry_api.proto package registryv1beta1 import ( - context "context" - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 GetAuthProvidersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The type of authentication provider. - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` } -func (m *GetAuthProvidersRequest) Reset() { *m = GetAuthProvidersRequest{} } -func (m *GetAuthProvidersRequest) String() string { return proto.CompactTextString(m) } -func (*GetAuthProvidersRequest) ProtoMessage() {} -func (*GetAuthProvidersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_154ff675d363d74d, []int{0} +func (x *GetAuthProvidersRequest) Reset() { + *x = GetAuthProvidersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAuthProvidersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAuthProvidersRequest.Unmarshal(m, b) +func (x *GetAuthProvidersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAuthProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAuthProvidersRequest.Marshal(b, m, deterministic) -} -func (m *GetAuthProvidersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAuthProvidersRequest.Merge(m, src) -} -func (m *GetAuthProvidersRequest) XXX_Size() int { - return xxx_messageInfo_GetAuthProvidersRequest.Size(m) -} -func (m *GetAuthProvidersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAuthProvidersRequest.DiscardUnknown(m) + +func (*GetAuthProvidersRequest) ProtoMessage() {} + +func (x *GetAuthProvidersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetAuthProvidersRequest proto.InternalMessageInfo +// Deprecated: Use GetAuthProvidersRequest.ProtoReflect.Descriptor instead. +func (*GetAuthProvidersRequest) Descriptor() ([]byte, []int) { + return file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{0} +} -func (m *GetAuthProvidersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetAuthProvidersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetAuthProvidersRequest) GetType() string { - if m != nil { - return m.Type +func (x *GetAuthProvidersRequest) GetType() string { + if x != nil { + return x.Type } return "" } type GetAuthProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -86,100 +112,116 @@ type GetAuthProvidersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The auth providers handling the requested auth call. - Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` } -func (m *GetAuthProvidersResponse) Reset() { *m = GetAuthProvidersResponse{} } -func (m *GetAuthProvidersResponse) String() string { return proto.CompactTextString(m) } -func (*GetAuthProvidersResponse) ProtoMessage() {} -func (*GetAuthProvidersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_154ff675d363d74d, []int{1} +func (x *GetAuthProvidersResponse) Reset() { + *x = GetAuthProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAuthProvidersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAuthProvidersResponse.Unmarshal(m, b) -} -func (m *GetAuthProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAuthProvidersResponse.Marshal(b, m, deterministic) -} -func (m *GetAuthProvidersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAuthProvidersResponse.Merge(m, src) +func (x *GetAuthProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAuthProvidersResponse) XXX_Size() int { - return xxx_messageInfo_GetAuthProvidersResponse.Size(m) -} -func (m *GetAuthProvidersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAuthProvidersResponse.DiscardUnknown(m) + +func (*GetAuthProvidersResponse) ProtoMessage() {} + +func (x *GetAuthProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetAuthProvidersResponse proto.InternalMessageInfo +// Deprecated: Use GetAuthProvidersResponse.ProtoReflect.Descriptor instead. +func (*GetAuthProvidersResponse) Descriptor() ([]byte, []int) { + return file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{1} +} -func (m *GetAuthProvidersResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetAuthProvidersResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetAuthProvidersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetAuthProvidersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetAuthProvidersResponse) GetProviders() []*ProviderInfo { - if m != nil { - return m.Providers +func (x *GetAuthProvidersResponse) GetProviders() []*ProviderInfo { + if x != nil { + return x.Providers } return nil } type ListAuthProvidersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // TODO(labkode): maybe add some filter? } -func (m *ListAuthProvidersRequest) Reset() { *m = ListAuthProvidersRequest{} } -func (m *ListAuthProvidersRequest) String() string { return proto.CompactTextString(m) } -func (*ListAuthProvidersRequest) ProtoMessage() {} -func (*ListAuthProvidersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_154ff675d363d74d, []int{2} +func (x *ListAuthProvidersRequest) Reset() { + *x = ListAuthProvidersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAuthProvidersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAuthProvidersRequest.Unmarshal(m, b) -} -func (m *ListAuthProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAuthProvidersRequest.Marshal(b, m, deterministic) -} -func (m *ListAuthProvidersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAuthProvidersRequest.Merge(m, src) -} -func (m *ListAuthProvidersRequest) XXX_Size() int { - return xxx_messageInfo_ListAuthProvidersRequest.Size(m) +func (x *ListAuthProvidersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAuthProvidersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAuthProvidersRequest.DiscardUnknown(m) + +func (*ListAuthProvidersRequest) ProtoMessage() {} + +func (x *ListAuthProvidersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_ListAuthProvidersRequest proto.InternalMessageInfo +// Deprecated: Use ListAuthProvidersRequest.ProtoReflect.Descriptor instead. +func (*ListAuthProvidersRequest) Descriptor() ([]byte, []int) { + return file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{2} +} -func (m *ListAuthProvidersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListAuthProvidersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type ListAuthProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -188,218 +230,262 @@ type ListAuthProvidersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The list of auth providers this registry knows about. - Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` } -func (m *ListAuthProvidersResponse) Reset() { *m = ListAuthProvidersResponse{} } -func (m *ListAuthProvidersResponse) String() string { return proto.CompactTextString(m) } -func (*ListAuthProvidersResponse) ProtoMessage() {} -func (*ListAuthProvidersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_154ff675d363d74d, []int{3} +func (x *ListAuthProvidersResponse) Reset() { + *x = ListAuthProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAuthProvidersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAuthProvidersResponse.Unmarshal(m, b) -} -func (m *ListAuthProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAuthProvidersResponse.Marshal(b, m, deterministic) -} -func (m *ListAuthProvidersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAuthProvidersResponse.Merge(m, src) -} -func (m *ListAuthProvidersResponse) XXX_Size() int { - return xxx_messageInfo_ListAuthProvidersResponse.Size(m) -} -func (m *ListAuthProvidersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAuthProvidersResponse.DiscardUnknown(m) +func (x *ListAuthProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListAuthProvidersResponse proto.InternalMessageInfo +func (*ListAuthProvidersResponse) ProtoMessage() {} -func (m *ListAuthProvidersResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListAuthProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_registry_v1beta1_registry_api_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 nil + return mi.MessageOf(x) } -func (m *ListAuthProvidersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil +// Deprecated: Use ListAuthProvidersResponse.ProtoReflect.Descriptor instead. +func (*ListAuthProvidersResponse) Descriptor() ([]byte, []int) { + return file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{3} } -func (m *ListAuthProvidersResponse) GetProviders() []*ProviderInfo { - if m != nil { - return m.Providers +func (x *ListAuthProvidersResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func init() { - proto.RegisterType((*GetAuthProvidersRequest)(nil), "cs3.auth.registry.v1beta1.GetAuthProvidersRequest") - proto.RegisterType((*GetAuthProvidersResponse)(nil), "cs3.auth.registry.v1beta1.GetAuthProvidersResponse") - proto.RegisterType((*ListAuthProvidersRequest)(nil), "cs3.auth.registry.v1beta1.ListAuthProvidersRequest") - proto.RegisterType((*ListAuthProvidersResponse)(nil), "cs3.auth.registry.v1beta1.ListAuthProvidersResponse") -} - -func init() { - proto.RegisterFile("cs3/auth/registry/v1beta1/registry_api.proto", fileDescriptor_154ff675d363d74d) -} - -var fileDescriptor_154ff675d363d74d = []byte{ - // 395 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x93, 0x41, 0x4b, 0xf3, 0x30, - 0x1c, 0xc6, 0x69, 0xf7, 0x32, 0x58, 0x76, 0x78, 0x67, 0x2e, 0x6b, 0x8b, 0x83, 0xd1, 0x8b, 0x13, - 0x24, 0xa5, 0xad, 0x5f, 0x60, 0x1b, 0x22, 0x03, 0xc5, 0x52, 0xc1, 0x83, 0x0c, 0xb4, 0xab, 0xd1, - 0xf5, 0xe0, 0x92, 0x25, 0xe9, 0x60, 0x08, 0x1e, 0x3c, 0xfa, 0x31, 0x3c, 0xfa, 0x3d, 0xf4, 0xe0, - 0xa7, 0x92, 0xb4, 0x69, 0x15, 0x67, 0x87, 0x03, 0x2f, 0xde, 0xda, 0x3e, 0xbf, 0xff, 0xf3, 0xfc, - 0x79, 0xd2, 0x80, 0xbd, 0x98, 0xfb, 0x4e, 0x94, 0x8a, 0xa9, 0xc3, 0xf0, 0x4d, 0xc2, 0x05, 0x5b, - 0x3a, 0x0b, 0x77, 0x82, 0x45, 0xe4, 0x96, 0x1f, 0x2e, 0x22, 0x9a, 0x20, 0xca, 0x88, 0x20, 0xd0, - 0x8c, 0xb9, 0x8f, 0x24, 0x8d, 0x0a, 0x11, 0x29, 0xda, 0xda, 0x5d, 0x67, 0xc4, 0x49, 0xca, 0x62, - 0xcc, 0x73, 0x17, 0x6b, 0x5b, 0xa2, 0x8c, 0xc6, 0x25, 0xc0, 0x45, 0x24, 0xd2, 0x42, 0xed, 0x48, - 0x55, 0x2c, 0x29, 0xe6, 0xa5, 0x9e, 0xbd, 0xe5, 0xb2, 0x7d, 0x09, 0xda, 0x87, 0x58, 0xf4, 0x53, - 0x31, 0x0d, 0x18, 0x59, 0x24, 0x57, 0x98, 0xf1, 0x10, 0xcf, 0x53, 0xcc, 0x05, 0x74, 0x41, 0x9d, - 0xd0, 0x68, 0x9e, 0x62, 0x43, 0xeb, 0x6a, 0xbd, 0xa6, 0x67, 0x22, 0xb9, 0x6e, 0x3e, 0xac, 0xac, - 0xd0, 0x49, 0x06, 0x84, 0x0a, 0x84, 0x10, 0xfc, 0x93, 0xba, 0xa1, 0x77, 0xb5, 0x5e, 0x23, 0xcc, - 0x9e, 0xed, 0x17, 0x0d, 0x18, 0xab, 0x11, 0x9c, 0x92, 0x19, 0xc7, 0xd0, 0x01, 0xf5, 0x7c, 0x5b, - 0x95, 0xd1, 0xce, 0x32, 0x18, 0x8d, 0xcb, 0x84, 0xd3, 0x4c, 0x0e, 0x15, 0xf6, 0x69, 0x29, 0xfd, - 0xa7, 0x4b, 0x1d, 0x80, 0x06, 0x2d, 0x82, 0x8d, 0x5a, 0xb7, 0xd6, 0x6b, 0x7a, 0x3b, 0xa8, 0xb2, - 0x79, 0x54, 0x2c, 0x39, 0x9a, 0x5d, 0x93, 0xf0, 0x63, 0xd2, 0x3e, 0x06, 0xc6, 0x51, 0xc2, 0x7f, - 0xab, 0x2a, 0xfb, 0x55, 0x03, 0xe6, 0x37, 0x7e, 0x7f, 0xae, 0x17, 0xef, 0x51, 0x07, 0xcd, 0x50, - 0xc1, 0xfd, 0x60, 0x04, 0xef, 0x40, 0xeb, 0xeb, 0x71, 0x43, 0x6f, 0x8d, 0x6f, 0xc5, 0xef, 0x67, - 0xf9, 0x1b, 0xcd, 0xa8, 0xde, 0xee, 0xc1, 0xd6, 0x4a, 0xa9, 0x70, 0x9d, 0x53, 0xd5, 0x91, 0x5a, - 0xfb, 0x9b, 0x0d, 0xe5, 0xf9, 0x83, 0x07, 0x0d, 0x74, 0x62, 0x72, 0x5b, 0x3d, 0x3b, 0x68, 0x95, - 0x5d, 0xd1, 0x24, 0x90, 0x57, 0x30, 0xd0, 0xce, 0xff, 0x17, 0x94, 0x82, 0x9e, 0xf4, 0xda, 0xb0, - 0x1f, 0x3e, 0xeb, 0xe6, 0x90, 0xfb, 0x48, 0x06, 0xa1, 0x62, 0x08, 0x9d, 0xb9, 0x03, 0x49, 0xbc, - 0x65, 0xda, 0x58, 0x6a, 0xe3, 0x42, 0x1b, 0x2b, 0x6d, 0x52, 0xcf, 0xae, 0xb6, 0xff, 0x1e, 0x00, - 0x00, 0xff, 0xff, 0xd4, 0x56, 0xe4, 0xbd, 0x8d, 0x04, 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 - -// RegistryAPIClient is the client API for RegistryAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegistryAPIClient interface { - // Returns the auth provider that is reponsible for the given - // resource reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - GetAuthProviders(ctx context.Context, in *GetAuthProvidersRequest, opts ...grpc.CallOption) (*GetAuthProvidersResponse, error) - // Returns a list of the available auth providers known by this registry. - ListAuthProviders(ctx context.Context, in *ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error) -} - -type registryAPIClient struct { - cc *grpc.ClientConn -} - -func NewRegistryAPIClient(cc *grpc.ClientConn) RegistryAPIClient { - return ®istryAPIClient{cc} -} - -func (c *registryAPIClient) GetAuthProviders(ctx context.Context, in *GetAuthProvidersRequest, opts ...grpc.CallOption) (*GetAuthProvidersResponse, error) { - out := new(GetAuthProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.auth.registry.v1beta1.RegistryAPI/GetAuthProviders", in, out, opts...) - if err != nil { - return nil, err +func (x *ListAuthProvidersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - return out, nil + return nil } -func (c *registryAPIClient) ListAuthProviders(ctx context.Context, in *ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error) { - out := new(ListAuthProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.auth.registry.v1beta1.RegistryAPI/ListAuthProviders", in, out, opts...) - if err != nil { - return nil, err +func (x *ListAuthProvidersResponse) GetProviders() []*ProviderInfo { + if x != nil { + return x.Providers } - return out, nil -} - -// RegistryAPIServer is the server API for RegistryAPI service. -type RegistryAPIServer interface { - // Returns the auth provider that is reponsible for the given - // resource reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - GetAuthProviders(context.Context, *GetAuthProvidersRequest) (*GetAuthProvidersResponse, error) - // Returns a list of the available auth providers known by this registry. - ListAuthProviders(context.Context, *ListAuthProvidersRequest) (*ListAuthProvidersResponse, error) -} - -// UnimplementedRegistryAPIServer can be embedded to have forward compatible implementations. -type UnimplementedRegistryAPIServer struct { -} - -func (*UnimplementedRegistryAPIServer) GetAuthProviders(ctx context.Context, req *GetAuthProvidersRequest) (*GetAuthProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAuthProviders not implemented") -} -func (*UnimplementedRegistryAPIServer) ListAuthProviders(ctx context.Context, req *ListAuthProvidersRequest) (*ListAuthProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAuthProviders not implemented") -} - -func RegisterRegistryAPIServer(s *grpc.Server, srv RegistryAPIServer) { - s.RegisterService(&_RegistryAPI_serviceDesc, srv) + return nil } -func _RegistryAPI_GetAuthProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAuthProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegistryAPIServer).GetAuthProviders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.auth.registry.v1beta1.RegistryAPI/GetAuthProviders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).GetAuthProviders(ctx, req.(*GetAuthProvidersRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_auth_registry_v1beta1_registry_api_proto protoreflect.FileDescriptor + +var file_cs3_auth_registry_v1beta1_registry_api_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, + 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x60, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x22, 0x4d, 0x0a, 0x18, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x19, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x09, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x32, 0x8a, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x41, 0x50, 0x49, 0x12, 0x7b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x7e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, + 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x42, 0x80, 0x02, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x42, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x70, 0x69, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, + 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, + 0x03, 0x43, 0x41, 0x52, 0xaa, 0x02, 0x19, 0x43, 0x73, 0x33, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0xca, 0x02, 0x19, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x25, 0x43, + 0x73, 0x33, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, + 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescOnce sync.Once + file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescData = file_cs3_auth_registry_v1beta1_registry_api_proto_rawDesc +) -func _RegistryAPI_ListAuthProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAuthProvidersRequest) - if err := dec(in); err != nil { - return nil, err +func file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescGZIP() []byte { + file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescOnce.Do(func() { + file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescData) + }) + return file_cs3_auth_registry_v1beta1_registry_api_proto_rawDescData +} + +var file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_cs3_auth_registry_v1beta1_registry_api_proto_goTypes = []interface{}{ + (*GetAuthProvidersRequest)(nil), // 0: cs3.auth.registry.v1beta1.GetAuthProvidersRequest + (*GetAuthProvidersResponse)(nil), // 1: cs3.auth.registry.v1beta1.GetAuthProvidersResponse + (*ListAuthProvidersRequest)(nil), // 2: cs3.auth.registry.v1beta1.ListAuthProvidersRequest + (*ListAuthProvidersResponse)(nil), // 3: cs3.auth.registry.v1beta1.ListAuthProvidersResponse + (*v1beta1.Opaque)(nil), // 4: cs3.types.v1beta1.Opaque + (*v1beta11.Status)(nil), // 5: cs3.rpc.v1beta1.Status + (*ProviderInfo)(nil), // 6: cs3.auth.registry.v1beta1.ProviderInfo +} +var file_cs3_auth_registry_v1beta1_registry_api_proto_depIdxs = []int32{ + 4, // 0: cs3.auth.registry.v1beta1.GetAuthProvidersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 5, // 1: cs3.auth.registry.v1beta1.GetAuthProvidersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 4, // 2: cs3.auth.registry.v1beta1.GetAuthProvidersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 6, // 3: cs3.auth.registry.v1beta1.GetAuthProvidersResponse.providers:type_name -> cs3.auth.registry.v1beta1.ProviderInfo + 4, // 4: cs3.auth.registry.v1beta1.ListAuthProvidersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 5, // 5: cs3.auth.registry.v1beta1.ListAuthProvidersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 4, // 6: cs3.auth.registry.v1beta1.ListAuthProvidersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 6, // 7: cs3.auth.registry.v1beta1.ListAuthProvidersResponse.providers:type_name -> cs3.auth.registry.v1beta1.ProviderInfo + 0, // 8: cs3.auth.registry.v1beta1.RegistryAPI.GetAuthProviders:input_type -> cs3.auth.registry.v1beta1.GetAuthProvidersRequest + 2, // 9: cs3.auth.registry.v1beta1.RegistryAPI.ListAuthProviders:input_type -> cs3.auth.registry.v1beta1.ListAuthProvidersRequest + 1, // 10: cs3.auth.registry.v1beta1.RegistryAPI.GetAuthProviders:output_type -> cs3.auth.registry.v1beta1.GetAuthProvidersResponse + 3, // 11: cs3.auth.registry.v1beta1.RegistryAPI.ListAuthProviders:output_type -> cs3.auth.registry.v1beta1.ListAuthProvidersResponse + 10, // [10:12] is the sub-list for method output_type + 8, // [8:10] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_cs3_auth_registry_v1beta1_registry_api_proto_init() } +func file_cs3_auth_registry_v1beta1_registry_api_proto_init() { + if File_cs3_auth_registry_v1beta1_registry_api_proto != nil { + return } - if interceptor == nil { - return srv.(RegistryAPIServer).ListAuthProviders(ctx, in) + file_cs3_auth_registry_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthProvidersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthProvidersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAuthProvidersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAuthProvidersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.auth.registry.v1beta1.RegistryAPI/ListAuthProviders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).ListAuthProviders(ctx, req.(*ListAuthProvidersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegistryAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.auth.registry.v1beta1.RegistryAPI", - HandlerType: (*RegistryAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAuthProviders", - Handler: _RegistryAPI_GetAuthProviders_Handler, - }, - { - MethodName: "ListAuthProviders", - Handler: _RegistryAPI_ListAuthProviders_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_auth_registry_v1beta1_registry_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/auth/registry/v1beta1/registry_api.proto", + GoTypes: file_cs3_auth_registry_v1beta1_registry_api_proto_goTypes, + DependencyIndexes: file_cs3_auth_registry_v1beta1_registry_api_proto_depIdxs, + MessageInfos: file_cs3_auth_registry_v1beta1_registry_api_proto_msgTypes, + }.Build() + File_cs3_auth_registry_v1beta1_registry_api_proto = out.File + file_cs3_auth_registry_v1beta1_registry_api_proto_rawDesc = nil + file_cs3_auth_registry_v1beta1_registry_api_proto_goTypes = nil + file_cs3_auth_registry_v1beta1_registry_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/registry_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/registry_api_grpc.pb.go new file mode 100644 index 00000000000..8fa90d3cb93 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/registry_api_grpc.pb.go @@ -0,0 +1,170 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/auth/registry/v1beta1/registry_api.proto + +package registryv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + RegistryAPI_GetAuthProviders_FullMethodName = "/cs3.auth.registry.v1beta1.RegistryAPI/GetAuthProviders" + RegistryAPI_ListAuthProviders_FullMethodName = "/cs3.auth.registry.v1beta1.RegistryAPI/ListAuthProviders" +) + +// RegistryAPIClient is the client API for RegistryAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type RegistryAPIClient interface { + // Returns the auth provider that is reponsible for the given + // resource reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + GetAuthProviders(ctx context.Context, in *GetAuthProvidersRequest, opts ...grpc.CallOption) (*GetAuthProvidersResponse, error) + // Returns a list of the available auth providers known by this registry. + ListAuthProviders(ctx context.Context, in *ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error) +} + +type registryAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewRegistryAPIClient(cc grpc.ClientConnInterface) RegistryAPIClient { + return ®istryAPIClient{cc} +} + +func (c *registryAPIClient) GetAuthProviders(ctx context.Context, in *GetAuthProvidersRequest, opts ...grpc.CallOption) (*GetAuthProvidersResponse, error) { + out := new(GetAuthProvidersResponse) + err := c.cc.Invoke(ctx, RegistryAPI_GetAuthProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryAPIClient) ListAuthProviders(ctx context.Context, in *ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error) { + out := new(ListAuthProvidersResponse) + err := c.cc.Invoke(ctx, RegistryAPI_ListAuthProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RegistryAPIServer is the server API for RegistryAPI service. +// All implementations should embed UnimplementedRegistryAPIServer +// for forward compatibility +type RegistryAPIServer interface { + // Returns the auth provider that is reponsible for the given + // resource reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + GetAuthProviders(context.Context, *GetAuthProvidersRequest) (*GetAuthProvidersResponse, error) + // Returns a list of the available auth providers known by this registry. + ListAuthProviders(context.Context, *ListAuthProvidersRequest) (*ListAuthProvidersResponse, error) +} + +// UnimplementedRegistryAPIServer should be embedded to have forward compatible implementations. +type UnimplementedRegistryAPIServer struct { +} + +func (UnimplementedRegistryAPIServer) GetAuthProviders(context.Context, *GetAuthProvidersRequest) (*GetAuthProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAuthProviders not implemented") +} +func (UnimplementedRegistryAPIServer) ListAuthProviders(context.Context, *ListAuthProvidersRequest) (*ListAuthProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAuthProviders not implemented") +} + +// UnsafeRegistryAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RegistryAPIServer will +// result in compilation errors. +type UnsafeRegistryAPIServer interface { + mustEmbedUnimplementedRegistryAPIServer() +} + +func RegisterRegistryAPIServer(s grpc.ServiceRegistrar, srv RegistryAPIServer) { + s.RegisterService(&RegistryAPI_ServiceDesc, srv) +} + +func _RegistryAPI_GetAuthProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAuthProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).GetAuthProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_GetAuthProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).GetAuthProviders(ctx, req.(*GetAuthProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryAPI_ListAuthProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListAuthProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).ListAuthProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_ListAuthProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).ListAuthProviders(ctx, req.(*ListAuthProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// RegistryAPI_ServiceDesc is the grpc.ServiceDesc for RegistryAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var RegistryAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.auth.registry.v1beta1.RegistryAPI", + HandlerType: (*RegistryAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAuthProviders", + Handler: _RegistryAPI_GetAuthProviders_Handler, + }, + { + MethodName: "ListAuthProviders", + Handler: _RegistryAPI_ListAuthProviders_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/auth/registry/v1beta1/registry_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/resources.pb.go index 5e6cd7eb497..dd44aadfecd 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1/resources.pb.go @@ -1,28 +1,50 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/auth/registry/v1beta1/resources.proto package registryv1beta1 import ( - fmt "fmt" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // ProviderInfo provides the information about an authentication provider. type ProviderInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information (containing storage-specific information). // For example, additional metadata attached to the resource. @@ -41,90 +63,169 @@ type ProviderInfo struct { // Information to describe the functionalities // offered by the storage provider. Meant to be read // by humans. - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` } -func (m *ProviderInfo) Reset() { *m = ProviderInfo{} } -func (m *ProviderInfo) String() string { return proto.CompactTextString(m) } -func (*ProviderInfo) ProtoMessage() {} -func (*ProviderInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_d0bd226beb320d12, []int{0} +func (x *ProviderInfo) Reset() { + *x = ProviderInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_auth_registry_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProviderInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProviderInfo.Unmarshal(m, b) +func (x *ProviderInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProviderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProviderInfo.Marshal(b, m, deterministic) -} -func (m *ProviderInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProviderInfo.Merge(m, src) -} -func (m *ProviderInfo) XXX_Size() int { - return xxx_messageInfo_ProviderInfo.Size(m) -} -func (m *ProviderInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProviderInfo.DiscardUnknown(m) + +func (*ProviderInfo) ProtoMessage() {} + +func (x *ProviderInfo) ProtoReflect() protoreflect.Message { + mi := &file_cs3_auth_registry_v1beta1_resources_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) } -var xxx_messageInfo_ProviderInfo proto.InternalMessageInfo +// Deprecated: Use ProviderInfo.ProtoReflect.Descriptor instead. +func (*ProviderInfo) Descriptor() ([]byte, []int) { + return file_cs3_auth_registry_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *ProviderInfo) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ProviderInfo) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ProviderInfo) GetProviderType() string { - if m != nil { - return m.ProviderType +func (x *ProviderInfo) GetProviderType() string { + if x != nil { + return x.ProviderType } return "" } -func (m *ProviderInfo) GetAddress() string { - if m != nil { - return m.Address +func (x *ProviderInfo) GetAddress() string { + if x != nil { + return x.Address } return "" } -func (m *ProviderInfo) GetDescription() string { - if m != nil { - return m.Description +func (x *ProviderInfo) GetDescription() string { + if x != nil { + return x.Description } return "" } -func init() { - proto.RegisterType((*ProviderInfo)(nil), "cs3.auth.registry.v1beta1.ProviderInfo") +var File_cs3_auth_registry_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_auth_registry_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x63, 0x73, 0x33, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xfe, 0x01, 0x0a, 0x1d, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, + 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, + 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x52, 0xaa, 0x02, 0x19, 0x43, + 0x73, 0x33, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x19, 0x43, 0x73, 0x33, 0x5c, 0x41, + 0x75, 0x74, 0x68, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x25, 0x43, 0x73, 0x33, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x43, + 0x73, 0x33, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } -func init() { - proto.RegisterFile("cs3/auth/registry/v1beta1/resources.proto", fileDescriptor_d0bd226beb320d12) +var ( + file_cs3_auth_registry_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_auth_registry_v1beta1_resources_proto_rawDescData = file_cs3_auth_registry_v1beta1_resources_proto_rawDesc +) + +func file_cs3_auth_registry_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_auth_registry_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_auth_registry_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_auth_registry_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_auth_registry_v1beta1_resources_proto_rawDescData } -var fileDescriptor_d0bd226beb320d12 = []byte{ - // 271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0xe5, 0x00, 0x45, 0xb8, 0x05, 0xa4, 0x4c, 0x09, 0x52, 0xa5, 0x08, 0x96, 0xb2, 0x38, - 0x0a, 0x79, 0x82, 0xa6, 0x13, 0x13, 0x91, 0x85, 0x18, 0x50, 0x24, 0x94, 0x3a, 0x07, 0x64, 0xa0, - 0x36, 0x3e, 0xa7, 0x52, 0x36, 0x9e, 0xa5, 0x23, 0x8f, 0xc2, 0x53, 0x21, 0xbb, 0x36, 0x62, 0xe9, - 0x78, 0xf7, 0x7f, 0xff, 0x27, 0xdd, 0xd1, 0x5b, 0x81, 0x65, 0xde, 0x0e, 0xe6, 0x3d, 0xd7, 0xf0, - 0xd6, 0xa3, 0xd1, 0x63, 0xbe, 0x2d, 0xd6, 0x60, 0xda, 0x22, 0xd7, 0x80, 0x72, 0xd0, 0x02, 0x90, - 0x29, 0x2d, 0x8d, 0x8c, 0x53, 0x81, 0x25, 0xb3, 0x28, 0x0b, 0x28, 0xf3, 0xe8, 0xd5, 0xdc, 0x5a, - 0xcc, 0xa8, 0x00, 0xff, 0xda, 0x6e, 0xda, 0x37, 0xaf, 0x77, 0x84, 0xce, 0x6a, 0x2d, 0xb7, 0x7d, - 0x07, 0xfa, 0x7e, 0xf3, 0x2a, 0xe3, 0x82, 0x4e, 0xa4, 0x6a, 0x3f, 0x07, 0x48, 0x48, 0x46, 0x16, - 0xd3, 0xbb, 0x94, 0x59, 0xf7, 0xbe, 0xe2, 0x05, 0xec, 0xc1, 0x01, 0xdc, 0x83, 0xf1, 0x0d, 0x3d, - 0x57, 0x5e, 0xf1, 0x62, 0xc1, 0x24, 0xca, 0xc8, 0xe2, 0x8c, 0xcf, 0xc2, 0xf2, 0x71, 0x54, 0x10, - 0x27, 0xf4, 0xb4, 0xed, 0x3a, 0x0d, 0x88, 0xc9, 0xb1, 0x8b, 0xc3, 0x18, 0x67, 0x74, 0xda, 0x01, - 0x0a, 0xdd, 0x2b, 0xd3, 0xcb, 0x4d, 0x72, 0xe2, 0xd2, 0xff, 0xab, 0xea, 0x8b, 0xd0, 0xb9, 0x90, - 0x1f, 0xec, 0xe0, 0x95, 0xd5, 0x05, 0x0f, 0x1f, 0xa9, 0xed, 0x59, 0x35, 0x79, 0xbe, 0x0c, 0x8c, - 0x47, 0x76, 0xd1, 0xd1, 0x6a, 0xc9, 0xbf, 0xa3, 0x74, 0x85, 0x25, 0x5b, 0x5a, 0x09, 0x0f, 0x92, - 0xa7, 0xa2, 0xb2, 0xc4, 0x8f, 0xcb, 0x1a, 0x9b, 0x35, 0x21, 0x6b, 0x7c, 0xb6, 0x9e, 0xb8, 0x77, - 0x95, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x90, 0x2e, 0x3a, 0xdc, 0x95, 0x01, 0x00, 0x00, +var file_cs3_auth_registry_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_cs3_auth_registry_v1beta1_resources_proto_goTypes = []interface{}{ + (*ProviderInfo)(nil), // 0: cs3.auth.registry.v1beta1.ProviderInfo + (*v1beta1.Opaque)(nil), // 1: cs3.types.v1beta1.Opaque +} +var file_cs3_auth_registry_v1beta1_resources_proto_depIdxs = []int32{ + 1, // 0: cs3.auth.registry.v1beta1.ProviderInfo.opaque:type_name -> cs3.types.v1beta1.Opaque + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_cs3_auth_registry_v1beta1_resources_proto_init() } +func file_cs3_auth_registry_v1beta1_resources_proto_init() { + if File_cs3_auth_registry_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_auth_registry_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProviderInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_auth_registry_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_auth_registry_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_auth_registry_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_auth_registry_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_auth_registry_v1beta1_resources_proto = out.File + file_cs3_auth_registry_v1beta1_resources_proto_rawDesc = nil + file_cs3_auth_registry_v1beta1_resources_proto_goTypes = nil + file_cs3_auth_registry_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/gateway_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/gateway_api.pb.go index 1b360a7e680..a3c7a5c3782 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/gateway_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/gateway_api.pb.go @@ -1,46 +1,60 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/gateway/v1beta1/gateway_api.proto package gatewayv1beta1 import ( - context "context" - fmt "fmt" - v1beta15 "github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1" - v1beta110 "github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1" + v1beta117 "github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1" + v1beta19 "github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1" v1beta14 "github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1" - v1beta112 "github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1" - v1beta111 "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1" + v1beta111 "github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1" + v1beta110 "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" - v1beta115 "github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1" - v1beta113 "github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1" - v1beta114 "github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1" - v1beta117 "github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1" - v1beta17 "github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1" + v1beta114 "github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1" + v1beta112 "github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1" + v1beta113 "github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1" + v1beta116 "github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1" + v1beta16 "github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" - v1beta16 "github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1" - v1beta18 "github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1" - v1beta19 "github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1" + v1beta15 "github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1" + v1beta17 "github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1" + v1beta18 "github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1" v1beta13 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" - v1beta116 "github.com/cs3org/go-cs3apis/cs3/tx/v1beta1" + v1beta115 "github.com/cs3org/go-cs3apis/cs3/tx/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // REQUIRED. // View mode. @@ -62,31 +76,56 @@ const ( OpenInAppRequest_VIEW_MODE_PREVIEW OpenInAppRequest_ViewMode = 4 ) -var OpenInAppRequest_ViewMode_name = map[int32]string{ - 0: "VIEW_MODE_INVALID", - 1: "VIEW_MODE_VIEW_ONLY", - 2: "VIEW_MODE_READ_ONLY", - 3: "VIEW_MODE_READ_WRITE", - 4: "VIEW_MODE_PREVIEW", -} +// Enum value maps for OpenInAppRequest_ViewMode. +var ( + OpenInAppRequest_ViewMode_name = map[int32]string{ + 0: "VIEW_MODE_INVALID", + 1: "VIEW_MODE_VIEW_ONLY", + 2: "VIEW_MODE_READ_ONLY", + 3: "VIEW_MODE_READ_WRITE", + 4: "VIEW_MODE_PREVIEW", + } + OpenInAppRequest_ViewMode_value = map[string]int32{ + "VIEW_MODE_INVALID": 0, + "VIEW_MODE_VIEW_ONLY": 1, + "VIEW_MODE_READ_ONLY": 2, + "VIEW_MODE_READ_WRITE": 3, + "VIEW_MODE_PREVIEW": 4, + } +) -var OpenInAppRequest_ViewMode_value = map[string]int32{ - "VIEW_MODE_INVALID": 0, - "VIEW_MODE_VIEW_ONLY": 1, - "VIEW_MODE_READ_ONLY": 2, - "VIEW_MODE_READ_WRITE": 3, - "VIEW_MODE_PREVIEW": 4, +func (x OpenInAppRequest_ViewMode) Enum() *OpenInAppRequest_ViewMode { + p := new(OpenInAppRequest_ViewMode) + *p = x + return p } func (x OpenInAppRequest_ViewMode) String() string { - return proto.EnumName(OpenInAppRequest_ViewMode_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OpenInAppRequest_ViewMode) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_gateway_v1beta1_gateway_api_proto_enumTypes[0].Descriptor() +} + +func (OpenInAppRequest_ViewMode) Type() protoreflect.EnumType { + return &file_cs3_gateway_v1beta1_gateway_api_proto_enumTypes[0] +} + +func (x OpenInAppRequest_ViewMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use OpenInAppRequest_ViewMode.Descriptor instead. func (OpenInAppRequest_ViewMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{8, 0} + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{9, 0} } type AuthenticateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -101,66 +140,74 @@ type AuthenticateRequest struct { ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // OPTIONAL. // The secret of the client. - ClientSecret string `protobuf:"bytes,4,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ClientSecret string `protobuf:"bytes,4,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` } -func (m *AuthenticateRequest) Reset() { *m = AuthenticateRequest{} } -func (m *AuthenticateRequest) String() string { return proto.CompactTextString(m) } -func (*AuthenticateRequest) ProtoMessage() {} -func (*AuthenticateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{0} +func (x *AuthenticateRequest) Reset() { + *x = AuthenticateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthenticateRequest.Unmarshal(m, b) +func (x *AuthenticateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthenticateRequest.Marshal(b, m, deterministic) -} -func (m *AuthenticateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticateRequest.Merge(m, src) -} -func (m *AuthenticateRequest) XXX_Size() int { - return xxx_messageInfo_AuthenticateRequest.Size(m) -} -func (m *AuthenticateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AuthenticateRequest.DiscardUnknown(m) + +func (*AuthenticateRequest) ProtoMessage() {} + +func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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) } -var xxx_messageInfo_AuthenticateRequest proto.InternalMessageInfo +// Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead. +func (*AuthenticateRequest) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{0} +} -func (m *AuthenticateRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *AuthenticateRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *AuthenticateRequest) GetType() string { - if m != nil { - return m.Type +func (x *AuthenticateRequest) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *AuthenticateRequest) GetClientId() string { - if m != nil { - return m.ClientId +func (x *AuthenticateRequest) GetClientId() string { + if x != nil { + return x.ClientId } return "" } -func (m *AuthenticateRequest) GetClientSecret() string { - if m != nil { - return m.ClientSecret +func (x *AuthenticateRequest) GetClientSecret() string { + if x != nil { + return x.ClientSecret } return "" } type AuthenticateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -172,117 +219,133 @@ type AuthenticateResponse struct { Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // REQUIRED. // The authenticated user. - User *v1beta12.User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + User *v1beta12.User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` } -func (m *AuthenticateResponse) Reset() { *m = AuthenticateResponse{} } -func (m *AuthenticateResponse) String() string { return proto.CompactTextString(m) } -func (*AuthenticateResponse) ProtoMessage() {} -func (*AuthenticateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{1} +func (x *AuthenticateResponse) Reset() { + *x = AuthenticateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthenticateResponse.Unmarshal(m, b) -} -func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthenticateResponse.Marshal(b, m, deterministic) +func (x *AuthenticateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AuthenticateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticateResponse.Merge(m, src) -} -func (m *AuthenticateResponse) XXX_Size() int { - return xxx_messageInfo_AuthenticateResponse.Size(m) -} -func (m *AuthenticateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AuthenticateResponse.DiscardUnknown(m) + +func (*AuthenticateResponse) ProtoMessage() {} + +func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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) } -var xxx_messageInfo_AuthenticateResponse proto.InternalMessageInfo +// Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead. +func (*AuthenticateResponse) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{1} +} -func (m *AuthenticateResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *AuthenticateResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *AuthenticateResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *AuthenticateResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *AuthenticateResponse) GetToken() string { - if m != nil { - return m.Token +func (x *AuthenticateResponse) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *AuthenticateResponse) GetUser() *v1beta12.User { - if m != nil { - return m.User +func (x *AuthenticateResponse) GetUser() *v1beta12.User { + if x != nil { + return x.User } return nil } type WhoAmIRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The access token. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *WhoAmIRequest) Reset() { *m = WhoAmIRequest{} } -func (m *WhoAmIRequest) String() string { return proto.CompactTextString(m) } -func (*WhoAmIRequest) ProtoMessage() {} -func (*WhoAmIRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{2} +func (x *WhoAmIRequest) Reset() { + *x = WhoAmIRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WhoAmIRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WhoAmIRequest.Unmarshal(m, b) -} -func (m *WhoAmIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WhoAmIRequest.Marshal(b, m, deterministic) -} -func (m *WhoAmIRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WhoAmIRequest.Merge(m, src) +func (x *WhoAmIRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WhoAmIRequest) XXX_Size() int { - return xxx_messageInfo_WhoAmIRequest.Size(m) -} -func (m *WhoAmIRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WhoAmIRequest.DiscardUnknown(m) + +func (*WhoAmIRequest) ProtoMessage() {} + +func (x *WhoAmIRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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) } -var xxx_messageInfo_WhoAmIRequest proto.InternalMessageInfo +// Deprecated: Use WhoAmIRequest.ProtoReflect.Descriptor instead. +func (*WhoAmIRequest) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{2} +} -func (m *WhoAmIRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *WhoAmIRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *WhoAmIRequest) GetToken() string { - if m != nil { - return m.Token +func (x *WhoAmIRequest) GetToken() string { + if x != nil { + return x.Token } return "" } type WhoAmIResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -291,110 +354,126 @@ type WhoAmIResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The user information. - User *v1beta12.User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + User *v1beta12.User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` } -func (m *WhoAmIResponse) Reset() { *m = WhoAmIResponse{} } -func (m *WhoAmIResponse) String() string { return proto.CompactTextString(m) } -func (*WhoAmIResponse) ProtoMessage() {} -func (*WhoAmIResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{3} +func (x *WhoAmIResponse) Reset() { + *x = WhoAmIResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WhoAmIResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WhoAmIResponse.Unmarshal(m, b) -} -func (m *WhoAmIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WhoAmIResponse.Marshal(b, m, deterministic) -} -func (m *WhoAmIResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WhoAmIResponse.Merge(m, src) -} -func (m *WhoAmIResponse) XXX_Size() int { - return xxx_messageInfo_WhoAmIResponse.Size(m) +func (x *WhoAmIResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WhoAmIResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WhoAmIResponse.DiscardUnknown(m) + +func (*WhoAmIResponse) ProtoMessage() {} + +func (x *WhoAmIResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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) } -var xxx_messageInfo_WhoAmIResponse proto.InternalMessageInfo +// Deprecated: Use WhoAmIResponse.ProtoReflect.Descriptor instead. +func (*WhoAmIResponse) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{3} +} -func (m *WhoAmIResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *WhoAmIResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *WhoAmIResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *WhoAmIResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *WhoAmIResponse) GetUser() *v1beta12.User { - if m != nil { - return m.User +func (x *WhoAmIResponse) GetUser() *v1beta12.User { + if x != nil { + return x.User } return nil } type GetQuotaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference to which the action should be performed. - Ref *v1beta13.Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *v1beta13.Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *GetQuotaRequest) Reset() { *m = GetQuotaRequest{} } -func (m *GetQuotaRequest) String() string { return proto.CompactTextString(m) } -func (*GetQuotaRequest) ProtoMessage() {} -func (*GetQuotaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{4} +func (x *GetQuotaRequest) Reset() { + *x = GetQuotaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetQuotaRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetQuotaRequest.Unmarshal(m, b) +func (x *GetQuotaRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetQuotaRequest.Marshal(b, m, deterministic) -} -func (m *GetQuotaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetQuotaRequest.Merge(m, src) -} -func (m *GetQuotaRequest) XXX_Size() int { - return xxx_messageInfo_GetQuotaRequest.Size(m) -} -func (m *GetQuotaRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetQuotaRequest.DiscardUnknown(m) + +func (*GetQuotaRequest) ProtoMessage() {} + +func (x *GetQuotaRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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) } -var xxx_messageInfo_GetQuotaRequest proto.InternalMessageInfo +// Deprecated: Use GetQuotaRequest.ProtoReflect.Descriptor instead. +func (*GetQuotaRequest) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{4} +} -func (m *GetQuotaRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetQuotaRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetQuotaRequest) GetRef() *v1beta13.Reference { - if m != nil { - return m.Ref +func (x *GetQuotaRequest) GetRef() *v1beta13.Reference { + if x != nil { + return x.Ref } return nil } type InitiateFileDownloadResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -403,59 +482,67 @@ type InitiateFileDownloadResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The protocols through which data can be downloaded. - Protocols []*FileDownloadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Protocols []*FileDownloadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` } -func (m *InitiateFileDownloadResponse) Reset() { *m = InitiateFileDownloadResponse{} } -func (m *InitiateFileDownloadResponse) String() string { return proto.CompactTextString(m) } -func (*InitiateFileDownloadResponse) ProtoMessage() {} -func (*InitiateFileDownloadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{5} +func (x *InitiateFileDownloadResponse) Reset() { + *x = InitiateFileDownloadResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InitiateFileDownloadResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitiateFileDownloadResponse.Unmarshal(m, b) -} -func (m *InitiateFileDownloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitiateFileDownloadResponse.Marshal(b, m, deterministic) +func (x *InitiateFileDownloadResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitiateFileDownloadResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitiateFileDownloadResponse.Merge(m, src) -} -func (m *InitiateFileDownloadResponse) XXX_Size() int { - return xxx_messageInfo_InitiateFileDownloadResponse.Size(m) -} -func (m *InitiateFileDownloadResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InitiateFileDownloadResponse.DiscardUnknown(m) + +func (*InitiateFileDownloadResponse) ProtoMessage() {} + +func (x *InitiateFileDownloadResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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) } -var xxx_messageInfo_InitiateFileDownloadResponse proto.InternalMessageInfo +// Deprecated: Use InitiateFileDownloadResponse.ProtoReflect.Descriptor instead. +func (*InitiateFileDownloadResponse) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{5} +} -func (m *InitiateFileDownloadResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *InitiateFileDownloadResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *InitiateFileDownloadResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *InitiateFileDownloadResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *InitiateFileDownloadResponse) GetProtocols() []*FileDownloadProtocol { - if m != nil { - return m.Protocols +func (x *InitiateFileDownloadResponse) GetProtocols() []*FileDownloadProtocol { + if x != nil { + return x.Protocols } return nil } type InitiateFileUploadResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -464,59 +551,67 @@ type InitiateFileUploadResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The protocols through which data can be uploaded. - Protocols []*FileUploadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Protocols []*FileUploadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` } -func (m *InitiateFileUploadResponse) Reset() { *m = InitiateFileUploadResponse{} } -func (m *InitiateFileUploadResponse) String() string { return proto.CompactTextString(m) } -func (*InitiateFileUploadResponse) ProtoMessage() {} -func (*InitiateFileUploadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{6} +func (x *InitiateFileUploadResponse) Reset() { + *x = InitiateFileUploadResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InitiateFileUploadResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitiateFileUploadResponse.Unmarshal(m, b) -} -func (m *InitiateFileUploadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitiateFileUploadResponse.Marshal(b, m, deterministic) -} -func (m *InitiateFileUploadResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitiateFileUploadResponse.Merge(m, src) +func (x *InitiateFileUploadResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitiateFileUploadResponse) XXX_Size() int { - return xxx_messageInfo_InitiateFileUploadResponse.Size(m) -} -func (m *InitiateFileUploadResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InitiateFileUploadResponse.DiscardUnknown(m) + +func (*InitiateFileUploadResponse) ProtoMessage() {} + +func (x *InitiateFileUploadResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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) } -var xxx_messageInfo_InitiateFileUploadResponse proto.InternalMessageInfo +// Deprecated: Use InitiateFileUploadResponse.ProtoReflect.Descriptor instead. +func (*InitiateFileUploadResponse) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{6} +} -func (m *InitiateFileUploadResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *InitiateFileUploadResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *InitiateFileUploadResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *InitiateFileUploadResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *InitiateFileUploadResponse) GetProtocols() []*FileUploadProtocol { - if m != nil { - return m.Protocols +func (x *InitiateFileUploadResponse) GetProtocols() []*FileUploadProtocol { + if x != nil { + return x.Protocols } return nil } type ListAuthProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -526,4310 +621,1776 @@ type ListAuthProvidersResponse struct { // REQUIRED. // The list of auth types. // TODO(labkode): maybe add description? - Types []string `protobuf:"bytes,3,rep,name=types,proto3" json:"types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Types []string `protobuf:"bytes,3,rep,name=types,proto3" json:"types,omitempty"` } -func (m *ListAuthProvidersResponse) Reset() { *m = ListAuthProvidersResponse{} } -func (m *ListAuthProvidersResponse) String() string { return proto.CompactTextString(m) } -func (*ListAuthProvidersResponse) ProtoMessage() {} -func (*ListAuthProvidersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{7} +func (x *ListAuthProvidersResponse) Reset() { + *x = ListAuthProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAuthProvidersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAuthProvidersResponse.Unmarshal(m, b) -} -func (m *ListAuthProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAuthProvidersResponse.Marshal(b, m, deterministic) -} -func (m *ListAuthProvidersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAuthProvidersResponse.Merge(m, src) -} -func (m *ListAuthProvidersResponse) XXX_Size() int { - return xxx_messageInfo_ListAuthProvidersResponse.Size(m) -} -func (m *ListAuthProvidersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAuthProvidersResponse.DiscardUnknown(m) +func (x *ListAuthProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListAuthProvidersResponse proto.InternalMessageInfo +func (*ListAuthProvidersResponse) ProtoMessage() {} -func (m *ListAuthProvidersResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListAuthProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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 nil + return mi.MessageOf(x) } -func (m *ListAuthProvidersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil +// Deprecated: Use ListAuthProvidersResponse.ProtoReflect.Descriptor instead. +func (*ListAuthProvidersResponse) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{7} } -func (m *ListAuthProvidersResponse) GetTypes() []string { - if m != nil { - return m.Types +func (x *ListAuthProvidersResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -type OpenInAppRequest struct { - // OPTIONAL. - // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - // REQUIRED. - // The resource reference. If a path is given, it will be resolved via Stat() to a ResourceInfo - // in case a call to the WOPI server is to be issued (cf. the provider grpc message) - Ref *v1beta13.Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - ViewMode OpenInAppRequest_ViewMode `protobuf:"varint,3,opt,name=view_mode,json=viewMode,proto3,enum=cs3.gateway.v1beta1.OpenInAppRequest_ViewMode" json:"view_mode,omitempty"` - // OPTIONAL. - // A reference to the application to be used to open the resource, should the - // default inferred from the resource's mimetype be overridden by user's choice. - // If the targeted resource is a directory, this parameter is required and - // in its absence the implementation MUST return INVALID_ARGUMENT. - App string `protobuf:"bytes,4,opt,name=app,proto3" json:"app,omitempty"` - // OPTIONAL. - // A lock_id: should the reference be locked and the lock type be LOCK_TYPE_EXCL, - // the stored lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,5,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OpenInAppRequest) Reset() { *m = OpenInAppRequest{} } -func (m *OpenInAppRequest) String() string { return proto.CompactTextString(m) } -func (*OpenInAppRequest) ProtoMessage() {} -func (*OpenInAppRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2d35d050f2c88549, []int{8} -} - -func (m *OpenInAppRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OpenInAppRequest.Unmarshal(m, b) -} -func (m *OpenInAppRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OpenInAppRequest.Marshal(b, m, deterministic) -} -func (m *OpenInAppRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OpenInAppRequest.Merge(m, src) -} -func (m *OpenInAppRequest) XXX_Size() int { - return xxx_messageInfo_OpenInAppRequest.Size(m) -} -func (m *OpenInAppRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OpenInAppRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_OpenInAppRequest proto.InternalMessageInfo - -func (m *OpenInAppRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListAuthProvidersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *OpenInAppRequest) GetRef() *v1beta13.Reference { - if m != nil { - return m.Ref +func (x *ListAuthProvidersResponse) GetTypes() []string { + if x != nil { + return x.Types } return nil } -func (m *OpenInAppRequest) GetViewMode() OpenInAppRequest_ViewMode { - if m != nil { - return m.ViewMode - } - return OpenInAppRequest_VIEW_MODE_INVALID -} - -func (m *OpenInAppRequest) GetApp() string { - if m != nil { - return m.App - } - return "" -} - -func (m *OpenInAppRequest) GetLockId() string { - if m != nil { - return m.LockId - } - return "" -} - -func init() { - proto.RegisterEnum("cs3.gateway.v1beta1.OpenInAppRequest_ViewMode", OpenInAppRequest_ViewMode_name, OpenInAppRequest_ViewMode_value) - proto.RegisterType((*AuthenticateRequest)(nil), "cs3.gateway.v1beta1.AuthenticateRequest") - proto.RegisterType((*AuthenticateResponse)(nil), "cs3.gateway.v1beta1.AuthenticateResponse") - proto.RegisterType((*WhoAmIRequest)(nil), "cs3.gateway.v1beta1.WhoAmIRequest") - proto.RegisterType((*WhoAmIResponse)(nil), "cs3.gateway.v1beta1.WhoAmIResponse") - proto.RegisterType((*GetQuotaRequest)(nil), "cs3.gateway.v1beta1.GetQuotaRequest") - proto.RegisterType((*InitiateFileDownloadResponse)(nil), "cs3.gateway.v1beta1.InitiateFileDownloadResponse") - proto.RegisterType((*InitiateFileUploadResponse)(nil), "cs3.gateway.v1beta1.InitiateFileUploadResponse") - proto.RegisterType((*ListAuthProvidersResponse)(nil), "cs3.gateway.v1beta1.ListAuthProvidersResponse") - proto.RegisterType((*OpenInAppRequest)(nil), "cs3.gateway.v1beta1.OpenInAppRequest") -} - -func init() { - proto.RegisterFile("cs3/gateway/v1beta1/gateway_api.proto", fileDescriptor_2d35d050f2c88549) -} - -var fileDescriptor_2d35d050f2c88549 = []byte{ - // 2813 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0x5b, 0x73, 0xdc, 0xb6, - 0x15, 0x2e, 0x25, 0x47, 0xb1, 0x20, 0x4b, 0x96, 0x29, 0x3b, 0x56, 0x94, 0x74, 0xea, 0x91, 0xeb, - 0xd8, 0x8e, 0xed, 0x95, 0x2d, 0xd9, 0x4e, 0x1c, 0x27, 0x9d, 0x59, 0x5d, 0xbc, 0xd9, 0xb1, 0x15, - 0x29, 0xbb, 0x96, 0x9d, 0xb4, 0xee, 0x28, 0x14, 0x17, 0x92, 0x38, 0xe2, 0x92, 0x34, 0x88, 0x95, - 0xbc, 0x6d, 0x9a, 0xb6, 0xd3, 0x4c, 0x2f, 0xd3, 0xf6, 0xa1, 0xb7, 0xd7, 0x3e, 0xf4, 0x2d, 0xfd, - 0x0f, 0x7d, 0xec, 0x74, 0xa6, 0xfd, 0x51, 0xed, 0x00, 0x3c, 0x20, 0x01, 0x90, 0xbb, 0x04, 0xe5, - 0x19, 0xf7, 0x6d, 0x09, 0x7c, 0xdf, 0xf9, 0x0e, 0x0e, 0x6e, 0x87, 0x20, 0x16, 0x5d, 0x72, 0xe3, - 0xa5, 0x85, 0x3d, 0x87, 0xe2, 0x23, 0xa7, 0xbf, 0x70, 0x78, 0x6b, 0x07, 0x53, 0xe7, 0x96, 0x78, - 0xde, 0x76, 0x22, 0xaf, 0x16, 0x91, 0x90, 0x86, 0xf6, 0x8c, 0x1b, 0x2f, 0xd5, 0xa0, 0xb8, 0x06, - 0xb0, 0xb9, 0x6b, 0x8c, 0xeb, 0x44, 0xd1, 0x42, 0x44, 0xc2, 0x43, 0xaf, 0x83, 0x49, 0x6a, 0x40, - 0x14, 0x64, 0x16, 0x32, 0x30, 0xc1, 0x7b, 0x5e, 0x4c, 0x49, 0xa6, 0x26, 0x0a, 0x24, 0xf0, 0x6d, - 0x0e, 0xee, 0xd1, 0x7d, 0xc6, 0xf0, 0x3d, 0xd7, 0xa1, 0x5e, 0x18, 0xc4, 0x29, 0x43, 0x2e, 0x94, - 0x58, 0xd7, 0x53, 0x96, 0x89, 0xc6, 0xc5, 0xa2, 0x96, 0x13, 0x1c, 0x87, 0x3d, 0xe2, 0xe2, 0x18, - 0x40, 0xef, 0x32, 0x90, 0xd7, 0xc1, 0x01, 0xf5, 0x68, 0x7f, 0x61, 0x8f, 0x84, 0xbd, 0x28, 0x8b, - 0x12, 0x7b, 0x92, 0x0c, 0x5e, 0x55, 0xb0, 0xbd, 0x58, 0x8a, 0x87, 0x6e, 0xf6, 0xca, 0x60, 0x28, - 0x7b, 0x90, 0x8c, 0x5e, 0x66, 0xc8, 0xd0, 0xed, 0x2e, 0xb8, 0x21, 0xc1, 0x29, 0x28, 0x74, 0xbb, - 0xdb, 0xac, 0xa0, 0x08, 0xe8, 0x05, 0x87, 0x1e, 0xcd, 0xa0, 0xc9, 0xa3, 0xde, 0x11, 0x0c, 0x68, - 0xd2, 0x6b, 0x37, 0x18, 0x38, 0xc2, 0xa4, 0xeb, 0xc5, 0xb1, 0xd2, 0x05, 0x52, 0x59, 0x0e, 0x4e, - 0xf0, 0x2e, 0x26, 0x38, 0x70, 0xb1, 0x04, 0xcf, 0xca, 0x24, 0xf8, 0xdb, 0x0c, 0x4e, 0x22, 0x37, - 0x85, 0xc5, 0xd4, 0xa1, 0x3d, 0x11, 0xa4, 0x7b, 0xac, 0x36, 0xde, 0x77, 0x88, 0x17, 0xec, 0x2d, - 0xb8, 0xa1, 0xef, 0x3b, 0x3b, 0x21, 0xe1, 0x9d, 0x9e, 0xe2, 0x95, 0x52, 0x3d, 0x18, 0x82, 0xea, - 0x7b, 0xc1, 0x41, 0xca, 0x60, 0x0f, 0x12, 0xf0, 0x92, 0x0c, 0x64, 0x41, 0x91, 0x23, 0x9c, 0xc1, - 0x16, 0x38, 0x8c, 0x86, 0xc4, 0xd9, 0xc3, 0x46, 0x71, 0xbb, 0x3e, 0x94, 0xa0, 0x0f, 0x87, 0xb7, - 0x18, 0x9a, 0xbe, 0x48, 0xeb, 0xe9, 0x0b, 0xc9, 0xd4, 0xb7, 0x79, 0x65, 0x3f, 0x92, 0xa2, 0xc9, - 0x9f, 0x92, 0xea, 0xf9, 0xbf, 0x5a, 0x68, 0xa6, 0xde, 0xa3, 0xfb, 0x6c, 0x2c, 0xb9, 0x0e, 0xc5, - 0x2d, 0xfc, 0xbc, 0x87, 0x63, 0x6a, 0xdf, 0x42, 0x63, 0x61, 0xe4, 0x3c, 0xef, 0xe1, 0x59, 0xeb, - 0x82, 0x75, 0x65, 0x62, 0xf1, 0xcd, 0x1a, 0x9b, 0xc2, 0x09, 0x13, 0xec, 0xd4, 0x36, 0x38, 0xa0, - 0x05, 0x40, 0xdb, 0x46, 0x27, 0x58, 0xfd, 0xec, 0xc8, 0x05, 0xeb, 0xca, 0x78, 0x8b, 0xff, 0xb6, - 0xdf, 0x42, 0xe3, 0xae, 0xef, 0xe1, 0x80, 0x6e, 0x7b, 0x9d, 0xd9, 0x51, 0x5e, 0x71, 0x32, 0x29, - 0x68, 0x76, 0xec, 0x8b, 0x68, 0x12, 0x2a, 0x63, 0xec, 0x12, 0x4c, 0x67, 0x4f, 0x70, 0xc0, 0xa9, - 0xa4, 0xb0, 0xcd, 0xcb, 0xe6, 0xff, 0x69, 0xa1, 0xb3, 0xaa, 0x83, 0x71, 0x14, 0x06, 0x31, 0xb6, - 0x17, 0xd0, 0x58, 0xd2, 0xdf, 0xe0, 0xe1, 0x79, 0xee, 0x21, 0x89, 0xdc, 0xd4, 0xbf, 0x36, 0xaf, - 0x6e, 0x01, 0x4c, 0x6a, 0xd2, 0x88, 0x69, 0x93, 0xce, 0xa2, 0xd7, 0x68, 0x78, 0x80, 0x03, 0x70, - 0x3d, 0x79, 0xb0, 0x97, 0xd0, 0x09, 0x36, 0xcd, 0xb8, 0xbb, 0x13, 0x8b, 0xdf, 0xe1, 0x66, 0xc4, - 0x6c, 0xac, 0xb1, 0x9a, 0xd4, 0xdc, 0x56, 0x8c, 0x49, 0x8b, 0x83, 0xe7, 0x3f, 0x43, 0x93, 0x4f, - 0xf7, 0xc3, 0x7a, 0xb7, 0xf9, 0x12, 0x11, 0x4e, 0xdd, 0x19, 0x91, 0xdc, 0x99, 0xff, 0xc6, 0x42, - 0x53, 0xc2, 0xf4, 0x2b, 0x8c, 0x8d, 0x88, 0xc2, 0x68, 0x95, 0x28, 0xfc, 0x14, 0x9d, 0x6e, 0x60, - 0xfa, 0x69, 0x2f, 0xa4, 0xce, 0x4b, 0xc4, 0xe1, 0x1e, 0x1a, 0x25, 0x78, 0x17, 0x5c, 0xbd, 0xcc, - 0xf1, 0x30, 0x59, 0x6a, 0x62, 0xb2, 0xa4, 0xd4, 0x96, 0x58, 0x39, 0x5a, 0x8c, 0x33, 0xff, 0x1f, - 0x0b, 0xbd, 0xdd, 0x0c, 0x3c, 0xea, 0x39, 0x14, 0x3f, 0xf0, 0x7c, 0xbc, 0x1a, 0x1e, 0x05, 0x7e, - 0xe8, 0x74, 0x5e, 0x69, 0xe8, 0x1a, 0x68, 0x9c, 0xcf, 0x3e, 0x37, 0xf4, 0xe3, 0xd9, 0xd1, 0x0b, - 0xa3, 0x57, 0x26, 0x16, 0xaf, 0xd6, 0x0a, 0xb6, 0xc8, 0x9a, 0xec, 0xe1, 0x26, 0x30, 0x5a, 0x19, - 0x77, 0xfe, 0x5f, 0x16, 0x9a, 0x93, 0x5b, 0xb3, 0x15, 0xbd, 0xf2, 0xb6, 0xac, 0xe5, 0xdb, 0x72, - 0x79, 0x60, 0x5b, 0x12, 0xff, 0x8a, 0x5a, 0xf2, 0x17, 0x0b, 0xbd, 0xf9, 0xc8, 0x8b, 0x29, 0x9b, - 0xea, 0x9b, 0xd0, 0x87, 0xf1, 0x2b, 0x9f, 0xeb, 0xac, 0x9e, 0x37, 0x82, 0x4d, 0x2e, 0xf6, 0x30, - 0xff, 0xdf, 0x11, 0x34, 0xbd, 0x11, 0xe1, 0xa0, 0x19, 0xd4, 0xa3, 0xe8, 0xff, 0x32, 0x64, 0xed, - 0x87, 0x68, 0xfc, 0xd0, 0xc3, 0x47, 0xdb, 0xdd, 0xb0, 0x83, 0xf9, 0x6c, 0x9b, 0x5a, 0xac, 0x15, - 0x46, 0x58, 0xf7, 0xb3, 0xf6, 0xc4, 0xc3, 0x47, 0xeb, 0x61, 0x07, 0xb7, 0x4e, 0x1e, 0xc2, 0x2f, - 0x7b, 0x1a, 0x8d, 0x3a, 0x51, 0x04, 0x2b, 0x2d, 0xfb, 0x69, 0x9f, 0x47, 0xaf, 0xfb, 0xa1, 0x7b, - 0xc0, 0x16, 0xe8, 0xd7, 0x78, 0xe9, 0x18, 0x7b, 0x6c, 0x76, 0xe6, 0xbf, 0xb6, 0xd0, 0x49, 0x61, - 0xc1, 0x3e, 0x87, 0xce, 0x3c, 0x69, 0xae, 0x3d, 0xdd, 0x5e, 0xdf, 0x58, 0x5d, 0xdb, 0x6e, 0x7e, - 0xf2, 0xa4, 0xfe, 0xa8, 0xb9, 0x3a, 0xfd, 0x2d, 0xfb, 0x3c, 0x9a, 0xc9, 0x8a, 0xf9, 0xaf, 0x8d, - 0x4f, 0x1e, 0x7d, 0x3e, 0x6d, 0xa9, 0x15, 0xad, 0xb5, 0xfa, 0x6a, 0x52, 0x31, 0x62, 0xcf, 0xa2, - 0xb3, 0x5a, 0xc5, 0xd3, 0x56, 0xf3, 0xf1, 0xda, 0xf4, 0xa8, 0x2a, 0xb1, 0xd9, 0x5a, 0x63, 0x0f, - 0xd3, 0x27, 0x16, 0xff, 0xf1, 0x03, 0x84, 0x1a, 0x49, 0x4b, 0xeb, 0x9b, 0x4d, 0xdb, 0x45, 0xa7, - 0xe4, 0xed, 0xc0, 0xbe, 0x52, 0x18, 0x8a, 0x82, 0x2d, 0x6d, 0xee, 0xaa, 0x01, 0x12, 0xc6, 0xdb, - 0xa7, 0x68, 0x2c, 0x59, 0x51, 0xed, 0xf9, 0x42, 0x92, 0xb2, 0x92, 0xcf, 0x5d, 0x1c, 0x8a, 0x01, - 0x93, 0xbf, 0xb3, 0xd0, 0x4c, 0x03, 0x07, 0x98, 0x38, 0x14, 0xd7, 0xa3, 0x68, 0xd3, 0x89, 0xe3, - 0xa3, 0x90, 0x74, 0xec, 0x7b, 0x9c, 0xcc, 0xd2, 0xce, 0x9a, 0x9c, 0x97, 0xa6, 0x66, 0x0a, 0x38, - 0x42, 0xf7, 0x83, 0xe3, 0x50, 0xc1, 0x9d, 0x5f, 0x58, 0x68, 0x9a, 0xcf, 0xb7, 0xac, 0x2e, 0xb6, - 0xef, 0x96, 0x18, 0xd4, 0x09, 0xc2, 0x91, 0xf7, 0x2a, 0xf3, 0xc0, 0x8b, 0x3f, 0x5a, 0xe8, 0x5c, - 0x33, 0x38, 0x74, 0x7c, 0xaf, 0xa3, 0x85, 0xe5, 0x7e, 0x89, 0xc9, 0x42, 0x96, 0xf0, 0xe7, 0xc3, - 0xe3, 0x91, 0xc1, 0xa9, 0x9f, 0xa0, 0xa9, 0x06, 0x96, 0xfd, 0xb5, 0x6f, 0x97, 0x06, 0x9a, 0x16, - 0x78, 0x71, 0xa7, 0x22, 0x0b, 0xe4, 0xbf, 0x42, 0xa7, 0x57, 0x08, 0x76, 0x28, 0x5e, 0x09, 0x03, - 0xea, 0x78, 0x01, 0x26, 0xa0, 0x3f, 0x70, 0xbd, 0xd0, 0xe0, 0xaa, 0xbe, 0x39, 0x0b, 0xf4, 0x7d, - 0x34, 0xfe, 0x38, 0xec, 0xb9, 0xfb, 0x6c, 0xbd, 0xb6, 0x6b, 0xc3, 0x6d, 0xa4, 0x40, 0xa1, 0xb9, - 0x60, 0x8c, 0x07, 0x35, 0x17, 0x8d, 0xad, 0x62, 0x1f, 0x53, 0x6c, 0x5f, 0x1b, 0x4e, 0x4d, 0x50, - 0x42, 0xe7, 0xba, 0x19, 0x18, 0x44, 0x76, 0xd1, 0xeb, 0x0d, 0x4c, 0x37, 0x1d, 0xba, 0x6f, 0x97, - 0x10, 0x01, 0x26, 0x64, 0x6e, 0x18, 0xa2, 0x41, 0xe7, 0x0b, 0x74, 0x52, 0x64, 0x37, 0xf6, 0x77, - 0x0b, 0x17, 0x05, 0x2d, 0xf9, 0x99, 0xab, 0x95, 0x0a, 0x00, 0x1c, 0x14, 0xbe, 0xb6, 0xd0, 0xd9, - 0xa2, 0xf4, 0x05, 0x96, 0x91, 0x81, 0x86, 0x8a, 0x53, 0x9e, 0xc4, 0x87, 0x5b, 0x85, 0x9e, 0x0e, - 0x4d, 0x92, 0xbe, 0x42, 0x76, 0x3e, 0xed, 0xb0, 0xdf, 0x33, 0xf7, 0x41, 0x24, 0x2a, 0xf2, 0xa8, - 0x19, 0xe6, 0x81, 0x96, 0xd8, 0xb0, 0xc5, 0x94, 0x2d, 0x2a, 0xe9, 0xe8, 0x6d, 0x53, 0x82, 0x9d, - 0xae, 0xfd, 0xfe, 0x70, 0x0f, 0x0a, 0x28, 0xc2, 0x85, 0x7b, 0xc7, 0x60, 0x26, 0xce, 0xdc, 0xb4, - 0xec, 0x17, 0x68, 0x52, 0x01, 0xd8, 0x8b, 0x15, 0xac, 0x09, 0x0f, 0x96, 0x2a, 0x71, 0x20, 0x10, - 0x3f, 0x87, 0x65, 0x9c, 0xc5, 0xe8, 0x09, 0x26, 0xfc, 0x85, 0xda, 0xbe, 0x53, 0x6e, 0x49, 0xc6, - 0x0b, 0x07, 0xee, 0x56, 0xa5, 0x81, 0x0f, 0xbf, 0xb4, 0xd0, 0x19, 0x56, 0xd9, 0xc2, 0x6e, 0xdf, - 0xf5, 0x31, 0x74, 0x85, 0x81, 0x35, 0x85, 0xa0, 0xee, 0x25, 0x55, 0x78, 0x69, 0x37, 0x10, 0x34, - 0x21, 0x55, 0xdb, 0x37, 0x8d, 0x2d, 0xa9, 0x33, 0xc1, 0x8c, 0x01, 0x8d, 0xff, 0x21, 0x3a, 0xb1, - 0x1e, 0x1e, 0x62, 0xfb, 0xea, 0x70, 0x2a, 0xc3, 0x08, 0x95, 0x77, 0x4d, 0xa0, 0x60, 0xbe, 0x87, - 0x4e, 0x6d, 0xf6, 0xc8, 0x1e, 0x16, 0x6d, 0x2a, 0xf1, 0x50, 0xc6, 0x0a, 0xb9, 0xc5, 0x2a, 0x14, - 0x90, 0xfd, 0x95, 0x85, 0xec, 0x16, 0x66, 0x1c, 0x2c, 0x75, 0x79, 0xd9, 0x04, 0xcf, 0x33, 0x84, - 0x0f, 0xef, 0x57, 0x27, 0xe6, 0x3d, 0x01, 0x27, 0x9b, 0x14, 0x77, 0x0d, 0x3d, 0x91, 0x18, 0xd5, - 0x3c, 0x51, 0x88, 0x59, 0x4f, 0xb3, 0x97, 0x8c, 0xb2, 0x9e, 0x66, 0x18, 0xc3, 0x9e, 0x4e, 0xa0, - 0x60, 0xfe, 0x05, 0x9a, 0x4c, 0x76, 0xe4, 0x76, 0xbf, 0xeb, 0x7b, 0xc1, 0x41, 0xd9, 0x1a, 0xa2, - 0x80, 0x0d, 0xd7, 0x10, 0x8d, 0x03, 0xca, 0xbf, 0xb7, 0xd0, 0xd9, 0x36, 0xa6, 0x75, 0xb2, 0xe3, - 0x51, 0xe2, 0x90, 0xfe, 0x3a, 0xa6, 0x4e, 0xc7, 0xa1, 0x4e, 0xd9, 0x9e, 0x52, 0xc4, 0x51, 0x53, - 0xd3, 0x8a, 0x54, 0xf0, 0xe7, 0x4f, 0x16, 0x7a, 0x63, 0x2b, 0x88, 0x8b, 0x3c, 0xba, 0x3f, 0xdc, - 0x6c, 0x31, 0x4b, 0xcd, 0x0a, 0x2b, 0x93, 0xb3, 0x1c, 0xa2, 0x8d, 0xe9, 0xa3, 0xd0, 0x3d, 0x28, - 0xcb, 0x21, 0x00, 0x66, 0x98, 0x43, 0xa4, 0x68, 0x25, 0x57, 0x31, 0xd1, 0x69, 0x54, 0xd2, 0x69, - 0x68, 0x3a, 0x04, 0x4d, 0xb4, 0xf0, 0x2e, 0xc1, 0xf1, 0x3e, 0xd7, 0xba, 0x59, 0xfa, 0x4a, 0x2a, - 0xa0, 0x86, 0x8b, 0xa5, 0xc2, 0xc8, 0x92, 0xbd, 0xad, 0x80, 0xbd, 0x5d, 0x96, 0x25, 0x7b, 0x09, - 0xca, 0x30, 0xd9, 0x13, 0x60, 0x10, 0x09, 0x11, 0x4a, 0xc6, 0xf9, 0xc7, 0x61, 0x17, 0xdb, 0x0b, - 0x26, 0x33, 0x82, 0x21, 0x85, 0xd8, 0x4d, 0x73, 0x82, 0xb4, 0x44, 0xc1, 0xcc, 0x4a, 0x58, 0xed, - 0xc8, 0x71, 0x71, 0xd9, 0x12, 0x95, 0x67, 0x18, 0x2e, 0x51, 0x45, 0xc4, 0x2c, 0x3b, 0xe4, 0x3b, - 0xb1, 0x5c, 0x19, 0x9b, 0xec, 0xc4, 0x0a, 0xa1, 0xc2, 0x4e, 0xac, 0xf1, 0xa4, 0x80, 0x6c, 0x45, - 0x9d, 0x8a, 0x01, 0xc9, 0x33, 0x0c, 0x03, 0x52, 0x44, 0x94, 0x3c, 0x49, 0xde, 0x05, 0xaa, 0x78, - 0x92, 0x67, 0x18, 0x7a, 0x52, 0x44, 0x04, 0x4f, 0xb6, 0xd1, 0x78, 0x7a, 0x3c, 0x63, 0x5f, 0x32, - 0x3a, 0xbe, 0x99, 0x4b, 0x26, 0x89, 0x13, 0x45, 0x79, 0x25, 0x09, 0x0b, 0x02, 0x5f, 0xa2, 0x09, - 0x18, 0x19, 0xfb, 0x0e, 0xc1, 0x22, 0x07, 0x4c, 0x3e, 0x4d, 0xd4, 0x94, 0x0f, 0x1d, 0xfa, 0x48, - 0x62, 0x78, 0x2d, 0x07, 0x34, 0xa7, 0x65, 0xea, 0x2d, 0xdc, 0x0d, 0x0f, 0x2b, 0xa8, 0x4b, 0xf8, - 0x2a, 0xea, 0x0a, 0x0d, 0xd4, 0x63, 0xfe, 0xde, 0x95, 0x48, 0x2f, 0x1a, 0xd8, 0x10, 0x60, 0x6d, - 0xdb, 0x34, 0xe4, 0x80, 0x68, 0x1f, 0x21, 0x3e, 0x05, 0x58, 0x61, 0x2c, 0x5e, 0xd1, 0x87, 0x9a, - 0xc8, 0xe0, 0xda, 0x2b, 0xba, 0x31, 0x2b, 0x8b, 0x36, 0x0c, 0x7a, 0xe3, 0x68, 0x4b, 0xf8, 0x2a, - 0xd1, 0x56, 0x68, 0xa0, 0xfe, 0x07, 0x0b, 0xd9, 0x90, 0x0a, 0x63, 0xef, 0x10, 0x77, 0x20, 0x02, - 0x1f, 0x1a, 0xb6, 0x45, 0xa5, 0x09, 0x67, 0x3e, 0x3a, 0x26, 0x1b, 0x7c, 0xfa, 0xb3, 0x85, 0x66, - 0x12, 0x5f, 0x15, 0x80, 0xfd, 0x91, 0x71, 0x1b, 0x15, 0x9e, 0xf0, 0xea, 0x7b, 0xc7, 0xa5, 0x83, - 0x5b, 0xbf, 0xb5, 0xd0, 0x74, 0x03, 0xab, 0x4e, 0xdb, 0x1f, 0x98, 0x8d, 0xb6, 0x42, 0x87, 0xee, - 0x1f, 0x8b, 0x0b, 0xde, 0x7c, 0x8e, 0xc6, 0xda, 0x98, 0x3e, 0xc4, 0x7d, 0xfb, 0x1d, 0x6e, 0x46, - 0xfa, 0xaa, 0x2a, 0xa7, 0x23, 0x0f, 0x71, 0x5f, 0xc8, 0x5d, 0x2e, 0xc5, 0x65, 0xa6, 0x1b, 0x65, - 0xa6, 0x1b, 0x86, 0xa6, 0x1b, 0xaa, 0xe9, 0x2f, 0xd1, 0x99, 0x64, 0xc5, 0xd9, 0xec, 0xed, 0xf8, - 0x9e, 0x5b, 0x34, 0xcb, 0x59, 0x3a, 0xab, 0x2d, 0x4f, 0x12, 0xb8, 0x78, 0x96, 0x97, 0x71, 0x32, - 0xf5, 0x64, 0xc5, 0x31, 0x54, 0xcf, 0x81, 0x0d, 0xd4, 0x0b, 0x38, 0xe9, 0xc2, 0x36, 0xd5, 0xc0, - 0x54, 0x96, 0x5e, 0x18, 0x6c, 0x46, 0x45, 0x6a, 0xf9, 0x8c, 0x09, 0x01, 0x44, 0x7f, 0x6d, 0xa1, - 0x73, 0x6a, 0xd5, 0x72, 0xff, 0x31, 0xff, 0xf0, 0x79, 0xd7, 0xd4, 0x16, 0x10, 0xb4, 0x4c, 0xa2, - 0x02, 0x2f, 0x5d, 0x63, 0xf9, 0xe9, 0x86, 0x84, 0x88, 0xc5, 0x2b, 0x70, 0x91, 0x31, 0x1d, 0xab, - 0xbd, 0x02, 0x9b, 0x51, 0xb2, 0x8e, 0x4f, 0x66, 0xb6, 0x61, 0xc7, 0xe7, 0xc0, 0x06, 0x1d, 0x5f, - 0xc0, 0x01, 0xf5, 0xe7, 0x68, 0x2a, 0x19, 0x93, 0x1b, 0x2b, 0xeb, 0x89, 0x74, 0x4d, 0x31, 0x13, - 0xba, 0x5d, 0x6d, 0xf0, 0x0a, 0xa0, 0x76, 0x12, 0x6b, 0x80, 0xcf, 0x24, 0x93, 0x81, 0x68, 0x20, - 0xa9, 0x02, 0xcb, 0x25, 0x75, 0x3c, 0x48, 0xee, 0xa3, 0x89, 0x06, 0xa6, 0xa9, 0xde, 0xb5, 0x81, - 0x7c, 0x09, 0xa5, 0xbd, 0x14, 0x94, 0x81, 0xd3, 0x33, 0x7d, 0x5b, 0x2a, 0x16, 0xe3, 0x79, 0xd1, - 0xc4, 0x86, 0x36, 0x96, 0x97, 0x2a, 0x71, 0x40, 0x3e, 0x48, 0x0e, 0x08, 0x45, 0x75, 0x6c, 0xdf, - 0x18, 0x68, 0x45, 0xc1, 0x69, 0xc7, 0xc4, 0xe5, 0xf0, 0xac, 0x2f, 0x93, 0xb1, 0x65, 0xd0, 0x97, - 0x2a, 0xb0, 0xbc, 0x2f, 0x75, 0x7c, 0x76, 0x0a, 0x78, 0x4e, 0xde, 0xa0, 0xb3, 0xb6, 0xde, 0x19, - 0xea, 0x7c, 0x0e, 0x5f, 0x9c, 0x9e, 0x18, 0xd0, 0xc0, 0x91, 0xdf, 0x58, 0xe8, 0x0d, 0x75, 0x4f, - 0x4e, 0x83, 0x70, 0xb7, 0xa4, 0x51, 0x3a, 0xa1, 0x78, 0xfd, 0x32, 0xe1, 0x81, 0x2f, 0x3f, 0xe3, - 0x1f, 0xfd, 0x72, 0xce, 0xda, 0x43, 0x07, 0xd1, 0x20, 0x2f, 0x6e, 0x57, 0x23, 0x81, 0x0b, 0x87, - 0xfc, 0xc6, 0x45, 0x3d, 0x8a, 0xd2, 0xaf, 0xea, 0xf0, 0xae, 0xcf, 0xde, 0x2b, 0xc4, 0xbd, 0x36, - 0xfd, 0x9b, 0x54, 0xf6, 0x01, 0x5e, 0x7e, 0xd7, 0x37, 0x63, 0x64, 0x5b, 0x57, 0xbd, 0xd3, 0x91, - 0xaa, 0x60, 0xeb, 0x2a, 0x34, 0xa2, 0x22, 0xd5, 0xad, 0xcb, 0x88, 0xa0, 0xee, 0x17, 0x4a, 0x6b, - 0x87, 0xf8, 0xae, 0x63, 0xd5, 0xfd, 0xc2, 0x90, 0x92, 0xa5, 0x7a, 0x6f, 0xf0, 0x54, 0xbd, 0x17, - 0x45, 0x21, 0xa1, 0xb8, 0xb3, 0xee, 0x75, 0xf1, 0xe3, 0x7e, 0x84, 0x63, 0x78, 0xdd, 0x1c, 0x68, - 0x2e, 0xcf, 0x50, 0x5f, 0x37, 0x2b, 0x11, 0xc1, 0x9b, 0x6f, 0x2c, 0x74, 0xa1, 0x81, 0xe9, 0x2a, - 0xde, 0x75, 0x7a, 0xbe, 0xec, 0xf0, 0x83, 0x90, 0x08, 0xb4, 0x5d, 0x1f, 0xda, 0xab, 0x43, 0xb9, - 0xc2, 0xc3, 0xe5, 0x97, 0x31, 0x21, 0xf9, 0xda, 0x7e, 0x09, 0x5f, 0xdb, 0x2f, 0xef, 0x6b, 0xdb, - 0xd4, 0xd7, 0x2f, 0xf8, 0xe9, 0xdc, 0x56, 0x8c, 0x09, 0x9c, 0x03, 0x17, 0xdf, 0x78, 0x02, 0x8c, - 0x7a, 0x0e, 0x5c, 0x02, 0x4d, 0x4f, 0xfc, 0xa7, 0xa0, 0x68, 0xb9, 0xbf, 0xe2, 0x3b, 0x5e, 0x17, - 0xa6, 0xeb, 0x50, 0x36, 0x40, 0xd5, 0xe9, 0x6a, 0xc6, 0x48, 0x8f, 0x03, 0x27, 0xa1, 0xa6, 0x41, - 0xc2, 0x5e, 0x14, 0xc3, 0x6c, 0x1d, 0x6a, 0x23, 0x41, 0xaa, 0xb3, 0xd5, 0x88, 0x90, 0x1e, 0x75, - 0x8e, 0x3f, 0xf0, 0x82, 0x0e, 0xab, 0x89, 0x61, 0xf3, 0x2f, 0xa6, 0xa7, 0x28, 0x75, 0xf3, 0x2f, - 0x05, 0x83, 0x0e, 0xe6, 0xc7, 0x03, 0x5c, 0x5c, 0x97, 0xe1, 0x97, 0x70, 0x65, 0x37, 0x39, 0x6a, - 0x80, 0xcc, 0x20, 0x30, 0xc8, 0xfc, 0x88, 0xaf, 0xb4, 0xbc, 0x4c, 0x74, 0xdd, 0xa2, 0x89, 0x01, - 0xad, 0xf3, 0x96, 0x2a, 0x71, 0x40, 0xfb, 0x00, 0xa1, 0x06, 0xa6, 0xeb, 0xb8, 0xbb, 0xc3, 0x62, - 0x79, 0xa3, 0xc4, 0x04, 0xe0, 0xd4, 0xec, 0xc2, 0x00, 0x9e, 0xa6, 0x6d, 0xe3, 0x1f, 0x3b, 0x71, - 0x52, 0x6a, 0x0f, 0x8d, 0x51, 0x0a, 0x53, 0x0f, 0xa9, 0xcb, 0xd1, 0x59, 0xb3, 0x58, 0x77, 0xc2, - 0x90, 0x1c, 0x4a, 0xce, 0x70, 0x46, 0xcd, 0x92, 0xe1, 0xe9, 0x17, 0x98, 0x33, 0xb9, 0x1b, 0x68, - 0xb0, 0x53, 0xf3, 0x4b, 0x1c, 0xc5, 0x7b, 0x81, 0x7a, 0x5f, 0x4d, 0x56, 0xd6, 0xcf, 0xf7, 0x06, - 0x5f, 0x6f, 0x4b, 0xce, 0xfc, 0xf9, 0x79, 0x75, 0xf9, 0x99, 0xbf, 0x7c, 0x58, 0x7d, 0xc3, 0x10, - 0x9d, 0x7e, 0xb6, 0x4f, 0xaf, 0x20, 0x35, 0xf9, 0xbd, 0x6e, 0x39, 0x0d, 0x66, 0x09, 0x45, 0x72, - 0xdb, 0x3b, 0x77, 0x81, 0x48, 0x02, 0xab, 0xa3, 0xd4, 0x94, 0x93, 0xae, 0x6d, 0x7c, 0x7b, 0x96, - 0xaa, 0xc4, 0x3a, 0x53, 0x60, 0x48, 0x47, 0xaa, 0xeb, 0x8c, 0x11, 0x21, 0xbd, 0xd1, 0x32, 0xf9, - 0x20, 0x24, 0x47, 0x0e, 0xe9, 0x24, 0xd5, 0x10, 0xe4, 0x02, 0x13, 0x0a, 0x4c, 0x0d, 0x72, 0x39, - 0x1a, 0xd4, 0x3c, 0x74, 0xaa, 0xee, 0xba, 0x38, 0x02, 0x5f, 0x60, 0xc5, 0x29, 0xa0, 0xcb, 0x28, - 0x75, 0xc5, 0x29, 0x05, 0xa7, 0x8b, 0x36, 0xcf, 0xed, 0x78, 0x15, 0xe6, 0x8b, 0x1e, 0xe4, 0xf9, - 0x85, 0xfd, 0xa2, 0x00, 0xd5, 0x3c, 0xdf, 0x04, 0x9f, 0xcd, 0x12, 0x36, 0x77, 0xe4, 0x3a, 0x91, - 0x51, 0x16, 0x85, 0x48, 0x87, 0xaa, 0x5b, 0x94, 0x19, 0x03, 0x94, 0x7f, 0x2c, 0xce, 0xf2, 0x95, - 0x06, 0x0f, 0x34, 0x94, 0xc7, 0xaa, 0xe9, 0x9d, 0x21, 0x25, 0x3b, 0x0e, 0x68, 0xc6, 0x62, 0xe6, - 0xd6, 0x7d, 0x3f, 0x3c, 0xc2, 0x1d, 0x69, 0xe2, 0xe4, 0x2f, 0xbb, 0xe8, 0xe0, 0xfc, 0xc4, 0x31, - 0xe1, 0x28, 0x49, 0x7c, 0x33, 0xd8, 0x0d, 0x97, 0xfb, 0xab, 0x61, 0xd7, 0xf1, 0x02, 0x29, 0xe4, - 0x45, 0xd3, 0x5e, 0x86, 0xe6, 0x43, 0x5e, 0xce, 0xd0, 0xf2, 0x69, 0xdf, 0xd7, 0xf3, 0xe9, 0x42, - 0x33, 0x3a, 0x36, 0x1f, 0x70, 0x03, 0x0a, 0x48, 0x1f, 0x89, 0x8f, 0x6a, 0x1b, 0x2b, 0xeb, 0x2b, - 0x21, 0xc1, 0xf2, 0xf1, 0x17, 0xb3, 0xe4, 0x86, 0x04, 0xe7, 0x8f, 0x34, 0x52, 0x64, 0x7e, 0xb5, - 0x28, 0x25, 0x64, 0xc2, 0xe9, 0x2b, 0x6e, 0xa9, 0x70, 0x1e, 0x59, 0x22, 0x5c, 0x44, 0xc8, 0x84, - 0x93, 0x01, 0x68, 0x22, 0x9c, 0x47, 0x96, 0x08, 0x17, 0x11, 0xd2, 0x6f, 0x53, 0x70, 0xd8, 0xf4, - 0x98, 0x38, 0x41, 0xbc, 0x8b, 0x09, 0x7c, 0xa0, 0xa2, 0x2f, 0xb4, 0x78, 0x89, 0x7a, 0x21, 0xf5, - 0x4e, 0x19, 0x2c, 0x4d, 0x18, 0xce, 0x34, 0x30, 0x15, 0xc5, 0xc9, 0x55, 0x6d, 0xb8, 0xb8, 0x2b, - 0x91, 0x73, 0x10, 0xf5, 0xe2, 0xee, 0x70, 0xa4, 0xd4, 0x14, 0x27, 0x70, 0xb1, 0x3f, 0xa4, 0x29, - 0x4a, 0xfd, 0xe0, 0xa6, 0x68, 0x30, 0x10, 0x78, 0x96, 0x9c, 0xe4, 0x88, 0xf2, 0x18, 0xee, 0xf9, - 0x49, 0x44, 0xa5, 0x5a, 0x98, 0xbf, 0x54, 0x82, 0xca, 0xac, 0xb7, 0x30, 0x25, 0xfd, 0xd4, 0xfb, - 0x9c, 0x75, 0xa5, 0x7a, 0xa0, 0x75, 0x0d, 0x05, 0xd6, 0x29, 0x3a, 0xbd, 0xb2, 0x8f, 0xdd, 0x83, - 0xcd, 0xf4, 0xcf, 0x57, 0x30, 0xba, 0xa4, 0x7f, 0x63, 0x65, 0xed, 0x57, 0x91, 0xea, 0xe8, 0x32, - 0x22, 0x24, 0xaa, 0xcb, 0x01, 0x3a, 0xef, 0x86, 0xdd, 0xa2, 0x8c, 0x68, 0xf9, 0xb4, 0xb8, 0xd7, - 0x1d, 0x79, 0xfc, 0x3f, 0x01, 0x9b, 0xd6, 0xf7, 0xa7, 0x00, 0x03, 0x90, 0xbf, 0x8d, 0x8c, 0xae, - 0x34, 0x3e, 0xfb, 0xfb, 0xc8, 0xcc, 0x4a, 0xbc, 0x54, 0x03, 0x74, 0xed, 0xc9, 0xad, 0x65, 0x56, - 0xf7, 0x6f, 0x5e, 0xfa, 0x0c, 0x4a, 0x9f, 0x41, 0xe9, 0xce, 0x18, 0xff, 0x53, 0xc1, 0xd2, 0xff, - 0x02, 0x00, 0x00, 0xff, 0xff, 0xfc, 0xc4, 0x74, 0x60, 0x9b, 0x38, 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 - -// GatewayAPIClient is the client API for GatewayAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GatewayAPIClient interface { - // Authenticates a user. - Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) - // WhoAmI returns the information for a user. - WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) - // GenerateAppPassword creates a password with specified scope to be used by - // third-party applications. - GenerateAppPassword(ctx context.Context, in *v1beta14.GenerateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta14.GenerateAppPasswordResponse, error) - // ListAppPasswords lists the application passwords created by a user. - ListAppPasswords(ctx context.Context, in *v1beta14.ListAppPasswordsRequest, opts ...grpc.CallOption) (*v1beta14.ListAppPasswordsResponse, error) - // InvalidateAppPassword invalidates a generated password. - InvalidateAppPassword(ctx context.Context, in *v1beta14.InvalidateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta14.InvalidateAppPasswordResponse, error) - // GetAppPassword retrieves the password information by the combination of username and password. - GetAppPassword(ctx context.Context, in *v1beta14.GetAppPasswordRequest, opts ...grpc.CallOption) (*v1beta14.GetAppPasswordResponse, error) - // Creates a new resource of type container. - // MUST return CODE_FAILED_PRECONDITION if the container - // cannot be created at the specified reference. - CreateContainer(ctx context.Context, in *v1beta13.CreateContainerRequest, opts ...grpc.CallOption) (*v1beta13.CreateContainerResponse, error) - // Creates a new resource of type file. - // MUST return CODE_FAILED_PRECONDITION if the file - // cannot be created at the specified reference. - TouchFile(ctx context.Context, in *v1beta13.TouchFileRequest, opts ...grpc.CallOption) (*v1beta13.TouchFileResponse, error) - // Deletes a resource. - // If a resource specifies the non-empty container (directory, ...), - // then the entire directory is deleted recursively. - // If a resource specifies a reference or symlink type, only the reference is removed (not the target). - // MUST return CODE_NOT_FOUND if the reference does not exist. - Delete(ctx context.Context, in *v1beta13.DeleteRequest, opts ...grpc.CallOption) (*v1beta13.DeleteResponse, error) - // Returns the path reference for - // the provided resource id reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - GetPath(ctx context.Context, in *v1beta13.GetPathRequest, opts ...grpc.CallOption) (*v1beta13.GetPathResponse, error) - // Returns the quota available under the provided - // reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. - GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*v1beta13.GetQuotaResponse, error) - // Initiates the download of a file using an - // out-of-band data transfer mechanism. - InitiateFileDownload(ctx context.Context, in *v1beta13.InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error) - // Initiates the upload of a file using an - // out-of-band data transfer mechanism. - InitiateFileUpload(ctx context.Context, in *v1beta13.InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error) - // Returns a stream of resource informations - // for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListContainerStream(ctx context.Context, in *v1beta13.ListContainerStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListContainerStreamClient, error) - // Returns a list of resource information - // for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListContainer(ctx context.Context, in *v1beta13.ListContainerRequest, opts ...grpc.CallOption) (*v1beta13.ListContainerResponse, error) - // Returns a list of the versions for a resource of - // type file at the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_OK and MUST return an empty list if no versions are available. - // TODO: What code if resource not of type file? - ListFileVersions(ctx context.Context, in *v1beta13.ListFileVersionsRequest, opts ...grpc.CallOption) (*v1beta13.ListFileVersionsResponse, error) - // Returns a stream of recycle items for this storage provider. - ListRecycleStream(ctx context.Context, in *v1beta13.ListRecycleStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListRecycleStreamClient, error) - // Returns a list of recycle items for this storage provider. - // MUST return CODE_OK and MUST return an empty list if no recycle items are available. - ListRecycle(ctx context.Context, in *v1beta13.ListRecycleRequest, opts ...grpc.CallOption) (*v1beta13.ListRecycleResponse, error) - // Moves a resource from one reference to another. - // MUST return CODE_NOT_FOUND if any of the references do not exist. - // MUST return CODE_FAILED_PRECONDITION if the source reference - // cannot be moved to the destination reference. - Move(ctx context.Context, in *v1beta13.MoveRequest, opts ...grpc.CallOption) (*v1beta13.MoveResponse, error) - // Permanently removes a recycle item from the recycle. - // This operation is irrevocable. - // MUST return CODE_NOT_FOUND if the recycle item id does not exist. - PurgeRecycle(ctx context.Context, in *v1beta13.PurgeRecycleRequest, opts ...grpc.CallOption) (*v1beta13.PurgeRecycleResponse, error) - // Restores a file version for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_NOT_FOUND if the version does not exist. - RestoreFileVersion(ctx context.Context, in *v1beta13.RestoreFileVersionRequest, opts ...grpc.CallOption) (*v1beta13.RestoreFileVersionResponse, error) - // Restores a recycle item from the recycle. - // MUST return CODE_NOT_FOUND if the recycle item id does not exist. - // MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty - // and the recycle item cannot be restored to the restore_path. - RestoreRecycleItem(ctx context.Context, in *v1beta13.RestoreRecycleItemRequest, opts ...grpc.CallOption) (*v1beta13.RestoreRecycleItemResponse, error) - // Returns the resource information at the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - Stat(ctx context.Context, in *v1beta13.StatRequest, opts ...grpc.CallOption) (*v1beta13.StatResponse, error) - // Creates a symlink to another resource. - CreateSymlink(ctx context.Context, in *v1beta13.CreateSymlinkRequest, opts ...grpc.CallOption) (*v1beta13.CreateSymlinkResponse, error) - // Sets arbitrary metadata into a storage resource. - // Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo. - SetArbitraryMetadata(ctx context.Context, in *v1beta13.SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta13.SetArbitraryMetadataResponse, error) - // Unsets arbitrary metdata into a storage resource. - // Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo. - UnsetArbitraryMetadata(ctx context.Context, in *v1beta13.UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta13.UnsetArbitraryMetadataResponse, error) - // Locks a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. - // In addition, the implementation MUST ensure atomicity when multiple users - // concurrently attempt to set a lock. - // The caller MUST have write permissions on the resource. - SetLock(ctx context.Context, in *v1beta13.SetLockRequest, opts ...grpc.CallOption) (*v1beta13.SetLockResponse, error) - // Gets the lock metadata of a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. - // The caller MUST have read permissions on the resource. - GetLock(ctx context.Context, in *v1beta13.GetLockRequest, opts ...grpc.CallOption) (*v1beta13.GetLockResponse, error) - // Refreshes the lock metadata of a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is not locked - // or if the caller does not hold the lock. - // The caller MUST have write permissions on the resource. - RefreshLock(ctx context.Context, in *v1beta13.RefreshLockRequest, opts ...grpc.CallOption) (*v1beta13.RefreshLockResponse, error) - // Unlocks a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is not locked - // or if the caller does not hold the lock. - // The caller MUST have write permissions on the resource. - Unlock(ctx context.Context, in *v1beta13.UnlockRequest, opts ...grpc.CallOption) (*v1beta13.UnlockResponse, error) - // Creates the home directory for a user. - CreateHome(ctx context.Context, in *v1beta13.CreateHomeRequest, opts ...grpc.CallOption) (*v1beta13.CreateHomeResponse, error) - // Creates a storage space. - CreateStorageSpace(ctx context.Context, in *v1beta13.CreateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta13.CreateStorageSpaceResponse, error) - // Lists storage spaces. - ListStorageSpaces(ctx context.Context, in *v1beta13.ListStorageSpacesRequest, opts ...grpc.CallOption) (*v1beta13.ListStorageSpacesResponse, error) - // Updates a storage space. - UpdateStorageSpace(ctx context.Context, in *v1beta13.UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta13.UpdateStorageSpaceResponse, error) - // Deletes a storage space. - DeleteStorageSpace(ctx context.Context, in *v1beta13.DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta13.DeleteStorageSpaceResponse, error) - // Returns the App URL and all necessary info to open a resource in an online editor. - // MUST return CODE_NOT_FOUND if the resource does not exist. - OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*v1beta15.OpenInAppResponse, error) - // Creates a new share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_LOCKED if the resource reference already locked. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreateShare(ctx context.Context, in *v1beta16.CreateShareRequest, opts ...grpc.CallOption) (*v1beta16.CreateShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemoveShare(ctx context.Context, in *v1beta16.RemoveShareRequest, opts ...grpc.CallOption) (*v1beta16.RemoveShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetShare(ctx context.Context, in *v1beta16.GetShareRequest, opts ...grpc.CallOption) (*v1beta16.GetShareResponse, error) - // List the shares the authproviderenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListShares(ctx context.Context, in *v1beta16.ListSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateShare(ctx context.Context, in *v1beta16.UpdateShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateShareResponse, error) - // List all shares the authproviderenticated principal has received. - ListReceivedShares(ctx context.Context, in *v1beta16.ListReceivedSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListReceivedSharesResponse, error) - // Update the received share to change the share state or the display name. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateReceivedShare(ctx context.Context, in *v1beta16.UpdateReceivedShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateReceivedShareResponse, error) - // Get the information for the given received share reference. - // MUST return CODE_NOT_FOUND if the received share reference does not exist. - GetReceivedShare(ctx context.Context, in *v1beta16.GetReceivedShareRequest, opts ...grpc.CallOption) (*v1beta16.GetReceivedShareResponse, error) - // Maps the key-value pair. - SetKey(ctx context.Context, in *v1beta17.SetKeyRequest, opts ...grpc.CallOption) (*v1beta17.SetKeyResponse, error) - // Returns the value associated with the - // requested key. - GetKey(ctx context.Context, in *v1beta17.GetKeyRequest, opts ...grpc.CallOption) (*v1beta17.GetKeyResponse, error) - // Creates a new share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreatePublicShare(ctx context.Context, in *v1beta18.CreatePublicShareRequest, opts ...grpc.CallOption) (*v1beta18.CreatePublicShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemovePublicShare(ctx context.Context, in *v1beta18.RemovePublicShareRequest, opts ...grpc.CallOption) (*v1beta18.RemovePublicShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetPublicShare(ctx context.Context, in *v1beta18.GetPublicShareRequest, opts ...grpc.CallOption) (*v1beta18.GetPublicShareResponse, error) - // Gets share information for a single share by its unlisted token. - // MUST return CODE_NOT_FOUND if the share does not exist. - GetPublicShareByToken(ctx context.Context, in *v1beta18.GetPublicShareByTokenRequest, opts ...grpc.CallOption) (*v1beta18.GetPublicShareByTokenResponse, error) - // List the shares the authproviderenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListPublicShares(ctx context.Context, in *v1beta18.ListPublicSharesRequest, opts ...grpc.CallOption) (*v1beta18.ListPublicSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdatePublicShare(ctx context.Context, in *v1beta18.UpdatePublicShareRequest, opts ...grpc.CallOption) (*v1beta18.UpdatePublicShareResponse, error) - // Creates a new ocm share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreateOCMShare(ctx context.Context, in *v1beta19.CreateOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.CreateOCMShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemoveOCMShare(ctx context.Context, in *v1beta19.RemoveOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.RemoveOCMShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetOCMShare(ctx context.Context, in *v1beta19.GetOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.GetOCMShareResponse, error) - // Gets share information for a single share by its unlisted token. - // MUST return CODE_NOT_FOUND if the share does not exist. - GetOCMShareByToken(ctx context.Context, in *v1beta19.GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*v1beta19.GetOCMShareByTokenResponse, error) - // List the shares the authproviderenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListOCMShares(ctx context.Context, in *v1beta19.ListOCMSharesRequest, opts ...grpc.CallOption) (*v1beta19.ListOCMSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateOCMShare(ctx context.Context, in *v1beta19.UpdateOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.UpdateOCMShareResponse, error) - // List all shares the authproviderenticated principal has received. - ListReceivedOCMShares(ctx context.Context, in *v1beta19.ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*v1beta19.ListReceivedOCMSharesResponse, error) - // Update the received share to change the share state or the display name. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateReceivedOCMShare(ctx context.Context, in *v1beta19.UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.UpdateReceivedOCMShareResponse, error) - // Get the information for the given received share reference. - // MUST return CODE_NOT_FOUND if the received share reference does not exist. - GetReceivedOCMShare(ctx context.Context, in *v1beta19.GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.GetReceivedOCMShareResponse, error) - // Returns the app providers that are capable of handling this resource info. - // MUST return CODE_NOT_FOUND if no providers are available. - GetAppProviders(ctx context.Context, in *v1beta110.GetAppProvidersRequest, opts ...grpc.CallOption) (*v1beta110.GetAppProvidersResponse, error) - // Registers a new app provider to the registry. - AddAppProvider(ctx context.Context, in *v1beta110.AddAppProviderRequest, opts ...grpc.CallOption) (*v1beta110.AddAppProviderResponse, error) - // Returns a list of the available app providers known by this registry. - ListAppProviders(ctx context.Context, in *v1beta110.ListAppProvidersRequest, opts ...grpc.CallOption) (*v1beta110.ListAppProvidersResponse, error) - // Returns a list of the supported mime types along with the apps which they can opened with. - ListSupportedMimeTypes(ctx context.Context, in *v1beta110.ListSupportedMimeTypesRequest, opts ...grpc.CallOption) (*v1beta110.ListSupportedMimeTypesResponse, error) - // Returns the default app provider which serves a specified mime type. - GetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta110.GetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta110.GetDefaultAppProviderForMimeTypeResponse, error) - // Sets the default app provider for a specified mime type. - SetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta110.SetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta110.SetDefaultAppProviderForMimeTypeResponse, error) - // Gets the information about a user by the user id. - GetUser(ctx context.Context, in *v1beta12.GetUserRequest, opts ...grpc.CallOption) (*v1beta12.GetUserResponse, error) - // Gets the information about a user based on a specified claim. - GetUserByClaim(ctx context.Context, in *v1beta12.GetUserByClaimRequest, opts ...grpc.CallOption) (*v1beta12.GetUserByClaimResponse, error) - // Gets the groups of a user. - GetUserGroups(ctx context.Context, in *v1beta12.GetUserGroupsRequest, opts ...grpc.CallOption) (*v1beta12.GetUserGroupsResponse, error) - // Finds users by any attribute of the user. - // TODO(labkode): to define the filters that make more sense. - FindUsers(ctx context.Context, in *v1beta12.FindUsersRequest, opts ...grpc.CallOption) (*v1beta12.FindUsersResponse, error) - // Gets the information about a group by the group id. - GetGroup(ctx context.Context, in *v1beta111.GetGroupRequest, opts ...grpc.CallOption) (*v1beta111.GetGroupResponse, error) - // Gets the information about a group based on a specified claim. - GetGroupByClaim(ctx context.Context, in *v1beta111.GetGroupByClaimRequest, opts ...grpc.CallOption) (*v1beta111.GetGroupByClaimResponse, error) - // Gets the members of a group. - GetMembers(ctx context.Context, in *v1beta111.GetMembersRequest, opts ...grpc.CallOption) (*v1beta111.GetMembersResponse, error) - // Tells if the group has a certain member. - HasMember(ctx context.Context, in *v1beta111.HasMemberRequest, opts ...grpc.CallOption) (*v1beta111.HasMemberResponse, error) - // TODO(labkode): to define the filters that make more sense. - // Finds groups whose names match the specified filter. - FindGroups(ctx context.Context, in *v1beta111.FindGroupsRequest, opts ...grpc.CallOption) (*v1beta111.FindGroupsResponse, error) - // Returns a list of the available auth providers known by this registry. - ListAuthProviders(ctx context.Context, in *v1beta112.ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error) - // Returns the home path for the given authenticated user. - // When a user has access to multiple storage providers, one of them is the home. - GetHome(ctx context.Context, in *v1beta13.GetHomeRequest, opts ...grpc.CallOption) (*v1beta13.GetHomeResponse, error) - // Generates a new token for the user with a validity of 24 hours. - GenerateInviteToken(ctx context.Context, in *v1beta113.GenerateInviteTokenRequest, opts ...grpc.CallOption) (*v1beta113.GenerateInviteTokenResponse, error) - // Lists the valid tokens generated by the user. - ListInviteTokens(ctx context.Context, in *v1beta113.ListInviteTokensRequest, opts ...grpc.CallOption) (*v1beta113.ListInviteTokensResponse, error) - // Forwards a received invite to the sync'n'share system provider. - ForwardInvite(ctx context.Context, in *v1beta113.ForwardInviteRequest, opts ...grpc.CallOption) (*v1beta113.ForwardInviteResponse, error) - // Completes an invitation acceptance. - AcceptInvite(ctx context.Context, in *v1beta113.AcceptInviteRequest, opts ...grpc.CallOption) (*v1beta113.AcceptInviteResponse, error) - // Retrieves details about a remote user who has accepted an invite to share. - GetAcceptedUser(ctx context.Context, in *v1beta113.GetAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta113.GetAcceptedUserResponse, error) - // Finds users who accepted invite tokens by their attributes. - FindAcceptedUsers(ctx context.Context, in *v1beta113.FindAcceptedUsersRequest, opts ...grpc.CallOption) (*v1beta113.FindAcceptedUsersResponse, error) - // Delete a previously accepted remote user, that is unfriend that user. - DeleteAcceptedUser(ctx context.Context, in *v1beta113.DeleteAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta113.DeleteAcceptedUserResponse, error) - // Check if a given system provider is registered in the mesh or not. - // MUST return CODE_UNAUTHENTICATED if the system is not registered - IsProviderAllowed(ctx context.Context, in *v1beta114.IsProviderAllowedRequest, opts ...grpc.CallOption) (*v1beta114.IsProviderAllowedResponse, error) - // Get the information of the provider identified by a specific domain. - // MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist. - GetInfoByDomain(ctx context.Context, in *v1beta114.GetInfoByDomainRequest, opts ...grpc.CallOption) (*v1beta114.GetInfoByDomainResponse, error) - // Get the information of all the providers registered in the mesh. - ListAllProviders(ctx context.Context, in *v1beta114.ListAllProvidersRequest, opts ...grpc.CallOption) (*v1beta114.ListAllProvidersResponse, error) - // Creates a new OCM share. - CreateOCMCoreShare(ctx context.Context, in *v1beta115.CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta115.CreateOCMCoreShareResponse, error) - // Updates an OCM share. - UpdateOCMCoreShare(ctx context.Context, in *v1beta115.UpdateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta115.UpdateOCMCoreShareResponse, error) - // Deletes an OCM share. - DeleteOCMCoreShare(ctx context.Context, in *v1beta115.DeleteOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta115.DeleteOCMCoreShareResponse, error) - // Requests creation of a transfer. - CreateTransfer(ctx context.Context, in *v1beta116.CreateTransferRequest, opts ...grpc.CallOption) (*v1beta116.CreateTransferResponse, error) - // Requests a transfer status. - GetTransferStatus(ctx context.Context, in *v1beta116.GetTransferStatusRequest, opts ...grpc.CallOption) (*v1beta116.GetTransferStatusResponse, error) - // Requests to cancel a transfer. - CancelTransfer(ctx context.Context, in *v1beta116.CancelTransferRequest, opts ...grpc.CallOption) (*v1beta116.CancelTransferResponse, error) - // Requests a list of transfers received by the authenticated principle. - ListTransfers(ctx context.Context, in *v1beta116.ListTransfersRequest, opts ...grpc.CallOption) (*v1beta116.ListTransfersResponse, error) - // Requests retrying a transfer. - RetryTransfer(ctx context.Context, in *v1beta116.RetryTransferRequest, opts ...grpc.CallOption) (*v1beta116.RetryTransferResponse, error) - // CheckPermission checks if a user or group has a certain permission. - CheckPermission(ctx context.Context, in *v1beta117.CheckPermissionRequest, opts ...grpc.CallOption) (*v1beta117.CheckPermissionResponse, error) -} - -type gatewayAPIClient struct { - cc *grpc.ClientConn -} - -func NewGatewayAPIClient(cc *grpc.ClientConn) GatewayAPIClient { - return &gatewayAPIClient{cc} -} - -func (c *gatewayAPIClient) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) { - out := new(AuthenticateResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/Authenticate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) { - out := new(WhoAmIResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/WhoAmI", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GenerateAppPassword(ctx context.Context, in *v1beta14.GenerateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta14.GenerateAppPasswordResponse, error) { - out := new(v1beta14.GenerateAppPasswordResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GenerateAppPassword", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListAppPasswords(ctx context.Context, in *v1beta14.ListAppPasswordsRequest, opts ...grpc.CallOption) (*v1beta14.ListAppPasswordsResponse, error) { - out := new(v1beta14.ListAppPasswordsResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListAppPasswords", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) InvalidateAppPassword(ctx context.Context, in *v1beta14.InvalidateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta14.InvalidateAppPasswordResponse, error) { - out := new(v1beta14.InvalidateAppPasswordResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/InvalidateAppPassword", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetAppPassword(ctx context.Context, in *v1beta14.GetAppPasswordRequest, opts ...grpc.CallOption) (*v1beta14.GetAppPasswordResponse, error) { - out := new(v1beta14.GetAppPasswordResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetAppPassword", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) CreateContainer(ctx context.Context, in *v1beta13.CreateContainerRequest, opts ...grpc.CallOption) (*v1beta13.CreateContainerResponse, error) { - out := new(v1beta13.CreateContainerResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreateContainer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) TouchFile(ctx context.Context, in *v1beta13.TouchFileRequest, opts ...grpc.CallOption) (*v1beta13.TouchFileResponse, error) { - out := new(v1beta13.TouchFileResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/TouchFile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) Delete(ctx context.Context, in *v1beta13.DeleteRequest, opts ...grpc.CallOption) (*v1beta13.DeleteResponse, error) { - out := new(v1beta13.DeleteResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetPath(ctx context.Context, in *v1beta13.GetPathRequest, opts ...grpc.CallOption) (*v1beta13.GetPathResponse, error) { - out := new(v1beta13.GetPathResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetPath", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*v1beta13.GetQuotaResponse, error) { - out := new(v1beta13.GetQuotaResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetQuota", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) InitiateFileDownload(ctx context.Context, in *v1beta13.InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error) { - out := new(InitiateFileDownloadResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/InitiateFileDownload", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +type ListExistingReceivedSharesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (c *gatewayAPIClient) InitiateFileUpload(ctx context.Context, in *v1beta13.InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error) { - out := new(InitiateFileUploadResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/InitiateFileUpload", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil + // REQUIRED. + // The response status. + Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + // The shares encapsulating both the share metadata and the storage metadata. + Shares []*SharedResourceInfo `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"` + // OPTIONAL. + // This field represents the pagination token to retrieve the next page of results. + // If the value is "", it means no further results for the request. + // see https://cloud.google.com/apis/design/design_patterns#list_pagination + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (c *gatewayAPIClient) ListContainerStream(ctx context.Context, in *v1beta13.ListContainerStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListContainerStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_GatewayAPI_serviceDesc.Streams[0], "/cs3.gateway.v1beta1.GatewayAPI/ListContainerStream", opts...) - if err != nil { - return nil, err - } - x := &gatewayAPIListContainerStreamClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err +func (x *ListExistingReceivedSharesResponse) Reset() { + *x = ListExistingReceivedSharesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return x, nil } -type GatewayAPI_ListContainerStreamClient interface { - Recv() (*v1beta13.ListContainerStreamResponse, error) - grpc.ClientStream +func (x *ListExistingReceivedSharesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -type gatewayAPIListContainerStreamClient struct { - grpc.ClientStream -} +func (*ListExistingReceivedSharesResponse) ProtoMessage() {} -func (x *gatewayAPIListContainerStreamClient) Recv() (*v1beta13.ListContainerStreamResponse, error) { - m := new(v1beta13.ListContainerStreamResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *ListExistingReceivedSharesResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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 m, nil + return mi.MessageOf(x) } -func (c *gatewayAPIClient) ListContainer(ctx context.Context, in *v1beta13.ListContainerRequest, opts ...grpc.CallOption) (*v1beta13.ListContainerResponse, error) { - out := new(v1beta13.ListContainerResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListContainer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// Deprecated: Use ListExistingReceivedSharesResponse.ProtoReflect.Descriptor instead. +func (*ListExistingReceivedSharesResponse) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{8} } -func (c *gatewayAPIClient) ListFileVersions(ctx context.Context, in *v1beta13.ListFileVersionsRequest, opts ...grpc.CallOption) (*v1beta13.ListFileVersionsResponse, error) { - out := new(v1beta13.ListFileVersionsResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListFileVersions", in, out, opts...) - if err != nil { - return nil, err +func (x *ListExistingReceivedSharesResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } - return out, nil + return nil } -func (c *gatewayAPIClient) ListRecycleStream(ctx context.Context, in *v1beta13.ListRecycleStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListRecycleStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_GatewayAPI_serviceDesc.Streams[1], "/cs3.gateway.v1beta1.GatewayAPI/ListRecycleStream", opts...) - if err != nil { - return nil, err - } - x := &gatewayAPIListRecycleStreamClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err +func (x *ListExistingReceivedSharesResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GatewayAPI_ListRecycleStreamClient interface { - Recv() (*v1beta13.ListRecycleStreamResponse, error) - grpc.ClientStream -} - -type gatewayAPIListRecycleStreamClient struct { - grpc.ClientStream + return nil } -func (x *gatewayAPIListRecycleStreamClient) Recv() (*v1beta13.ListRecycleStreamResponse, error) { - m := new(v1beta13.ListRecycleStreamResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *ListExistingReceivedSharesResponse) GetShares() []*SharedResourceInfo { + if x != nil { + return x.Shares } - return m, nil + return nil } -func (c *gatewayAPIClient) ListRecycle(ctx context.Context, in *v1beta13.ListRecycleRequest, opts ...grpc.CallOption) (*v1beta13.ListRecycleResponse, error) { - out := new(v1beta13.ListRecycleResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListRecycle", in, out, opts...) - if err != nil { - return nil, err +func (x *ListExistingReceivedSharesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } - return out, nil + return "" } -func (c *gatewayAPIClient) Move(ctx context.Context, in *v1beta13.MoveRequest, opts ...grpc.CallOption) (*v1beta13.MoveResponse, error) { - out := new(v1beta13.MoveResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/Move", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +type OpenInAppRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (c *gatewayAPIClient) PurgeRecycle(ctx context.Context, in *v1beta13.PurgeRecycleRequest, opts ...grpc.CallOption) (*v1beta13.PurgeRecycleResponse, error) { - out := new(v1beta13.PurgeRecycleResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/PurgeRecycle", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + // The resource reference. If a path is given, it will be resolved via Stat() to a ResourceInfo + // in case a call to the WOPI server is to be issued (cf. the provider grpc message) + Ref *v1beta13.Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` + ViewMode OpenInAppRequest_ViewMode `protobuf:"varint,3,opt,name=view_mode,json=viewMode,proto3,enum=cs3.gateway.v1beta1.OpenInAppRequest_ViewMode" json:"view_mode,omitempty"` + // OPTIONAL. + // A reference to the application to be used to open the resource, should the + // default inferred from the resource's mimetype be overridden by user's choice. + // If the targeted resource is a directory, this parameter is required and + // in its absence the implementation MUST return INVALID_ARGUMENT. + App string `protobuf:"bytes,4,opt,name=app,proto3" json:"app,omitempty"` + // OPTIONAL. + // A lock_id: should the reference be locked and the lock type be LOCK_TYPE_EXCL, + // the stored lock_id MUST be equal to the given value. + LockId string `protobuf:"bytes,5,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (c *gatewayAPIClient) RestoreFileVersion(ctx context.Context, in *v1beta13.RestoreFileVersionRequest, opts ...grpc.CallOption) (*v1beta13.RestoreFileVersionResponse, error) { - out := new(v1beta13.RestoreFileVersionResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/RestoreFileVersion", in, out, opts...) - if err != nil { - return nil, err +func (x *OpenInAppRequest) Reset() { + *x = OpenInAppRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -func (c *gatewayAPIClient) RestoreRecycleItem(ctx context.Context, in *v1beta13.RestoreRecycleItemRequest, opts ...grpc.CallOption) (*v1beta13.RestoreRecycleItemResponse, error) { - out := new(v1beta13.RestoreRecycleItemResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/RestoreRecycleItem", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (x *OpenInAppRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *gatewayAPIClient) Stat(ctx context.Context, in *v1beta13.StatRequest, opts ...grpc.CallOption) (*v1beta13.StatResponse, error) { - out := new(v1beta13.StatResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/Stat", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func (*OpenInAppRequest) ProtoMessage() {} -func (c *gatewayAPIClient) CreateSymlink(ctx context.Context, in *v1beta13.CreateSymlinkRequest, opts ...grpc.CallOption) (*v1beta13.CreateSymlinkResponse, error) { - out := new(v1beta13.CreateSymlinkResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreateSymlink", in, out, opts...) - if err != nil { - return nil, err +func (x *OpenInAppRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_gateway_api_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 out, nil + return mi.MessageOf(x) } -func (c *gatewayAPIClient) SetArbitraryMetadata(ctx context.Context, in *v1beta13.SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta13.SetArbitraryMetadataResponse, error) { - out := new(v1beta13.SetArbitraryMetadataResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/SetArbitraryMetadata", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// Deprecated: Use OpenInAppRequest.ProtoReflect.Descriptor instead. +func (*OpenInAppRequest) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP(), []int{9} } -func (c *gatewayAPIClient) UnsetArbitraryMetadata(ctx context.Context, in *v1beta13.UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta13.UnsetArbitraryMetadataResponse, error) { - out := new(v1beta13.UnsetArbitraryMetadataResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/UnsetArbitraryMetadata", in, out, opts...) - if err != nil { - return nil, err +func (x *OpenInAppRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - return out, nil + return nil } -func (c *gatewayAPIClient) SetLock(ctx context.Context, in *v1beta13.SetLockRequest, opts ...grpc.CallOption) (*v1beta13.SetLockResponse, error) { - out := new(v1beta13.SetLockResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/SetLock", in, out, opts...) - if err != nil { - return nil, err +func (x *OpenInAppRequest) GetRef() *v1beta13.Reference { + if x != nil { + return x.Ref } - return out, nil + return nil } -func (c *gatewayAPIClient) GetLock(ctx context.Context, in *v1beta13.GetLockRequest, opts ...grpc.CallOption) (*v1beta13.GetLockResponse, error) { - out := new(v1beta13.GetLockResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetLock", in, out, opts...) - if err != nil { - return nil, err +func (x *OpenInAppRequest) GetViewMode() OpenInAppRequest_ViewMode { + if x != nil { + return x.ViewMode } - return out, nil + return OpenInAppRequest_VIEW_MODE_INVALID } -func (c *gatewayAPIClient) RefreshLock(ctx context.Context, in *v1beta13.RefreshLockRequest, opts ...grpc.CallOption) (*v1beta13.RefreshLockResponse, error) { - out := new(v1beta13.RefreshLockResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/RefreshLock", in, out, opts...) - if err != nil { - return nil, err +func (x *OpenInAppRequest) GetApp() string { + if x != nil { + return x.App } - return out, nil + return "" } -func (c *gatewayAPIClient) Unlock(ctx context.Context, in *v1beta13.UnlockRequest, opts ...grpc.CallOption) (*v1beta13.UnlockResponse, error) { - out := new(v1beta13.UnlockResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/Unlock", in, out, opts...) - if err != nil { - return nil, err +func (x *OpenInAppRequest) GetLockId() string { + if x != nil { + return x.LockId } - return out, nil + return "" } -func (c *gatewayAPIClient) CreateHome(ctx context.Context, in *v1beta13.CreateHomeRequest, opts ...grpc.CallOption) (*v1beta13.CreateHomeResponse, error) { - out := new(v1beta13.CreateHomeResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreateHome", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +var File_cs3_gateway_v1beta1_gateway_api_proto protoreflect.FileDescriptor + +var file_cs3_gateway_v1beta1_gateway_api_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x63, 0x73, 0x33, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x2b, 0x63, 0x73, + 0x33, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x63, 0x73, 0x33, 0x2f, 0x61, + 0x70, 0x70, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x73, + 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x63, 0x73, 0x33, 0x2f, + 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2a, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x73, 0x33, + 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6f, 0x63, 0x6d, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x6f, + 0x63, 0x6d, 0x2f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x2b, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2d, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, + 0x63, 0x73, 0x33, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, + 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x39, 0x63, 0x73, 0x33, + 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, + 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x25, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, + 0x6f, 0x63, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6f, 0x63, 0x6d, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x63, 0x73, 0x33, 0x2f, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x78, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x78, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x13, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x22, 0xc5, 0x01, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x33, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x58, 0x0a, 0x0d, + 0x57, 0x68, 0x6f, 0x41, 0x6d, 0x49, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa9, 0x01, 0x0a, 0x0e, 0x57, 0x68, 0x6f, 0x41, 0x6d, + 0x49, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x33, 0x0a, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x22, 0x7f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, + 0x72, 0x65, 0x66, 0x22, 0xcb, 0x01, 0x0a, 0x1c, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, + 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x47, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x73, 0x22, 0xc7, 0x01, 0x0a, 0x1a, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, + 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, + 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x22, 0x95, 0x01, 0x0a, 0x19, + 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x22, 0xf1, 0x01, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x69, 0x73, + 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3f, + 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, + 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xff, 0x02, 0x0a, 0x10, 0x4f, 0x70, 0x65, 0x6e, + 0x49, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x4b, 0x0a, 0x09, 0x76, 0x69, + 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x76, + 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x70, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x70, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x64, 0x22, 0x84, 0x01, 0x0a, 0x08, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x12, + 0x15, 0x0a, 0x11, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x56, + 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, + 0x4f, 0x44, 0x45, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x12, + 0x17, 0x0a, 0x13, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x41, + 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x56, 0x49, 0x45, 0x57, + 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, + 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, + 0x50, 0x52, 0x45, 0x56, 0x49, 0x45, 0x57, 0x10, 0x04, 0x32, 0xd3, 0x5c, 0x0a, 0x0a, 0x47, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x41, 0x50, 0x49, 0x12, 0x63, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x68, + 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x67, + 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, + 0x06, 0x57, 0x68, 0x6f, 0x41, 0x6d, 0x49, 0x12, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x68, + 0x6f, 0x41, 0x6d, 0x49, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x57, 0x68, 0x6f, 0x41, 0x6d, 0x49, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x8c, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x39, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, + 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x83, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x73, 0x12, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, + 0x77, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x92, 0x01, 0x0a, 0x15, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, + 0x3b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x0e, 0x47, 0x65, + 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x34, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7e, 0x0a, 0x0f, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x34, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x09, 0x54, 0x6f, 0x75, + 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x12, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x07, + 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, + 0x12, 0x24, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x69, 0x74, 0x69, + 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, + 0x39, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, + 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, + 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7e, 0x0a, + 0x12, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x12, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c, 0x01, + 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x39, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x78, 0x0a, 0x0d, + 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46, + 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, + 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x12, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, + 0x63, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x30, 0x01, 0x12, 0x72, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, + 0x6c, 0x65, 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x04, 0x4d, 0x6f, 0x76, 0x65, 0x12, + 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, + 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x67, 0x65, 0x52, + 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x52, 0x65, 0x63, 0x79, 0x63, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x52, 0x65, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, + 0x0a, 0x12, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x74, 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x74, + 0x6f, 0x72, 0x65, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x37, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5d, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x78, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, + 0x6b, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69, + 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x14, 0x53, + 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x39, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, + 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x93, 0x01, 0x0a, 0x16, 0x55, + 0x6e, 0x73, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, + 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x66, 0x0a, 0x07, 0x53, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x2c, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x6f, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4c, + 0x6f, 0x63, 0x6b, 0x12, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x72, 0x0a, 0x0b, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x12, + 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x06, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2b, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x6e, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x6e, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0a, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6d, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x12, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x36, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x12, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x37, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x5f, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x12, 0x25, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x7c, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, + 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, + 0x0a, 0x0b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x35, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, + 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, 0x08, + 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, + 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x79, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, + 0x34, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x0b, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x35, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, + 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x91, 0x01, 0x0a, 0x12, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x73, 0x12, 0x3c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x3d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x93, + 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x3c, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, + 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x94, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x3d, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, + 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, + 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x10, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x12, 0x3a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, + 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, + 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x06, 0x53, 0x65, 0x74, + 0x4b, 0x65, 0x79, 0x12, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, + 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x26, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x7c, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, + 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, 0x0e, 0x47, + 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2f, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, + 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x88, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x36, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x10, 0x4c, + 0x69, 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, + 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, + 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, + 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, + 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x0e, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0b, 0x47, 0x65, + 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, + 0x12, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, + 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, + 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x89, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x36, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x13, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x12, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, + 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, + 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x73, 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x10, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, + 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, + 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x53, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x12, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, + 0x74, 0x65, 0x64, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa9, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, + 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, + 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, + 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0xa9, 0x01, 0x0a, 0x20, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, + 0x70, 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, 0x70, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x70, + 0x70, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4d, 0x69, 0x6d, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x07, + 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, + 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x09, 0x46, 0x69, 0x6e, + 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x65, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2b, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x32, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x12, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x68, 0x0a, 0x09, 0x48, 0x61, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x4d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0a, 0x46, + 0x69, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, + 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x33, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, + 0x74, 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, + 0x68, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x66, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x12, 0x2c, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x6f, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7e, 0x0a, 0x13, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x10, 0x4c, 0x69, + 0x73, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x2f, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x6c, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x69, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, + 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x47, 0x65, + 0x74, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2e, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, + 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, + 0x65, 0x72, 0x73, 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, + 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x31, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x11, 0x49, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, + 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, + 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x44, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x10, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, + 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, + 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2f, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, + 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x77, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2f, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, + 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x43, 0x4d, + 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5f, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x68, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0e, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x25, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, + 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x12, 0x24, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0d, 0x52, + 0x65, 0x74, 0x72, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, + 0x74, 0x72, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x0f, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, + 0xd9, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0f, 0x47, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, + 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, + 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x3b, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, + 0x02, 0x03, 0x43, 0x47, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x73, 0x33, 0x2e, 0x47, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x13, 0x43, 0x73, + 0x33, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x73, 0x33, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5c, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x47, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_gateway_v1beta1_gateway_api_proto_rawDescOnce sync.Once + file_cs3_gateway_v1beta1_gateway_api_proto_rawDescData = file_cs3_gateway_v1beta1_gateway_api_proto_rawDesc +) -func (c *gatewayAPIClient) CreateStorageSpace(ctx context.Context, in *v1beta13.CreateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta13.CreateStorageSpaceResponse, error) { - out := new(v1beta13.CreateStorageSpaceResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreateStorageSpace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListStorageSpaces(ctx context.Context, in *v1beta13.ListStorageSpacesRequest, opts ...grpc.CallOption) (*v1beta13.ListStorageSpacesResponse, error) { - out := new(v1beta13.ListStorageSpacesResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListStorageSpaces", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) UpdateStorageSpace(ctx context.Context, in *v1beta13.UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta13.UpdateStorageSpaceResponse, error) { - out := new(v1beta13.UpdateStorageSpaceResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/UpdateStorageSpace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) DeleteStorageSpace(ctx context.Context, in *v1beta13.DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta13.DeleteStorageSpaceResponse, error) { - out := new(v1beta13.DeleteStorageSpaceResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/DeleteStorageSpace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*v1beta15.OpenInAppResponse, error) { - out := new(v1beta15.OpenInAppResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/OpenInApp", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) CreateShare(ctx context.Context, in *v1beta16.CreateShareRequest, opts ...grpc.CallOption) (*v1beta16.CreateShareResponse, error) { - out := new(v1beta16.CreateShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreateShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) RemoveShare(ctx context.Context, in *v1beta16.RemoveShareRequest, opts ...grpc.CallOption) (*v1beta16.RemoveShareResponse, error) { - out := new(v1beta16.RemoveShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/RemoveShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetShare(ctx context.Context, in *v1beta16.GetShareRequest, opts ...grpc.CallOption) (*v1beta16.GetShareResponse, error) { - out := new(v1beta16.GetShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListShares(ctx context.Context, in *v1beta16.ListSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListSharesResponse, error) { - out := new(v1beta16.ListSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListShares", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) UpdateShare(ctx context.Context, in *v1beta16.UpdateShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateShareResponse, error) { - out := new(v1beta16.UpdateShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/UpdateShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListReceivedShares(ctx context.Context, in *v1beta16.ListReceivedSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListReceivedSharesResponse, error) { - out := new(v1beta16.ListReceivedSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListReceivedShares", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) UpdateReceivedShare(ctx context.Context, in *v1beta16.UpdateReceivedShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateReceivedShareResponse, error) { - out := new(v1beta16.UpdateReceivedShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/UpdateReceivedShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetReceivedShare(ctx context.Context, in *v1beta16.GetReceivedShareRequest, opts ...grpc.CallOption) (*v1beta16.GetReceivedShareResponse, error) { - out := new(v1beta16.GetReceivedShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetReceivedShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) SetKey(ctx context.Context, in *v1beta17.SetKeyRequest, opts ...grpc.CallOption) (*v1beta17.SetKeyResponse, error) { - out := new(v1beta17.SetKeyResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/SetKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetKey(ctx context.Context, in *v1beta17.GetKeyRequest, opts ...grpc.CallOption) (*v1beta17.GetKeyResponse, error) { - out := new(v1beta17.GetKeyResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) CreatePublicShare(ctx context.Context, in *v1beta18.CreatePublicShareRequest, opts ...grpc.CallOption) (*v1beta18.CreatePublicShareResponse, error) { - out := new(v1beta18.CreatePublicShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreatePublicShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) RemovePublicShare(ctx context.Context, in *v1beta18.RemovePublicShareRequest, opts ...grpc.CallOption) (*v1beta18.RemovePublicShareResponse, error) { - out := new(v1beta18.RemovePublicShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/RemovePublicShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetPublicShare(ctx context.Context, in *v1beta18.GetPublicShareRequest, opts ...grpc.CallOption) (*v1beta18.GetPublicShareResponse, error) { - out := new(v1beta18.GetPublicShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetPublicShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetPublicShareByToken(ctx context.Context, in *v1beta18.GetPublicShareByTokenRequest, opts ...grpc.CallOption) (*v1beta18.GetPublicShareByTokenResponse, error) { - out := new(v1beta18.GetPublicShareByTokenResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetPublicShareByToken", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListPublicShares(ctx context.Context, in *v1beta18.ListPublicSharesRequest, opts ...grpc.CallOption) (*v1beta18.ListPublicSharesResponse, error) { - out := new(v1beta18.ListPublicSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListPublicShares", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) UpdatePublicShare(ctx context.Context, in *v1beta18.UpdatePublicShareRequest, opts ...grpc.CallOption) (*v1beta18.UpdatePublicShareResponse, error) { - out := new(v1beta18.UpdatePublicShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/UpdatePublicShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) CreateOCMShare(ctx context.Context, in *v1beta19.CreateOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.CreateOCMShareResponse, error) { - out := new(v1beta19.CreateOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreateOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) RemoveOCMShare(ctx context.Context, in *v1beta19.RemoveOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.RemoveOCMShareResponse, error) { - out := new(v1beta19.RemoveOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/RemoveOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetOCMShare(ctx context.Context, in *v1beta19.GetOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.GetOCMShareResponse, error) { - out := new(v1beta19.GetOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetOCMShareByToken(ctx context.Context, in *v1beta19.GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*v1beta19.GetOCMShareByTokenResponse, error) { - out := new(v1beta19.GetOCMShareByTokenResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetOCMShareByToken", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListOCMShares(ctx context.Context, in *v1beta19.ListOCMSharesRequest, opts ...grpc.CallOption) (*v1beta19.ListOCMSharesResponse, error) { - out := new(v1beta19.ListOCMSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListOCMShares", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) UpdateOCMShare(ctx context.Context, in *v1beta19.UpdateOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.UpdateOCMShareResponse, error) { - out := new(v1beta19.UpdateOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListReceivedOCMShares(ctx context.Context, in *v1beta19.ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*v1beta19.ListReceivedOCMSharesResponse, error) { - out := new(v1beta19.ListReceivedOCMSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListReceivedOCMShares", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) UpdateReceivedOCMShare(ctx context.Context, in *v1beta19.UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.UpdateReceivedOCMShareResponse, error) { - out := new(v1beta19.UpdateReceivedOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/UpdateReceivedOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetReceivedOCMShare(ctx context.Context, in *v1beta19.GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta19.GetReceivedOCMShareResponse, error) { - out := new(v1beta19.GetReceivedOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetReceivedOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetAppProviders(ctx context.Context, in *v1beta110.GetAppProvidersRequest, opts ...grpc.CallOption) (*v1beta110.GetAppProvidersResponse, error) { - out := new(v1beta110.GetAppProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetAppProviders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) AddAppProvider(ctx context.Context, in *v1beta110.AddAppProviderRequest, opts ...grpc.CallOption) (*v1beta110.AddAppProviderResponse, error) { - out := new(v1beta110.AddAppProviderResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/AddAppProvider", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListAppProviders(ctx context.Context, in *v1beta110.ListAppProvidersRequest, opts ...grpc.CallOption) (*v1beta110.ListAppProvidersResponse, error) { - out := new(v1beta110.ListAppProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListAppProviders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListSupportedMimeTypes(ctx context.Context, in *v1beta110.ListSupportedMimeTypesRequest, opts ...grpc.CallOption) (*v1beta110.ListSupportedMimeTypesResponse, error) { - out := new(v1beta110.ListSupportedMimeTypesResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListSupportedMimeTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta110.GetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta110.GetDefaultAppProviderForMimeTypeResponse, error) { - out := new(v1beta110.GetDefaultAppProviderForMimeTypeResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetDefaultAppProviderForMimeType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) SetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta110.SetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta110.SetDefaultAppProviderForMimeTypeResponse, error) { - out := new(v1beta110.SetDefaultAppProviderForMimeTypeResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/SetDefaultAppProviderForMimeType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetUser(ctx context.Context, in *v1beta12.GetUserRequest, opts ...grpc.CallOption) (*v1beta12.GetUserResponse, error) { - out := new(v1beta12.GetUserResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetUserByClaim(ctx context.Context, in *v1beta12.GetUserByClaimRequest, opts ...grpc.CallOption) (*v1beta12.GetUserByClaimResponse, error) { - out := new(v1beta12.GetUserByClaimResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetUserByClaim", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetUserGroups(ctx context.Context, in *v1beta12.GetUserGroupsRequest, opts ...grpc.CallOption) (*v1beta12.GetUserGroupsResponse, error) { - out := new(v1beta12.GetUserGroupsResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetUserGroups", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) FindUsers(ctx context.Context, in *v1beta12.FindUsersRequest, opts ...grpc.CallOption) (*v1beta12.FindUsersResponse, error) { - out := new(v1beta12.FindUsersResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/FindUsers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetGroup(ctx context.Context, in *v1beta111.GetGroupRequest, opts ...grpc.CallOption) (*v1beta111.GetGroupResponse, error) { - out := new(v1beta111.GetGroupResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetGroupByClaim(ctx context.Context, in *v1beta111.GetGroupByClaimRequest, opts ...grpc.CallOption) (*v1beta111.GetGroupByClaimResponse, error) { - out := new(v1beta111.GetGroupByClaimResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetGroupByClaim", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetMembers(ctx context.Context, in *v1beta111.GetMembersRequest, opts ...grpc.CallOption) (*v1beta111.GetMembersResponse, error) { - out := new(v1beta111.GetMembersResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetMembers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) HasMember(ctx context.Context, in *v1beta111.HasMemberRequest, opts ...grpc.CallOption) (*v1beta111.HasMemberResponse, error) { - out := new(v1beta111.HasMemberResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/HasMember", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) FindGroups(ctx context.Context, in *v1beta111.FindGroupsRequest, opts ...grpc.CallOption) (*v1beta111.FindGroupsResponse, error) { - out := new(v1beta111.FindGroupsResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/FindGroups", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListAuthProviders(ctx context.Context, in *v1beta112.ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error) { - out := new(ListAuthProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListAuthProviders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetHome(ctx context.Context, in *v1beta13.GetHomeRequest, opts ...grpc.CallOption) (*v1beta13.GetHomeResponse, error) { - out := new(v1beta13.GetHomeResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetHome", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GenerateInviteToken(ctx context.Context, in *v1beta113.GenerateInviteTokenRequest, opts ...grpc.CallOption) (*v1beta113.GenerateInviteTokenResponse, error) { - out := new(v1beta113.GenerateInviteTokenResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GenerateInviteToken", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListInviteTokens(ctx context.Context, in *v1beta113.ListInviteTokensRequest, opts ...grpc.CallOption) (*v1beta113.ListInviteTokensResponse, error) { - out := new(v1beta113.ListInviteTokensResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListInviteTokens", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ForwardInvite(ctx context.Context, in *v1beta113.ForwardInviteRequest, opts ...grpc.CallOption) (*v1beta113.ForwardInviteResponse, error) { - out := new(v1beta113.ForwardInviteResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ForwardInvite", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) AcceptInvite(ctx context.Context, in *v1beta113.AcceptInviteRequest, opts ...grpc.CallOption) (*v1beta113.AcceptInviteResponse, error) { - out := new(v1beta113.AcceptInviteResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/AcceptInvite", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetAcceptedUser(ctx context.Context, in *v1beta113.GetAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta113.GetAcceptedUserResponse, error) { - out := new(v1beta113.GetAcceptedUserResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetAcceptedUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) FindAcceptedUsers(ctx context.Context, in *v1beta113.FindAcceptedUsersRequest, opts ...grpc.CallOption) (*v1beta113.FindAcceptedUsersResponse, error) { - out := new(v1beta113.FindAcceptedUsersResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/FindAcceptedUsers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) DeleteAcceptedUser(ctx context.Context, in *v1beta113.DeleteAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta113.DeleteAcceptedUserResponse, error) { - out := new(v1beta113.DeleteAcceptedUserResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/DeleteAcceptedUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) IsProviderAllowed(ctx context.Context, in *v1beta114.IsProviderAllowedRequest, opts ...grpc.CallOption) (*v1beta114.IsProviderAllowedResponse, error) { - out := new(v1beta114.IsProviderAllowedResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/IsProviderAllowed", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetInfoByDomain(ctx context.Context, in *v1beta114.GetInfoByDomainRequest, opts ...grpc.CallOption) (*v1beta114.GetInfoByDomainResponse, error) { - out := new(v1beta114.GetInfoByDomainResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetInfoByDomain", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListAllProviders(ctx context.Context, in *v1beta114.ListAllProvidersRequest, opts ...grpc.CallOption) (*v1beta114.ListAllProvidersResponse, error) { - out := new(v1beta114.ListAllProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListAllProviders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) CreateOCMCoreShare(ctx context.Context, in *v1beta115.CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta115.CreateOCMCoreShareResponse, error) { - out := new(v1beta115.CreateOCMCoreShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreateOCMCoreShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) UpdateOCMCoreShare(ctx context.Context, in *v1beta115.UpdateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta115.UpdateOCMCoreShareResponse, error) { - out := new(v1beta115.UpdateOCMCoreShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMCoreShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) DeleteOCMCoreShare(ctx context.Context, in *v1beta115.DeleteOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta115.DeleteOCMCoreShareResponse, error) { - out := new(v1beta115.DeleteOCMCoreShareResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/DeleteOCMCoreShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) CreateTransfer(ctx context.Context, in *v1beta116.CreateTransferRequest, opts ...grpc.CallOption) (*v1beta116.CreateTransferResponse, error) { - out := new(v1beta116.CreateTransferResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreateTransfer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) GetTransferStatus(ctx context.Context, in *v1beta116.GetTransferStatusRequest, opts ...grpc.CallOption) (*v1beta116.GetTransferStatusResponse, error) { - out := new(v1beta116.GetTransferStatusResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/GetTransferStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) CancelTransfer(ctx context.Context, in *v1beta116.CancelTransferRequest, opts ...grpc.CallOption) (*v1beta116.CancelTransferResponse, error) { - out := new(v1beta116.CancelTransferResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CancelTransfer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) ListTransfers(ctx context.Context, in *v1beta116.ListTransfersRequest, opts ...grpc.CallOption) (*v1beta116.ListTransfersResponse, error) { - out := new(v1beta116.ListTransfersResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/ListTransfers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) RetryTransfer(ctx context.Context, in *v1beta116.RetryTransferRequest, opts ...grpc.CallOption) (*v1beta116.RetryTransferResponse, error) { - out := new(v1beta116.RetryTransferResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/RetryTransfer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gatewayAPIClient) CheckPermission(ctx context.Context, in *v1beta117.CheckPermissionRequest, opts ...grpc.CallOption) (*v1beta117.CheckPermissionResponse, error) { - out := new(v1beta117.CheckPermissionResponse) - err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CheckPermission", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GatewayAPIServer is the server API for GatewayAPI service. -type GatewayAPIServer interface { - // Authenticates a user. - Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) - // WhoAmI returns the information for a user. - WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error) - // GenerateAppPassword creates a password with specified scope to be used by - // third-party applications. - GenerateAppPassword(context.Context, *v1beta14.GenerateAppPasswordRequest) (*v1beta14.GenerateAppPasswordResponse, error) - // ListAppPasswords lists the application passwords created by a user. - ListAppPasswords(context.Context, *v1beta14.ListAppPasswordsRequest) (*v1beta14.ListAppPasswordsResponse, error) - // InvalidateAppPassword invalidates a generated password. - InvalidateAppPassword(context.Context, *v1beta14.InvalidateAppPasswordRequest) (*v1beta14.InvalidateAppPasswordResponse, error) - // GetAppPassword retrieves the password information by the combination of username and password. - GetAppPassword(context.Context, *v1beta14.GetAppPasswordRequest) (*v1beta14.GetAppPasswordResponse, error) - // Creates a new resource of type container. - // MUST return CODE_FAILED_PRECONDITION if the container - // cannot be created at the specified reference. - CreateContainer(context.Context, *v1beta13.CreateContainerRequest) (*v1beta13.CreateContainerResponse, error) - // Creates a new resource of type file. - // MUST return CODE_FAILED_PRECONDITION if the file - // cannot be created at the specified reference. - TouchFile(context.Context, *v1beta13.TouchFileRequest) (*v1beta13.TouchFileResponse, error) - // Deletes a resource. - // If a resource specifies the non-empty container (directory, ...), - // then the entire directory is deleted recursively. - // If a resource specifies a reference or symlink type, only the reference is removed (not the target). - // MUST return CODE_NOT_FOUND if the reference does not exist. - Delete(context.Context, *v1beta13.DeleteRequest) (*v1beta13.DeleteResponse, error) - // Returns the path reference for - // the provided resource id reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - GetPath(context.Context, *v1beta13.GetPathRequest) (*v1beta13.GetPathResponse, error) - // Returns the quota available under the provided - // reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. - GetQuota(context.Context, *GetQuotaRequest) (*v1beta13.GetQuotaResponse, error) - // Initiates the download of a file using an - // out-of-band data transfer mechanism. - InitiateFileDownload(context.Context, *v1beta13.InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error) - // Initiates the upload of a file using an - // out-of-band data transfer mechanism. - InitiateFileUpload(context.Context, *v1beta13.InitiateFileUploadRequest) (*InitiateFileUploadResponse, error) - // Returns a stream of resource informations - // for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListContainerStream(*v1beta13.ListContainerStreamRequest, GatewayAPI_ListContainerStreamServer) error - // Returns a list of resource information - // for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListContainer(context.Context, *v1beta13.ListContainerRequest) (*v1beta13.ListContainerResponse, error) - // Returns a list of the versions for a resource of - // type file at the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_OK and MUST return an empty list if no versions are available. - // TODO: What code if resource not of type file? - ListFileVersions(context.Context, *v1beta13.ListFileVersionsRequest) (*v1beta13.ListFileVersionsResponse, error) - // Returns a stream of recycle items for this storage provider. - ListRecycleStream(*v1beta13.ListRecycleStreamRequest, GatewayAPI_ListRecycleStreamServer) error - // Returns a list of recycle items for this storage provider. - // MUST return CODE_OK and MUST return an empty list if no recycle items are available. - ListRecycle(context.Context, *v1beta13.ListRecycleRequest) (*v1beta13.ListRecycleResponse, error) - // Moves a resource from one reference to another. - // MUST return CODE_NOT_FOUND if any of the references do not exist. - // MUST return CODE_FAILED_PRECONDITION if the source reference - // cannot be moved to the destination reference. - Move(context.Context, *v1beta13.MoveRequest) (*v1beta13.MoveResponse, error) - // Permanently removes a recycle item from the recycle. - // This operation is irrevocable. - // MUST return CODE_NOT_FOUND if the recycle item id does not exist. - PurgeRecycle(context.Context, *v1beta13.PurgeRecycleRequest) (*v1beta13.PurgeRecycleResponse, error) - // Restores a file version for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_NOT_FOUND if the version does not exist. - RestoreFileVersion(context.Context, *v1beta13.RestoreFileVersionRequest) (*v1beta13.RestoreFileVersionResponse, error) - // Restores a recycle item from the recycle. - // MUST return CODE_NOT_FOUND if the recycle item id does not exist. - // MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty - // and the recycle item cannot be restored to the restore_path. - RestoreRecycleItem(context.Context, *v1beta13.RestoreRecycleItemRequest) (*v1beta13.RestoreRecycleItemResponse, error) - // Returns the resource information at the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - Stat(context.Context, *v1beta13.StatRequest) (*v1beta13.StatResponse, error) - // Creates a symlink to another resource. - CreateSymlink(context.Context, *v1beta13.CreateSymlinkRequest) (*v1beta13.CreateSymlinkResponse, error) - // Sets arbitrary metadata into a storage resource. - // Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo. - SetArbitraryMetadata(context.Context, *v1beta13.SetArbitraryMetadataRequest) (*v1beta13.SetArbitraryMetadataResponse, error) - // Unsets arbitrary metdata into a storage resource. - // Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo. - UnsetArbitraryMetadata(context.Context, *v1beta13.UnsetArbitraryMetadataRequest) (*v1beta13.UnsetArbitraryMetadataResponse, error) - // Locks a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. - // In addition, the implementation MUST ensure atomicity when multiple users - // concurrently attempt to set a lock. - // The caller MUST have write permissions on the resource. - SetLock(context.Context, *v1beta13.SetLockRequest) (*v1beta13.SetLockResponse, error) - // Gets the lock metadata of a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. - // The caller MUST have read permissions on the resource. - GetLock(context.Context, *v1beta13.GetLockRequest) (*v1beta13.GetLockResponse, error) - // Refreshes the lock metadata of a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is not locked - // or if the caller does not hold the lock. - // The caller MUST have write permissions on the resource. - RefreshLock(context.Context, *v1beta13.RefreshLockRequest) (*v1beta13.RefreshLockResponse, error) - // Unlocks a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is not locked - // or if the caller does not hold the lock. - // The caller MUST have write permissions on the resource. - Unlock(context.Context, *v1beta13.UnlockRequest) (*v1beta13.UnlockResponse, error) - // Creates the home directory for a user. - CreateHome(context.Context, *v1beta13.CreateHomeRequest) (*v1beta13.CreateHomeResponse, error) - // Creates a storage space. - CreateStorageSpace(context.Context, *v1beta13.CreateStorageSpaceRequest) (*v1beta13.CreateStorageSpaceResponse, error) - // Lists storage spaces. - ListStorageSpaces(context.Context, *v1beta13.ListStorageSpacesRequest) (*v1beta13.ListStorageSpacesResponse, error) - // Updates a storage space. - UpdateStorageSpace(context.Context, *v1beta13.UpdateStorageSpaceRequest) (*v1beta13.UpdateStorageSpaceResponse, error) - // Deletes a storage space. - DeleteStorageSpace(context.Context, *v1beta13.DeleteStorageSpaceRequest) (*v1beta13.DeleteStorageSpaceResponse, error) - // Returns the App URL and all necessary info to open a resource in an online editor. - // MUST return CODE_NOT_FOUND if the resource does not exist. - OpenInApp(context.Context, *OpenInAppRequest) (*v1beta15.OpenInAppResponse, error) - // Creates a new share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_LOCKED if the resource reference already locked. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreateShare(context.Context, *v1beta16.CreateShareRequest) (*v1beta16.CreateShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemoveShare(context.Context, *v1beta16.RemoveShareRequest) (*v1beta16.RemoveShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetShare(context.Context, *v1beta16.GetShareRequest) (*v1beta16.GetShareResponse, error) - // List the shares the authproviderenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListShares(context.Context, *v1beta16.ListSharesRequest) (*v1beta16.ListSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateShare(context.Context, *v1beta16.UpdateShareRequest) (*v1beta16.UpdateShareResponse, error) - // List all shares the authproviderenticated principal has received. - ListReceivedShares(context.Context, *v1beta16.ListReceivedSharesRequest) (*v1beta16.ListReceivedSharesResponse, error) - // Update the received share to change the share state or the display name. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateReceivedShare(context.Context, *v1beta16.UpdateReceivedShareRequest) (*v1beta16.UpdateReceivedShareResponse, error) - // Get the information for the given received share reference. - // MUST return CODE_NOT_FOUND if the received share reference does not exist. - GetReceivedShare(context.Context, *v1beta16.GetReceivedShareRequest) (*v1beta16.GetReceivedShareResponse, error) - // Maps the key-value pair. - SetKey(context.Context, *v1beta17.SetKeyRequest) (*v1beta17.SetKeyResponse, error) - // Returns the value associated with the - // requested key. - GetKey(context.Context, *v1beta17.GetKeyRequest) (*v1beta17.GetKeyResponse, error) - // Creates a new share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreatePublicShare(context.Context, *v1beta18.CreatePublicShareRequest) (*v1beta18.CreatePublicShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemovePublicShare(context.Context, *v1beta18.RemovePublicShareRequest) (*v1beta18.RemovePublicShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetPublicShare(context.Context, *v1beta18.GetPublicShareRequest) (*v1beta18.GetPublicShareResponse, error) - // Gets share information for a single share by its unlisted token. - // MUST return CODE_NOT_FOUND if the share does not exist. - GetPublicShareByToken(context.Context, *v1beta18.GetPublicShareByTokenRequest) (*v1beta18.GetPublicShareByTokenResponse, error) - // List the shares the authproviderenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListPublicShares(context.Context, *v1beta18.ListPublicSharesRequest) (*v1beta18.ListPublicSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdatePublicShare(context.Context, *v1beta18.UpdatePublicShareRequest) (*v1beta18.UpdatePublicShareResponse, error) - // Creates a new ocm share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreateOCMShare(context.Context, *v1beta19.CreateOCMShareRequest) (*v1beta19.CreateOCMShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemoveOCMShare(context.Context, *v1beta19.RemoveOCMShareRequest) (*v1beta19.RemoveOCMShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetOCMShare(context.Context, *v1beta19.GetOCMShareRequest) (*v1beta19.GetOCMShareResponse, error) - // Gets share information for a single share by its unlisted token. - // MUST return CODE_NOT_FOUND if the share does not exist. - GetOCMShareByToken(context.Context, *v1beta19.GetOCMShareByTokenRequest) (*v1beta19.GetOCMShareByTokenResponse, error) - // List the shares the authproviderenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListOCMShares(context.Context, *v1beta19.ListOCMSharesRequest) (*v1beta19.ListOCMSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateOCMShare(context.Context, *v1beta19.UpdateOCMShareRequest) (*v1beta19.UpdateOCMShareResponse, error) - // List all shares the authproviderenticated principal has received. - ListReceivedOCMShares(context.Context, *v1beta19.ListReceivedOCMSharesRequest) (*v1beta19.ListReceivedOCMSharesResponse, error) - // Update the received share to change the share state or the display name. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateReceivedOCMShare(context.Context, *v1beta19.UpdateReceivedOCMShareRequest) (*v1beta19.UpdateReceivedOCMShareResponse, error) - // Get the information for the given received share reference. - // MUST return CODE_NOT_FOUND if the received share reference does not exist. - GetReceivedOCMShare(context.Context, *v1beta19.GetReceivedOCMShareRequest) (*v1beta19.GetReceivedOCMShareResponse, error) - // Returns the app providers that are capable of handling this resource info. - // MUST return CODE_NOT_FOUND if no providers are available. - GetAppProviders(context.Context, *v1beta110.GetAppProvidersRequest) (*v1beta110.GetAppProvidersResponse, error) - // Registers a new app provider to the registry. - AddAppProvider(context.Context, *v1beta110.AddAppProviderRequest) (*v1beta110.AddAppProviderResponse, error) - // Returns a list of the available app providers known by this registry. - ListAppProviders(context.Context, *v1beta110.ListAppProvidersRequest) (*v1beta110.ListAppProvidersResponse, error) - // Returns a list of the supported mime types along with the apps which they can opened with. - ListSupportedMimeTypes(context.Context, *v1beta110.ListSupportedMimeTypesRequest) (*v1beta110.ListSupportedMimeTypesResponse, error) - // Returns the default app provider which serves a specified mime type. - GetDefaultAppProviderForMimeType(context.Context, *v1beta110.GetDefaultAppProviderForMimeTypeRequest) (*v1beta110.GetDefaultAppProviderForMimeTypeResponse, error) - // Sets the default app provider for a specified mime type. - SetDefaultAppProviderForMimeType(context.Context, *v1beta110.SetDefaultAppProviderForMimeTypeRequest) (*v1beta110.SetDefaultAppProviderForMimeTypeResponse, error) - // Gets the information about a user by the user id. - GetUser(context.Context, *v1beta12.GetUserRequest) (*v1beta12.GetUserResponse, error) - // Gets the information about a user based on a specified claim. - GetUserByClaim(context.Context, *v1beta12.GetUserByClaimRequest) (*v1beta12.GetUserByClaimResponse, error) - // Gets the groups of a user. - GetUserGroups(context.Context, *v1beta12.GetUserGroupsRequest) (*v1beta12.GetUserGroupsResponse, error) - // Finds users by any attribute of the user. - // TODO(labkode): to define the filters that make more sense. - FindUsers(context.Context, *v1beta12.FindUsersRequest) (*v1beta12.FindUsersResponse, error) - // Gets the information about a group by the group id. - GetGroup(context.Context, *v1beta111.GetGroupRequest) (*v1beta111.GetGroupResponse, error) - // Gets the information about a group based on a specified claim. - GetGroupByClaim(context.Context, *v1beta111.GetGroupByClaimRequest) (*v1beta111.GetGroupByClaimResponse, error) - // Gets the members of a group. - GetMembers(context.Context, *v1beta111.GetMembersRequest) (*v1beta111.GetMembersResponse, error) - // Tells if the group has a certain member. - HasMember(context.Context, *v1beta111.HasMemberRequest) (*v1beta111.HasMemberResponse, error) - // TODO(labkode): to define the filters that make more sense. - // Finds groups whose names match the specified filter. - FindGroups(context.Context, *v1beta111.FindGroupsRequest) (*v1beta111.FindGroupsResponse, error) - // Returns a list of the available auth providers known by this registry. - ListAuthProviders(context.Context, *v1beta112.ListAuthProvidersRequest) (*ListAuthProvidersResponse, error) - // Returns the home path for the given authenticated user. - // When a user has access to multiple storage providers, one of them is the home. - GetHome(context.Context, *v1beta13.GetHomeRequest) (*v1beta13.GetHomeResponse, error) - // Generates a new token for the user with a validity of 24 hours. - GenerateInviteToken(context.Context, *v1beta113.GenerateInviteTokenRequest) (*v1beta113.GenerateInviteTokenResponse, error) - // Lists the valid tokens generated by the user. - ListInviteTokens(context.Context, *v1beta113.ListInviteTokensRequest) (*v1beta113.ListInviteTokensResponse, error) - // Forwards a received invite to the sync'n'share system provider. - ForwardInvite(context.Context, *v1beta113.ForwardInviteRequest) (*v1beta113.ForwardInviteResponse, error) - // Completes an invitation acceptance. - AcceptInvite(context.Context, *v1beta113.AcceptInviteRequest) (*v1beta113.AcceptInviteResponse, error) - // Retrieves details about a remote user who has accepted an invite to share. - GetAcceptedUser(context.Context, *v1beta113.GetAcceptedUserRequest) (*v1beta113.GetAcceptedUserResponse, error) - // Finds users who accepted invite tokens by their attributes. - FindAcceptedUsers(context.Context, *v1beta113.FindAcceptedUsersRequest) (*v1beta113.FindAcceptedUsersResponse, error) - // Delete a previously accepted remote user, that is unfriend that user. - DeleteAcceptedUser(context.Context, *v1beta113.DeleteAcceptedUserRequest) (*v1beta113.DeleteAcceptedUserResponse, error) - // Check if a given system provider is registered in the mesh or not. - // MUST return CODE_UNAUTHENTICATED if the system is not registered - IsProviderAllowed(context.Context, *v1beta114.IsProviderAllowedRequest) (*v1beta114.IsProviderAllowedResponse, error) - // Get the information of the provider identified by a specific domain. - // MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist. - GetInfoByDomain(context.Context, *v1beta114.GetInfoByDomainRequest) (*v1beta114.GetInfoByDomainResponse, error) - // Get the information of all the providers registered in the mesh. - ListAllProviders(context.Context, *v1beta114.ListAllProvidersRequest) (*v1beta114.ListAllProvidersResponse, error) - // Creates a new OCM share. - CreateOCMCoreShare(context.Context, *v1beta115.CreateOCMCoreShareRequest) (*v1beta115.CreateOCMCoreShareResponse, error) - // Updates an OCM share. - UpdateOCMCoreShare(context.Context, *v1beta115.UpdateOCMCoreShareRequest) (*v1beta115.UpdateOCMCoreShareResponse, error) - // Deletes an OCM share. - DeleteOCMCoreShare(context.Context, *v1beta115.DeleteOCMCoreShareRequest) (*v1beta115.DeleteOCMCoreShareResponse, error) - // Requests creation of a transfer. - CreateTransfer(context.Context, *v1beta116.CreateTransferRequest) (*v1beta116.CreateTransferResponse, error) - // Requests a transfer status. - GetTransferStatus(context.Context, *v1beta116.GetTransferStatusRequest) (*v1beta116.GetTransferStatusResponse, error) - // Requests to cancel a transfer. - CancelTransfer(context.Context, *v1beta116.CancelTransferRequest) (*v1beta116.CancelTransferResponse, error) - // Requests a list of transfers received by the authenticated principle. - ListTransfers(context.Context, *v1beta116.ListTransfersRequest) (*v1beta116.ListTransfersResponse, error) - // Requests retrying a transfer. - RetryTransfer(context.Context, *v1beta116.RetryTransferRequest) (*v1beta116.RetryTransferResponse, error) - // CheckPermission checks if a user or group has a certain permission. - CheckPermission(context.Context, *v1beta117.CheckPermissionRequest) (*v1beta117.CheckPermissionResponse, error) -} - -// UnimplementedGatewayAPIServer can be embedded to have forward compatible implementations. -type UnimplementedGatewayAPIServer struct { -} - -func (*UnimplementedGatewayAPIServer) Authenticate(ctx context.Context, req *AuthenticateRequest) (*AuthenticateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Authenticate not implemented") -} -func (*UnimplementedGatewayAPIServer) WhoAmI(ctx context.Context, req *WhoAmIRequest) (*WhoAmIResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method WhoAmI not implemented") -} -func (*UnimplementedGatewayAPIServer) GenerateAppPassword(ctx context.Context, req *v1beta14.GenerateAppPasswordRequest) (*v1beta14.GenerateAppPasswordResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateAppPassword not implemented") -} -func (*UnimplementedGatewayAPIServer) ListAppPasswords(ctx context.Context, req *v1beta14.ListAppPasswordsRequest) (*v1beta14.ListAppPasswordsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAppPasswords not implemented") -} -func (*UnimplementedGatewayAPIServer) InvalidateAppPassword(ctx context.Context, req *v1beta14.InvalidateAppPasswordRequest) (*v1beta14.InvalidateAppPasswordResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InvalidateAppPassword not implemented") -} -func (*UnimplementedGatewayAPIServer) GetAppPassword(ctx context.Context, req *v1beta14.GetAppPasswordRequest) (*v1beta14.GetAppPasswordResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAppPassword not implemented") -} -func (*UnimplementedGatewayAPIServer) CreateContainer(ctx context.Context, req *v1beta13.CreateContainerRequest) (*v1beta13.CreateContainerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateContainer not implemented") -} -func (*UnimplementedGatewayAPIServer) TouchFile(ctx context.Context, req *v1beta13.TouchFileRequest) (*v1beta13.TouchFileResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TouchFile not implemented") -} -func (*UnimplementedGatewayAPIServer) Delete(ctx context.Context, req *v1beta13.DeleteRequest) (*v1beta13.DeleteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedGatewayAPIServer) GetPath(ctx context.Context, req *v1beta13.GetPathRequest) (*v1beta13.GetPathResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPath not implemented") -} -func (*UnimplementedGatewayAPIServer) GetQuota(ctx context.Context, req *GetQuotaRequest) (*v1beta13.GetQuotaResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetQuota not implemented") -} -func (*UnimplementedGatewayAPIServer) InitiateFileDownload(ctx context.Context, req *v1beta13.InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InitiateFileDownload not implemented") -} -func (*UnimplementedGatewayAPIServer) InitiateFileUpload(ctx context.Context, req *v1beta13.InitiateFileUploadRequest) (*InitiateFileUploadResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InitiateFileUpload not implemented") -} -func (*UnimplementedGatewayAPIServer) ListContainerStream(req *v1beta13.ListContainerStreamRequest, srv GatewayAPI_ListContainerStreamServer) error { - return status.Errorf(codes.Unimplemented, "method ListContainerStream not implemented") -} -func (*UnimplementedGatewayAPIServer) ListContainer(ctx context.Context, req *v1beta13.ListContainerRequest) (*v1beta13.ListContainerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListContainer not implemented") -} -func (*UnimplementedGatewayAPIServer) ListFileVersions(ctx context.Context, req *v1beta13.ListFileVersionsRequest) (*v1beta13.ListFileVersionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFileVersions not implemented") -} -func (*UnimplementedGatewayAPIServer) ListRecycleStream(req *v1beta13.ListRecycleStreamRequest, srv GatewayAPI_ListRecycleStreamServer) error { - return status.Errorf(codes.Unimplemented, "method ListRecycleStream not implemented") -} -func (*UnimplementedGatewayAPIServer) ListRecycle(ctx context.Context, req *v1beta13.ListRecycleRequest) (*v1beta13.ListRecycleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListRecycle not implemented") -} -func (*UnimplementedGatewayAPIServer) Move(ctx context.Context, req *v1beta13.MoveRequest) (*v1beta13.MoveResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") -} -func (*UnimplementedGatewayAPIServer) PurgeRecycle(ctx context.Context, req *v1beta13.PurgeRecycleRequest) (*v1beta13.PurgeRecycleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PurgeRecycle not implemented") -} -func (*UnimplementedGatewayAPIServer) RestoreFileVersion(ctx context.Context, req *v1beta13.RestoreFileVersionRequest) (*v1beta13.RestoreFileVersionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RestoreFileVersion not implemented") -} -func (*UnimplementedGatewayAPIServer) RestoreRecycleItem(ctx context.Context, req *v1beta13.RestoreRecycleItemRequest) (*v1beta13.RestoreRecycleItemResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RestoreRecycleItem not implemented") -} -func (*UnimplementedGatewayAPIServer) Stat(ctx context.Context, req *v1beta13.StatRequest) (*v1beta13.StatResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Stat not implemented") -} -func (*UnimplementedGatewayAPIServer) CreateSymlink(ctx context.Context, req *v1beta13.CreateSymlinkRequest) (*v1beta13.CreateSymlinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSymlink not implemented") -} -func (*UnimplementedGatewayAPIServer) SetArbitraryMetadata(ctx context.Context, req *v1beta13.SetArbitraryMetadataRequest) (*v1beta13.SetArbitraryMetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetArbitraryMetadata not implemented") -} -func (*UnimplementedGatewayAPIServer) UnsetArbitraryMetadata(ctx context.Context, req *v1beta13.UnsetArbitraryMetadataRequest) (*v1beta13.UnsetArbitraryMetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnsetArbitraryMetadata not implemented") -} -func (*UnimplementedGatewayAPIServer) SetLock(ctx context.Context, req *v1beta13.SetLockRequest) (*v1beta13.SetLockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLock not implemented") -} -func (*UnimplementedGatewayAPIServer) GetLock(ctx context.Context, req *v1beta13.GetLockRequest) (*v1beta13.GetLockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLock not implemented") -} -func (*UnimplementedGatewayAPIServer) RefreshLock(ctx context.Context, req *v1beta13.RefreshLockRequest) (*v1beta13.RefreshLockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RefreshLock not implemented") -} -func (*UnimplementedGatewayAPIServer) Unlock(ctx context.Context, req *v1beta13.UnlockRequest) (*v1beta13.UnlockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Unlock not implemented") -} -func (*UnimplementedGatewayAPIServer) CreateHome(ctx context.Context, req *v1beta13.CreateHomeRequest) (*v1beta13.CreateHomeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateHome not implemented") -} -func (*UnimplementedGatewayAPIServer) CreateStorageSpace(ctx context.Context, req *v1beta13.CreateStorageSpaceRequest) (*v1beta13.CreateStorageSpaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateStorageSpace not implemented") -} -func (*UnimplementedGatewayAPIServer) ListStorageSpaces(ctx context.Context, req *v1beta13.ListStorageSpacesRequest) (*v1beta13.ListStorageSpacesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListStorageSpaces not implemented") -} -func (*UnimplementedGatewayAPIServer) UpdateStorageSpace(ctx context.Context, req *v1beta13.UpdateStorageSpaceRequest) (*v1beta13.UpdateStorageSpaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateStorageSpace not implemented") -} -func (*UnimplementedGatewayAPIServer) DeleteStorageSpace(ctx context.Context, req *v1beta13.DeleteStorageSpaceRequest) (*v1beta13.DeleteStorageSpaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteStorageSpace not implemented") -} -func (*UnimplementedGatewayAPIServer) OpenInApp(ctx context.Context, req *OpenInAppRequest) (*v1beta15.OpenInAppResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method OpenInApp not implemented") -} -func (*UnimplementedGatewayAPIServer) CreateShare(ctx context.Context, req *v1beta16.CreateShareRequest) (*v1beta16.CreateShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateShare not implemented") -} -func (*UnimplementedGatewayAPIServer) RemoveShare(ctx context.Context, req *v1beta16.RemoveShareRequest) (*v1beta16.RemoveShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveShare not implemented") -} -func (*UnimplementedGatewayAPIServer) GetShare(ctx context.Context, req *v1beta16.GetShareRequest) (*v1beta16.GetShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetShare not implemented") -} -func (*UnimplementedGatewayAPIServer) ListShares(ctx context.Context, req *v1beta16.ListSharesRequest) (*v1beta16.ListSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListShares not implemented") -} -func (*UnimplementedGatewayAPIServer) UpdateShare(ctx context.Context, req *v1beta16.UpdateShareRequest) (*v1beta16.UpdateShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateShare not implemented") -} -func (*UnimplementedGatewayAPIServer) ListReceivedShares(ctx context.Context, req *v1beta16.ListReceivedSharesRequest) (*v1beta16.ListReceivedSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListReceivedShares not implemented") -} -func (*UnimplementedGatewayAPIServer) UpdateReceivedShare(ctx context.Context, req *v1beta16.UpdateReceivedShareRequest) (*v1beta16.UpdateReceivedShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateReceivedShare not implemented") -} -func (*UnimplementedGatewayAPIServer) GetReceivedShare(ctx context.Context, req *v1beta16.GetReceivedShareRequest) (*v1beta16.GetReceivedShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetReceivedShare not implemented") -} -func (*UnimplementedGatewayAPIServer) SetKey(ctx context.Context, req *v1beta17.SetKeyRequest) (*v1beta17.SetKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetKey not implemented") -} -func (*UnimplementedGatewayAPIServer) GetKey(ctx context.Context, req *v1beta17.GetKeyRequest) (*v1beta17.GetKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetKey not implemented") -} -func (*UnimplementedGatewayAPIServer) CreatePublicShare(ctx context.Context, req *v1beta18.CreatePublicShareRequest) (*v1beta18.CreatePublicShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreatePublicShare not implemented") -} -func (*UnimplementedGatewayAPIServer) RemovePublicShare(ctx context.Context, req *v1beta18.RemovePublicShareRequest) (*v1beta18.RemovePublicShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemovePublicShare not implemented") -} -func (*UnimplementedGatewayAPIServer) GetPublicShare(ctx context.Context, req *v1beta18.GetPublicShareRequest) (*v1beta18.GetPublicShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPublicShare not implemented") -} -func (*UnimplementedGatewayAPIServer) GetPublicShareByToken(ctx context.Context, req *v1beta18.GetPublicShareByTokenRequest) (*v1beta18.GetPublicShareByTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPublicShareByToken not implemented") -} -func (*UnimplementedGatewayAPIServer) ListPublicShares(ctx context.Context, req *v1beta18.ListPublicSharesRequest) (*v1beta18.ListPublicSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPublicShares not implemented") -} -func (*UnimplementedGatewayAPIServer) UpdatePublicShare(ctx context.Context, req *v1beta18.UpdatePublicShareRequest) (*v1beta18.UpdatePublicShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePublicShare not implemented") -} -func (*UnimplementedGatewayAPIServer) CreateOCMShare(ctx context.Context, req *v1beta19.CreateOCMShareRequest) (*v1beta19.CreateOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOCMShare not implemented") -} -func (*UnimplementedGatewayAPIServer) RemoveOCMShare(ctx context.Context, req *v1beta19.RemoveOCMShareRequest) (*v1beta19.RemoveOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveOCMShare not implemented") -} -func (*UnimplementedGatewayAPIServer) GetOCMShare(ctx context.Context, req *v1beta19.GetOCMShareRequest) (*v1beta19.GetOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOCMShare not implemented") -} -func (*UnimplementedGatewayAPIServer) GetOCMShareByToken(ctx context.Context, req *v1beta19.GetOCMShareByTokenRequest) (*v1beta19.GetOCMShareByTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOCMShareByToken not implemented") -} -func (*UnimplementedGatewayAPIServer) ListOCMShares(ctx context.Context, req *v1beta19.ListOCMSharesRequest) (*v1beta19.ListOCMSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOCMShares not implemented") -} -func (*UnimplementedGatewayAPIServer) UpdateOCMShare(ctx context.Context, req *v1beta19.UpdateOCMShareRequest) (*v1beta19.UpdateOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOCMShare not implemented") -} -func (*UnimplementedGatewayAPIServer) ListReceivedOCMShares(ctx context.Context, req *v1beta19.ListReceivedOCMSharesRequest) (*v1beta19.ListReceivedOCMSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListReceivedOCMShares not implemented") -} -func (*UnimplementedGatewayAPIServer) UpdateReceivedOCMShare(ctx context.Context, req *v1beta19.UpdateReceivedOCMShareRequest) (*v1beta19.UpdateReceivedOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateReceivedOCMShare not implemented") -} -func (*UnimplementedGatewayAPIServer) GetReceivedOCMShare(ctx context.Context, req *v1beta19.GetReceivedOCMShareRequest) (*v1beta19.GetReceivedOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetReceivedOCMShare not implemented") -} -func (*UnimplementedGatewayAPIServer) GetAppProviders(ctx context.Context, req *v1beta110.GetAppProvidersRequest) (*v1beta110.GetAppProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAppProviders not implemented") -} -func (*UnimplementedGatewayAPIServer) AddAppProvider(ctx context.Context, req *v1beta110.AddAppProviderRequest) (*v1beta110.AddAppProviderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddAppProvider not implemented") -} -func (*UnimplementedGatewayAPIServer) ListAppProviders(ctx context.Context, req *v1beta110.ListAppProvidersRequest) (*v1beta110.ListAppProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAppProviders not implemented") -} -func (*UnimplementedGatewayAPIServer) ListSupportedMimeTypes(ctx context.Context, req *v1beta110.ListSupportedMimeTypesRequest) (*v1beta110.ListSupportedMimeTypesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSupportedMimeTypes not implemented") -} -func (*UnimplementedGatewayAPIServer) GetDefaultAppProviderForMimeType(ctx context.Context, req *v1beta110.GetDefaultAppProviderForMimeTypeRequest) (*v1beta110.GetDefaultAppProviderForMimeTypeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDefaultAppProviderForMimeType not implemented") -} -func (*UnimplementedGatewayAPIServer) SetDefaultAppProviderForMimeType(ctx context.Context, req *v1beta110.SetDefaultAppProviderForMimeTypeRequest) (*v1beta110.SetDefaultAppProviderForMimeTypeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetDefaultAppProviderForMimeType not implemented") -} -func (*UnimplementedGatewayAPIServer) GetUser(ctx context.Context, req *v1beta12.GetUserRequest) (*v1beta12.GetUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") -} -func (*UnimplementedGatewayAPIServer) GetUserByClaim(ctx context.Context, req *v1beta12.GetUserByClaimRequest) (*v1beta12.GetUserByClaimResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserByClaim not implemented") -} -func (*UnimplementedGatewayAPIServer) GetUserGroups(ctx context.Context, req *v1beta12.GetUserGroupsRequest) (*v1beta12.GetUserGroupsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserGroups not implemented") -} -func (*UnimplementedGatewayAPIServer) FindUsers(ctx context.Context, req *v1beta12.FindUsersRequest) (*v1beta12.FindUsersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindUsers not implemented") -} -func (*UnimplementedGatewayAPIServer) GetGroup(ctx context.Context, req *v1beta111.GetGroupRequest) (*v1beta111.GetGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented") -} -func (*UnimplementedGatewayAPIServer) GetGroupByClaim(ctx context.Context, req *v1beta111.GetGroupByClaimRequest) (*v1beta111.GetGroupByClaimResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGroupByClaim not implemented") -} -func (*UnimplementedGatewayAPIServer) GetMembers(ctx context.Context, req *v1beta111.GetMembersRequest) (*v1beta111.GetMembersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMembers not implemented") -} -func (*UnimplementedGatewayAPIServer) HasMember(ctx context.Context, req *v1beta111.HasMemberRequest) (*v1beta111.HasMemberResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method HasMember not implemented") -} -func (*UnimplementedGatewayAPIServer) FindGroups(ctx context.Context, req *v1beta111.FindGroupsRequest) (*v1beta111.FindGroupsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindGroups not implemented") -} -func (*UnimplementedGatewayAPIServer) ListAuthProviders(ctx context.Context, req *v1beta112.ListAuthProvidersRequest) (*ListAuthProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAuthProviders not implemented") -} -func (*UnimplementedGatewayAPIServer) GetHome(ctx context.Context, req *v1beta13.GetHomeRequest) (*v1beta13.GetHomeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHome not implemented") -} -func (*UnimplementedGatewayAPIServer) GenerateInviteToken(ctx context.Context, req *v1beta113.GenerateInviteTokenRequest) (*v1beta113.GenerateInviteTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateInviteToken not implemented") -} -func (*UnimplementedGatewayAPIServer) ListInviteTokens(ctx context.Context, req *v1beta113.ListInviteTokensRequest) (*v1beta113.ListInviteTokensResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInviteTokens not implemented") -} -func (*UnimplementedGatewayAPIServer) ForwardInvite(ctx context.Context, req *v1beta113.ForwardInviteRequest) (*v1beta113.ForwardInviteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ForwardInvite not implemented") -} -func (*UnimplementedGatewayAPIServer) AcceptInvite(ctx context.Context, req *v1beta113.AcceptInviteRequest) (*v1beta113.AcceptInviteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AcceptInvite not implemented") -} -func (*UnimplementedGatewayAPIServer) GetAcceptedUser(ctx context.Context, req *v1beta113.GetAcceptedUserRequest) (*v1beta113.GetAcceptedUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAcceptedUser not implemented") -} -func (*UnimplementedGatewayAPIServer) FindAcceptedUsers(ctx context.Context, req *v1beta113.FindAcceptedUsersRequest) (*v1beta113.FindAcceptedUsersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindAcceptedUsers not implemented") -} -func (*UnimplementedGatewayAPIServer) DeleteAcceptedUser(ctx context.Context, req *v1beta113.DeleteAcceptedUserRequest) (*v1beta113.DeleteAcceptedUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAcceptedUser not implemented") -} -func (*UnimplementedGatewayAPIServer) IsProviderAllowed(ctx context.Context, req *v1beta114.IsProviderAllowedRequest) (*v1beta114.IsProviderAllowedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method IsProviderAllowed not implemented") -} -func (*UnimplementedGatewayAPIServer) GetInfoByDomain(ctx context.Context, req *v1beta114.GetInfoByDomainRequest) (*v1beta114.GetInfoByDomainResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInfoByDomain not implemented") -} -func (*UnimplementedGatewayAPIServer) ListAllProviders(ctx context.Context, req *v1beta114.ListAllProvidersRequest) (*v1beta114.ListAllProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAllProviders not implemented") -} -func (*UnimplementedGatewayAPIServer) CreateOCMCoreShare(ctx context.Context, req *v1beta115.CreateOCMCoreShareRequest) (*v1beta115.CreateOCMCoreShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOCMCoreShare not implemented") -} -func (*UnimplementedGatewayAPIServer) UpdateOCMCoreShare(ctx context.Context, req *v1beta115.UpdateOCMCoreShareRequest) (*v1beta115.UpdateOCMCoreShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOCMCoreShare not implemented") -} -func (*UnimplementedGatewayAPIServer) DeleteOCMCoreShare(ctx context.Context, req *v1beta115.DeleteOCMCoreShareRequest) (*v1beta115.DeleteOCMCoreShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteOCMCoreShare not implemented") -} -func (*UnimplementedGatewayAPIServer) CreateTransfer(ctx context.Context, req *v1beta116.CreateTransferRequest) (*v1beta116.CreateTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTransfer not implemented") -} -func (*UnimplementedGatewayAPIServer) GetTransferStatus(ctx context.Context, req *v1beta116.GetTransferStatusRequest) (*v1beta116.GetTransferStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransferStatus not implemented") -} -func (*UnimplementedGatewayAPIServer) CancelTransfer(ctx context.Context, req *v1beta116.CancelTransferRequest) (*v1beta116.CancelTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelTransfer not implemented") -} -func (*UnimplementedGatewayAPIServer) ListTransfers(ctx context.Context, req *v1beta116.ListTransfersRequest) (*v1beta116.ListTransfersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTransfers not implemented") -} -func (*UnimplementedGatewayAPIServer) RetryTransfer(ctx context.Context, req *v1beta116.RetryTransferRequest) (*v1beta116.RetryTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RetryTransfer not implemented") -} -func (*UnimplementedGatewayAPIServer) CheckPermission(ctx context.Context, req *v1beta117.CheckPermissionRequest) (*v1beta117.CheckPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CheckPermission not implemented") -} - -func RegisterGatewayAPIServer(s *grpc.Server, srv GatewayAPIServer) { - s.RegisterService(&_GatewayAPI_serviceDesc, srv) -} - -func _GatewayAPI_Authenticate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AuthenticateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).Authenticate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/Authenticate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).Authenticate(ctx, req.(*AuthenticateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_WhoAmI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WhoAmIRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).WhoAmI(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/WhoAmI", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).WhoAmI(ctx, req.(*WhoAmIRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GenerateAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta14.GenerateAppPasswordRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GenerateAppPassword(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GenerateAppPassword", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GenerateAppPassword(ctx, req.(*v1beta14.GenerateAppPasswordRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListAppPasswords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta14.ListAppPasswordsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListAppPasswords(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListAppPasswords", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListAppPasswords(ctx, req.(*v1beta14.ListAppPasswordsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_InvalidateAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta14.InvalidateAppPasswordRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).InvalidateAppPassword(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/InvalidateAppPassword", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).InvalidateAppPassword(ctx, req.(*v1beta14.InvalidateAppPasswordRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta14.GetAppPasswordRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetAppPassword(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetAppPassword", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetAppPassword(ctx, req.(*v1beta14.GetAppPasswordRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CreateContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.CreateContainerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CreateContainer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreateContainer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CreateContainer(ctx, req.(*v1beta13.CreateContainerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_TouchFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.TouchFileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).TouchFile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/TouchFile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).TouchFile(ctx, req.(*v1beta13.TouchFileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.DeleteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).Delete(ctx, req.(*v1beta13.DeleteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.GetPathRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetPath(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetPath", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetPath(ctx, req.(*v1beta13.GetPathRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetQuotaRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetQuota(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetQuota", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetQuota(ctx, req.(*GetQuotaRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_InitiateFileDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.InitiateFileDownloadRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).InitiateFileDownload(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/InitiateFileDownload", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).InitiateFileDownload(ctx, req.(*v1beta13.InitiateFileDownloadRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_InitiateFileUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.InitiateFileUploadRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).InitiateFileUpload(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/InitiateFileUpload", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).InitiateFileUpload(ctx, req.(*v1beta13.InitiateFileUploadRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListContainerStream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(v1beta13.ListContainerStreamRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GatewayAPIServer).ListContainerStream(m, &gatewayAPIListContainerStreamServer{stream}) -} - -type GatewayAPI_ListContainerStreamServer interface { - Send(*v1beta13.ListContainerStreamResponse) error - grpc.ServerStream -} - -type gatewayAPIListContainerStreamServer struct { - grpc.ServerStream -} - -func (x *gatewayAPIListContainerStreamServer) Send(m *v1beta13.ListContainerStreamResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GatewayAPI_ListContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.ListContainerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListContainer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListContainer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListContainer(ctx, req.(*v1beta13.ListContainerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListFileVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.ListFileVersionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListFileVersions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListFileVersions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListFileVersions(ctx, req.(*v1beta13.ListFileVersionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListRecycleStream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(v1beta13.ListRecycleStreamRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GatewayAPIServer).ListRecycleStream(m, &gatewayAPIListRecycleStreamServer{stream}) -} - -type GatewayAPI_ListRecycleStreamServer interface { - Send(*v1beta13.ListRecycleStreamResponse) error - grpc.ServerStream -} - -type gatewayAPIListRecycleStreamServer struct { - grpc.ServerStream -} - -func (x *gatewayAPIListRecycleStreamServer) Send(m *v1beta13.ListRecycleStreamResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GatewayAPI_ListRecycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.ListRecycleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListRecycle(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListRecycle", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListRecycle(ctx, req.(*v1beta13.ListRecycleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_Move_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.MoveRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).Move(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/Move", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).Move(ctx, req.(*v1beta13.MoveRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_PurgeRecycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.PurgeRecycleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).PurgeRecycle(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/PurgeRecycle", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).PurgeRecycle(ctx, req.(*v1beta13.PurgeRecycleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_RestoreFileVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.RestoreFileVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).RestoreFileVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/RestoreFileVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).RestoreFileVersion(ctx, req.(*v1beta13.RestoreFileVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_RestoreRecycleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.RestoreRecycleItemRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).RestoreRecycleItem(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/RestoreRecycleItem", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).RestoreRecycleItem(ctx, req.(*v1beta13.RestoreRecycleItemRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_Stat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.StatRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).Stat(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/Stat", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).Stat(ctx, req.(*v1beta13.StatRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CreateSymlink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.CreateSymlinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CreateSymlink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreateSymlink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CreateSymlink(ctx, req.(*v1beta13.CreateSymlinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_SetArbitraryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.SetArbitraryMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).SetArbitraryMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/SetArbitraryMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).SetArbitraryMetadata(ctx, req.(*v1beta13.SetArbitraryMetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_UnsetArbitraryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.UnsetArbitraryMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).UnsetArbitraryMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/UnsetArbitraryMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).UnsetArbitraryMetadata(ctx, req.(*v1beta13.UnsetArbitraryMetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_SetLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.SetLockRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).SetLock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/SetLock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).SetLock(ctx, req.(*v1beta13.SetLockRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.GetLockRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetLock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetLock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetLock(ctx, req.(*v1beta13.GetLockRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_RefreshLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.RefreshLockRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).RefreshLock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/RefreshLock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).RefreshLock(ctx, req.(*v1beta13.RefreshLockRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_Unlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.UnlockRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).Unlock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/Unlock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).Unlock(ctx, req.(*v1beta13.UnlockRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CreateHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.CreateHomeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CreateHome(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreateHome", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CreateHome(ctx, req.(*v1beta13.CreateHomeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CreateStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.CreateStorageSpaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CreateStorageSpace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreateStorageSpace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CreateStorageSpace(ctx, req.(*v1beta13.CreateStorageSpaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListStorageSpaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.ListStorageSpacesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListStorageSpaces(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListStorageSpaces", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListStorageSpaces(ctx, req.(*v1beta13.ListStorageSpacesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_UpdateStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.UpdateStorageSpaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).UpdateStorageSpace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/UpdateStorageSpace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).UpdateStorageSpace(ctx, req.(*v1beta13.UpdateStorageSpaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_DeleteStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.DeleteStorageSpaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).DeleteStorageSpace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/DeleteStorageSpace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).DeleteStorageSpace(ctx, req.(*v1beta13.DeleteStorageSpaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_OpenInApp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OpenInAppRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).OpenInApp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/OpenInApp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).OpenInApp(ctx, req.(*OpenInAppRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CreateShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta16.CreateShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CreateShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreateShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CreateShare(ctx, req.(*v1beta16.CreateShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_RemoveShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta16.RemoveShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).RemoveShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/RemoveShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).RemoveShare(ctx, req.(*v1beta16.RemoveShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta16.GetShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetShare(ctx, req.(*v1beta16.GetShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta16.ListSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListShares(ctx, req.(*v1beta16.ListSharesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_UpdateShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta16.UpdateShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).UpdateShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/UpdateShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).UpdateShare(ctx, req.(*v1beta16.UpdateShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListReceivedShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta16.ListReceivedSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListReceivedShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListReceivedShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListReceivedShares(ctx, req.(*v1beta16.ListReceivedSharesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_UpdateReceivedShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta16.UpdateReceivedShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).UpdateReceivedShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/UpdateReceivedShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).UpdateReceivedShare(ctx, req.(*v1beta16.UpdateReceivedShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetReceivedShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta16.GetReceivedShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetReceivedShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetReceivedShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetReceivedShare(ctx, req.(*v1beta16.GetReceivedShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_SetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta17.SetKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).SetKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/SetKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).SetKey(ctx, req.(*v1beta17.SetKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta17.GetKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetKey(ctx, req.(*v1beta17.GetKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CreatePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta18.CreatePublicShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CreatePublicShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreatePublicShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CreatePublicShare(ctx, req.(*v1beta18.CreatePublicShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_RemovePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta18.RemovePublicShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).RemovePublicShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/RemovePublicShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).RemovePublicShare(ctx, req.(*v1beta18.RemovePublicShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetPublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta18.GetPublicShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetPublicShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetPublicShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetPublicShare(ctx, req.(*v1beta18.GetPublicShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetPublicShareByToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta18.GetPublicShareByTokenRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetPublicShareByToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetPublicShareByToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetPublicShareByToken(ctx, req.(*v1beta18.GetPublicShareByTokenRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListPublicShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta18.ListPublicSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListPublicShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListPublicShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListPublicShares(ctx, req.(*v1beta18.ListPublicSharesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_UpdatePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta18.UpdatePublicShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).UpdatePublicShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/UpdatePublicShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).UpdatePublicShare(ctx, req.(*v1beta18.UpdatePublicShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CreateOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta19.CreateOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CreateOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreateOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CreateOCMShare(ctx, req.(*v1beta19.CreateOCMShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_RemoveOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta19.RemoveOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).RemoveOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/RemoveOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).RemoveOCMShare(ctx, req.(*v1beta19.RemoveOCMShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta19.GetOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetOCMShare(ctx, req.(*v1beta19.GetOCMShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetOCMShareByToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta19.GetOCMShareByTokenRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetOCMShareByToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetOCMShareByToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetOCMShareByToken(ctx, req.(*v1beta19.GetOCMShareByTokenRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListOCMShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta19.ListOCMSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListOCMShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListOCMShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListOCMShares(ctx, req.(*v1beta19.ListOCMSharesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_UpdateOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta19.UpdateOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).UpdateOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).UpdateOCMShare(ctx, req.(*v1beta19.UpdateOCMShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListReceivedOCMShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta19.ListReceivedOCMSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListReceivedOCMShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListReceivedOCMShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListReceivedOCMShares(ctx, req.(*v1beta19.ListReceivedOCMSharesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_UpdateReceivedOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta19.UpdateReceivedOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).UpdateReceivedOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/UpdateReceivedOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).UpdateReceivedOCMShare(ctx, req.(*v1beta19.UpdateReceivedOCMShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetReceivedOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta19.GetReceivedOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetReceivedOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetReceivedOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetReceivedOCMShare(ctx, req.(*v1beta19.GetReceivedOCMShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetAppProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta110.GetAppProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetAppProviders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetAppProviders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetAppProviders(ctx, req.(*v1beta110.GetAppProvidersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_AddAppProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta110.AddAppProviderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).AddAppProvider(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/AddAppProvider", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).AddAppProvider(ctx, req.(*v1beta110.AddAppProviderRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListAppProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta110.ListAppProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListAppProviders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListAppProviders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListAppProviders(ctx, req.(*v1beta110.ListAppProvidersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListSupportedMimeTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta110.ListSupportedMimeTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListSupportedMimeTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListSupportedMimeTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListSupportedMimeTypes(ctx, req.(*v1beta110.ListSupportedMimeTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetDefaultAppProviderForMimeType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta110.GetDefaultAppProviderForMimeTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetDefaultAppProviderForMimeType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetDefaultAppProviderForMimeType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetDefaultAppProviderForMimeType(ctx, req.(*v1beta110.GetDefaultAppProviderForMimeTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_SetDefaultAppProviderForMimeType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta110.SetDefaultAppProviderForMimeTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).SetDefaultAppProviderForMimeType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/SetDefaultAppProviderForMimeType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).SetDefaultAppProviderForMimeType(ctx, req.(*v1beta110.SetDefaultAppProviderForMimeTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta12.GetUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetUser(ctx, req.(*v1beta12.GetUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetUserByClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta12.GetUserByClaimRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetUserByClaim(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetUserByClaim", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetUserByClaim(ctx, req.(*v1beta12.GetUserByClaimRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetUserGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta12.GetUserGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetUserGroups(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetUserGroups", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetUserGroups(ctx, req.(*v1beta12.GetUserGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_FindUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta12.FindUsersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).FindUsers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/FindUsers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).FindUsers(ctx, req.(*v1beta12.FindUsersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta111.GetGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetGroup(ctx, req.(*v1beta111.GetGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetGroupByClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta111.GetGroupByClaimRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetGroupByClaim(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetGroupByClaim", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetGroupByClaim(ctx, req.(*v1beta111.GetGroupByClaimRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta111.GetMembersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetMembers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetMembers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetMembers(ctx, req.(*v1beta111.GetMembersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_HasMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta111.HasMemberRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).HasMember(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/HasMember", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).HasMember(ctx, req.(*v1beta111.HasMemberRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_FindGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta111.FindGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).FindGroups(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/FindGroups", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).FindGroups(ctx, req.(*v1beta111.FindGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListAuthProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta112.ListAuthProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListAuthProviders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListAuthProviders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListAuthProviders(ctx, req.(*v1beta112.ListAuthProvidersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta13.GetHomeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetHome(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetHome", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetHome(ctx, req.(*v1beta13.GetHomeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GenerateInviteToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta113.GenerateInviteTokenRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GenerateInviteToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GenerateInviteToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GenerateInviteToken(ctx, req.(*v1beta113.GenerateInviteTokenRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListInviteTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta113.ListInviteTokensRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListInviteTokens(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListInviteTokens", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListInviteTokens(ctx, req.(*v1beta113.ListInviteTokensRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ForwardInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta113.ForwardInviteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ForwardInvite(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ForwardInvite", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ForwardInvite(ctx, req.(*v1beta113.ForwardInviteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_AcceptInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta113.AcceptInviteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).AcceptInvite(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/AcceptInvite", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).AcceptInvite(ctx, req.(*v1beta113.AcceptInviteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetAcceptedUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta113.GetAcceptedUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetAcceptedUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetAcceptedUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetAcceptedUser(ctx, req.(*v1beta113.GetAcceptedUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_FindAcceptedUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta113.FindAcceptedUsersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).FindAcceptedUsers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/FindAcceptedUsers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).FindAcceptedUsers(ctx, req.(*v1beta113.FindAcceptedUsersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_DeleteAcceptedUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta113.DeleteAcceptedUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).DeleteAcceptedUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/DeleteAcceptedUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).DeleteAcceptedUser(ctx, req.(*v1beta113.DeleteAcceptedUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_IsProviderAllowed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta114.IsProviderAllowedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).IsProviderAllowed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/IsProviderAllowed", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).IsProviderAllowed(ctx, req.(*v1beta114.IsProviderAllowedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetInfoByDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta114.GetInfoByDomainRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetInfoByDomain(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetInfoByDomain", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetInfoByDomain(ctx, req.(*v1beta114.GetInfoByDomainRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListAllProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta114.ListAllProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListAllProviders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListAllProviders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListAllProviders(ctx, req.(*v1beta114.ListAllProvidersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CreateOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta115.CreateOCMCoreShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CreateOCMCoreShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreateOCMCoreShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CreateOCMCoreShare(ctx, req.(*v1beta115.CreateOCMCoreShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_UpdateOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta115.UpdateOCMCoreShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).UpdateOCMCoreShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMCoreShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).UpdateOCMCoreShare(ctx, req.(*v1beta115.UpdateOCMCoreShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_DeleteOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta115.DeleteOCMCoreShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).DeleteOCMCoreShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/DeleteOCMCoreShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).DeleteOCMCoreShare(ctx, req.(*v1beta115.DeleteOCMCoreShareRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CreateTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta116.CreateTransferRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CreateTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreateTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CreateTransfer(ctx, req.(*v1beta116.CreateTransferRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_GetTransferStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta116.GetTransferStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).GetTransferStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/GetTransferStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).GetTransferStatus(ctx, req.(*v1beta116.GetTransferStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CancelTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta116.CancelTransferRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CancelTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CancelTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CancelTransfer(ctx, req.(*v1beta116.CancelTransferRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_ListTransfers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta116.ListTransfersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).ListTransfers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/ListTransfers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).ListTransfers(ctx, req.(*v1beta116.ListTransfersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_RetryTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta116.RetryTransferRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).RetryTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/RetryTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).RetryTransfer(ctx, req.(*v1beta116.RetryTransferRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GatewayAPI_CheckPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(v1beta117.CheckPermissionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GatewayAPIServer).CheckPermission(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CheckPermission", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GatewayAPIServer).CheckPermission(ctx, req.(*v1beta117.CheckPermissionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GatewayAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.gateway.v1beta1.GatewayAPI", - HandlerType: (*GatewayAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Authenticate", - Handler: _GatewayAPI_Authenticate_Handler, - }, - { - MethodName: "WhoAmI", - Handler: _GatewayAPI_WhoAmI_Handler, - }, - { - MethodName: "GenerateAppPassword", - Handler: _GatewayAPI_GenerateAppPassword_Handler, - }, - { - MethodName: "ListAppPasswords", - Handler: _GatewayAPI_ListAppPasswords_Handler, - }, - { - MethodName: "InvalidateAppPassword", - Handler: _GatewayAPI_InvalidateAppPassword_Handler, - }, - { - MethodName: "GetAppPassword", - Handler: _GatewayAPI_GetAppPassword_Handler, - }, - { - MethodName: "CreateContainer", - Handler: _GatewayAPI_CreateContainer_Handler, - }, - { - MethodName: "TouchFile", - Handler: _GatewayAPI_TouchFile_Handler, - }, - { - MethodName: "Delete", - Handler: _GatewayAPI_Delete_Handler, - }, - { - MethodName: "GetPath", - Handler: _GatewayAPI_GetPath_Handler, - }, - { - MethodName: "GetQuota", - Handler: _GatewayAPI_GetQuota_Handler, - }, - { - MethodName: "InitiateFileDownload", - Handler: _GatewayAPI_InitiateFileDownload_Handler, - }, - { - MethodName: "InitiateFileUpload", - Handler: _GatewayAPI_InitiateFileUpload_Handler, - }, - { - MethodName: "ListContainer", - Handler: _GatewayAPI_ListContainer_Handler, - }, - { - MethodName: "ListFileVersions", - Handler: _GatewayAPI_ListFileVersions_Handler, - }, - { - MethodName: "ListRecycle", - Handler: _GatewayAPI_ListRecycle_Handler, - }, - { - MethodName: "Move", - Handler: _GatewayAPI_Move_Handler, - }, - { - MethodName: "PurgeRecycle", - Handler: _GatewayAPI_PurgeRecycle_Handler, - }, - { - MethodName: "RestoreFileVersion", - Handler: _GatewayAPI_RestoreFileVersion_Handler, - }, - { - MethodName: "RestoreRecycleItem", - Handler: _GatewayAPI_RestoreRecycleItem_Handler, - }, - { - MethodName: "Stat", - Handler: _GatewayAPI_Stat_Handler, - }, - { - MethodName: "CreateSymlink", - Handler: _GatewayAPI_CreateSymlink_Handler, - }, - { - MethodName: "SetArbitraryMetadata", - Handler: _GatewayAPI_SetArbitraryMetadata_Handler, - }, - { - MethodName: "UnsetArbitraryMetadata", - Handler: _GatewayAPI_UnsetArbitraryMetadata_Handler, - }, - { - MethodName: "SetLock", - Handler: _GatewayAPI_SetLock_Handler, - }, - { - MethodName: "GetLock", - Handler: _GatewayAPI_GetLock_Handler, - }, - { - MethodName: "RefreshLock", - Handler: _GatewayAPI_RefreshLock_Handler, - }, - { - MethodName: "Unlock", - Handler: _GatewayAPI_Unlock_Handler, - }, - { - MethodName: "CreateHome", - Handler: _GatewayAPI_CreateHome_Handler, - }, - { - MethodName: "CreateStorageSpace", - Handler: _GatewayAPI_CreateStorageSpace_Handler, - }, - { - MethodName: "ListStorageSpaces", - Handler: _GatewayAPI_ListStorageSpaces_Handler, - }, - { - MethodName: "UpdateStorageSpace", - Handler: _GatewayAPI_UpdateStorageSpace_Handler, - }, - { - MethodName: "DeleteStorageSpace", - Handler: _GatewayAPI_DeleteStorageSpace_Handler, - }, - { - MethodName: "OpenInApp", - Handler: _GatewayAPI_OpenInApp_Handler, - }, - { - MethodName: "CreateShare", - Handler: _GatewayAPI_CreateShare_Handler, - }, - { - MethodName: "RemoveShare", - Handler: _GatewayAPI_RemoveShare_Handler, - }, - { - MethodName: "GetShare", - Handler: _GatewayAPI_GetShare_Handler, - }, - { - MethodName: "ListShares", - Handler: _GatewayAPI_ListShares_Handler, - }, - { - MethodName: "UpdateShare", - Handler: _GatewayAPI_UpdateShare_Handler, - }, - { - MethodName: "ListReceivedShares", - Handler: _GatewayAPI_ListReceivedShares_Handler, - }, - { - MethodName: "UpdateReceivedShare", - Handler: _GatewayAPI_UpdateReceivedShare_Handler, - }, - { - MethodName: "GetReceivedShare", - Handler: _GatewayAPI_GetReceivedShare_Handler, - }, - { - MethodName: "SetKey", - Handler: _GatewayAPI_SetKey_Handler, - }, - { - MethodName: "GetKey", - Handler: _GatewayAPI_GetKey_Handler, - }, - { - MethodName: "CreatePublicShare", - Handler: _GatewayAPI_CreatePublicShare_Handler, - }, - { - MethodName: "RemovePublicShare", - Handler: _GatewayAPI_RemovePublicShare_Handler, - }, - { - MethodName: "GetPublicShare", - Handler: _GatewayAPI_GetPublicShare_Handler, - }, - { - MethodName: "GetPublicShareByToken", - Handler: _GatewayAPI_GetPublicShareByToken_Handler, - }, - { - MethodName: "ListPublicShares", - Handler: _GatewayAPI_ListPublicShares_Handler, - }, - { - MethodName: "UpdatePublicShare", - Handler: _GatewayAPI_UpdatePublicShare_Handler, - }, - { - MethodName: "CreateOCMShare", - Handler: _GatewayAPI_CreateOCMShare_Handler, - }, - { - MethodName: "RemoveOCMShare", - Handler: _GatewayAPI_RemoveOCMShare_Handler, - }, - { - MethodName: "GetOCMShare", - Handler: _GatewayAPI_GetOCMShare_Handler, - }, - { - MethodName: "GetOCMShareByToken", - Handler: _GatewayAPI_GetOCMShareByToken_Handler, - }, - { - MethodName: "ListOCMShares", - Handler: _GatewayAPI_ListOCMShares_Handler, - }, - { - MethodName: "UpdateOCMShare", - Handler: _GatewayAPI_UpdateOCMShare_Handler, - }, - { - MethodName: "ListReceivedOCMShares", - Handler: _GatewayAPI_ListReceivedOCMShares_Handler, - }, - { - MethodName: "UpdateReceivedOCMShare", - Handler: _GatewayAPI_UpdateReceivedOCMShare_Handler, - }, - { - MethodName: "GetReceivedOCMShare", - Handler: _GatewayAPI_GetReceivedOCMShare_Handler, - }, - { - MethodName: "GetAppProviders", - Handler: _GatewayAPI_GetAppProviders_Handler, - }, - { - MethodName: "AddAppProvider", - Handler: _GatewayAPI_AddAppProvider_Handler, - }, - { - MethodName: "ListAppProviders", - Handler: _GatewayAPI_ListAppProviders_Handler, - }, - { - MethodName: "ListSupportedMimeTypes", - Handler: _GatewayAPI_ListSupportedMimeTypes_Handler, - }, - { - MethodName: "GetDefaultAppProviderForMimeType", - Handler: _GatewayAPI_GetDefaultAppProviderForMimeType_Handler, - }, - { - MethodName: "SetDefaultAppProviderForMimeType", - Handler: _GatewayAPI_SetDefaultAppProviderForMimeType_Handler, - }, - { - MethodName: "GetUser", - Handler: _GatewayAPI_GetUser_Handler, - }, - { - MethodName: "GetUserByClaim", - Handler: _GatewayAPI_GetUserByClaim_Handler, - }, - { - MethodName: "GetUserGroups", - Handler: _GatewayAPI_GetUserGroups_Handler, - }, - { - MethodName: "FindUsers", - Handler: _GatewayAPI_FindUsers_Handler, - }, - { - MethodName: "GetGroup", - Handler: _GatewayAPI_GetGroup_Handler, - }, - { - MethodName: "GetGroupByClaim", - Handler: _GatewayAPI_GetGroupByClaim_Handler, - }, - { - MethodName: "GetMembers", - Handler: _GatewayAPI_GetMembers_Handler, - }, - { - MethodName: "HasMember", - Handler: _GatewayAPI_HasMember_Handler, - }, - { - MethodName: "FindGroups", - Handler: _GatewayAPI_FindGroups_Handler, - }, - { - MethodName: "ListAuthProviders", - Handler: _GatewayAPI_ListAuthProviders_Handler, - }, - { - MethodName: "GetHome", - Handler: _GatewayAPI_GetHome_Handler, - }, - { - MethodName: "GenerateInviteToken", - Handler: _GatewayAPI_GenerateInviteToken_Handler, - }, - { - MethodName: "ListInviteTokens", - Handler: _GatewayAPI_ListInviteTokens_Handler, - }, - { - MethodName: "ForwardInvite", - Handler: _GatewayAPI_ForwardInvite_Handler, - }, - { - MethodName: "AcceptInvite", - Handler: _GatewayAPI_AcceptInvite_Handler, - }, - { - MethodName: "GetAcceptedUser", - Handler: _GatewayAPI_GetAcceptedUser_Handler, - }, - { - MethodName: "FindAcceptedUsers", - Handler: _GatewayAPI_FindAcceptedUsers_Handler, - }, - { - MethodName: "DeleteAcceptedUser", - Handler: _GatewayAPI_DeleteAcceptedUser_Handler, - }, - { - MethodName: "IsProviderAllowed", - Handler: _GatewayAPI_IsProviderAllowed_Handler, - }, - { - MethodName: "GetInfoByDomain", - Handler: _GatewayAPI_GetInfoByDomain_Handler, - }, - { - MethodName: "ListAllProviders", - Handler: _GatewayAPI_ListAllProviders_Handler, - }, - { - MethodName: "CreateOCMCoreShare", - Handler: _GatewayAPI_CreateOCMCoreShare_Handler, - }, - { - MethodName: "UpdateOCMCoreShare", - Handler: _GatewayAPI_UpdateOCMCoreShare_Handler, - }, - { - MethodName: "DeleteOCMCoreShare", - Handler: _GatewayAPI_DeleteOCMCoreShare_Handler, - }, - { - MethodName: "CreateTransfer", - Handler: _GatewayAPI_CreateTransfer_Handler, - }, - { - MethodName: "GetTransferStatus", - Handler: _GatewayAPI_GetTransferStatus_Handler, - }, - { - MethodName: "CancelTransfer", - Handler: _GatewayAPI_CancelTransfer_Handler, - }, - { - MethodName: "ListTransfers", - Handler: _GatewayAPI_ListTransfers_Handler, - }, - { - MethodName: "RetryTransfer", - Handler: _GatewayAPI_RetryTransfer_Handler, - }, - { - MethodName: "CheckPermission", - Handler: _GatewayAPI_CheckPermission_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ListContainerStream", - Handler: _GatewayAPI_ListContainerStream_Handler, - ServerStreams: true, - }, - { - StreamName: "ListRecycleStream", - Handler: _GatewayAPI_ListRecycleStream_Handler, - ServerStreams: true, - }, - }, - Metadata: "cs3/gateway/v1beta1/gateway_api.proto", +func file_cs3_gateway_v1beta1_gateway_api_proto_rawDescGZIP() []byte { + file_cs3_gateway_v1beta1_gateway_api_proto_rawDescOnce.Do(func() { + file_cs3_gateway_v1beta1_gateway_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_gateway_v1beta1_gateway_api_proto_rawDescData) + }) + return file_cs3_gateway_v1beta1_gateway_api_proto_rawDescData +} + +var file_cs3_gateway_v1beta1_gateway_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_cs3_gateway_v1beta1_gateway_api_proto_goTypes = []interface{}{ + (OpenInAppRequest_ViewMode)(0), // 0: cs3.gateway.v1beta1.OpenInAppRequest.ViewMode + (*AuthenticateRequest)(nil), // 1: cs3.gateway.v1beta1.AuthenticateRequest + (*AuthenticateResponse)(nil), // 2: cs3.gateway.v1beta1.AuthenticateResponse + (*WhoAmIRequest)(nil), // 3: cs3.gateway.v1beta1.WhoAmIRequest + (*WhoAmIResponse)(nil), // 4: cs3.gateway.v1beta1.WhoAmIResponse + (*GetQuotaRequest)(nil), // 5: cs3.gateway.v1beta1.GetQuotaRequest + (*InitiateFileDownloadResponse)(nil), // 6: cs3.gateway.v1beta1.InitiateFileDownloadResponse + (*InitiateFileUploadResponse)(nil), // 7: cs3.gateway.v1beta1.InitiateFileUploadResponse + (*ListAuthProvidersResponse)(nil), // 8: cs3.gateway.v1beta1.ListAuthProvidersResponse + (*ListExistingReceivedSharesResponse)(nil), // 9: cs3.gateway.v1beta1.ListExistingReceivedSharesResponse + (*OpenInAppRequest)(nil), // 10: cs3.gateway.v1beta1.OpenInAppRequest + (*v1beta1.Opaque)(nil), // 11: cs3.types.v1beta1.Opaque + (*v1beta11.Status)(nil), // 12: cs3.rpc.v1beta1.Status + (*v1beta12.User)(nil), // 13: cs3.identity.user.v1beta1.User + (*v1beta13.Reference)(nil), // 14: cs3.storage.provider.v1beta1.Reference + (*FileDownloadProtocol)(nil), // 15: cs3.gateway.v1beta1.FileDownloadProtocol + (*FileUploadProtocol)(nil), // 16: cs3.gateway.v1beta1.FileUploadProtocol + (*SharedResourceInfo)(nil), // 17: cs3.gateway.v1beta1.SharedResourceInfo + (*v1beta14.GenerateAppPasswordRequest)(nil), // 18: cs3.auth.applications.v1beta1.GenerateAppPasswordRequest + (*v1beta14.ListAppPasswordsRequest)(nil), // 19: cs3.auth.applications.v1beta1.ListAppPasswordsRequest + (*v1beta14.InvalidateAppPasswordRequest)(nil), // 20: cs3.auth.applications.v1beta1.InvalidateAppPasswordRequest + (*v1beta14.GetAppPasswordRequest)(nil), // 21: cs3.auth.applications.v1beta1.GetAppPasswordRequest + (*v1beta13.CreateContainerRequest)(nil), // 22: cs3.storage.provider.v1beta1.CreateContainerRequest + (*v1beta13.TouchFileRequest)(nil), // 23: cs3.storage.provider.v1beta1.TouchFileRequest + (*v1beta13.DeleteRequest)(nil), // 24: cs3.storage.provider.v1beta1.DeleteRequest + (*v1beta13.GetPathRequest)(nil), // 25: cs3.storage.provider.v1beta1.GetPathRequest + (*v1beta13.InitiateFileDownloadRequest)(nil), // 26: cs3.storage.provider.v1beta1.InitiateFileDownloadRequest + (*v1beta13.InitiateFileUploadRequest)(nil), // 27: cs3.storage.provider.v1beta1.InitiateFileUploadRequest + (*v1beta13.ListContainerStreamRequest)(nil), // 28: cs3.storage.provider.v1beta1.ListContainerStreamRequest + (*v1beta13.ListContainerRequest)(nil), // 29: cs3.storage.provider.v1beta1.ListContainerRequest + (*v1beta13.ListFileVersionsRequest)(nil), // 30: cs3.storage.provider.v1beta1.ListFileVersionsRequest + (*v1beta13.ListRecycleStreamRequest)(nil), // 31: cs3.storage.provider.v1beta1.ListRecycleStreamRequest + (*v1beta13.ListRecycleRequest)(nil), // 32: cs3.storage.provider.v1beta1.ListRecycleRequest + (*v1beta13.MoveRequest)(nil), // 33: cs3.storage.provider.v1beta1.MoveRequest + (*v1beta13.PurgeRecycleRequest)(nil), // 34: cs3.storage.provider.v1beta1.PurgeRecycleRequest + (*v1beta13.RestoreFileVersionRequest)(nil), // 35: cs3.storage.provider.v1beta1.RestoreFileVersionRequest + (*v1beta13.RestoreRecycleItemRequest)(nil), // 36: cs3.storage.provider.v1beta1.RestoreRecycleItemRequest + (*v1beta13.StatRequest)(nil), // 37: cs3.storage.provider.v1beta1.StatRequest + (*v1beta13.CreateSymlinkRequest)(nil), // 38: cs3.storage.provider.v1beta1.CreateSymlinkRequest + (*v1beta13.SetArbitraryMetadataRequest)(nil), // 39: cs3.storage.provider.v1beta1.SetArbitraryMetadataRequest + (*v1beta13.UnsetArbitraryMetadataRequest)(nil), // 40: cs3.storage.provider.v1beta1.UnsetArbitraryMetadataRequest + (*v1beta13.SetLockRequest)(nil), // 41: cs3.storage.provider.v1beta1.SetLockRequest + (*v1beta13.GetLockRequest)(nil), // 42: cs3.storage.provider.v1beta1.GetLockRequest + (*v1beta13.RefreshLockRequest)(nil), // 43: cs3.storage.provider.v1beta1.RefreshLockRequest + (*v1beta13.UnlockRequest)(nil), // 44: cs3.storage.provider.v1beta1.UnlockRequest + (*v1beta13.CreateHomeRequest)(nil), // 45: cs3.storage.provider.v1beta1.CreateHomeRequest + (*v1beta13.CreateStorageSpaceRequest)(nil), // 46: cs3.storage.provider.v1beta1.CreateStorageSpaceRequest + (*v1beta13.ListStorageSpacesRequest)(nil), // 47: cs3.storage.provider.v1beta1.ListStorageSpacesRequest + (*v1beta13.UpdateStorageSpaceRequest)(nil), // 48: cs3.storage.provider.v1beta1.UpdateStorageSpaceRequest + (*v1beta13.DeleteStorageSpaceRequest)(nil), // 49: cs3.storage.provider.v1beta1.DeleteStorageSpaceRequest + (*v1beta15.CreateShareRequest)(nil), // 50: cs3.sharing.collaboration.v1beta1.CreateShareRequest + (*v1beta15.RemoveShareRequest)(nil), // 51: cs3.sharing.collaboration.v1beta1.RemoveShareRequest + (*v1beta15.GetShareRequest)(nil), // 52: cs3.sharing.collaboration.v1beta1.GetShareRequest + (*v1beta15.ListSharesRequest)(nil), // 53: cs3.sharing.collaboration.v1beta1.ListSharesRequest + (*v1beta15.UpdateShareRequest)(nil), // 54: cs3.sharing.collaboration.v1beta1.UpdateShareRequest + (*v1beta15.ListReceivedSharesRequest)(nil), // 55: cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest + (*v1beta15.UpdateReceivedShareRequest)(nil), // 56: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest + (*v1beta15.GetReceivedShareRequest)(nil), // 57: cs3.sharing.collaboration.v1beta1.GetReceivedShareRequest + (*v1beta16.SetKeyRequest)(nil), // 58: cs3.preferences.v1beta1.SetKeyRequest + (*v1beta16.GetKeyRequest)(nil), // 59: cs3.preferences.v1beta1.GetKeyRequest + (*v1beta17.CreatePublicShareRequest)(nil), // 60: cs3.sharing.link.v1beta1.CreatePublicShareRequest + (*v1beta17.RemovePublicShareRequest)(nil), // 61: cs3.sharing.link.v1beta1.RemovePublicShareRequest + (*v1beta17.GetPublicShareRequest)(nil), // 62: cs3.sharing.link.v1beta1.GetPublicShareRequest + (*v1beta17.GetPublicShareByTokenRequest)(nil), // 63: cs3.sharing.link.v1beta1.GetPublicShareByTokenRequest + (*v1beta17.ListPublicSharesRequest)(nil), // 64: cs3.sharing.link.v1beta1.ListPublicSharesRequest + (*v1beta17.UpdatePublicShareRequest)(nil), // 65: cs3.sharing.link.v1beta1.UpdatePublicShareRequest + (*v1beta18.CreateOCMShareRequest)(nil), // 66: cs3.sharing.ocm.v1beta1.CreateOCMShareRequest + (*v1beta18.RemoveOCMShareRequest)(nil), // 67: cs3.sharing.ocm.v1beta1.RemoveOCMShareRequest + (*v1beta18.GetOCMShareRequest)(nil), // 68: cs3.sharing.ocm.v1beta1.GetOCMShareRequest + (*v1beta18.GetOCMShareByTokenRequest)(nil), // 69: cs3.sharing.ocm.v1beta1.GetOCMShareByTokenRequest + (*v1beta18.ListOCMSharesRequest)(nil), // 70: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest + (*v1beta18.UpdateOCMShareRequest)(nil), // 71: cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest + (*v1beta18.ListReceivedOCMSharesRequest)(nil), // 72: cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesRequest + (*v1beta18.UpdateReceivedOCMShareRequest)(nil), // 73: cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest + (*v1beta18.GetReceivedOCMShareRequest)(nil), // 74: cs3.sharing.ocm.v1beta1.GetReceivedOCMShareRequest + (*v1beta19.GetAppProvidersRequest)(nil), // 75: cs3.app.registry.v1beta1.GetAppProvidersRequest + (*v1beta19.AddAppProviderRequest)(nil), // 76: cs3.app.registry.v1beta1.AddAppProviderRequest + (*v1beta19.ListAppProvidersRequest)(nil), // 77: cs3.app.registry.v1beta1.ListAppProvidersRequest + (*v1beta19.ListSupportedMimeTypesRequest)(nil), // 78: cs3.app.registry.v1beta1.ListSupportedMimeTypesRequest + (*v1beta19.GetDefaultAppProviderForMimeTypeRequest)(nil), // 79: cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeRequest + (*v1beta19.SetDefaultAppProviderForMimeTypeRequest)(nil), // 80: cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeRequest + (*v1beta12.GetUserRequest)(nil), // 81: cs3.identity.user.v1beta1.GetUserRequest + (*v1beta12.GetUserByClaimRequest)(nil), // 82: cs3.identity.user.v1beta1.GetUserByClaimRequest + (*v1beta12.GetUserGroupsRequest)(nil), // 83: cs3.identity.user.v1beta1.GetUserGroupsRequest + (*v1beta12.FindUsersRequest)(nil), // 84: cs3.identity.user.v1beta1.FindUsersRequest + (*v1beta110.GetGroupRequest)(nil), // 85: cs3.identity.group.v1beta1.GetGroupRequest + (*v1beta110.GetGroupByClaimRequest)(nil), // 86: cs3.identity.group.v1beta1.GetGroupByClaimRequest + (*v1beta110.GetMembersRequest)(nil), // 87: cs3.identity.group.v1beta1.GetMembersRequest + (*v1beta110.HasMemberRequest)(nil), // 88: cs3.identity.group.v1beta1.HasMemberRequest + (*v1beta110.FindGroupsRequest)(nil), // 89: cs3.identity.group.v1beta1.FindGroupsRequest + (*v1beta111.ListAuthProvidersRequest)(nil), // 90: cs3.auth.registry.v1beta1.ListAuthProvidersRequest + (*v1beta13.GetHomeRequest)(nil), // 91: cs3.storage.provider.v1beta1.GetHomeRequest + (*v1beta112.GenerateInviteTokenRequest)(nil), // 92: cs3.ocm.invite.v1beta1.GenerateInviteTokenRequest + (*v1beta112.ListInviteTokensRequest)(nil), // 93: cs3.ocm.invite.v1beta1.ListInviteTokensRequest + (*v1beta112.ForwardInviteRequest)(nil), // 94: cs3.ocm.invite.v1beta1.ForwardInviteRequest + (*v1beta112.AcceptInviteRequest)(nil), // 95: cs3.ocm.invite.v1beta1.AcceptInviteRequest + (*v1beta112.GetAcceptedUserRequest)(nil), // 96: cs3.ocm.invite.v1beta1.GetAcceptedUserRequest + (*v1beta112.FindAcceptedUsersRequest)(nil), // 97: cs3.ocm.invite.v1beta1.FindAcceptedUsersRequest + (*v1beta112.DeleteAcceptedUserRequest)(nil), // 98: cs3.ocm.invite.v1beta1.DeleteAcceptedUserRequest + (*v1beta113.IsProviderAllowedRequest)(nil), // 99: cs3.ocm.provider.v1beta1.IsProviderAllowedRequest + (*v1beta113.GetInfoByDomainRequest)(nil), // 100: cs3.ocm.provider.v1beta1.GetInfoByDomainRequest + (*v1beta113.ListAllProvidersRequest)(nil), // 101: cs3.ocm.provider.v1beta1.ListAllProvidersRequest + (*v1beta114.CreateOCMCoreShareRequest)(nil), // 102: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest + (*v1beta114.UpdateOCMCoreShareRequest)(nil), // 103: cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest + (*v1beta114.DeleteOCMCoreShareRequest)(nil), // 104: cs3.ocm.core.v1beta1.DeleteOCMCoreShareRequest + (*v1beta115.CreateTransferRequest)(nil), // 105: cs3.tx.v1beta1.CreateTransferRequest + (*v1beta115.GetTransferStatusRequest)(nil), // 106: cs3.tx.v1beta1.GetTransferStatusRequest + (*v1beta115.CancelTransferRequest)(nil), // 107: cs3.tx.v1beta1.CancelTransferRequest + (*v1beta115.ListTransfersRequest)(nil), // 108: cs3.tx.v1beta1.ListTransfersRequest + (*v1beta115.RetryTransferRequest)(nil), // 109: cs3.tx.v1beta1.RetryTransferRequest + (*v1beta116.CheckPermissionRequest)(nil), // 110: cs3.permissions.v1beta1.CheckPermissionRequest + (*v1beta14.GenerateAppPasswordResponse)(nil), // 111: cs3.auth.applications.v1beta1.GenerateAppPasswordResponse + (*v1beta14.ListAppPasswordsResponse)(nil), // 112: cs3.auth.applications.v1beta1.ListAppPasswordsResponse + (*v1beta14.InvalidateAppPasswordResponse)(nil), // 113: cs3.auth.applications.v1beta1.InvalidateAppPasswordResponse + (*v1beta14.GetAppPasswordResponse)(nil), // 114: cs3.auth.applications.v1beta1.GetAppPasswordResponse + (*v1beta13.CreateContainerResponse)(nil), // 115: cs3.storage.provider.v1beta1.CreateContainerResponse + (*v1beta13.TouchFileResponse)(nil), // 116: cs3.storage.provider.v1beta1.TouchFileResponse + (*v1beta13.DeleteResponse)(nil), // 117: cs3.storage.provider.v1beta1.DeleteResponse + (*v1beta13.GetPathResponse)(nil), // 118: cs3.storage.provider.v1beta1.GetPathResponse + (*v1beta13.GetQuotaResponse)(nil), // 119: cs3.storage.provider.v1beta1.GetQuotaResponse + (*v1beta13.ListContainerStreamResponse)(nil), // 120: cs3.storage.provider.v1beta1.ListContainerStreamResponse + (*v1beta13.ListContainerResponse)(nil), // 121: cs3.storage.provider.v1beta1.ListContainerResponse + (*v1beta13.ListFileVersionsResponse)(nil), // 122: cs3.storage.provider.v1beta1.ListFileVersionsResponse + (*v1beta13.ListRecycleStreamResponse)(nil), // 123: cs3.storage.provider.v1beta1.ListRecycleStreamResponse + (*v1beta13.ListRecycleResponse)(nil), // 124: cs3.storage.provider.v1beta1.ListRecycleResponse + (*v1beta13.MoveResponse)(nil), // 125: cs3.storage.provider.v1beta1.MoveResponse + (*v1beta13.PurgeRecycleResponse)(nil), // 126: cs3.storage.provider.v1beta1.PurgeRecycleResponse + (*v1beta13.RestoreFileVersionResponse)(nil), // 127: cs3.storage.provider.v1beta1.RestoreFileVersionResponse + (*v1beta13.RestoreRecycleItemResponse)(nil), // 128: cs3.storage.provider.v1beta1.RestoreRecycleItemResponse + (*v1beta13.StatResponse)(nil), // 129: cs3.storage.provider.v1beta1.StatResponse + (*v1beta13.CreateSymlinkResponse)(nil), // 130: cs3.storage.provider.v1beta1.CreateSymlinkResponse + (*v1beta13.SetArbitraryMetadataResponse)(nil), // 131: cs3.storage.provider.v1beta1.SetArbitraryMetadataResponse + (*v1beta13.UnsetArbitraryMetadataResponse)(nil), // 132: cs3.storage.provider.v1beta1.UnsetArbitraryMetadataResponse + (*v1beta13.SetLockResponse)(nil), // 133: cs3.storage.provider.v1beta1.SetLockResponse + (*v1beta13.GetLockResponse)(nil), // 134: cs3.storage.provider.v1beta1.GetLockResponse + (*v1beta13.RefreshLockResponse)(nil), // 135: cs3.storage.provider.v1beta1.RefreshLockResponse + (*v1beta13.UnlockResponse)(nil), // 136: cs3.storage.provider.v1beta1.UnlockResponse + (*v1beta13.CreateHomeResponse)(nil), // 137: cs3.storage.provider.v1beta1.CreateHomeResponse + (*v1beta13.CreateStorageSpaceResponse)(nil), // 138: cs3.storage.provider.v1beta1.CreateStorageSpaceResponse + (*v1beta13.ListStorageSpacesResponse)(nil), // 139: cs3.storage.provider.v1beta1.ListStorageSpacesResponse + (*v1beta13.UpdateStorageSpaceResponse)(nil), // 140: cs3.storage.provider.v1beta1.UpdateStorageSpaceResponse + (*v1beta13.DeleteStorageSpaceResponse)(nil), // 141: cs3.storage.provider.v1beta1.DeleteStorageSpaceResponse + (*v1beta117.OpenInAppResponse)(nil), // 142: cs3.app.provider.v1beta1.OpenInAppResponse + (*v1beta15.CreateShareResponse)(nil), // 143: cs3.sharing.collaboration.v1beta1.CreateShareResponse + (*v1beta15.RemoveShareResponse)(nil), // 144: cs3.sharing.collaboration.v1beta1.RemoveShareResponse + (*v1beta15.GetShareResponse)(nil), // 145: cs3.sharing.collaboration.v1beta1.GetShareResponse + (*v1beta15.ListSharesResponse)(nil), // 146: cs3.sharing.collaboration.v1beta1.ListSharesResponse + (*v1beta15.UpdateShareResponse)(nil), // 147: cs3.sharing.collaboration.v1beta1.UpdateShareResponse + (*v1beta15.ListReceivedSharesResponse)(nil), // 148: cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse + (*v1beta15.UpdateReceivedShareResponse)(nil), // 149: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse + (*v1beta15.GetReceivedShareResponse)(nil), // 150: cs3.sharing.collaboration.v1beta1.GetReceivedShareResponse + (*v1beta16.SetKeyResponse)(nil), // 151: cs3.preferences.v1beta1.SetKeyResponse + (*v1beta16.GetKeyResponse)(nil), // 152: cs3.preferences.v1beta1.GetKeyResponse + (*v1beta17.CreatePublicShareResponse)(nil), // 153: cs3.sharing.link.v1beta1.CreatePublicShareResponse + (*v1beta17.RemovePublicShareResponse)(nil), // 154: cs3.sharing.link.v1beta1.RemovePublicShareResponse + (*v1beta17.GetPublicShareResponse)(nil), // 155: cs3.sharing.link.v1beta1.GetPublicShareResponse + (*v1beta17.GetPublicShareByTokenResponse)(nil), // 156: cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse + (*v1beta17.ListPublicSharesResponse)(nil), // 157: cs3.sharing.link.v1beta1.ListPublicSharesResponse + (*v1beta17.UpdatePublicShareResponse)(nil), // 158: cs3.sharing.link.v1beta1.UpdatePublicShareResponse + (*v1beta18.CreateOCMShareResponse)(nil), // 159: cs3.sharing.ocm.v1beta1.CreateOCMShareResponse + (*v1beta18.RemoveOCMShareResponse)(nil), // 160: cs3.sharing.ocm.v1beta1.RemoveOCMShareResponse + (*v1beta18.GetOCMShareResponse)(nil), // 161: cs3.sharing.ocm.v1beta1.GetOCMShareResponse + (*v1beta18.GetOCMShareByTokenResponse)(nil), // 162: cs3.sharing.ocm.v1beta1.GetOCMShareByTokenResponse + (*v1beta18.ListOCMSharesResponse)(nil), // 163: cs3.sharing.ocm.v1beta1.ListOCMSharesResponse + (*v1beta18.UpdateOCMShareResponse)(nil), // 164: cs3.sharing.ocm.v1beta1.UpdateOCMShareResponse + (*v1beta18.ListReceivedOCMSharesResponse)(nil), // 165: cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse + (*v1beta18.UpdateReceivedOCMShareResponse)(nil), // 166: cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareResponse + (*v1beta18.GetReceivedOCMShareResponse)(nil), // 167: cs3.sharing.ocm.v1beta1.GetReceivedOCMShareResponse + (*v1beta19.GetAppProvidersResponse)(nil), // 168: cs3.app.registry.v1beta1.GetAppProvidersResponse + (*v1beta19.AddAppProviderResponse)(nil), // 169: cs3.app.registry.v1beta1.AddAppProviderResponse + (*v1beta19.ListAppProvidersResponse)(nil), // 170: cs3.app.registry.v1beta1.ListAppProvidersResponse + (*v1beta19.ListSupportedMimeTypesResponse)(nil), // 171: cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse + (*v1beta19.GetDefaultAppProviderForMimeTypeResponse)(nil), // 172: cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeResponse + (*v1beta19.SetDefaultAppProviderForMimeTypeResponse)(nil), // 173: cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeResponse + (*v1beta12.GetUserResponse)(nil), // 174: cs3.identity.user.v1beta1.GetUserResponse + (*v1beta12.GetUserByClaimResponse)(nil), // 175: cs3.identity.user.v1beta1.GetUserByClaimResponse + (*v1beta12.GetUserGroupsResponse)(nil), // 176: cs3.identity.user.v1beta1.GetUserGroupsResponse + (*v1beta12.FindUsersResponse)(nil), // 177: cs3.identity.user.v1beta1.FindUsersResponse + (*v1beta110.GetGroupResponse)(nil), // 178: cs3.identity.group.v1beta1.GetGroupResponse + (*v1beta110.GetGroupByClaimResponse)(nil), // 179: cs3.identity.group.v1beta1.GetGroupByClaimResponse + (*v1beta110.GetMembersResponse)(nil), // 180: cs3.identity.group.v1beta1.GetMembersResponse + (*v1beta110.HasMemberResponse)(nil), // 181: cs3.identity.group.v1beta1.HasMemberResponse + (*v1beta110.FindGroupsResponse)(nil), // 182: cs3.identity.group.v1beta1.FindGroupsResponse + (*v1beta13.GetHomeResponse)(nil), // 183: cs3.storage.provider.v1beta1.GetHomeResponse + (*v1beta112.GenerateInviteTokenResponse)(nil), // 184: cs3.ocm.invite.v1beta1.GenerateInviteTokenResponse + (*v1beta112.ListInviteTokensResponse)(nil), // 185: cs3.ocm.invite.v1beta1.ListInviteTokensResponse + (*v1beta112.ForwardInviteResponse)(nil), // 186: cs3.ocm.invite.v1beta1.ForwardInviteResponse + (*v1beta112.AcceptInviteResponse)(nil), // 187: cs3.ocm.invite.v1beta1.AcceptInviteResponse + (*v1beta112.GetAcceptedUserResponse)(nil), // 188: cs3.ocm.invite.v1beta1.GetAcceptedUserResponse + (*v1beta112.FindAcceptedUsersResponse)(nil), // 189: cs3.ocm.invite.v1beta1.FindAcceptedUsersResponse + (*v1beta112.DeleteAcceptedUserResponse)(nil), // 190: cs3.ocm.invite.v1beta1.DeleteAcceptedUserResponse + (*v1beta113.IsProviderAllowedResponse)(nil), // 191: cs3.ocm.provider.v1beta1.IsProviderAllowedResponse + (*v1beta113.GetInfoByDomainResponse)(nil), // 192: cs3.ocm.provider.v1beta1.GetInfoByDomainResponse + (*v1beta113.ListAllProvidersResponse)(nil), // 193: cs3.ocm.provider.v1beta1.ListAllProvidersResponse + (*v1beta114.CreateOCMCoreShareResponse)(nil), // 194: cs3.ocm.core.v1beta1.CreateOCMCoreShareResponse + (*v1beta114.UpdateOCMCoreShareResponse)(nil), // 195: cs3.ocm.core.v1beta1.UpdateOCMCoreShareResponse + (*v1beta114.DeleteOCMCoreShareResponse)(nil), // 196: cs3.ocm.core.v1beta1.DeleteOCMCoreShareResponse + (*v1beta115.CreateTransferResponse)(nil), // 197: cs3.tx.v1beta1.CreateTransferResponse + (*v1beta115.GetTransferStatusResponse)(nil), // 198: cs3.tx.v1beta1.GetTransferStatusResponse + (*v1beta115.CancelTransferResponse)(nil), // 199: cs3.tx.v1beta1.CancelTransferResponse + (*v1beta115.ListTransfersResponse)(nil), // 200: cs3.tx.v1beta1.ListTransfersResponse + (*v1beta115.RetryTransferResponse)(nil), // 201: cs3.tx.v1beta1.RetryTransferResponse + (*v1beta116.CheckPermissionResponse)(nil), // 202: cs3.permissions.v1beta1.CheckPermissionResponse +} +var file_cs3_gateway_v1beta1_gateway_api_proto_depIdxs = []int32{ + 11, // 0: cs3.gateway.v1beta1.AuthenticateRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 1: cs3.gateway.v1beta1.AuthenticateResponse.status:type_name -> cs3.rpc.v1beta1.Status + 11, // 2: cs3.gateway.v1beta1.AuthenticateResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 3: cs3.gateway.v1beta1.AuthenticateResponse.user:type_name -> cs3.identity.user.v1beta1.User + 11, // 4: cs3.gateway.v1beta1.WhoAmIRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 5: cs3.gateway.v1beta1.WhoAmIResponse.status:type_name -> cs3.rpc.v1beta1.Status + 11, // 6: cs3.gateway.v1beta1.WhoAmIResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 7: cs3.gateway.v1beta1.WhoAmIResponse.user:type_name -> cs3.identity.user.v1beta1.User + 11, // 8: cs3.gateway.v1beta1.GetQuotaRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 9: cs3.gateway.v1beta1.GetQuotaRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 12, // 10: cs3.gateway.v1beta1.InitiateFileDownloadResponse.status:type_name -> cs3.rpc.v1beta1.Status + 11, // 11: cs3.gateway.v1beta1.InitiateFileDownloadResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 15, // 12: cs3.gateway.v1beta1.InitiateFileDownloadResponse.protocols:type_name -> cs3.gateway.v1beta1.FileDownloadProtocol + 12, // 13: cs3.gateway.v1beta1.InitiateFileUploadResponse.status:type_name -> cs3.rpc.v1beta1.Status + 11, // 14: cs3.gateway.v1beta1.InitiateFileUploadResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 15: cs3.gateway.v1beta1.InitiateFileUploadResponse.protocols:type_name -> cs3.gateway.v1beta1.FileUploadProtocol + 12, // 16: cs3.gateway.v1beta1.ListAuthProvidersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 11, // 17: cs3.gateway.v1beta1.ListAuthProvidersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 18: cs3.gateway.v1beta1.ListExistingReceivedSharesResponse.status:type_name -> cs3.rpc.v1beta1.Status + 11, // 19: cs3.gateway.v1beta1.ListExistingReceivedSharesResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 17, // 20: cs3.gateway.v1beta1.ListExistingReceivedSharesResponse.shares:type_name -> cs3.gateway.v1beta1.SharedResourceInfo + 11, // 21: cs3.gateway.v1beta1.OpenInAppRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 22: cs3.gateway.v1beta1.OpenInAppRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 0, // 23: cs3.gateway.v1beta1.OpenInAppRequest.view_mode:type_name -> cs3.gateway.v1beta1.OpenInAppRequest.ViewMode + 1, // 24: cs3.gateway.v1beta1.GatewayAPI.Authenticate:input_type -> cs3.gateway.v1beta1.AuthenticateRequest + 3, // 25: cs3.gateway.v1beta1.GatewayAPI.WhoAmI:input_type -> cs3.gateway.v1beta1.WhoAmIRequest + 18, // 26: cs3.gateway.v1beta1.GatewayAPI.GenerateAppPassword:input_type -> cs3.auth.applications.v1beta1.GenerateAppPasswordRequest + 19, // 27: cs3.gateway.v1beta1.GatewayAPI.ListAppPasswords:input_type -> cs3.auth.applications.v1beta1.ListAppPasswordsRequest + 20, // 28: cs3.gateway.v1beta1.GatewayAPI.InvalidateAppPassword:input_type -> cs3.auth.applications.v1beta1.InvalidateAppPasswordRequest + 21, // 29: cs3.gateway.v1beta1.GatewayAPI.GetAppPassword:input_type -> cs3.auth.applications.v1beta1.GetAppPasswordRequest + 22, // 30: cs3.gateway.v1beta1.GatewayAPI.CreateContainer:input_type -> cs3.storage.provider.v1beta1.CreateContainerRequest + 23, // 31: cs3.gateway.v1beta1.GatewayAPI.TouchFile:input_type -> cs3.storage.provider.v1beta1.TouchFileRequest + 24, // 32: cs3.gateway.v1beta1.GatewayAPI.Delete:input_type -> cs3.storage.provider.v1beta1.DeleteRequest + 25, // 33: cs3.gateway.v1beta1.GatewayAPI.GetPath:input_type -> cs3.storage.provider.v1beta1.GetPathRequest + 5, // 34: cs3.gateway.v1beta1.GatewayAPI.GetQuota:input_type -> cs3.gateway.v1beta1.GetQuotaRequest + 26, // 35: cs3.gateway.v1beta1.GatewayAPI.InitiateFileDownload:input_type -> cs3.storage.provider.v1beta1.InitiateFileDownloadRequest + 27, // 36: cs3.gateway.v1beta1.GatewayAPI.InitiateFileUpload:input_type -> cs3.storage.provider.v1beta1.InitiateFileUploadRequest + 28, // 37: cs3.gateway.v1beta1.GatewayAPI.ListContainerStream:input_type -> cs3.storage.provider.v1beta1.ListContainerStreamRequest + 29, // 38: cs3.gateway.v1beta1.GatewayAPI.ListContainer:input_type -> cs3.storage.provider.v1beta1.ListContainerRequest + 30, // 39: cs3.gateway.v1beta1.GatewayAPI.ListFileVersions:input_type -> cs3.storage.provider.v1beta1.ListFileVersionsRequest + 31, // 40: cs3.gateway.v1beta1.GatewayAPI.ListRecycleStream:input_type -> cs3.storage.provider.v1beta1.ListRecycleStreamRequest + 32, // 41: cs3.gateway.v1beta1.GatewayAPI.ListRecycle:input_type -> cs3.storage.provider.v1beta1.ListRecycleRequest + 33, // 42: cs3.gateway.v1beta1.GatewayAPI.Move:input_type -> cs3.storage.provider.v1beta1.MoveRequest + 34, // 43: cs3.gateway.v1beta1.GatewayAPI.PurgeRecycle:input_type -> cs3.storage.provider.v1beta1.PurgeRecycleRequest + 35, // 44: cs3.gateway.v1beta1.GatewayAPI.RestoreFileVersion:input_type -> cs3.storage.provider.v1beta1.RestoreFileVersionRequest + 36, // 45: cs3.gateway.v1beta1.GatewayAPI.RestoreRecycleItem:input_type -> cs3.storage.provider.v1beta1.RestoreRecycleItemRequest + 37, // 46: cs3.gateway.v1beta1.GatewayAPI.Stat:input_type -> cs3.storage.provider.v1beta1.StatRequest + 38, // 47: cs3.gateway.v1beta1.GatewayAPI.CreateSymlink:input_type -> cs3.storage.provider.v1beta1.CreateSymlinkRequest + 39, // 48: cs3.gateway.v1beta1.GatewayAPI.SetArbitraryMetadata:input_type -> cs3.storage.provider.v1beta1.SetArbitraryMetadataRequest + 40, // 49: cs3.gateway.v1beta1.GatewayAPI.UnsetArbitraryMetadata:input_type -> cs3.storage.provider.v1beta1.UnsetArbitraryMetadataRequest + 41, // 50: cs3.gateway.v1beta1.GatewayAPI.SetLock:input_type -> cs3.storage.provider.v1beta1.SetLockRequest + 42, // 51: cs3.gateway.v1beta1.GatewayAPI.GetLock:input_type -> cs3.storage.provider.v1beta1.GetLockRequest + 43, // 52: cs3.gateway.v1beta1.GatewayAPI.RefreshLock:input_type -> cs3.storage.provider.v1beta1.RefreshLockRequest + 44, // 53: cs3.gateway.v1beta1.GatewayAPI.Unlock:input_type -> cs3.storage.provider.v1beta1.UnlockRequest + 45, // 54: cs3.gateway.v1beta1.GatewayAPI.CreateHome:input_type -> cs3.storage.provider.v1beta1.CreateHomeRequest + 46, // 55: cs3.gateway.v1beta1.GatewayAPI.CreateStorageSpace:input_type -> cs3.storage.provider.v1beta1.CreateStorageSpaceRequest + 47, // 56: cs3.gateway.v1beta1.GatewayAPI.ListStorageSpaces:input_type -> cs3.storage.provider.v1beta1.ListStorageSpacesRequest + 48, // 57: cs3.gateway.v1beta1.GatewayAPI.UpdateStorageSpace:input_type -> cs3.storage.provider.v1beta1.UpdateStorageSpaceRequest + 49, // 58: cs3.gateway.v1beta1.GatewayAPI.DeleteStorageSpace:input_type -> cs3.storage.provider.v1beta1.DeleteStorageSpaceRequest + 10, // 59: cs3.gateway.v1beta1.GatewayAPI.OpenInApp:input_type -> cs3.gateway.v1beta1.OpenInAppRequest + 50, // 60: cs3.gateway.v1beta1.GatewayAPI.CreateShare:input_type -> cs3.sharing.collaboration.v1beta1.CreateShareRequest + 51, // 61: cs3.gateway.v1beta1.GatewayAPI.RemoveShare:input_type -> cs3.sharing.collaboration.v1beta1.RemoveShareRequest + 52, // 62: cs3.gateway.v1beta1.GatewayAPI.GetShare:input_type -> cs3.sharing.collaboration.v1beta1.GetShareRequest + 53, // 63: cs3.gateway.v1beta1.GatewayAPI.ListShares:input_type -> cs3.sharing.collaboration.v1beta1.ListSharesRequest + 54, // 64: cs3.gateway.v1beta1.GatewayAPI.UpdateShare:input_type -> cs3.sharing.collaboration.v1beta1.UpdateShareRequest + 55, // 65: cs3.gateway.v1beta1.GatewayAPI.ListReceivedShares:input_type -> cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest + 55, // 66: cs3.gateway.v1beta1.GatewayAPI.ListExistingReceivedShares:input_type -> cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest + 56, // 67: cs3.gateway.v1beta1.GatewayAPI.UpdateReceivedShare:input_type -> cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest + 57, // 68: cs3.gateway.v1beta1.GatewayAPI.GetReceivedShare:input_type -> cs3.sharing.collaboration.v1beta1.GetReceivedShareRequest + 58, // 69: cs3.gateway.v1beta1.GatewayAPI.SetKey:input_type -> cs3.preferences.v1beta1.SetKeyRequest + 59, // 70: cs3.gateway.v1beta1.GatewayAPI.GetKey:input_type -> cs3.preferences.v1beta1.GetKeyRequest + 60, // 71: cs3.gateway.v1beta1.GatewayAPI.CreatePublicShare:input_type -> cs3.sharing.link.v1beta1.CreatePublicShareRequest + 61, // 72: cs3.gateway.v1beta1.GatewayAPI.RemovePublicShare:input_type -> cs3.sharing.link.v1beta1.RemovePublicShareRequest + 62, // 73: cs3.gateway.v1beta1.GatewayAPI.GetPublicShare:input_type -> cs3.sharing.link.v1beta1.GetPublicShareRequest + 63, // 74: cs3.gateway.v1beta1.GatewayAPI.GetPublicShareByToken:input_type -> cs3.sharing.link.v1beta1.GetPublicShareByTokenRequest + 64, // 75: cs3.gateway.v1beta1.GatewayAPI.ListPublicShares:input_type -> cs3.sharing.link.v1beta1.ListPublicSharesRequest + 65, // 76: cs3.gateway.v1beta1.GatewayAPI.UpdatePublicShare:input_type -> cs3.sharing.link.v1beta1.UpdatePublicShareRequest + 66, // 77: cs3.gateway.v1beta1.GatewayAPI.CreateOCMShare:input_type -> cs3.sharing.ocm.v1beta1.CreateOCMShareRequest + 67, // 78: cs3.gateway.v1beta1.GatewayAPI.RemoveOCMShare:input_type -> cs3.sharing.ocm.v1beta1.RemoveOCMShareRequest + 68, // 79: cs3.gateway.v1beta1.GatewayAPI.GetOCMShare:input_type -> cs3.sharing.ocm.v1beta1.GetOCMShareRequest + 69, // 80: cs3.gateway.v1beta1.GatewayAPI.GetOCMShareByToken:input_type -> cs3.sharing.ocm.v1beta1.GetOCMShareByTokenRequest + 70, // 81: cs3.gateway.v1beta1.GatewayAPI.ListOCMShares:input_type -> cs3.sharing.ocm.v1beta1.ListOCMSharesRequest + 71, // 82: cs3.gateway.v1beta1.GatewayAPI.UpdateOCMShare:input_type -> cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest + 72, // 83: cs3.gateway.v1beta1.GatewayAPI.ListReceivedOCMShares:input_type -> cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesRequest + 73, // 84: cs3.gateway.v1beta1.GatewayAPI.UpdateReceivedOCMShare:input_type -> cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest + 74, // 85: cs3.gateway.v1beta1.GatewayAPI.GetReceivedOCMShare:input_type -> cs3.sharing.ocm.v1beta1.GetReceivedOCMShareRequest + 75, // 86: cs3.gateway.v1beta1.GatewayAPI.GetAppProviders:input_type -> cs3.app.registry.v1beta1.GetAppProvidersRequest + 76, // 87: cs3.gateway.v1beta1.GatewayAPI.AddAppProvider:input_type -> cs3.app.registry.v1beta1.AddAppProviderRequest + 77, // 88: cs3.gateway.v1beta1.GatewayAPI.ListAppProviders:input_type -> cs3.app.registry.v1beta1.ListAppProvidersRequest + 78, // 89: cs3.gateway.v1beta1.GatewayAPI.ListSupportedMimeTypes:input_type -> cs3.app.registry.v1beta1.ListSupportedMimeTypesRequest + 79, // 90: cs3.gateway.v1beta1.GatewayAPI.GetDefaultAppProviderForMimeType:input_type -> cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeRequest + 80, // 91: cs3.gateway.v1beta1.GatewayAPI.SetDefaultAppProviderForMimeType:input_type -> cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeRequest + 81, // 92: cs3.gateway.v1beta1.GatewayAPI.GetUser:input_type -> cs3.identity.user.v1beta1.GetUserRequest + 82, // 93: cs3.gateway.v1beta1.GatewayAPI.GetUserByClaim:input_type -> cs3.identity.user.v1beta1.GetUserByClaimRequest + 83, // 94: cs3.gateway.v1beta1.GatewayAPI.GetUserGroups:input_type -> cs3.identity.user.v1beta1.GetUserGroupsRequest + 84, // 95: cs3.gateway.v1beta1.GatewayAPI.FindUsers:input_type -> cs3.identity.user.v1beta1.FindUsersRequest + 85, // 96: cs3.gateway.v1beta1.GatewayAPI.GetGroup:input_type -> cs3.identity.group.v1beta1.GetGroupRequest + 86, // 97: cs3.gateway.v1beta1.GatewayAPI.GetGroupByClaim:input_type -> cs3.identity.group.v1beta1.GetGroupByClaimRequest + 87, // 98: cs3.gateway.v1beta1.GatewayAPI.GetMembers:input_type -> cs3.identity.group.v1beta1.GetMembersRequest + 88, // 99: cs3.gateway.v1beta1.GatewayAPI.HasMember:input_type -> cs3.identity.group.v1beta1.HasMemberRequest + 89, // 100: cs3.gateway.v1beta1.GatewayAPI.FindGroups:input_type -> cs3.identity.group.v1beta1.FindGroupsRequest + 90, // 101: cs3.gateway.v1beta1.GatewayAPI.ListAuthProviders:input_type -> cs3.auth.registry.v1beta1.ListAuthProvidersRequest + 91, // 102: cs3.gateway.v1beta1.GatewayAPI.GetHome:input_type -> cs3.storage.provider.v1beta1.GetHomeRequest + 92, // 103: cs3.gateway.v1beta1.GatewayAPI.GenerateInviteToken:input_type -> cs3.ocm.invite.v1beta1.GenerateInviteTokenRequest + 93, // 104: cs3.gateway.v1beta1.GatewayAPI.ListInviteTokens:input_type -> cs3.ocm.invite.v1beta1.ListInviteTokensRequest + 94, // 105: cs3.gateway.v1beta1.GatewayAPI.ForwardInvite:input_type -> cs3.ocm.invite.v1beta1.ForwardInviteRequest + 95, // 106: cs3.gateway.v1beta1.GatewayAPI.AcceptInvite:input_type -> cs3.ocm.invite.v1beta1.AcceptInviteRequest + 96, // 107: cs3.gateway.v1beta1.GatewayAPI.GetAcceptedUser:input_type -> cs3.ocm.invite.v1beta1.GetAcceptedUserRequest + 97, // 108: cs3.gateway.v1beta1.GatewayAPI.FindAcceptedUsers:input_type -> cs3.ocm.invite.v1beta1.FindAcceptedUsersRequest + 98, // 109: cs3.gateway.v1beta1.GatewayAPI.DeleteAcceptedUser:input_type -> cs3.ocm.invite.v1beta1.DeleteAcceptedUserRequest + 99, // 110: cs3.gateway.v1beta1.GatewayAPI.IsProviderAllowed:input_type -> cs3.ocm.provider.v1beta1.IsProviderAllowedRequest + 100, // 111: cs3.gateway.v1beta1.GatewayAPI.GetInfoByDomain:input_type -> cs3.ocm.provider.v1beta1.GetInfoByDomainRequest + 101, // 112: cs3.gateway.v1beta1.GatewayAPI.ListAllProviders:input_type -> cs3.ocm.provider.v1beta1.ListAllProvidersRequest + 102, // 113: cs3.gateway.v1beta1.GatewayAPI.CreateOCMCoreShare:input_type -> cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest + 103, // 114: cs3.gateway.v1beta1.GatewayAPI.UpdateOCMCoreShare:input_type -> cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest + 104, // 115: cs3.gateway.v1beta1.GatewayAPI.DeleteOCMCoreShare:input_type -> cs3.ocm.core.v1beta1.DeleteOCMCoreShareRequest + 105, // 116: cs3.gateway.v1beta1.GatewayAPI.CreateTransfer:input_type -> cs3.tx.v1beta1.CreateTransferRequest + 106, // 117: cs3.gateway.v1beta1.GatewayAPI.GetTransferStatus:input_type -> cs3.tx.v1beta1.GetTransferStatusRequest + 107, // 118: cs3.gateway.v1beta1.GatewayAPI.CancelTransfer:input_type -> cs3.tx.v1beta1.CancelTransferRequest + 108, // 119: cs3.gateway.v1beta1.GatewayAPI.ListTransfers:input_type -> cs3.tx.v1beta1.ListTransfersRequest + 109, // 120: cs3.gateway.v1beta1.GatewayAPI.RetryTransfer:input_type -> cs3.tx.v1beta1.RetryTransferRequest + 110, // 121: cs3.gateway.v1beta1.GatewayAPI.CheckPermission:input_type -> cs3.permissions.v1beta1.CheckPermissionRequest + 2, // 122: cs3.gateway.v1beta1.GatewayAPI.Authenticate:output_type -> cs3.gateway.v1beta1.AuthenticateResponse + 4, // 123: cs3.gateway.v1beta1.GatewayAPI.WhoAmI:output_type -> cs3.gateway.v1beta1.WhoAmIResponse + 111, // 124: cs3.gateway.v1beta1.GatewayAPI.GenerateAppPassword:output_type -> cs3.auth.applications.v1beta1.GenerateAppPasswordResponse + 112, // 125: cs3.gateway.v1beta1.GatewayAPI.ListAppPasswords:output_type -> cs3.auth.applications.v1beta1.ListAppPasswordsResponse + 113, // 126: cs3.gateway.v1beta1.GatewayAPI.InvalidateAppPassword:output_type -> cs3.auth.applications.v1beta1.InvalidateAppPasswordResponse + 114, // 127: cs3.gateway.v1beta1.GatewayAPI.GetAppPassword:output_type -> cs3.auth.applications.v1beta1.GetAppPasswordResponse + 115, // 128: cs3.gateway.v1beta1.GatewayAPI.CreateContainer:output_type -> cs3.storage.provider.v1beta1.CreateContainerResponse + 116, // 129: cs3.gateway.v1beta1.GatewayAPI.TouchFile:output_type -> cs3.storage.provider.v1beta1.TouchFileResponse + 117, // 130: cs3.gateway.v1beta1.GatewayAPI.Delete:output_type -> cs3.storage.provider.v1beta1.DeleteResponse + 118, // 131: cs3.gateway.v1beta1.GatewayAPI.GetPath:output_type -> cs3.storage.provider.v1beta1.GetPathResponse + 119, // 132: cs3.gateway.v1beta1.GatewayAPI.GetQuota:output_type -> cs3.storage.provider.v1beta1.GetQuotaResponse + 6, // 133: cs3.gateway.v1beta1.GatewayAPI.InitiateFileDownload:output_type -> cs3.gateway.v1beta1.InitiateFileDownloadResponse + 7, // 134: cs3.gateway.v1beta1.GatewayAPI.InitiateFileUpload:output_type -> cs3.gateway.v1beta1.InitiateFileUploadResponse + 120, // 135: cs3.gateway.v1beta1.GatewayAPI.ListContainerStream:output_type -> cs3.storage.provider.v1beta1.ListContainerStreamResponse + 121, // 136: cs3.gateway.v1beta1.GatewayAPI.ListContainer:output_type -> cs3.storage.provider.v1beta1.ListContainerResponse + 122, // 137: cs3.gateway.v1beta1.GatewayAPI.ListFileVersions:output_type -> cs3.storage.provider.v1beta1.ListFileVersionsResponse + 123, // 138: cs3.gateway.v1beta1.GatewayAPI.ListRecycleStream:output_type -> cs3.storage.provider.v1beta1.ListRecycleStreamResponse + 124, // 139: cs3.gateway.v1beta1.GatewayAPI.ListRecycle:output_type -> cs3.storage.provider.v1beta1.ListRecycleResponse + 125, // 140: cs3.gateway.v1beta1.GatewayAPI.Move:output_type -> cs3.storage.provider.v1beta1.MoveResponse + 126, // 141: cs3.gateway.v1beta1.GatewayAPI.PurgeRecycle:output_type -> cs3.storage.provider.v1beta1.PurgeRecycleResponse + 127, // 142: cs3.gateway.v1beta1.GatewayAPI.RestoreFileVersion:output_type -> cs3.storage.provider.v1beta1.RestoreFileVersionResponse + 128, // 143: cs3.gateway.v1beta1.GatewayAPI.RestoreRecycleItem:output_type -> cs3.storage.provider.v1beta1.RestoreRecycleItemResponse + 129, // 144: cs3.gateway.v1beta1.GatewayAPI.Stat:output_type -> cs3.storage.provider.v1beta1.StatResponse + 130, // 145: cs3.gateway.v1beta1.GatewayAPI.CreateSymlink:output_type -> cs3.storage.provider.v1beta1.CreateSymlinkResponse + 131, // 146: cs3.gateway.v1beta1.GatewayAPI.SetArbitraryMetadata:output_type -> cs3.storage.provider.v1beta1.SetArbitraryMetadataResponse + 132, // 147: cs3.gateway.v1beta1.GatewayAPI.UnsetArbitraryMetadata:output_type -> cs3.storage.provider.v1beta1.UnsetArbitraryMetadataResponse + 133, // 148: cs3.gateway.v1beta1.GatewayAPI.SetLock:output_type -> cs3.storage.provider.v1beta1.SetLockResponse + 134, // 149: cs3.gateway.v1beta1.GatewayAPI.GetLock:output_type -> cs3.storage.provider.v1beta1.GetLockResponse + 135, // 150: cs3.gateway.v1beta1.GatewayAPI.RefreshLock:output_type -> cs3.storage.provider.v1beta1.RefreshLockResponse + 136, // 151: cs3.gateway.v1beta1.GatewayAPI.Unlock:output_type -> cs3.storage.provider.v1beta1.UnlockResponse + 137, // 152: cs3.gateway.v1beta1.GatewayAPI.CreateHome:output_type -> cs3.storage.provider.v1beta1.CreateHomeResponse + 138, // 153: cs3.gateway.v1beta1.GatewayAPI.CreateStorageSpace:output_type -> cs3.storage.provider.v1beta1.CreateStorageSpaceResponse + 139, // 154: cs3.gateway.v1beta1.GatewayAPI.ListStorageSpaces:output_type -> cs3.storage.provider.v1beta1.ListStorageSpacesResponse + 140, // 155: cs3.gateway.v1beta1.GatewayAPI.UpdateStorageSpace:output_type -> cs3.storage.provider.v1beta1.UpdateStorageSpaceResponse + 141, // 156: cs3.gateway.v1beta1.GatewayAPI.DeleteStorageSpace:output_type -> cs3.storage.provider.v1beta1.DeleteStorageSpaceResponse + 142, // 157: cs3.gateway.v1beta1.GatewayAPI.OpenInApp:output_type -> cs3.app.provider.v1beta1.OpenInAppResponse + 143, // 158: cs3.gateway.v1beta1.GatewayAPI.CreateShare:output_type -> cs3.sharing.collaboration.v1beta1.CreateShareResponse + 144, // 159: cs3.gateway.v1beta1.GatewayAPI.RemoveShare:output_type -> cs3.sharing.collaboration.v1beta1.RemoveShareResponse + 145, // 160: cs3.gateway.v1beta1.GatewayAPI.GetShare:output_type -> cs3.sharing.collaboration.v1beta1.GetShareResponse + 146, // 161: cs3.gateway.v1beta1.GatewayAPI.ListShares:output_type -> cs3.sharing.collaboration.v1beta1.ListSharesResponse + 147, // 162: cs3.gateway.v1beta1.GatewayAPI.UpdateShare:output_type -> cs3.sharing.collaboration.v1beta1.UpdateShareResponse + 148, // 163: cs3.gateway.v1beta1.GatewayAPI.ListReceivedShares:output_type -> cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse + 9, // 164: cs3.gateway.v1beta1.GatewayAPI.ListExistingReceivedShares:output_type -> cs3.gateway.v1beta1.ListExistingReceivedSharesResponse + 149, // 165: cs3.gateway.v1beta1.GatewayAPI.UpdateReceivedShare:output_type -> cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse + 150, // 166: cs3.gateway.v1beta1.GatewayAPI.GetReceivedShare:output_type -> cs3.sharing.collaboration.v1beta1.GetReceivedShareResponse + 151, // 167: cs3.gateway.v1beta1.GatewayAPI.SetKey:output_type -> cs3.preferences.v1beta1.SetKeyResponse + 152, // 168: cs3.gateway.v1beta1.GatewayAPI.GetKey:output_type -> cs3.preferences.v1beta1.GetKeyResponse + 153, // 169: cs3.gateway.v1beta1.GatewayAPI.CreatePublicShare:output_type -> cs3.sharing.link.v1beta1.CreatePublicShareResponse + 154, // 170: cs3.gateway.v1beta1.GatewayAPI.RemovePublicShare:output_type -> cs3.sharing.link.v1beta1.RemovePublicShareResponse + 155, // 171: cs3.gateway.v1beta1.GatewayAPI.GetPublicShare:output_type -> cs3.sharing.link.v1beta1.GetPublicShareResponse + 156, // 172: cs3.gateway.v1beta1.GatewayAPI.GetPublicShareByToken:output_type -> cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse + 157, // 173: cs3.gateway.v1beta1.GatewayAPI.ListPublicShares:output_type -> cs3.sharing.link.v1beta1.ListPublicSharesResponse + 158, // 174: cs3.gateway.v1beta1.GatewayAPI.UpdatePublicShare:output_type -> cs3.sharing.link.v1beta1.UpdatePublicShareResponse + 159, // 175: cs3.gateway.v1beta1.GatewayAPI.CreateOCMShare:output_type -> cs3.sharing.ocm.v1beta1.CreateOCMShareResponse + 160, // 176: cs3.gateway.v1beta1.GatewayAPI.RemoveOCMShare:output_type -> cs3.sharing.ocm.v1beta1.RemoveOCMShareResponse + 161, // 177: cs3.gateway.v1beta1.GatewayAPI.GetOCMShare:output_type -> cs3.sharing.ocm.v1beta1.GetOCMShareResponse + 162, // 178: cs3.gateway.v1beta1.GatewayAPI.GetOCMShareByToken:output_type -> cs3.sharing.ocm.v1beta1.GetOCMShareByTokenResponse + 163, // 179: cs3.gateway.v1beta1.GatewayAPI.ListOCMShares:output_type -> cs3.sharing.ocm.v1beta1.ListOCMSharesResponse + 164, // 180: cs3.gateway.v1beta1.GatewayAPI.UpdateOCMShare:output_type -> cs3.sharing.ocm.v1beta1.UpdateOCMShareResponse + 165, // 181: cs3.gateway.v1beta1.GatewayAPI.ListReceivedOCMShares:output_type -> cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse + 166, // 182: cs3.gateway.v1beta1.GatewayAPI.UpdateReceivedOCMShare:output_type -> cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareResponse + 167, // 183: cs3.gateway.v1beta1.GatewayAPI.GetReceivedOCMShare:output_type -> cs3.sharing.ocm.v1beta1.GetReceivedOCMShareResponse + 168, // 184: cs3.gateway.v1beta1.GatewayAPI.GetAppProviders:output_type -> cs3.app.registry.v1beta1.GetAppProvidersResponse + 169, // 185: cs3.gateway.v1beta1.GatewayAPI.AddAppProvider:output_type -> cs3.app.registry.v1beta1.AddAppProviderResponse + 170, // 186: cs3.gateway.v1beta1.GatewayAPI.ListAppProviders:output_type -> cs3.app.registry.v1beta1.ListAppProvidersResponse + 171, // 187: cs3.gateway.v1beta1.GatewayAPI.ListSupportedMimeTypes:output_type -> cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse + 172, // 188: cs3.gateway.v1beta1.GatewayAPI.GetDefaultAppProviderForMimeType:output_type -> cs3.app.registry.v1beta1.GetDefaultAppProviderForMimeTypeResponse + 173, // 189: cs3.gateway.v1beta1.GatewayAPI.SetDefaultAppProviderForMimeType:output_type -> cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeResponse + 174, // 190: cs3.gateway.v1beta1.GatewayAPI.GetUser:output_type -> cs3.identity.user.v1beta1.GetUserResponse + 175, // 191: cs3.gateway.v1beta1.GatewayAPI.GetUserByClaim:output_type -> cs3.identity.user.v1beta1.GetUserByClaimResponse + 176, // 192: cs3.gateway.v1beta1.GatewayAPI.GetUserGroups:output_type -> cs3.identity.user.v1beta1.GetUserGroupsResponse + 177, // 193: cs3.gateway.v1beta1.GatewayAPI.FindUsers:output_type -> cs3.identity.user.v1beta1.FindUsersResponse + 178, // 194: cs3.gateway.v1beta1.GatewayAPI.GetGroup:output_type -> cs3.identity.group.v1beta1.GetGroupResponse + 179, // 195: cs3.gateway.v1beta1.GatewayAPI.GetGroupByClaim:output_type -> cs3.identity.group.v1beta1.GetGroupByClaimResponse + 180, // 196: cs3.gateway.v1beta1.GatewayAPI.GetMembers:output_type -> cs3.identity.group.v1beta1.GetMembersResponse + 181, // 197: cs3.gateway.v1beta1.GatewayAPI.HasMember:output_type -> cs3.identity.group.v1beta1.HasMemberResponse + 182, // 198: cs3.gateway.v1beta1.GatewayAPI.FindGroups:output_type -> cs3.identity.group.v1beta1.FindGroupsResponse + 8, // 199: cs3.gateway.v1beta1.GatewayAPI.ListAuthProviders:output_type -> cs3.gateway.v1beta1.ListAuthProvidersResponse + 183, // 200: cs3.gateway.v1beta1.GatewayAPI.GetHome:output_type -> cs3.storage.provider.v1beta1.GetHomeResponse + 184, // 201: cs3.gateway.v1beta1.GatewayAPI.GenerateInviteToken:output_type -> cs3.ocm.invite.v1beta1.GenerateInviteTokenResponse + 185, // 202: cs3.gateway.v1beta1.GatewayAPI.ListInviteTokens:output_type -> cs3.ocm.invite.v1beta1.ListInviteTokensResponse + 186, // 203: cs3.gateway.v1beta1.GatewayAPI.ForwardInvite:output_type -> cs3.ocm.invite.v1beta1.ForwardInviteResponse + 187, // 204: cs3.gateway.v1beta1.GatewayAPI.AcceptInvite:output_type -> cs3.ocm.invite.v1beta1.AcceptInviteResponse + 188, // 205: cs3.gateway.v1beta1.GatewayAPI.GetAcceptedUser:output_type -> cs3.ocm.invite.v1beta1.GetAcceptedUserResponse + 189, // 206: cs3.gateway.v1beta1.GatewayAPI.FindAcceptedUsers:output_type -> cs3.ocm.invite.v1beta1.FindAcceptedUsersResponse + 190, // 207: cs3.gateway.v1beta1.GatewayAPI.DeleteAcceptedUser:output_type -> cs3.ocm.invite.v1beta1.DeleteAcceptedUserResponse + 191, // 208: cs3.gateway.v1beta1.GatewayAPI.IsProviderAllowed:output_type -> cs3.ocm.provider.v1beta1.IsProviderAllowedResponse + 192, // 209: cs3.gateway.v1beta1.GatewayAPI.GetInfoByDomain:output_type -> cs3.ocm.provider.v1beta1.GetInfoByDomainResponse + 193, // 210: cs3.gateway.v1beta1.GatewayAPI.ListAllProviders:output_type -> cs3.ocm.provider.v1beta1.ListAllProvidersResponse + 194, // 211: cs3.gateway.v1beta1.GatewayAPI.CreateOCMCoreShare:output_type -> cs3.ocm.core.v1beta1.CreateOCMCoreShareResponse + 195, // 212: cs3.gateway.v1beta1.GatewayAPI.UpdateOCMCoreShare:output_type -> cs3.ocm.core.v1beta1.UpdateOCMCoreShareResponse + 196, // 213: cs3.gateway.v1beta1.GatewayAPI.DeleteOCMCoreShare:output_type -> cs3.ocm.core.v1beta1.DeleteOCMCoreShareResponse + 197, // 214: cs3.gateway.v1beta1.GatewayAPI.CreateTransfer:output_type -> cs3.tx.v1beta1.CreateTransferResponse + 198, // 215: cs3.gateway.v1beta1.GatewayAPI.GetTransferStatus:output_type -> cs3.tx.v1beta1.GetTransferStatusResponse + 199, // 216: cs3.gateway.v1beta1.GatewayAPI.CancelTransfer:output_type -> cs3.tx.v1beta1.CancelTransferResponse + 200, // 217: cs3.gateway.v1beta1.GatewayAPI.ListTransfers:output_type -> cs3.tx.v1beta1.ListTransfersResponse + 201, // 218: cs3.gateway.v1beta1.GatewayAPI.RetryTransfer:output_type -> cs3.tx.v1beta1.RetryTransferResponse + 202, // 219: cs3.gateway.v1beta1.GatewayAPI.CheckPermission:output_type -> cs3.permissions.v1beta1.CheckPermissionResponse + 122, // [122:220] is the sub-list for method output_type + 24, // [24:122] is the sub-list for method input_type + 24, // [24:24] is the sub-list for extension type_name + 24, // [24:24] is the sub-list for extension extendee + 0, // [0:24] is the sub-list for field type_name +} + +func init() { file_cs3_gateway_v1beta1_gateway_api_proto_init() } +func file_cs3_gateway_v1beta1_gateway_api_proto_init() { + if File_cs3_gateway_v1beta1_gateway_api_proto != nil { + return + } + file_cs3_gateway_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthenticateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthenticateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WhoAmIRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WhoAmIResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetQuotaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitiateFileDownloadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitiateFileUploadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAuthProvidersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListExistingReceivedSharesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpenInAppRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_gateway_v1beta1_gateway_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_cs3_gateway_v1beta1_gateway_api_proto_goTypes, + DependencyIndexes: file_cs3_gateway_v1beta1_gateway_api_proto_depIdxs, + EnumInfos: file_cs3_gateway_v1beta1_gateway_api_proto_enumTypes, + MessageInfos: file_cs3_gateway_v1beta1_gateway_api_proto_msgTypes, + }.Build() + File_cs3_gateway_v1beta1_gateway_api_proto = out.File + file_cs3_gateway_v1beta1_gateway_api_proto_rawDesc = nil + file_cs3_gateway_v1beta1_gateway_api_proto_goTypes = nil + file_cs3_gateway_v1beta1_gateway_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/gateway_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/gateway_api_grpc.pb.go new file mode 100644 index 00000000000..7f1f69a0044 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/gateway_api_grpc.pb.go @@ -0,0 +1,4173 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/gateway/v1beta1/gateway_api.proto + +package gatewayv1beta1 + +import ( + context "context" + v1beta12 "github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1" + v1beta17 "github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1" + v1beta1 "github.com/cs3org/go-cs3apis/cs3/auth/applications/v1beta1" + v1beta110 "github.com/cs3org/go-cs3apis/cs3/auth/registry/v1beta1" + v1beta19 "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1" + v1beta18 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" + v1beta113 "github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1" + v1beta111 "github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1" + v1beta112 "github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1" + v1beta115 "github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1" + v1beta14 "github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1" + v1beta13 "github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1" + v1beta15 "github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1" + v1beta16 "github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1" + v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" + v1beta114 "github.com/cs3org/go-cs3apis/cs3/tx/v1beta1" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + GatewayAPI_Authenticate_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/Authenticate" + GatewayAPI_WhoAmI_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/WhoAmI" + GatewayAPI_GenerateAppPassword_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GenerateAppPassword" + GatewayAPI_ListAppPasswords_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListAppPasswords" + GatewayAPI_InvalidateAppPassword_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/InvalidateAppPassword" + GatewayAPI_GetAppPassword_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetAppPassword" + GatewayAPI_CreateContainer_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CreateContainer" + GatewayAPI_TouchFile_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/TouchFile" + GatewayAPI_Delete_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/Delete" + GatewayAPI_GetPath_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetPath" + GatewayAPI_GetQuota_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetQuota" + GatewayAPI_InitiateFileDownload_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/InitiateFileDownload" + GatewayAPI_InitiateFileUpload_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/InitiateFileUpload" + GatewayAPI_ListContainerStream_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListContainerStream" + GatewayAPI_ListContainer_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListContainer" + GatewayAPI_ListFileVersions_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListFileVersions" + GatewayAPI_ListRecycleStream_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListRecycleStream" + GatewayAPI_ListRecycle_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListRecycle" + GatewayAPI_Move_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/Move" + GatewayAPI_PurgeRecycle_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/PurgeRecycle" + GatewayAPI_RestoreFileVersion_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/RestoreFileVersion" + GatewayAPI_RestoreRecycleItem_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/RestoreRecycleItem" + GatewayAPI_Stat_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/Stat" + GatewayAPI_CreateSymlink_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CreateSymlink" + GatewayAPI_SetArbitraryMetadata_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/SetArbitraryMetadata" + GatewayAPI_UnsetArbitraryMetadata_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/UnsetArbitraryMetadata" + GatewayAPI_SetLock_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/SetLock" + GatewayAPI_GetLock_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetLock" + GatewayAPI_RefreshLock_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/RefreshLock" + GatewayAPI_Unlock_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/Unlock" + GatewayAPI_CreateHome_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CreateHome" + GatewayAPI_CreateStorageSpace_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CreateStorageSpace" + GatewayAPI_ListStorageSpaces_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListStorageSpaces" + GatewayAPI_UpdateStorageSpace_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/UpdateStorageSpace" + GatewayAPI_DeleteStorageSpace_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/DeleteStorageSpace" + GatewayAPI_OpenInApp_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/OpenInApp" + GatewayAPI_CreateShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CreateShare" + GatewayAPI_RemoveShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/RemoveShare" + GatewayAPI_GetShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetShare" + GatewayAPI_ListShares_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListShares" + GatewayAPI_UpdateShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/UpdateShare" + GatewayAPI_ListReceivedShares_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListReceivedShares" + GatewayAPI_ListExistingReceivedShares_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListExistingReceivedShares" + GatewayAPI_UpdateReceivedShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/UpdateReceivedShare" + GatewayAPI_GetReceivedShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetReceivedShare" + GatewayAPI_SetKey_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/SetKey" + GatewayAPI_GetKey_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetKey" + GatewayAPI_CreatePublicShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CreatePublicShare" + GatewayAPI_RemovePublicShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/RemovePublicShare" + GatewayAPI_GetPublicShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetPublicShare" + GatewayAPI_GetPublicShareByToken_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetPublicShareByToken" + GatewayAPI_ListPublicShares_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListPublicShares" + GatewayAPI_UpdatePublicShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/UpdatePublicShare" + GatewayAPI_CreateOCMShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CreateOCMShare" + GatewayAPI_RemoveOCMShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/RemoveOCMShare" + GatewayAPI_GetOCMShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetOCMShare" + GatewayAPI_GetOCMShareByToken_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetOCMShareByToken" + GatewayAPI_ListOCMShares_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListOCMShares" + GatewayAPI_UpdateOCMShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMShare" + GatewayAPI_ListReceivedOCMShares_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListReceivedOCMShares" + GatewayAPI_UpdateReceivedOCMShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/UpdateReceivedOCMShare" + GatewayAPI_GetReceivedOCMShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetReceivedOCMShare" + GatewayAPI_GetAppProviders_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetAppProviders" + GatewayAPI_AddAppProvider_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/AddAppProvider" + GatewayAPI_ListAppProviders_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListAppProviders" + GatewayAPI_ListSupportedMimeTypes_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListSupportedMimeTypes" + GatewayAPI_GetDefaultAppProviderForMimeType_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetDefaultAppProviderForMimeType" + GatewayAPI_SetDefaultAppProviderForMimeType_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/SetDefaultAppProviderForMimeType" + GatewayAPI_GetUser_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetUser" + GatewayAPI_GetUserByClaim_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetUserByClaim" + GatewayAPI_GetUserGroups_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetUserGroups" + GatewayAPI_FindUsers_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/FindUsers" + GatewayAPI_GetGroup_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetGroup" + GatewayAPI_GetGroupByClaim_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetGroupByClaim" + GatewayAPI_GetMembers_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetMembers" + GatewayAPI_HasMember_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/HasMember" + GatewayAPI_FindGroups_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/FindGroups" + GatewayAPI_ListAuthProviders_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListAuthProviders" + GatewayAPI_GetHome_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetHome" + GatewayAPI_GenerateInviteToken_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GenerateInviteToken" + GatewayAPI_ListInviteTokens_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListInviteTokens" + GatewayAPI_ForwardInvite_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ForwardInvite" + GatewayAPI_AcceptInvite_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/AcceptInvite" + GatewayAPI_GetAcceptedUser_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetAcceptedUser" + GatewayAPI_FindAcceptedUsers_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/FindAcceptedUsers" + GatewayAPI_DeleteAcceptedUser_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/DeleteAcceptedUser" + GatewayAPI_IsProviderAllowed_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/IsProviderAllowed" + GatewayAPI_GetInfoByDomain_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetInfoByDomain" + GatewayAPI_ListAllProviders_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListAllProviders" + GatewayAPI_CreateOCMCoreShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CreateOCMCoreShare" + GatewayAPI_UpdateOCMCoreShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMCoreShare" + GatewayAPI_DeleteOCMCoreShare_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/DeleteOCMCoreShare" + GatewayAPI_CreateTransfer_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CreateTransfer" + GatewayAPI_GetTransferStatus_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetTransferStatus" + GatewayAPI_CancelTransfer_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CancelTransfer" + GatewayAPI_ListTransfers_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/ListTransfers" + GatewayAPI_RetryTransfer_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/RetryTransfer" + GatewayAPI_CheckPermission_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/CheckPermission" +) + +// GatewayAPIClient is the client API for GatewayAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type GatewayAPIClient interface { + // Authenticates a user. + Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) + // WhoAmI returns the information for a user. + WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) + // GenerateAppPassword creates a password with specified scope to be used by + // third-party applications. + GenerateAppPassword(ctx context.Context, in *v1beta1.GenerateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta1.GenerateAppPasswordResponse, error) + // ListAppPasswords lists the application passwords created by a user. + ListAppPasswords(ctx context.Context, in *v1beta1.ListAppPasswordsRequest, opts ...grpc.CallOption) (*v1beta1.ListAppPasswordsResponse, error) + // InvalidateAppPassword invalidates a generated password. + InvalidateAppPassword(ctx context.Context, in *v1beta1.InvalidateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta1.InvalidateAppPasswordResponse, error) + // GetAppPassword retrieves the password information by the combination of username and password. + GetAppPassword(ctx context.Context, in *v1beta1.GetAppPasswordRequest, opts ...grpc.CallOption) (*v1beta1.GetAppPasswordResponse, error) + // Creates a new resource of type container. + // MUST return CODE_FAILED_PRECONDITION if the container + // cannot be created at the specified reference. + CreateContainer(ctx context.Context, in *v1beta11.CreateContainerRequest, opts ...grpc.CallOption) (*v1beta11.CreateContainerResponse, error) + // Creates a new resource of type file. + // MUST return CODE_FAILED_PRECONDITION if the file + // cannot be created at the specified reference. + TouchFile(ctx context.Context, in *v1beta11.TouchFileRequest, opts ...grpc.CallOption) (*v1beta11.TouchFileResponse, error) + // Deletes a resource. + // If a resource specifies the non-empty container (directory, ...), + // then the entire directory is deleted recursively. + // If a resource specifies a reference or symlink type, only the reference is removed (not the target). + // MUST return CODE_NOT_FOUND if the reference does not exist. + Delete(ctx context.Context, in *v1beta11.DeleteRequest, opts ...grpc.CallOption) (*v1beta11.DeleteResponse, error) + // Returns the path reference for + // the provided resource id reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + GetPath(ctx context.Context, in *v1beta11.GetPathRequest, opts ...grpc.CallOption) (*v1beta11.GetPathResponse, error) + // Returns the quota available under the provided + // reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. + GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*v1beta11.GetQuotaResponse, error) + // Initiates the download of a file using an + // out-of-band data transfer mechanism. + InitiateFileDownload(ctx context.Context, in *v1beta11.InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error) + // Initiates the upload of a file using an + // out-of-band data transfer mechanism. + InitiateFileUpload(ctx context.Context, in *v1beta11.InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error) + // Returns a stream of resource informations + // for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListContainerStream(ctx context.Context, in *v1beta11.ListContainerStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListContainerStreamClient, error) + // Returns a list of resource information + // for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListContainer(ctx context.Context, in *v1beta11.ListContainerRequest, opts ...grpc.CallOption) (*v1beta11.ListContainerResponse, error) + // Returns a list of the versions for a resource of + // type file at the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_OK and MUST return an empty list if no versions are available. + // TODO: What code if resource not of type file? + ListFileVersions(ctx context.Context, in *v1beta11.ListFileVersionsRequest, opts ...grpc.CallOption) (*v1beta11.ListFileVersionsResponse, error) + // Returns a stream of recycle items for this storage provider. + ListRecycleStream(ctx context.Context, in *v1beta11.ListRecycleStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListRecycleStreamClient, error) + // Returns a list of recycle items for this storage provider. + // MUST return CODE_OK and MUST return an empty list if no recycle items are available. + ListRecycle(ctx context.Context, in *v1beta11.ListRecycleRequest, opts ...grpc.CallOption) (*v1beta11.ListRecycleResponse, error) + // Moves a resource from one reference to another. + // MUST return CODE_NOT_FOUND if any of the references do not exist. + // MUST return CODE_FAILED_PRECONDITION if the source reference + // cannot be moved to the destination reference. + Move(ctx context.Context, in *v1beta11.MoveRequest, opts ...grpc.CallOption) (*v1beta11.MoveResponse, error) + // Permanently removes a recycle item from the recycle. + // This operation is irrevocable. + // MUST return CODE_NOT_FOUND if the recycle item id does not exist. + PurgeRecycle(ctx context.Context, in *v1beta11.PurgeRecycleRequest, opts ...grpc.CallOption) (*v1beta11.PurgeRecycleResponse, error) + // Restores a file version for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_NOT_FOUND if the version does not exist. + RestoreFileVersion(ctx context.Context, in *v1beta11.RestoreFileVersionRequest, opts ...grpc.CallOption) (*v1beta11.RestoreFileVersionResponse, error) + // Restores a recycle item from the recycle. + // MUST return CODE_NOT_FOUND if the recycle item id does not exist. + // MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty + // and the recycle item cannot be restored to the restore_path. + RestoreRecycleItem(ctx context.Context, in *v1beta11.RestoreRecycleItemRequest, opts ...grpc.CallOption) (*v1beta11.RestoreRecycleItemResponse, error) + // Returns the resource information at the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + Stat(ctx context.Context, in *v1beta11.StatRequest, opts ...grpc.CallOption) (*v1beta11.StatResponse, error) + // Creates a symlink to another resource. + CreateSymlink(ctx context.Context, in *v1beta11.CreateSymlinkRequest, opts ...grpc.CallOption) (*v1beta11.CreateSymlinkResponse, error) + // Sets arbitrary metadata into a storage resource. + // Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo. + SetArbitraryMetadata(ctx context.Context, in *v1beta11.SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta11.SetArbitraryMetadataResponse, error) + // Unsets arbitrary metdata into a storage resource. + // Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo. + UnsetArbitraryMetadata(ctx context.Context, in *v1beta11.UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta11.UnsetArbitraryMetadataResponse, error) + // Locks a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. + // In addition, the implementation MUST ensure atomicity when multiple users + // concurrently attempt to set a lock. + // The caller MUST have write permissions on the resource. + SetLock(ctx context.Context, in *v1beta11.SetLockRequest, opts ...grpc.CallOption) (*v1beta11.SetLockResponse, error) + // Gets the lock metadata of a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. + // The caller MUST have read permissions on the resource. + GetLock(ctx context.Context, in *v1beta11.GetLockRequest, opts ...grpc.CallOption) (*v1beta11.GetLockResponse, error) + // Refreshes the lock metadata of a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is not locked + // or if the caller does not hold the lock. + // The caller MUST have write permissions on the resource. + RefreshLock(ctx context.Context, in *v1beta11.RefreshLockRequest, opts ...grpc.CallOption) (*v1beta11.RefreshLockResponse, error) + // Unlocks a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is not locked + // or if the caller does not hold the lock. + // The caller MUST have write permissions on the resource. + Unlock(ctx context.Context, in *v1beta11.UnlockRequest, opts ...grpc.CallOption) (*v1beta11.UnlockResponse, error) + // Creates the home directory for a user. + CreateHome(ctx context.Context, in *v1beta11.CreateHomeRequest, opts ...grpc.CallOption) (*v1beta11.CreateHomeResponse, error) + // Creates a storage space. + CreateStorageSpace(ctx context.Context, in *v1beta11.CreateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta11.CreateStorageSpaceResponse, error) + // Lists storage spaces. + ListStorageSpaces(ctx context.Context, in *v1beta11.ListStorageSpacesRequest, opts ...grpc.CallOption) (*v1beta11.ListStorageSpacesResponse, error) + // Updates a storage space. + UpdateStorageSpace(ctx context.Context, in *v1beta11.UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta11.UpdateStorageSpaceResponse, error) + // Deletes a storage space. + DeleteStorageSpace(ctx context.Context, in *v1beta11.DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta11.DeleteStorageSpaceResponse, error) + // Returns the App URL and all necessary info to open a resource in an online editor. + // MUST return CODE_NOT_FOUND if the resource does not exist. + OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*v1beta12.OpenInAppResponse, error) + // Creates a new share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_LOCKED if the resource reference already locked. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreateShare(ctx context.Context, in *v1beta13.CreateShareRequest, opts ...grpc.CallOption) (*v1beta13.CreateShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemoveShare(ctx context.Context, in *v1beta13.RemoveShareRequest, opts ...grpc.CallOption) (*v1beta13.RemoveShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetShare(ctx context.Context, in *v1beta13.GetShareRequest, opts ...grpc.CallOption) (*v1beta13.GetShareResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListShares(ctx context.Context, in *v1beta13.ListSharesRequest, opts ...grpc.CallOption) (*v1beta13.ListSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateShare(ctx context.Context, in *v1beta13.UpdateShareRequest, opts ...grpc.CallOption) (*v1beta13.UpdateShareResponse, error) + // List all shares the authenticated principal has received. + ListReceivedShares(ctx context.Context, in *v1beta13.ListReceivedSharesRequest, opts ...grpc.CallOption) (*v1beta13.ListReceivedSharesResponse, error) + // List all existing shares the authenticated principal has received, + // including their storage resource information. + ListExistingReceivedShares(ctx context.Context, in *v1beta13.ListReceivedSharesRequest, opts ...grpc.CallOption) (*ListExistingReceivedSharesResponse, error) + // Update the received share to change the share state or the display name. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateReceivedShare(ctx context.Context, in *v1beta13.UpdateReceivedShareRequest, opts ...grpc.CallOption) (*v1beta13.UpdateReceivedShareResponse, error) + // Get the information for the given received share reference. + // MUST return CODE_NOT_FOUND if the received share reference does not exist. + GetReceivedShare(ctx context.Context, in *v1beta13.GetReceivedShareRequest, opts ...grpc.CallOption) (*v1beta13.GetReceivedShareResponse, error) + // Maps the key-value pair. + SetKey(ctx context.Context, in *v1beta14.SetKeyRequest, opts ...grpc.CallOption) (*v1beta14.SetKeyResponse, error) + // Returns the value associated with the + // requested key. + GetKey(ctx context.Context, in *v1beta14.GetKeyRequest, opts ...grpc.CallOption) (*v1beta14.GetKeyResponse, error) + // Creates a new share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreatePublicShare(ctx context.Context, in *v1beta15.CreatePublicShareRequest, opts ...grpc.CallOption) (*v1beta15.CreatePublicShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemovePublicShare(ctx context.Context, in *v1beta15.RemovePublicShareRequest, opts ...grpc.CallOption) (*v1beta15.RemovePublicShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetPublicShare(ctx context.Context, in *v1beta15.GetPublicShareRequest, opts ...grpc.CallOption) (*v1beta15.GetPublicShareResponse, error) + // Gets share information for a single share by its unlisted token. + // MUST return CODE_NOT_FOUND if the share does not exist. + GetPublicShareByToken(ctx context.Context, in *v1beta15.GetPublicShareByTokenRequest, opts ...grpc.CallOption) (*v1beta15.GetPublicShareByTokenResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListPublicShares(ctx context.Context, in *v1beta15.ListPublicSharesRequest, opts ...grpc.CallOption) (*v1beta15.ListPublicSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdatePublicShare(ctx context.Context, in *v1beta15.UpdatePublicShareRequest, opts ...grpc.CallOption) (*v1beta15.UpdatePublicShareResponse, error) + // Creates a new ocm share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreateOCMShare(ctx context.Context, in *v1beta16.CreateOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.CreateOCMShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemoveOCMShare(ctx context.Context, in *v1beta16.RemoveOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.RemoveOCMShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetOCMShare(ctx context.Context, in *v1beta16.GetOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.GetOCMShareResponse, error) + // Gets share information for a single share by its unlisted token. + // MUST return CODE_NOT_FOUND if the share does not exist. + GetOCMShareByToken(ctx context.Context, in *v1beta16.GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*v1beta16.GetOCMShareByTokenResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListOCMShares(ctx context.Context, in *v1beta16.ListOCMSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListOCMSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateOCMShare(ctx context.Context, in *v1beta16.UpdateOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateOCMShareResponse, error) + // List all shares the authenticated principal has received. + ListReceivedOCMShares(ctx context.Context, in *v1beta16.ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListReceivedOCMSharesResponse, error) + // Update the received share to change the share state or the display name. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateReceivedOCMShare(ctx context.Context, in *v1beta16.UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateReceivedOCMShareResponse, error) + // Get the information for the given received share reference. + // MUST return CODE_NOT_FOUND if the received share reference does not exist. + GetReceivedOCMShare(ctx context.Context, in *v1beta16.GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.GetReceivedOCMShareResponse, error) + // Returns the app providers that are capable of handling this resource info. + // MUST return CODE_NOT_FOUND if no providers are available. + GetAppProviders(ctx context.Context, in *v1beta17.GetAppProvidersRequest, opts ...grpc.CallOption) (*v1beta17.GetAppProvidersResponse, error) + // Registers a new app provider to the registry. + AddAppProvider(ctx context.Context, in *v1beta17.AddAppProviderRequest, opts ...grpc.CallOption) (*v1beta17.AddAppProviderResponse, error) + // Returns a list of the available app providers known by this registry. + ListAppProviders(ctx context.Context, in *v1beta17.ListAppProvidersRequest, opts ...grpc.CallOption) (*v1beta17.ListAppProvidersResponse, error) + // Returns a list of the supported mime types along with the apps which they can opened with. + ListSupportedMimeTypes(ctx context.Context, in *v1beta17.ListSupportedMimeTypesRequest, opts ...grpc.CallOption) (*v1beta17.ListSupportedMimeTypesResponse, error) + // Returns the default app provider which serves a specified mime type. + GetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta17.GetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta17.GetDefaultAppProviderForMimeTypeResponse, error) + // Sets the default app provider for a specified mime type. + SetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta17.SetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta17.SetDefaultAppProviderForMimeTypeResponse, error) + // Gets the information about a user by the user id. + GetUser(ctx context.Context, in *v1beta18.GetUserRequest, opts ...grpc.CallOption) (*v1beta18.GetUserResponse, error) + // Gets the information about a user based on a specified claim. + GetUserByClaim(ctx context.Context, in *v1beta18.GetUserByClaimRequest, opts ...grpc.CallOption) (*v1beta18.GetUserByClaimResponse, error) + // Gets the groups of a user. + GetUserGroups(ctx context.Context, in *v1beta18.GetUserGroupsRequest, opts ...grpc.CallOption) (*v1beta18.GetUserGroupsResponse, error) + // Finds users by any attribute of the user. + // TODO(labkode): to define the filters that make more sense. + FindUsers(ctx context.Context, in *v1beta18.FindUsersRequest, opts ...grpc.CallOption) (*v1beta18.FindUsersResponse, error) + // Gets the information about a group by the group id. + GetGroup(ctx context.Context, in *v1beta19.GetGroupRequest, opts ...grpc.CallOption) (*v1beta19.GetGroupResponse, error) + // Gets the information about a group based on a specified claim. + GetGroupByClaim(ctx context.Context, in *v1beta19.GetGroupByClaimRequest, opts ...grpc.CallOption) (*v1beta19.GetGroupByClaimResponse, error) + // Gets the members of a group. + GetMembers(ctx context.Context, in *v1beta19.GetMembersRequest, opts ...grpc.CallOption) (*v1beta19.GetMembersResponse, error) + // Tells if the group has a certain member. + HasMember(ctx context.Context, in *v1beta19.HasMemberRequest, opts ...grpc.CallOption) (*v1beta19.HasMemberResponse, error) + // TODO(labkode): to define the filters that make more sense. + // Finds groups whose names match the specified filter. + FindGroups(ctx context.Context, in *v1beta19.FindGroupsRequest, opts ...grpc.CallOption) (*v1beta19.FindGroupsResponse, error) + // Returns a list of the available auth providers known by this registry. + ListAuthProviders(ctx context.Context, in *v1beta110.ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error) + // Returns the home path for the given authenticated user. + // When a user has access to multiple storage providers, one of them is the home. + GetHome(ctx context.Context, in *v1beta11.GetHomeRequest, opts ...grpc.CallOption) (*v1beta11.GetHomeResponse, error) + // Generates a new token for the user with a validity of 24 hours. + GenerateInviteToken(ctx context.Context, in *v1beta111.GenerateInviteTokenRequest, opts ...grpc.CallOption) (*v1beta111.GenerateInviteTokenResponse, error) + // Lists the valid tokens generated by the user. + ListInviteTokens(ctx context.Context, in *v1beta111.ListInviteTokensRequest, opts ...grpc.CallOption) (*v1beta111.ListInviteTokensResponse, error) + // Forwards a received invite to the sync'n'share system provider. + ForwardInvite(ctx context.Context, in *v1beta111.ForwardInviteRequest, opts ...grpc.CallOption) (*v1beta111.ForwardInviteResponse, error) + // Completes an invitation acceptance. + AcceptInvite(ctx context.Context, in *v1beta111.AcceptInviteRequest, opts ...grpc.CallOption) (*v1beta111.AcceptInviteResponse, error) + // Retrieves details about a remote user who has accepted an invite to share. + GetAcceptedUser(ctx context.Context, in *v1beta111.GetAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta111.GetAcceptedUserResponse, error) + // Finds users who accepted invite tokens by their attributes. + FindAcceptedUsers(ctx context.Context, in *v1beta111.FindAcceptedUsersRequest, opts ...grpc.CallOption) (*v1beta111.FindAcceptedUsersResponse, error) + // Delete a previously accepted remote user, that is unfriend that user. + DeleteAcceptedUser(ctx context.Context, in *v1beta111.DeleteAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta111.DeleteAcceptedUserResponse, error) + // Check if a given system provider is registered in the mesh or not. + // MUST return CODE_UNAUTHENTICATED if the system is not registered + IsProviderAllowed(ctx context.Context, in *v1beta112.IsProviderAllowedRequest, opts ...grpc.CallOption) (*v1beta112.IsProviderAllowedResponse, error) + // Get the information of the provider identified by a specific domain. + // MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist. + GetInfoByDomain(ctx context.Context, in *v1beta112.GetInfoByDomainRequest, opts ...grpc.CallOption) (*v1beta112.GetInfoByDomainResponse, error) + // Get the information of all the providers registered in the mesh. + ListAllProviders(ctx context.Context, in *v1beta112.ListAllProvidersRequest, opts ...grpc.CallOption) (*v1beta112.ListAllProvidersResponse, error) + // Creates a new OCM share. + CreateOCMCoreShare(ctx context.Context, in *v1beta113.CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta113.CreateOCMCoreShareResponse, error) + // Updates an OCM share. + UpdateOCMCoreShare(ctx context.Context, in *v1beta113.UpdateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta113.UpdateOCMCoreShareResponse, error) + // Deletes an OCM share. + DeleteOCMCoreShare(ctx context.Context, in *v1beta113.DeleteOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta113.DeleteOCMCoreShareResponse, error) + // Requests creation of a transfer. + CreateTransfer(ctx context.Context, in *v1beta114.CreateTransferRequest, opts ...grpc.CallOption) (*v1beta114.CreateTransferResponse, error) + // Requests a transfer status. + GetTransferStatus(ctx context.Context, in *v1beta114.GetTransferStatusRequest, opts ...grpc.CallOption) (*v1beta114.GetTransferStatusResponse, error) + // Requests to cancel a transfer. + CancelTransfer(ctx context.Context, in *v1beta114.CancelTransferRequest, opts ...grpc.CallOption) (*v1beta114.CancelTransferResponse, error) + // Requests a list of transfers received by the authenticated principle. + ListTransfers(ctx context.Context, in *v1beta114.ListTransfersRequest, opts ...grpc.CallOption) (*v1beta114.ListTransfersResponse, error) + // Requests retrying a transfer. + RetryTransfer(ctx context.Context, in *v1beta114.RetryTransferRequest, opts ...grpc.CallOption) (*v1beta114.RetryTransferResponse, error) + // CheckPermission checks if a user or group has a certain permission. + CheckPermission(ctx context.Context, in *v1beta115.CheckPermissionRequest, opts ...grpc.CallOption) (*v1beta115.CheckPermissionResponse, error) +} + +type gatewayAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewGatewayAPIClient(cc grpc.ClientConnInterface) GatewayAPIClient { + return &gatewayAPIClient{cc} +} + +func (c *gatewayAPIClient) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) { + out := new(AuthenticateResponse) + err := c.cc.Invoke(ctx, GatewayAPI_Authenticate_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) { + out := new(WhoAmIResponse) + err := c.cc.Invoke(ctx, GatewayAPI_WhoAmI_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GenerateAppPassword(ctx context.Context, in *v1beta1.GenerateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta1.GenerateAppPasswordResponse, error) { + out := new(v1beta1.GenerateAppPasswordResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GenerateAppPassword_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListAppPasswords(ctx context.Context, in *v1beta1.ListAppPasswordsRequest, opts ...grpc.CallOption) (*v1beta1.ListAppPasswordsResponse, error) { + out := new(v1beta1.ListAppPasswordsResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListAppPasswords_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) InvalidateAppPassword(ctx context.Context, in *v1beta1.InvalidateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta1.InvalidateAppPasswordResponse, error) { + out := new(v1beta1.InvalidateAppPasswordResponse) + err := c.cc.Invoke(ctx, GatewayAPI_InvalidateAppPassword_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetAppPassword(ctx context.Context, in *v1beta1.GetAppPasswordRequest, opts ...grpc.CallOption) (*v1beta1.GetAppPasswordResponse, error) { + out := new(v1beta1.GetAppPasswordResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetAppPassword_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CreateContainer(ctx context.Context, in *v1beta11.CreateContainerRequest, opts ...grpc.CallOption) (*v1beta11.CreateContainerResponse, error) { + out := new(v1beta11.CreateContainerResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CreateContainer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) TouchFile(ctx context.Context, in *v1beta11.TouchFileRequest, opts ...grpc.CallOption) (*v1beta11.TouchFileResponse, error) { + out := new(v1beta11.TouchFileResponse) + err := c.cc.Invoke(ctx, GatewayAPI_TouchFile_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) Delete(ctx context.Context, in *v1beta11.DeleteRequest, opts ...grpc.CallOption) (*v1beta11.DeleteResponse, error) { + out := new(v1beta11.DeleteResponse) + err := c.cc.Invoke(ctx, GatewayAPI_Delete_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetPath(ctx context.Context, in *v1beta11.GetPathRequest, opts ...grpc.CallOption) (*v1beta11.GetPathResponse, error) { + out := new(v1beta11.GetPathResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetPath_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*v1beta11.GetQuotaResponse, error) { + out := new(v1beta11.GetQuotaResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetQuota_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) InitiateFileDownload(ctx context.Context, in *v1beta11.InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error) { + out := new(InitiateFileDownloadResponse) + err := c.cc.Invoke(ctx, GatewayAPI_InitiateFileDownload_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) InitiateFileUpload(ctx context.Context, in *v1beta11.InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error) { + out := new(InitiateFileUploadResponse) + err := c.cc.Invoke(ctx, GatewayAPI_InitiateFileUpload_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListContainerStream(ctx context.Context, in *v1beta11.ListContainerStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListContainerStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &GatewayAPI_ServiceDesc.Streams[0], GatewayAPI_ListContainerStream_FullMethodName, opts...) + if err != nil { + return nil, err + } + x := &gatewayAPIListContainerStreamClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GatewayAPI_ListContainerStreamClient interface { + Recv() (*v1beta11.ListContainerStreamResponse, error) + grpc.ClientStream +} + +type gatewayAPIListContainerStreamClient struct { + grpc.ClientStream +} + +func (x *gatewayAPIListContainerStreamClient) Recv() (*v1beta11.ListContainerStreamResponse, error) { + m := new(v1beta11.ListContainerStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gatewayAPIClient) ListContainer(ctx context.Context, in *v1beta11.ListContainerRequest, opts ...grpc.CallOption) (*v1beta11.ListContainerResponse, error) { + out := new(v1beta11.ListContainerResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListContainer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListFileVersions(ctx context.Context, in *v1beta11.ListFileVersionsRequest, opts ...grpc.CallOption) (*v1beta11.ListFileVersionsResponse, error) { + out := new(v1beta11.ListFileVersionsResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListFileVersions_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListRecycleStream(ctx context.Context, in *v1beta11.ListRecycleStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListRecycleStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &GatewayAPI_ServiceDesc.Streams[1], GatewayAPI_ListRecycleStream_FullMethodName, opts...) + if err != nil { + return nil, err + } + x := &gatewayAPIListRecycleStreamClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GatewayAPI_ListRecycleStreamClient interface { + Recv() (*v1beta11.ListRecycleStreamResponse, error) + grpc.ClientStream +} + +type gatewayAPIListRecycleStreamClient struct { + grpc.ClientStream +} + +func (x *gatewayAPIListRecycleStreamClient) Recv() (*v1beta11.ListRecycleStreamResponse, error) { + m := new(v1beta11.ListRecycleStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gatewayAPIClient) ListRecycle(ctx context.Context, in *v1beta11.ListRecycleRequest, opts ...grpc.CallOption) (*v1beta11.ListRecycleResponse, error) { + out := new(v1beta11.ListRecycleResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListRecycle_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) Move(ctx context.Context, in *v1beta11.MoveRequest, opts ...grpc.CallOption) (*v1beta11.MoveResponse, error) { + out := new(v1beta11.MoveResponse) + err := c.cc.Invoke(ctx, GatewayAPI_Move_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) PurgeRecycle(ctx context.Context, in *v1beta11.PurgeRecycleRequest, opts ...grpc.CallOption) (*v1beta11.PurgeRecycleResponse, error) { + out := new(v1beta11.PurgeRecycleResponse) + err := c.cc.Invoke(ctx, GatewayAPI_PurgeRecycle_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) RestoreFileVersion(ctx context.Context, in *v1beta11.RestoreFileVersionRequest, opts ...grpc.CallOption) (*v1beta11.RestoreFileVersionResponse, error) { + out := new(v1beta11.RestoreFileVersionResponse) + err := c.cc.Invoke(ctx, GatewayAPI_RestoreFileVersion_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) RestoreRecycleItem(ctx context.Context, in *v1beta11.RestoreRecycleItemRequest, opts ...grpc.CallOption) (*v1beta11.RestoreRecycleItemResponse, error) { + out := new(v1beta11.RestoreRecycleItemResponse) + err := c.cc.Invoke(ctx, GatewayAPI_RestoreRecycleItem_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) Stat(ctx context.Context, in *v1beta11.StatRequest, opts ...grpc.CallOption) (*v1beta11.StatResponse, error) { + out := new(v1beta11.StatResponse) + err := c.cc.Invoke(ctx, GatewayAPI_Stat_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CreateSymlink(ctx context.Context, in *v1beta11.CreateSymlinkRequest, opts ...grpc.CallOption) (*v1beta11.CreateSymlinkResponse, error) { + out := new(v1beta11.CreateSymlinkResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CreateSymlink_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) SetArbitraryMetadata(ctx context.Context, in *v1beta11.SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta11.SetArbitraryMetadataResponse, error) { + out := new(v1beta11.SetArbitraryMetadataResponse) + err := c.cc.Invoke(ctx, GatewayAPI_SetArbitraryMetadata_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) UnsetArbitraryMetadata(ctx context.Context, in *v1beta11.UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta11.UnsetArbitraryMetadataResponse, error) { + out := new(v1beta11.UnsetArbitraryMetadataResponse) + err := c.cc.Invoke(ctx, GatewayAPI_UnsetArbitraryMetadata_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) SetLock(ctx context.Context, in *v1beta11.SetLockRequest, opts ...grpc.CallOption) (*v1beta11.SetLockResponse, error) { + out := new(v1beta11.SetLockResponse) + err := c.cc.Invoke(ctx, GatewayAPI_SetLock_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetLock(ctx context.Context, in *v1beta11.GetLockRequest, opts ...grpc.CallOption) (*v1beta11.GetLockResponse, error) { + out := new(v1beta11.GetLockResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetLock_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) RefreshLock(ctx context.Context, in *v1beta11.RefreshLockRequest, opts ...grpc.CallOption) (*v1beta11.RefreshLockResponse, error) { + out := new(v1beta11.RefreshLockResponse) + err := c.cc.Invoke(ctx, GatewayAPI_RefreshLock_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) Unlock(ctx context.Context, in *v1beta11.UnlockRequest, opts ...grpc.CallOption) (*v1beta11.UnlockResponse, error) { + out := new(v1beta11.UnlockResponse) + err := c.cc.Invoke(ctx, GatewayAPI_Unlock_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CreateHome(ctx context.Context, in *v1beta11.CreateHomeRequest, opts ...grpc.CallOption) (*v1beta11.CreateHomeResponse, error) { + out := new(v1beta11.CreateHomeResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CreateHome_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CreateStorageSpace(ctx context.Context, in *v1beta11.CreateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta11.CreateStorageSpaceResponse, error) { + out := new(v1beta11.CreateStorageSpaceResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CreateStorageSpace_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListStorageSpaces(ctx context.Context, in *v1beta11.ListStorageSpacesRequest, opts ...grpc.CallOption) (*v1beta11.ListStorageSpacesResponse, error) { + out := new(v1beta11.ListStorageSpacesResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListStorageSpaces_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) UpdateStorageSpace(ctx context.Context, in *v1beta11.UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta11.UpdateStorageSpaceResponse, error) { + out := new(v1beta11.UpdateStorageSpaceResponse) + err := c.cc.Invoke(ctx, GatewayAPI_UpdateStorageSpace_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) DeleteStorageSpace(ctx context.Context, in *v1beta11.DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta11.DeleteStorageSpaceResponse, error) { + out := new(v1beta11.DeleteStorageSpaceResponse) + err := c.cc.Invoke(ctx, GatewayAPI_DeleteStorageSpace_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*v1beta12.OpenInAppResponse, error) { + out := new(v1beta12.OpenInAppResponse) + err := c.cc.Invoke(ctx, GatewayAPI_OpenInApp_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CreateShare(ctx context.Context, in *v1beta13.CreateShareRequest, opts ...grpc.CallOption) (*v1beta13.CreateShareResponse, error) { + out := new(v1beta13.CreateShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CreateShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) RemoveShare(ctx context.Context, in *v1beta13.RemoveShareRequest, opts ...grpc.CallOption) (*v1beta13.RemoveShareResponse, error) { + out := new(v1beta13.RemoveShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_RemoveShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetShare(ctx context.Context, in *v1beta13.GetShareRequest, opts ...grpc.CallOption) (*v1beta13.GetShareResponse, error) { + out := new(v1beta13.GetShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListShares(ctx context.Context, in *v1beta13.ListSharesRequest, opts ...grpc.CallOption) (*v1beta13.ListSharesResponse, error) { + out := new(v1beta13.ListSharesResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) UpdateShare(ctx context.Context, in *v1beta13.UpdateShareRequest, opts ...grpc.CallOption) (*v1beta13.UpdateShareResponse, error) { + out := new(v1beta13.UpdateShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_UpdateShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListReceivedShares(ctx context.Context, in *v1beta13.ListReceivedSharesRequest, opts ...grpc.CallOption) (*v1beta13.ListReceivedSharesResponse, error) { + out := new(v1beta13.ListReceivedSharesResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListReceivedShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListExistingReceivedShares(ctx context.Context, in *v1beta13.ListReceivedSharesRequest, opts ...grpc.CallOption) (*ListExistingReceivedSharesResponse, error) { + out := new(ListExistingReceivedSharesResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListExistingReceivedShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) UpdateReceivedShare(ctx context.Context, in *v1beta13.UpdateReceivedShareRequest, opts ...grpc.CallOption) (*v1beta13.UpdateReceivedShareResponse, error) { + out := new(v1beta13.UpdateReceivedShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_UpdateReceivedShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetReceivedShare(ctx context.Context, in *v1beta13.GetReceivedShareRequest, opts ...grpc.CallOption) (*v1beta13.GetReceivedShareResponse, error) { + out := new(v1beta13.GetReceivedShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetReceivedShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) SetKey(ctx context.Context, in *v1beta14.SetKeyRequest, opts ...grpc.CallOption) (*v1beta14.SetKeyResponse, error) { + out := new(v1beta14.SetKeyResponse) + err := c.cc.Invoke(ctx, GatewayAPI_SetKey_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetKey(ctx context.Context, in *v1beta14.GetKeyRequest, opts ...grpc.CallOption) (*v1beta14.GetKeyResponse, error) { + out := new(v1beta14.GetKeyResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetKey_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CreatePublicShare(ctx context.Context, in *v1beta15.CreatePublicShareRequest, opts ...grpc.CallOption) (*v1beta15.CreatePublicShareResponse, error) { + out := new(v1beta15.CreatePublicShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CreatePublicShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) RemovePublicShare(ctx context.Context, in *v1beta15.RemovePublicShareRequest, opts ...grpc.CallOption) (*v1beta15.RemovePublicShareResponse, error) { + out := new(v1beta15.RemovePublicShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_RemovePublicShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetPublicShare(ctx context.Context, in *v1beta15.GetPublicShareRequest, opts ...grpc.CallOption) (*v1beta15.GetPublicShareResponse, error) { + out := new(v1beta15.GetPublicShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetPublicShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetPublicShareByToken(ctx context.Context, in *v1beta15.GetPublicShareByTokenRequest, opts ...grpc.CallOption) (*v1beta15.GetPublicShareByTokenResponse, error) { + out := new(v1beta15.GetPublicShareByTokenResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetPublicShareByToken_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListPublicShares(ctx context.Context, in *v1beta15.ListPublicSharesRequest, opts ...grpc.CallOption) (*v1beta15.ListPublicSharesResponse, error) { + out := new(v1beta15.ListPublicSharesResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListPublicShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) UpdatePublicShare(ctx context.Context, in *v1beta15.UpdatePublicShareRequest, opts ...grpc.CallOption) (*v1beta15.UpdatePublicShareResponse, error) { + out := new(v1beta15.UpdatePublicShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_UpdatePublicShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CreateOCMShare(ctx context.Context, in *v1beta16.CreateOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.CreateOCMShareResponse, error) { + out := new(v1beta16.CreateOCMShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CreateOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) RemoveOCMShare(ctx context.Context, in *v1beta16.RemoveOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.RemoveOCMShareResponse, error) { + out := new(v1beta16.RemoveOCMShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_RemoveOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetOCMShare(ctx context.Context, in *v1beta16.GetOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.GetOCMShareResponse, error) { + out := new(v1beta16.GetOCMShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetOCMShareByToken(ctx context.Context, in *v1beta16.GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*v1beta16.GetOCMShareByTokenResponse, error) { + out := new(v1beta16.GetOCMShareByTokenResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetOCMShareByToken_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListOCMShares(ctx context.Context, in *v1beta16.ListOCMSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListOCMSharesResponse, error) { + out := new(v1beta16.ListOCMSharesResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListOCMShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) UpdateOCMShare(ctx context.Context, in *v1beta16.UpdateOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateOCMShareResponse, error) { + out := new(v1beta16.UpdateOCMShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_UpdateOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListReceivedOCMShares(ctx context.Context, in *v1beta16.ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListReceivedOCMSharesResponse, error) { + out := new(v1beta16.ListReceivedOCMSharesResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListReceivedOCMShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) UpdateReceivedOCMShare(ctx context.Context, in *v1beta16.UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateReceivedOCMShareResponse, error) { + out := new(v1beta16.UpdateReceivedOCMShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_UpdateReceivedOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetReceivedOCMShare(ctx context.Context, in *v1beta16.GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.GetReceivedOCMShareResponse, error) { + out := new(v1beta16.GetReceivedOCMShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetReceivedOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetAppProviders(ctx context.Context, in *v1beta17.GetAppProvidersRequest, opts ...grpc.CallOption) (*v1beta17.GetAppProvidersResponse, error) { + out := new(v1beta17.GetAppProvidersResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetAppProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) AddAppProvider(ctx context.Context, in *v1beta17.AddAppProviderRequest, opts ...grpc.CallOption) (*v1beta17.AddAppProviderResponse, error) { + out := new(v1beta17.AddAppProviderResponse) + err := c.cc.Invoke(ctx, GatewayAPI_AddAppProvider_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListAppProviders(ctx context.Context, in *v1beta17.ListAppProvidersRequest, opts ...grpc.CallOption) (*v1beta17.ListAppProvidersResponse, error) { + out := new(v1beta17.ListAppProvidersResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListAppProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListSupportedMimeTypes(ctx context.Context, in *v1beta17.ListSupportedMimeTypesRequest, opts ...grpc.CallOption) (*v1beta17.ListSupportedMimeTypesResponse, error) { + out := new(v1beta17.ListSupportedMimeTypesResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListSupportedMimeTypes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta17.GetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta17.GetDefaultAppProviderForMimeTypeResponse, error) { + out := new(v1beta17.GetDefaultAppProviderForMimeTypeResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetDefaultAppProviderForMimeType_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) SetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta17.SetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta17.SetDefaultAppProviderForMimeTypeResponse, error) { + out := new(v1beta17.SetDefaultAppProviderForMimeTypeResponse) + err := c.cc.Invoke(ctx, GatewayAPI_SetDefaultAppProviderForMimeType_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetUser(ctx context.Context, in *v1beta18.GetUserRequest, opts ...grpc.CallOption) (*v1beta18.GetUserResponse, error) { + out := new(v1beta18.GetUserResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetUser_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetUserByClaim(ctx context.Context, in *v1beta18.GetUserByClaimRequest, opts ...grpc.CallOption) (*v1beta18.GetUserByClaimResponse, error) { + out := new(v1beta18.GetUserByClaimResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetUserByClaim_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetUserGroups(ctx context.Context, in *v1beta18.GetUserGroupsRequest, opts ...grpc.CallOption) (*v1beta18.GetUserGroupsResponse, error) { + out := new(v1beta18.GetUserGroupsResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetUserGroups_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) FindUsers(ctx context.Context, in *v1beta18.FindUsersRequest, opts ...grpc.CallOption) (*v1beta18.FindUsersResponse, error) { + out := new(v1beta18.FindUsersResponse) + err := c.cc.Invoke(ctx, GatewayAPI_FindUsers_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetGroup(ctx context.Context, in *v1beta19.GetGroupRequest, opts ...grpc.CallOption) (*v1beta19.GetGroupResponse, error) { + out := new(v1beta19.GetGroupResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetGroup_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetGroupByClaim(ctx context.Context, in *v1beta19.GetGroupByClaimRequest, opts ...grpc.CallOption) (*v1beta19.GetGroupByClaimResponse, error) { + out := new(v1beta19.GetGroupByClaimResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetGroupByClaim_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetMembers(ctx context.Context, in *v1beta19.GetMembersRequest, opts ...grpc.CallOption) (*v1beta19.GetMembersResponse, error) { + out := new(v1beta19.GetMembersResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetMembers_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) HasMember(ctx context.Context, in *v1beta19.HasMemberRequest, opts ...grpc.CallOption) (*v1beta19.HasMemberResponse, error) { + out := new(v1beta19.HasMemberResponse) + err := c.cc.Invoke(ctx, GatewayAPI_HasMember_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) FindGroups(ctx context.Context, in *v1beta19.FindGroupsRequest, opts ...grpc.CallOption) (*v1beta19.FindGroupsResponse, error) { + out := new(v1beta19.FindGroupsResponse) + err := c.cc.Invoke(ctx, GatewayAPI_FindGroups_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListAuthProviders(ctx context.Context, in *v1beta110.ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error) { + out := new(ListAuthProvidersResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListAuthProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetHome(ctx context.Context, in *v1beta11.GetHomeRequest, opts ...grpc.CallOption) (*v1beta11.GetHomeResponse, error) { + out := new(v1beta11.GetHomeResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetHome_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GenerateInviteToken(ctx context.Context, in *v1beta111.GenerateInviteTokenRequest, opts ...grpc.CallOption) (*v1beta111.GenerateInviteTokenResponse, error) { + out := new(v1beta111.GenerateInviteTokenResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GenerateInviteToken_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListInviteTokens(ctx context.Context, in *v1beta111.ListInviteTokensRequest, opts ...grpc.CallOption) (*v1beta111.ListInviteTokensResponse, error) { + out := new(v1beta111.ListInviteTokensResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListInviteTokens_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ForwardInvite(ctx context.Context, in *v1beta111.ForwardInviteRequest, opts ...grpc.CallOption) (*v1beta111.ForwardInviteResponse, error) { + out := new(v1beta111.ForwardInviteResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ForwardInvite_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) AcceptInvite(ctx context.Context, in *v1beta111.AcceptInviteRequest, opts ...grpc.CallOption) (*v1beta111.AcceptInviteResponse, error) { + out := new(v1beta111.AcceptInviteResponse) + err := c.cc.Invoke(ctx, GatewayAPI_AcceptInvite_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetAcceptedUser(ctx context.Context, in *v1beta111.GetAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta111.GetAcceptedUserResponse, error) { + out := new(v1beta111.GetAcceptedUserResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetAcceptedUser_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) FindAcceptedUsers(ctx context.Context, in *v1beta111.FindAcceptedUsersRequest, opts ...grpc.CallOption) (*v1beta111.FindAcceptedUsersResponse, error) { + out := new(v1beta111.FindAcceptedUsersResponse) + err := c.cc.Invoke(ctx, GatewayAPI_FindAcceptedUsers_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) DeleteAcceptedUser(ctx context.Context, in *v1beta111.DeleteAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta111.DeleteAcceptedUserResponse, error) { + out := new(v1beta111.DeleteAcceptedUserResponse) + err := c.cc.Invoke(ctx, GatewayAPI_DeleteAcceptedUser_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) IsProviderAllowed(ctx context.Context, in *v1beta112.IsProviderAllowedRequest, opts ...grpc.CallOption) (*v1beta112.IsProviderAllowedResponse, error) { + out := new(v1beta112.IsProviderAllowedResponse) + err := c.cc.Invoke(ctx, GatewayAPI_IsProviderAllowed_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetInfoByDomain(ctx context.Context, in *v1beta112.GetInfoByDomainRequest, opts ...grpc.CallOption) (*v1beta112.GetInfoByDomainResponse, error) { + out := new(v1beta112.GetInfoByDomainResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetInfoByDomain_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListAllProviders(ctx context.Context, in *v1beta112.ListAllProvidersRequest, opts ...grpc.CallOption) (*v1beta112.ListAllProvidersResponse, error) { + out := new(v1beta112.ListAllProvidersResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListAllProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CreateOCMCoreShare(ctx context.Context, in *v1beta113.CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta113.CreateOCMCoreShareResponse, error) { + out := new(v1beta113.CreateOCMCoreShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CreateOCMCoreShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) UpdateOCMCoreShare(ctx context.Context, in *v1beta113.UpdateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta113.UpdateOCMCoreShareResponse, error) { + out := new(v1beta113.UpdateOCMCoreShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_UpdateOCMCoreShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) DeleteOCMCoreShare(ctx context.Context, in *v1beta113.DeleteOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta113.DeleteOCMCoreShareResponse, error) { + out := new(v1beta113.DeleteOCMCoreShareResponse) + err := c.cc.Invoke(ctx, GatewayAPI_DeleteOCMCoreShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CreateTransfer(ctx context.Context, in *v1beta114.CreateTransferRequest, opts ...grpc.CallOption) (*v1beta114.CreateTransferResponse, error) { + out := new(v1beta114.CreateTransferResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CreateTransfer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) GetTransferStatus(ctx context.Context, in *v1beta114.GetTransferStatusRequest, opts ...grpc.CallOption) (*v1beta114.GetTransferStatusResponse, error) { + out := new(v1beta114.GetTransferStatusResponse) + err := c.cc.Invoke(ctx, GatewayAPI_GetTransferStatus_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CancelTransfer(ctx context.Context, in *v1beta114.CancelTransferRequest, opts ...grpc.CallOption) (*v1beta114.CancelTransferResponse, error) { + out := new(v1beta114.CancelTransferResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CancelTransfer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) ListTransfers(ctx context.Context, in *v1beta114.ListTransfersRequest, opts ...grpc.CallOption) (*v1beta114.ListTransfersResponse, error) { + out := new(v1beta114.ListTransfersResponse) + err := c.cc.Invoke(ctx, GatewayAPI_ListTransfers_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) RetryTransfer(ctx context.Context, in *v1beta114.RetryTransferRequest, opts ...grpc.CallOption) (*v1beta114.RetryTransferResponse, error) { + out := new(v1beta114.RetryTransferResponse) + err := c.cc.Invoke(ctx, GatewayAPI_RetryTransfer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) CheckPermission(ctx context.Context, in *v1beta115.CheckPermissionRequest, opts ...grpc.CallOption) (*v1beta115.CheckPermissionResponse, error) { + out := new(v1beta115.CheckPermissionResponse) + err := c.cc.Invoke(ctx, GatewayAPI_CheckPermission_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// GatewayAPIServer is the server API for GatewayAPI service. +// All implementations should embed UnimplementedGatewayAPIServer +// for forward compatibility +type GatewayAPIServer interface { + // Authenticates a user. + Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) + // WhoAmI returns the information for a user. + WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error) + // GenerateAppPassword creates a password with specified scope to be used by + // third-party applications. + GenerateAppPassword(context.Context, *v1beta1.GenerateAppPasswordRequest) (*v1beta1.GenerateAppPasswordResponse, error) + // ListAppPasswords lists the application passwords created by a user. + ListAppPasswords(context.Context, *v1beta1.ListAppPasswordsRequest) (*v1beta1.ListAppPasswordsResponse, error) + // InvalidateAppPassword invalidates a generated password. + InvalidateAppPassword(context.Context, *v1beta1.InvalidateAppPasswordRequest) (*v1beta1.InvalidateAppPasswordResponse, error) + // GetAppPassword retrieves the password information by the combination of username and password. + GetAppPassword(context.Context, *v1beta1.GetAppPasswordRequest) (*v1beta1.GetAppPasswordResponse, error) + // Creates a new resource of type container. + // MUST return CODE_FAILED_PRECONDITION if the container + // cannot be created at the specified reference. + CreateContainer(context.Context, *v1beta11.CreateContainerRequest) (*v1beta11.CreateContainerResponse, error) + // Creates a new resource of type file. + // MUST return CODE_FAILED_PRECONDITION if the file + // cannot be created at the specified reference. + TouchFile(context.Context, *v1beta11.TouchFileRequest) (*v1beta11.TouchFileResponse, error) + // Deletes a resource. + // If a resource specifies the non-empty container (directory, ...), + // then the entire directory is deleted recursively. + // If a resource specifies a reference or symlink type, only the reference is removed (not the target). + // MUST return CODE_NOT_FOUND if the reference does not exist. + Delete(context.Context, *v1beta11.DeleteRequest) (*v1beta11.DeleteResponse, error) + // Returns the path reference for + // the provided resource id reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + GetPath(context.Context, *v1beta11.GetPathRequest) (*v1beta11.GetPathResponse, error) + // Returns the quota available under the provided + // reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. + GetQuota(context.Context, *GetQuotaRequest) (*v1beta11.GetQuotaResponse, error) + // Initiates the download of a file using an + // out-of-band data transfer mechanism. + InitiateFileDownload(context.Context, *v1beta11.InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error) + // Initiates the upload of a file using an + // out-of-band data transfer mechanism. + InitiateFileUpload(context.Context, *v1beta11.InitiateFileUploadRequest) (*InitiateFileUploadResponse, error) + // Returns a stream of resource informations + // for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListContainerStream(*v1beta11.ListContainerStreamRequest, GatewayAPI_ListContainerStreamServer) error + // Returns a list of resource information + // for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListContainer(context.Context, *v1beta11.ListContainerRequest) (*v1beta11.ListContainerResponse, error) + // Returns a list of the versions for a resource of + // type file at the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_OK and MUST return an empty list if no versions are available. + // TODO: What code if resource not of type file? + ListFileVersions(context.Context, *v1beta11.ListFileVersionsRequest) (*v1beta11.ListFileVersionsResponse, error) + // Returns a stream of recycle items for this storage provider. + ListRecycleStream(*v1beta11.ListRecycleStreamRequest, GatewayAPI_ListRecycleStreamServer) error + // Returns a list of recycle items for this storage provider. + // MUST return CODE_OK and MUST return an empty list if no recycle items are available. + ListRecycle(context.Context, *v1beta11.ListRecycleRequest) (*v1beta11.ListRecycleResponse, error) + // Moves a resource from one reference to another. + // MUST return CODE_NOT_FOUND if any of the references do not exist. + // MUST return CODE_FAILED_PRECONDITION if the source reference + // cannot be moved to the destination reference. + Move(context.Context, *v1beta11.MoveRequest) (*v1beta11.MoveResponse, error) + // Permanently removes a recycle item from the recycle. + // This operation is irrevocable. + // MUST return CODE_NOT_FOUND if the recycle item id does not exist. + PurgeRecycle(context.Context, *v1beta11.PurgeRecycleRequest) (*v1beta11.PurgeRecycleResponse, error) + // Restores a file version for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_NOT_FOUND if the version does not exist. + RestoreFileVersion(context.Context, *v1beta11.RestoreFileVersionRequest) (*v1beta11.RestoreFileVersionResponse, error) + // Restores a recycle item from the recycle. + // MUST return CODE_NOT_FOUND if the recycle item id does not exist. + // MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty + // and the recycle item cannot be restored to the restore_path. + RestoreRecycleItem(context.Context, *v1beta11.RestoreRecycleItemRequest) (*v1beta11.RestoreRecycleItemResponse, error) + // Returns the resource information at the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + Stat(context.Context, *v1beta11.StatRequest) (*v1beta11.StatResponse, error) + // Creates a symlink to another resource. + CreateSymlink(context.Context, *v1beta11.CreateSymlinkRequest) (*v1beta11.CreateSymlinkResponse, error) + // Sets arbitrary metadata into a storage resource. + // Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo. + SetArbitraryMetadata(context.Context, *v1beta11.SetArbitraryMetadataRequest) (*v1beta11.SetArbitraryMetadataResponse, error) + // Unsets arbitrary metdata into a storage resource. + // Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo. + UnsetArbitraryMetadata(context.Context, *v1beta11.UnsetArbitraryMetadataRequest) (*v1beta11.UnsetArbitraryMetadataResponse, error) + // Locks a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. + // In addition, the implementation MUST ensure atomicity when multiple users + // concurrently attempt to set a lock. + // The caller MUST have write permissions on the resource. + SetLock(context.Context, *v1beta11.SetLockRequest) (*v1beta11.SetLockResponse, error) + // Gets the lock metadata of a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. + // The caller MUST have read permissions on the resource. + GetLock(context.Context, *v1beta11.GetLockRequest) (*v1beta11.GetLockResponse, error) + // Refreshes the lock metadata of a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is not locked + // or if the caller does not hold the lock. + // The caller MUST have write permissions on the resource. + RefreshLock(context.Context, *v1beta11.RefreshLockRequest) (*v1beta11.RefreshLockResponse, error) + // Unlocks a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is not locked + // or if the caller does not hold the lock. + // The caller MUST have write permissions on the resource. + Unlock(context.Context, *v1beta11.UnlockRequest) (*v1beta11.UnlockResponse, error) + // Creates the home directory for a user. + CreateHome(context.Context, *v1beta11.CreateHomeRequest) (*v1beta11.CreateHomeResponse, error) + // Creates a storage space. + CreateStorageSpace(context.Context, *v1beta11.CreateStorageSpaceRequest) (*v1beta11.CreateStorageSpaceResponse, error) + // Lists storage spaces. + ListStorageSpaces(context.Context, *v1beta11.ListStorageSpacesRequest) (*v1beta11.ListStorageSpacesResponse, error) + // Updates a storage space. + UpdateStorageSpace(context.Context, *v1beta11.UpdateStorageSpaceRequest) (*v1beta11.UpdateStorageSpaceResponse, error) + // Deletes a storage space. + DeleteStorageSpace(context.Context, *v1beta11.DeleteStorageSpaceRequest) (*v1beta11.DeleteStorageSpaceResponse, error) + // Returns the App URL and all necessary info to open a resource in an online editor. + // MUST return CODE_NOT_FOUND if the resource does not exist. + OpenInApp(context.Context, *OpenInAppRequest) (*v1beta12.OpenInAppResponse, error) + // Creates a new share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_LOCKED if the resource reference already locked. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreateShare(context.Context, *v1beta13.CreateShareRequest) (*v1beta13.CreateShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemoveShare(context.Context, *v1beta13.RemoveShareRequest) (*v1beta13.RemoveShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetShare(context.Context, *v1beta13.GetShareRequest) (*v1beta13.GetShareResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListShares(context.Context, *v1beta13.ListSharesRequest) (*v1beta13.ListSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateShare(context.Context, *v1beta13.UpdateShareRequest) (*v1beta13.UpdateShareResponse, error) + // List all shares the authenticated principal has received. + ListReceivedShares(context.Context, *v1beta13.ListReceivedSharesRequest) (*v1beta13.ListReceivedSharesResponse, error) + // List all existing shares the authenticated principal has received, + // including their storage resource information. + ListExistingReceivedShares(context.Context, *v1beta13.ListReceivedSharesRequest) (*ListExistingReceivedSharesResponse, error) + // Update the received share to change the share state or the display name. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateReceivedShare(context.Context, *v1beta13.UpdateReceivedShareRequest) (*v1beta13.UpdateReceivedShareResponse, error) + // Get the information for the given received share reference. + // MUST return CODE_NOT_FOUND if the received share reference does not exist. + GetReceivedShare(context.Context, *v1beta13.GetReceivedShareRequest) (*v1beta13.GetReceivedShareResponse, error) + // Maps the key-value pair. + SetKey(context.Context, *v1beta14.SetKeyRequest) (*v1beta14.SetKeyResponse, error) + // Returns the value associated with the + // requested key. + GetKey(context.Context, *v1beta14.GetKeyRequest) (*v1beta14.GetKeyResponse, error) + // Creates a new share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreatePublicShare(context.Context, *v1beta15.CreatePublicShareRequest) (*v1beta15.CreatePublicShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemovePublicShare(context.Context, *v1beta15.RemovePublicShareRequest) (*v1beta15.RemovePublicShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetPublicShare(context.Context, *v1beta15.GetPublicShareRequest) (*v1beta15.GetPublicShareResponse, error) + // Gets share information for a single share by its unlisted token. + // MUST return CODE_NOT_FOUND if the share does not exist. + GetPublicShareByToken(context.Context, *v1beta15.GetPublicShareByTokenRequest) (*v1beta15.GetPublicShareByTokenResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListPublicShares(context.Context, *v1beta15.ListPublicSharesRequest) (*v1beta15.ListPublicSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdatePublicShare(context.Context, *v1beta15.UpdatePublicShareRequest) (*v1beta15.UpdatePublicShareResponse, error) + // Creates a new ocm share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreateOCMShare(context.Context, *v1beta16.CreateOCMShareRequest) (*v1beta16.CreateOCMShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemoveOCMShare(context.Context, *v1beta16.RemoveOCMShareRequest) (*v1beta16.RemoveOCMShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetOCMShare(context.Context, *v1beta16.GetOCMShareRequest) (*v1beta16.GetOCMShareResponse, error) + // Gets share information for a single share by its unlisted token. + // MUST return CODE_NOT_FOUND if the share does not exist. + GetOCMShareByToken(context.Context, *v1beta16.GetOCMShareByTokenRequest) (*v1beta16.GetOCMShareByTokenResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListOCMShares(context.Context, *v1beta16.ListOCMSharesRequest) (*v1beta16.ListOCMSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateOCMShare(context.Context, *v1beta16.UpdateOCMShareRequest) (*v1beta16.UpdateOCMShareResponse, error) + // List all shares the authenticated principal has received. + ListReceivedOCMShares(context.Context, *v1beta16.ListReceivedOCMSharesRequest) (*v1beta16.ListReceivedOCMSharesResponse, error) + // Update the received share to change the share state or the display name. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateReceivedOCMShare(context.Context, *v1beta16.UpdateReceivedOCMShareRequest) (*v1beta16.UpdateReceivedOCMShareResponse, error) + // Get the information for the given received share reference. + // MUST return CODE_NOT_FOUND if the received share reference does not exist. + GetReceivedOCMShare(context.Context, *v1beta16.GetReceivedOCMShareRequest) (*v1beta16.GetReceivedOCMShareResponse, error) + // Returns the app providers that are capable of handling this resource info. + // MUST return CODE_NOT_FOUND if no providers are available. + GetAppProviders(context.Context, *v1beta17.GetAppProvidersRequest) (*v1beta17.GetAppProvidersResponse, error) + // Registers a new app provider to the registry. + AddAppProvider(context.Context, *v1beta17.AddAppProviderRequest) (*v1beta17.AddAppProviderResponse, error) + // Returns a list of the available app providers known by this registry. + ListAppProviders(context.Context, *v1beta17.ListAppProvidersRequest) (*v1beta17.ListAppProvidersResponse, error) + // Returns a list of the supported mime types along with the apps which they can opened with. + ListSupportedMimeTypes(context.Context, *v1beta17.ListSupportedMimeTypesRequest) (*v1beta17.ListSupportedMimeTypesResponse, error) + // Returns the default app provider which serves a specified mime type. + GetDefaultAppProviderForMimeType(context.Context, *v1beta17.GetDefaultAppProviderForMimeTypeRequest) (*v1beta17.GetDefaultAppProviderForMimeTypeResponse, error) + // Sets the default app provider for a specified mime type. + SetDefaultAppProviderForMimeType(context.Context, *v1beta17.SetDefaultAppProviderForMimeTypeRequest) (*v1beta17.SetDefaultAppProviderForMimeTypeResponse, error) + // Gets the information about a user by the user id. + GetUser(context.Context, *v1beta18.GetUserRequest) (*v1beta18.GetUserResponse, error) + // Gets the information about a user based on a specified claim. + GetUserByClaim(context.Context, *v1beta18.GetUserByClaimRequest) (*v1beta18.GetUserByClaimResponse, error) + // Gets the groups of a user. + GetUserGroups(context.Context, *v1beta18.GetUserGroupsRequest) (*v1beta18.GetUserGroupsResponse, error) + // Finds users by any attribute of the user. + // TODO(labkode): to define the filters that make more sense. + FindUsers(context.Context, *v1beta18.FindUsersRequest) (*v1beta18.FindUsersResponse, error) + // Gets the information about a group by the group id. + GetGroup(context.Context, *v1beta19.GetGroupRequest) (*v1beta19.GetGroupResponse, error) + // Gets the information about a group based on a specified claim. + GetGroupByClaim(context.Context, *v1beta19.GetGroupByClaimRequest) (*v1beta19.GetGroupByClaimResponse, error) + // Gets the members of a group. + GetMembers(context.Context, *v1beta19.GetMembersRequest) (*v1beta19.GetMembersResponse, error) + // Tells if the group has a certain member. + HasMember(context.Context, *v1beta19.HasMemberRequest) (*v1beta19.HasMemberResponse, error) + // TODO(labkode): to define the filters that make more sense. + // Finds groups whose names match the specified filter. + FindGroups(context.Context, *v1beta19.FindGroupsRequest) (*v1beta19.FindGroupsResponse, error) + // Returns a list of the available auth providers known by this registry. + ListAuthProviders(context.Context, *v1beta110.ListAuthProvidersRequest) (*ListAuthProvidersResponse, error) + // Returns the home path for the given authenticated user. + // When a user has access to multiple storage providers, one of them is the home. + GetHome(context.Context, *v1beta11.GetHomeRequest) (*v1beta11.GetHomeResponse, error) + // Generates a new token for the user with a validity of 24 hours. + GenerateInviteToken(context.Context, *v1beta111.GenerateInviteTokenRequest) (*v1beta111.GenerateInviteTokenResponse, error) + // Lists the valid tokens generated by the user. + ListInviteTokens(context.Context, *v1beta111.ListInviteTokensRequest) (*v1beta111.ListInviteTokensResponse, error) + // Forwards a received invite to the sync'n'share system provider. + ForwardInvite(context.Context, *v1beta111.ForwardInviteRequest) (*v1beta111.ForwardInviteResponse, error) + // Completes an invitation acceptance. + AcceptInvite(context.Context, *v1beta111.AcceptInviteRequest) (*v1beta111.AcceptInviteResponse, error) + // Retrieves details about a remote user who has accepted an invite to share. + GetAcceptedUser(context.Context, *v1beta111.GetAcceptedUserRequest) (*v1beta111.GetAcceptedUserResponse, error) + // Finds users who accepted invite tokens by their attributes. + FindAcceptedUsers(context.Context, *v1beta111.FindAcceptedUsersRequest) (*v1beta111.FindAcceptedUsersResponse, error) + // Delete a previously accepted remote user, that is unfriend that user. + DeleteAcceptedUser(context.Context, *v1beta111.DeleteAcceptedUserRequest) (*v1beta111.DeleteAcceptedUserResponse, error) + // Check if a given system provider is registered in the mesh or not. + // MUST return CODE_UNAUTHENTICATED if the system is not registered + IsProviderAllowed(context.Context, *v1beta112.IsProviderAllowedRequest) (*v1beta112.IsProviderAllowedResponse, error) + // Get the information of the provider identified by a specific domain. + // MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist. + GetInfoByDomain(context.Context, *v1beta112.GetInfoByDomainRequest) (*v1beta112.GetInfoByDomainResponse, error) + // Get the information of all the providers registered in the mesh. + ListAllProviders(context.Context, *v1beta112.ListAllProvidersRequest) (*v1beta112.ListAllProvidersResponse, error) + // Creates a new OCM share. + CreateOCMCoreShare(context.Context, *v1beta113.CreateOCMCoreShareRequest) (*v1beta113.CreateOCMCoreShareResponse, error) + // Updates an OCM share. + UpdateOCMCoreShare(context.Context, *v1beta113.UpdateOCMCoreShareRequest) (*v1beta113.UpdateOCMCoreShareResponse, error) + // Deletes an OCM share. + DeleteOCMCoreShare(context.Context, *v1beta113.DeleteOCMCoreShareRequest) (*v1beta113.DeleteOCMCoreShareResponse, error) + // Requests creation of a transfer. + CreateTransfer(context.Context, *v1beta114.CreateTransferRequest) (*v1beta114.CreateTransferResponse, error) + // Requests a transfer status. + GetTransferStatus(context.Context, *v1beta114.GetTransferStatusRequest) (*v1beta114.GetTransferStatusResponse, error) + // Requests to cancel a transfer. + CancelTransfer(context.Context, *v1beta114.CancelTransferRequest) (*v1beta114.CancelTransferResponse, error) + // Requests a list of transfers received by the authenticated principle. + ListTransfers(context.Context, *v1beta114.ListTransfersRequest) (*v1beta114.ListTransfersResponse, error) + // Requests retrying a transfer. + RetryTransfer(context.Context, *v1beta114.RetryTransferRequest) (*v1beta114.RetryTransferResponse, error) + // CheckPermission checks if a user or group has a certain permission. + CheckPermission(context.Context, *v1beta115.CheckPermissionRequest) (*v1beta115.CheckPermissionResponse, error) +} + +// UnimplementedGatewayAPIServer should be embedded to have forward compatible implementations. +type UnimplementedGatewayAPIServer struct { +} + +func (UnimplementedGatewayAPIServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Authenticate not implemented") +} +func (UnimplementedGatewayAPIServer) WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WhoAmI not implemented") +} +func (UnimplementedGatewayAPIServer) GenerateAppPassword(context.Context, *v1beta1.GenerateAppPasswordRequest) (*v1beta1.GenerateAppPasswordResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GenerateAppPassword not implemented") +} +func (UnimplementedGatewayAPIServer) ListAppPasswords(context.Context, *v1beta1.ListAppPasswordsRequest) (*v1beta1.ListAppPasswordsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAppPasswords not implemented") +} +func (UnimplementedGatewayAPIServer) InvalidateAppPassword(context.Context, *v1beta1.InvalidateAppPasswordRequest) (*v1beta1.InvalidateAppPasswordResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InvalidateAppPassword not implemented") +} +func (UnimplementedGatewayAPIServer) GetAppPassword(context.Context, *v1beta1.GetAppPasswordRequest) (*v1beta1.GetAppPasswordResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAppPassword not implemented") +} +func (UnimplementedGatewayAPIServer) CreateContainer(context.Context, *v1beta11.CreateContainerRequest) (*v1beta11.CreateContainerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateContainer not implemented") +} +func (UnimplementedGatewayAPIServer) TouchFile(context.Context, *v1beta11.TouchFileRequest) (*v1beta11.TouchFileResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method TouchFile not implemented") +} +func (UnimplementedGatewayAPIServer) Delete(context.Context, *v1beta11.DeleteRequest) (*v1beta11.DeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (UnimplementedGatewayAPIServer) GetPath(context.Context, *v1beta11.GetPathRequest) (*v1beta11.GetPathResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPath not implemented") +} +func (UnimplementedGatewayAPIServer) GetQuota(context.Context, *GetQuotaRequest) (*v1beta11.GetQuotaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetQuota not implemented") +} +func (UnimplementedGatewayAPIServer) InitiateFileDownload(context.Context, *v1beta11.InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InitiateFileDownload not implemented") +} +func (UnimplementedGatewayAPIServer) InitiateFileUpload(context.Context, *v1beta11.InitiateFileUploadRequest) (*InitiateFileUploadResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InitiateFileUpload not implemented") +} +func (UnimplementedGatewayAPIServer) ListContainerStream(*v1beta11.ListContainerStreamRequest, GatewayAPI_ListContainerStreamServer) error { + return status.Errorf(codes.Unimplemented, "method ListContainerStream not implemented") +} +func (UnimplementedGatewayAPIServer) ListContainer(context.Context, *v1beta11.ListContainerRequest) (*v1beta11.ListContainerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListContainer not implemented") +} +func (UnimplementedGatewayAPIServer) ListFileVersions(context.Context, *v1beta11.ListFileVersionsRequest) (*v1beta11.ListFileVersionsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListFileVersions not implemented") +} +func (UnimplementedGatewayAPIServer) ListRecycleStream(*v1beta11.ListRecycleStreamRequest, GatewayAPI_ListRecycleStreamServer) error { + return status.Errorf(codes.Unimplemented, "method ListRecycleStream not implemented") +} +func (UnimplementedGatewayAPIServer) ListRecycle(context.Context, *v1beta11.ListRecycleRequest) (*v1beta11.ListRecycleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListRecycle not implemented") +} +func (UnimplementedGatewayAPIServer) Move(context.Context, *v1beta11.MoveRequest) (*v1beta11.MoveResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") +} +func (UnimplementedGatewayAPIServer) PurgeRecycle(context.Context, *v1beta11.PurgeRecycleRequest) (*v1beta11.PurgeRecycleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PurgeRecycle not implemented") +} +func (UnimplementedGatewayAPIServer) RestoreFileVersion(context.Context, *v1beta11.RestoreFileVersionRequest) (*v1beta11.RestoreFileVersionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RestoreFileVersion not implemented") +} +func (UnimplementedGatewayAPIServer) RestoreRecycleItem(context.Context, *v1beta11.RestoreRecycleItemRequest) (*v1beta11.RestoreRecycleItemResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RestoreRecycleItem not implemented") +} +func (UnimplementedGatewayAPIServer) Stat(context.Context, *v1beta11.StatRequest) (*v1beta11.StatResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stat not implemented") +} +func (UnimplementedGatewayAPIServer) CreateSymlink(context.Context, *v1beta11.CreateSymlinkRequest) (*v1beta11.CreateSymlinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateSymlink not implemented") +} +func (UnimplementedGatewayAPIServer) SetArbitraryMetadata(context.Context, *v1beta11.SetArbitraryMetadataRequest) (*v1beta11.SetArbitraryMetadataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetArbitraryMetadata not implemented") +} +func (UnimplementedGatewayAPIServer) UnsetArbitraryMetadata(context.Context, *v1beta11.UnsetArbitraryMetadataRequest) (*v1beta11.UnsetArbitraryMetadataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnsetArbitraryMetadata not implemented") +} +func (UnimplementedGatewayAPIServer) SetLock(context.Context, *v1beta11.SetLockRequest) (*v1beta11.SetLockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetLock not implemented") +} +func (UnimplementedGatewayAPIServer) GetLock(context.Context, *v1beta11.GetLockRequest) (*v1beta11.GetLockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLock not implemented") +} +func (UnimplementedGatewayAPIServer) RefreshLock(context.Context, *v1beta11.RefreshLockRequest) (*v1beta11.RefreshLockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RefreshLock not implemented") +} +func (UnimplementedGatewayAPIServer) Unlock(context.Context, *v1beta11.UnlockRequest) (*v1beta11.UnlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Unlock not implemented") +} +func (UnimplementedGatewayAPIServer) CreateHome(context.Context, *v1beta11.CreateHomeRequest) (*v1beta11.CreateHomeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateHome not implemented") +} +func (UnimplementedGatewayAPIServer) CreateStorageSpace(context.Context, *v1beta11.CreateStorageSpaceRequest) (*v1beta11.CreateStorageSpaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateStorageSpace not implemented") +} +func (UnimplementedGatewayAPIServer) ListStorageSpaces(context.Context, *v1beta11.ListStorageSpacesRequest) (*v1beta11.ListStorageSpacesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListStorageSpaces not implemented") +} +func (UnimplementedGatewayAPIServer) UpdateStorageSpace(context.Context, *v1beta11.UpdateStorageSpaceRequest) (*v1beta11.UpdateStorageSpaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateStorageSpace not implemented") +} +func (UnimplementedGatewayAPIServer) DeleteStorageSpace(context.Context, *v1beta11.DeleteStorageSpaceRequest) (*v1beta11.DeleteStorageSpaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteStorageSpace not implemented") +} +func (UnimplementedGatewayAPIServer) OpenInApp(context.Context, *OpenInAppRequest) (*v1beta12.OpenInAppResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method OpenInApp not implemented") +} +func (UnimplementedGatewayAPIServer) CreateShare(context.Context, *v1beta13.CreateShareRequest) (*v1beta13.CreateShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShare not implemented") +} +func (UnimplementedGatewayAPIServer) RemoveShare(context.Context, *v1beta13.RemoveShareRequest) (*v1beta13.RemoveShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveShare not implemented") +} +func (UnimplementedGatewayAPIServer) GetShare(context.Context, *v1beta13.GetShareRequest) (*v1beta13.GetShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetShare not implemented") +} +func (UnimplementedGatewayAPIServer) ListShares(context.Context, *v1beta13.ListSharesRequest) (*v1beta13.ListSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListShares not implemented") +} +func (UnimplementedGatewayAPIServer) UpdateShare(context.Context, *v1beta13.UpdateShareRequest) (*v1beta13.UpdateShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateShare not implemented") +} +func (UnimplementedGatewayAPIServer) ListReceivedShares(context.Context, *v1beta13.ListReceivedSharesRequest) (*v1beta13.ListReceivedSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListReceivedShares not implemented") +} +func (UnimplementedGatewayAPIServer) ListExistingReceivedShares(context.Context, *v1beta13.ListReceivedSharesRequest) (*ListExistingReceivedSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListExistingReceivedShares not implemented") +} +func (UnimplementedGatewayAPIServer) UpdateReceivedShare(context.Context, *v1beta13.UpdateReceivedShareRequest) (*v1beta13.UpdateReceivedShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateReceivedShare not implemented") +} +func (UnimplementedGatewayAPIServer) GetReceivedShare(context.Context, *v1beta13.GetReceivedShareRequest) (*v1beta13.GetReceivedShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReceivedShare not implemented") +} +func (UnimplementedGatewayAPIServer) SetKey(context.Context, *v1beta14.SetKeyRequest) (*v1beta14.SetKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetKey not implemented") +} +func (UnimplementedGatewayAPIServer) GetKey(context.Context, *v1beta14.GetKeyRequest) (*v1beta14.GetKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetKey not implemented") +} +func (UnimplementedGatewayAPIServer) CreatePublicShare(context.Context, *v1beta15.CreatePublicShareRequest) (*v1beta15.CreatePublicShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreatePublicShare not implemented") +} +func (UnimplementedGatewayAPIServer) RemovePublicShare(context.Context, *v1beta15.RemovePublicShareRequest) (*v1beta15.RemovePublicShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemovePublicShare not implemented") +} +func (UnimplementedGatewayAPIServer) GetPublicShare(context.Context, *v1beta15.GetPublicShareRequest) (*v1beta15.GetPublicShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPublicShare not implemented") +} +func (UnimplementedGatewayAPIServer) GetPublicShareByToken(context.Context, *v1beta15.GetPublicShareByTokenRequest) (*v1beta15.GetPublicShareByTokenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPublicShareByToken not implemented") +} +func (UnimplementedGatewayAPIServer) ListPublicShares(context.Context, *v1beta15.ListPublicSharesRequest) (*v1beta15.ListPublicSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListPublicShares not implemented") +} +func (UnimplementedGatewayAPIServer) UpdatePublicShare(context.Context, *v1beta15.UpdatePublicShareRequest) (*v1beta15.UpdatePublicShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdatePublicShare not implemented") +} +func (UnimplementedGatewayAPIServer) CreateOCMShare(context.Context, *v1beta16.CreateOCMShareRequest) (*v1beta16.CreateOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateOCMShare not implemented") +} +func (UnimplementedGatewayAPIServer) RemoveOCMShare(context.Context, *v1beta16.RemoveOCMShareRequest) (*v1beta16.RemoveOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveOCMShare not implemented") +} +func (UnimplementedGatewayAPIServer) GetOCMShare(context.Context, *v1beta16.GetOCMShareRequest) (*v1beta16.GetOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOCMShare not implemented") +} +func (UnimplementedGatewayAPIServer) GetOCMShareByToken(context.Context, *v1beta16.GetOCMShareByTokenRequest) (*v1beta16.GetOCMShareByTokenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOCMShareByToken not implemented") +} +func (UnimplementedGatewayAPIServer) ListOCMShares(context.Context, *v1beta16.ListOCMSharesRequest) (*v1beta16.ListOCMSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOCMShares not implemented") +} +func (UnimplementedGatewayAPIServer) UpdateOCMShare(context.Context, *v1beta16.UpdateOCMShareRequest) (*v1beta16.UpdateOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateOCMShare not implemented") +} +func (UnimplementedGatewayAPIServer) ListReceivedOCMShares(context.Context, *v1beta16.ListReceivedOCMSharesRequest) (*v1beta16.ListReceivedOCMSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListReceivedOCMShares not implemented") +} +func (UnimplementedGatewayAPIServer) UpdateReceivedOCMShare(context.Context, *v1beta16.UpdateReceivedOCMShareRequest) (*v1beta16.UpdateReceivedOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateReceivedOCMShare not implemented") +} +func (UnimplementedGatewayAPIServer) GetReceivedOCMShare(context.Context, *v1beta16.GetReceivedOCMShareRequest) (*v1beta16.GetReceivedOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReceivedOCMShare not implemented") +} +func (UnimplementedGatewayAPIServer) GetAppProviders(context.Context, *v1beta17.GetAppProvidersRequest) (*v1beta17.GetAppProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAppProviders not implemented") +} +func (UnimplementedGatewayAPIServer) AddAppProvider(context.Context, *v1beta17.AddAppProviderRequest) (*v1beta17.AddAppProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddAppProvider not implemented") +} +func (UnimplementedGatewayAPIServer) ListAppProviders(context.Context, *v1beta17.ListAppProvidersRequest) (*v1beta17.ListAppProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAppProviders not implemented") +} +func (UnimplementedGatewayAPIServer) ListSupportedMimeTypes(context.Context, *v1beta17.ListSupportedMimeTypesRequest) (*v1beta17.ListSupportedMimeTypesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListSupportedMimeTypes not implemented") +} +func (UnimplementedGatewayAPIServer) GetDefaultAppProviderForMimeType(context.Context, *v1beta17.GetDefaultAppProviderForMimeTypeRequest) (*v1beta17.GetDefaultAppProviderForMimeTypeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDefaultAppProviderForMimeType not implemented") +} +func (UnimplementedGatewayAPIServer) SetDefaultAppProviderForMimeType(context.Context, *v1beta17.SetDefaultAppProviderForMimeTypeRequest) (*v1beta17.SetDefaultAppProviderForMimeTypeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetDefaultAppProviderForMimeType not implemented") +} +func (UnimplementedGatewayAPIServer) GetUser(context.Context, *v1beta18.GetUserRequest) (*v1beta18.GetUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") +} +func (UnimplementedGatewayAPIServer) GetUserByClaim(context.Context, *v1beta18.GetUserByClaimRequest) (*v1beta18.GetUserByClaimResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserByClaim not implemented") +} +func (UnimplementedGatewayAPIServer) GetUserGroups(context.Context, *v1beta18.GetUserGroupsRequest) (*v1beta18.GetUserGroupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserGroups not implemented") +} +func (UnimplementedGatewayAPIServer) FindUsers(context.Context, *v1beta18.FindUsersRequest) (*v1beta18.FindUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindUsers not implemented") +} +func (UnimplementedGatewayAPIServer) GetGroup(context.Context, *v1beta19.GetGroupRequest) (*v1beta19.GetGroupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented") +} +func (UnimplementedGatewayAPIServer) GetGroupByClaim(context.Context, *v1beta19.GetGroupByClaimRequest) (*v1beta19.GetGroupByClaimResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetGroupByClaim not implemented") +} +func (UnimplementedGatewayAPIServer) GetMembers(context.Context, *v1beta19.GetMembersRequest) (*v1beta19.GetMembersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMembers not implemented") +} +func (UnimplementedGatewayAPIServer) HasMember(context.Context, *v1beta19.HasMemberRequest) (*v1beta19.HasMemberResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method HasMember not implemented") +} +func (UnimplementedGatewayAPIServer) FindGroups(context.Context, *v1beta19.FindGroupsRequest) (*v1beta19.FindGroupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindGroups not implemented") +} +func (UnimplementedGatewayAPIServer) ListAuthProviders(context.Context, *v1beta110.ListAuthProvidersRequest) (*ListAuthProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAuthProviders not implemented") +} +func (UnimplementedGatewayAPIServer) GetHome(context.Context, *v1beta11.GetHomeRequest) (*v1beta11.GetHomeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetHome not implemented") +} +func (UnimplementedGatewayAPIServer) GenerateInviteToken(context.Context, *v1beta111.GenerateInviteTokenRequest) (*v1beta111.GenerateInviteTokenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GenerateInviteToken not implemented") +} +func (UnimplementedGatewayAPIServer) ListInviteTokens(context.Context, *v1beta111.ListInviteTokensRequest) (*v1beta111.ListInviteTokensResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListInviteTokens not implemented") +} +func (UnimplementedGatewayAPIServer) ForwardInvite(context.Context, *v1beta111.ForwardInviteRequest) (*v1beta111.ForwardInviteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ForwardInvite not implemented") +} +func (UnimplementedGatewayAPIServer) AcceptInvite(context.Context, *v1beta111.AcceptInviteRequest) (*v1beta111.AcceptInviteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AcceptInvite not implemented") +} +func (UnimplementedGatewayAPIServer) GetAcceptedUser(context.Context, *v1beta111.GetAcceptedUserRequest) (*v1beta111.GetAcceptedUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAcceptedUser not implemented") +} +func (UnimplementedGatewayAPIServer) FindAcceptedUsers(context.Context, *v1beta111.FindAcceptedUsersRequest) (*v1beta111.FindAcceptedUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindAcceptedUsers not implemented") +} +func (UnimplementedGatewayAPIServer) DeleteAcceptedUser(context.Context, *v1beta111.DeleteAcceptedUserRequest) (*v1beta111.DeleteAcceptedUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteAcceptedUser not implemented") +} +func (UnimplementedGatewayAPIServer) IsProviderAllowed(context.Context, *v1beta112.IsProviderAllowedRequest) (*v1beta112.IsProviderAllowedResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsProviderAllowed not implemented") +} +func (UnimplementedGatewayAPIServer) GetInfoByDomain(context.Context, *v1beta112.GetInfoByDomainRequest) (*v1beta112.GetInfoByDomainResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetInfoByDomain not implemented") +} +func (UnimplementedGatewayAPIServer) ListAllProviders(context.Context, *v1beta112.ListAllProvidersRequest) (*v1beta112.ListAllProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAllProviders not implemented") +} +func (UnimplementedGatewayAPIServer) CreateOCMCoreShare(context.Context, *v1beta113.CreateOCMCoreShareRequest) (*v1beta113.CreateOCMCoreShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateOCMCoreShare not implemented") +} +func (UnimplementedGatewayAPIServer) UpdateOCMCoreShare(context.Context, *v1beta113.UpdateOCMCoreShareRequest) (*v1beta113.UpdateOCMCoreShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateOCMCoreShare not implemented") +} +func (UnimplementedGatewayAPIServer) DeleteOCMCoreShare(context.Context, *v1beta113.DeleteOCMCoreShareRequest) (*v1beta113.DeleteOCMCoreShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteOCMCoreShare not implemented") +} +func (UnimplementedGatewayAPIServer) CreateTransfer(context.Context, *v1beta114.CreateTransferRequest) (*v1beta114.CreateTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTransfer not implemented") +} +func (UnimplementedGatewayAPIServer) GetTransferStatus(context.Context, *v1beta114.GetTransferStatusRequest) (*v1beta114.GetTransferStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransferStatus not implemented") +} +func (UnimplementedGatewayAPIServer) CancelTransfer(context.Context, *v1beta114.CancelTransferRequest) (*v1beta114.CancelTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CancelTransfer not implemented") +} +func (UnimplementedGatewayAPIServer) ListTransfers(context.Context, *v1beta114.ListTransfersRequest) (*v1beta114.ListTransfersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListTransfers not implemented") +} +func (UnimplementedGatewayAPIServer) RetryTransfer(context.Context, *v1beta114.RetryTransferRequest) (*v1beta114.RetryTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RetryTransfer not implemented") +} +func (UnimplementedGatewayAPIServer) CheckPermission(context.Context, *v1beta115.CheckPermissionRequest) (*v1beta115.CheckPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CheckPermission not implemented") +} + +// UnsafeGatewayAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to GatewayAPIServer will +// result in compilation errors. +type UnsafeGatewayAPIServer interface { + mustEmbedUnimplementedGatewayAPIServer() +} + +func RegisterGatewayAPIServer(s grpc.ServiceRegistrar, srv GatewayAPIServer) { + s.RegisterService(&GatewayAPI_ServiceDesc, srv) +} + +func _GatewayAPI_Authenticate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AuthenticateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).Authenticate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_Authenticate_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).Authenticate(ctx, req.(*AuthenticateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_WhoAmI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(WhoAmIRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).WhoAmI(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_WhoAmI_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).WhoAmI(ctx, req.(*WhoAmIRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GenerateAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta1.GenerateAppPasswordRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GenerateAppPassword(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GenerateAppPassword_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GenerateAppPassword(ctx, req.(*v1beta1.GenerateAppPasswordRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListAppPasswords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta1.ListAppPasswordsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListAppPasswords(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListAppPasswords_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListAppPasswords(ctx, req.(*v1beta1.ListAppPasswordsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_InvalidateAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta1.InvalidateAppPasswordRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).InvalidateAppPassword(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_InvalidateAppPassword_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).InvalidateAppPassword(ctx, req.(*v1beta1.InvalidateAppPasswordRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetAppPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta1.GetAppPasswordRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetAppPassword(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetAppPassword_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetAppPassword(ctx, req.(*v1beta1.GetAppPasswordRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CreateContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.CreateContainerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CreateContainer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CreateContainer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CreateContainer(ctx, req.(*v1beta11.CreateContainerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_TouchFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.TouchFileRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).TouchFile(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_TouchFile_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).TouchFile(ctx, req.(*v1beta11.TouchFileRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.DeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_Delete_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).Delete(ctx, req.(*v1beta11.DeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.GetPathRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetPath(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetPath_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetPath(ctx, req.(*v1beta11.GetPathRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetQuotaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetQuota(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetQuota_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetQuota(ctx, req.(*GetQuotaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_InitiateFileDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.InitiateFileDownloadRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).InitiateFileDownload(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_InitiateFileDownload_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).InitiateFileDownload(ctx, req.(*v1beta11.InitiateFileDownloadRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_InitiateFileUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.InitiateFileUploadRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).InitiateFileUpload(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_InitiateFileUpload_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).InitiateFileUpload(ctx, req.(*v1beta11.InitiateFileUploadRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListContainerStream_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(v1beta11.ListContainerStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GatewayAPIServer).ListContainerStream(m, &gatewayAPIListContainerStreamServer{stream}) +} + +type GatewayAPI_ListContainerStreamServer interface { + Send(*v1beta11.ListContainerStreamResponse) error + grpc.ServerStream +} + +type gatewayAPIListContainerStreamServer struct { + grpc.ServerStream +} + +func (x *gatewayAPIListContainerStreamServer) Send(m *v1beta11.ListContainerStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GatewayAPI_ListContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.ListContainerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListContainer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListContainer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListContainer(ctx, req.(*v1beta11.ListContainerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListFileVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.ListFileVersionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListFileVersions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListFileVersions_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListFileVersions(ctx, req.(*v1beta11.ListFileVersionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListRecycleStream_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(v1beta11.ListRecycleStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GatewayAPIServer).ListRecycleStream(m, &gatewayAPIListRecycleStreamServer{stream}) +} + +type GatewayAPI_ListRecycleStreamServer interface { + Send(*v1beta11.ListRecycleStreamResponse) error + grpc.ServerStream +} + +type gatewayAPIListRecycleStreamServer struct { + grpc.ServerStream +} + +func (x *gatewayAPIListRecycleStreamServer) Send(m *v1beta11.ListRecycleStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GatewayAPI_ListRecycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.ListRecycleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListRecycle(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListRecycle_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListRecycle(ctx, req.(*v1beta11.ListRecycleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_Move_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.MoveRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).Move(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_Move_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).Move(ctx, req.(*v1beta11.MoveRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_PurgeRecycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.PurgeRecycleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).PurgeRecycle(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_PurgeRecycle_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).PurgeRecycle(ctx, req.(*v1beta11.PurgeRecycleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_RestoreFileVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.RestoreFileVersionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).RestoreFileVersion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_RestoreFileVersion_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).RestoreFileVersion(ctx, req.(*v1beta11.RestoreFileVersionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_RestoreRecycleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.RestoreRecycleItemRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).RestoreRecycleItem(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_RestoreRecycleItem_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).RestoreRecycleItem(ctx, req.(*v1beta11.RestoreRecycleItemRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_Stat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.StatRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).Stat(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_Stat_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).Stat(ctx, req.(*v1beta11.StatRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CreateSymlink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.CreateSymlinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CreateSymlink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CreateSymlink_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CreateSymlink(ctx, req.(*v1beta11.CreateSymlinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_SetArbitraryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.SetArbitraryMetadataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).SetArbitraryMetadata(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_SetArbitraryMetadata_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).SetArbitraryMetadata(ctx, req.(*v1beta11.SetArbitraryMetadataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_UnsetArbitraryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.UnsetArbitraryMetadataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).UnsetArbitraryMetadata(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_UnsetArbitraryMetadata_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).UnsetArbitraryMetadata(ctx, req.(*v1beta11.UnsetArbitraryMetadataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_SetLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.SetLockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).SetLock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_SetLock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).SetLock(ctx, req.(*v1beta11.SetLockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.GetLockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetLock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetLock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetLock(ctx, req.(*v1beta11.GetLockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_RefreshLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.RefreshLockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).RefreshLock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_RefreshLock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).RefreshLock(ctx, req.(*v1beta11.RefreshLockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_Unlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.UnlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).Unlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_Unlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).Unlock(ctx, req.(*v1beta11.UnlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CreateHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.CreateHomeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CreateHome(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CreateHome_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CreateHome(ctx, req.(*v1beta11.CreateHomeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CreateStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.CreateStorageSpaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CreateStorageSpace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CreateStorageSpace_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CreateStorageSpace(ctx, req.(*v1beta11.CreateStorageSpaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListStorageSpaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.ListStorageSpacesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListStorageSpaces(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListStorageSpaces_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListStorageSpaces(ctx, req.(*v1beta11.ListStorageSpacesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_UpdateStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.UpdateStorageSpaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).UpdateStorageSpace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_UpdateStorageSpace_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).UpdateStorageSpace(ctx, req.(*v1beta11.UpdateStorageSpaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_DeleteStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.DeleteStorageSpaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).DeleteStorageSpace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_DeleteStorageSpace_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).DeleteStorageSpace(ctx, req.(*v1beta11.DeleteStorageSpaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_OpenInApp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OpenInAppRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).OpenInApp(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_OpenInApp_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).OpenInApp(ctx, req.(*OpenInAppRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CreateShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta13.CreateShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CreateShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CreateShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CreateShare(ctx, req.(*v1beta13.CreateShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_RemoveShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta13.RemoveShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).RemoveShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_RemoveShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).RemoveShare(ctx, req.(*v1beta13.RemoveShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta13.GetShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetShare(ctx, req.(*v1beta13.GetShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta13.ListSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListShares(ctx, req.(*v1beta13.ListSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_UpdateShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta13.UpdateShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).UpdateShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_UpdateShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).UpdateShare(ctx, req.(*v1beta13.UpdateShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListReceivedShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta13.ListReceivedSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListReceivedShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListReceivedShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListReceivedShares(ctx, req.(*v1beta13.ListReceivedSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListExistingReceivedShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta13.ListReceivedSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListExistingReceivedShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListExistingReceivedShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListExistingReceivedShares(ctx, req.(*v1beta13.ListReceivedSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_UpdateReceivedShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta13.UpdateReceivedShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).UpdateReceivedShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_UpdateReceivedShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).UpdateReceivedShare(ctx, req.(*v1beta13.UpdateReceivedShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetReceivedShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta13.GetReceivedShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetReceivedShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetReceivedShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetReceivedShare(ctx, req.(*v1beta13.GetReceivedShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_SetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta14.SetKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).SetKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_SetKey_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).SetKey(ctx, req.(*v1beta14.SetKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta14.GetKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetKey_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetKey(ctx, req.(*v1beta14.GetKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CreatePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta15.CreatePublicShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CreatePublicShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CreatePublicShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CreatePublicShare(ctx, req.(*v1beta15.CreatePublicShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_RemovePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta15.RemovePublicShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).RemovePublicShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_RemovePublicShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).RemovePublicShare(ctx, req.(*v1beta15.RemovePublicShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetPublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta15.GetPublicShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetPublicShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetPublicShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetPublicShare(ctx, req.(*v1beta15.GetPublicShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetPublicShareByToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta15.GetPublicShareByTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetPublicShareByToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetPublicShareByToken_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetPublicShareByToken(ctx, req.(*v1beta15.GetPublicShareByTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListPublicShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta15.ListPublicSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListPublicShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListPublicShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListPublicShares(ctx, req.(*v1beta15.ListPublicSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_UpdatePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta15.UpdatePublicShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).UpdatePublicShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_UpdatePublicShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).UpdatePublicShare(ctx, req.(*v1beta15.UpdatePublicShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CreateOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta16.CreateOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CreateOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CreateOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CreateOCMShare(ctx, req.(*v1beta16.CreateOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_RemoveOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta16.RemoveOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).RemoveOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_RemoveOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).RemoveOCMShare(ctx, req.(*v1beta16.RemoveOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta16.GetOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetOCMShare(ctx, req.(*v1beta16.GetOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetOCMShareByToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta16.GetOCMShareByTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetOCMShareByToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetOCMShareByToken_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetOCMShareByToken(ctx, req.(*v1beta16.GetOCMShareByTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListOCMShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta16.ListOCMSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListOCMShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListOCMShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListOCMShares(ctx, req.(*v1beta16.ListOCMSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_UpdateOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta16.UpdateOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).UpdateOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_UpdateOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).UpdateOCMShare(ctx, req.(*v1beta16.UpdateOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListReceivedOCMShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta16.ListReceivedOCMSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListReceivedOCMShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListReceivedOCMShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListReceivedOCMShares(ctx, req.(*v1beta16.ListReceivedOCMSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_UpdateReceivedOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta16.UpdateReceivedOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).UpdateReceivedOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_UpdateReceivedOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).UpdateReceivedOCMShare(ctx, req.(*v1beta16.UpdateReceivedOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetReceivedOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta16.GetReceivedOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetReceivedOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetReceivedOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetReceivedOCMShare(ctx, req.(*v1beta16.GetReceivedOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetAppProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta17.GetAppProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetAppProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetAppProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetAppProviders(ctx, req.(*v1beta17.GetAppProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_AddAppProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta17.AddAppProviderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).AddAppProvider(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_AddAppProvider_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).AddAppProvider(ctx, req.(*v1beta17.AddAppProviderRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListAppProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta17.ListAppProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListAppProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListAppProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListAppProviders(ctx, req.(*v1beta17.ListAppProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListSupportedMimeTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta17.ListSupportedMimeTypesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListSupportedMimeTypes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListSupportedMimeTypes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListSupportedMimeTypes(ctx, req.(*v1beta17.ListSupportedMimeTypesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetDefaultAppProviderForMimeType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta17.GetDefaultAppProviderForMimeTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetDefaultAppProviderForMimeType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetDefaultAppProviderForMimeType_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetDefaultAppProviderForMimeType(ctx, req.(*v1beta17.GetDefaultAppProviderForMimeTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_SetDefaultAppProviderForMimeType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta17.SetDefaultAppProviderForMimeTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).SetDefaultAppProviderForMimeType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_SetDefaultAppProviderForMimeType_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).SetDefaultAppProviderForMimeType(ctx, req.(*v1beta17.SetDefaultAppProviderForMimeTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta18.GetUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetUser_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetUser(ctx, req.(*v1beta18.GetUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetUserByClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta18.GetUserByClaimRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetUserByClaim(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetUserByClaim_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetUserByClaim(ctx, req.(*v1beta18.GetUserByClaimRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetUserGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta18.GetUserGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetUserGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetUserGroups_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetUserGroups(ctx, req.(*v1beta18.GetUserGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_FindUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta18.FindUsersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).FindUsers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_FindUsers_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).FindUsers(ctx, req.(*v1beta18.FindUsersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta19.GetGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetGroup_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetGroup(ctx, req.(*v1beta19.GetGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetGroupByClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta19.GetGroupByClaimRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetGroupByClaim(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetGroupByClaim_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetGroupByClaim(ctx, req.(*v1beta19.GetGroupByClaimRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta19.GetMembersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetMembers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetMembers_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetMembers(ctx, req.(*v1beta19.GetMembersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_HasMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta19.HasMemberRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).HasMember(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_HasMember_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).HasMember(ctx, req.(*v1beta19.HasMemberRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_FindGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta19.FindGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).FindGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_FindGroups_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).FindGroups(ctx, req.(*v1beta19.FindGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListAuthProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta110.ListAuthProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListAuthProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListAuthProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListAuthProviders(ctx, req.(*v1beta110.ListAuthProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta11.GetHomeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetHome(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetHome_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetHome(ctx, req.(*v1beta11.GetHomeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GenerateInviteToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta111.GenerateInviteTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GenerateInviteToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GenerateInviteToken_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GenerateInviteToken(ctx, req.(*v1beta111.GenerateInviteTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListInviteTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta111.ListInviteTokensRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListInviteTokens(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListInviteTokens_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListInviteTokens(ctx, req.(*v1beta111.ListInviteTokensRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ForwardInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta111.ForwardInviteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ForwardInvite(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ForwardInvite_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ForwardInvite(ctx, req.(*v1beta111.ForwardInviteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_AcceptInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta111.AcceptInviteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).AcceptInvite(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_AcceptInvite_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).AcceptInvite(ctx, req.(*v1beta111.AcceptInviteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetAcceptedUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta111.GetAcceptedUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetAcceptedUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetAcceptedUser_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetAcceptedUser(ctx, req.(*v1beta111.GetAcceptedUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_FindAcceptedUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta111.FindAcceptedUsersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).FindAcceptedUsers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_FindAcceptedUsers_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).FindAcceptedUsers(ctx, req.(*v1beta111.FindAcceptedUsersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_DeleteAcceptedUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta111.DeleteAcceptedUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).DeleteAcceptedUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_DeleteAcceptedUser_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).DeleteAcceptedUser(ctx, req.(*v1beta111.DeleteAcceptedUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_IsProviderAllowed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta112.IsProviderAllowedRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).IsProviderAllowed(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_IsProviderAllowed_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).IsProviderAllowed(ctx, req.(*v1beta112.IsProviderAllowedRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetInfoByDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta112.GetInfoByDomainRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetInfoByDomain(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetInfoByDomain_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetInfoByDomain(ctx, req.(*v1beta112.GetInfoByDomainRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListAllProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta112.ListAllProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListAllProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListAllProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListAllProviders(ctx, req.(*v1beta112.ListAllProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CreateOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta113.CreateOCMCoreShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CreateOCMCoreShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CreateOCMCoreShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CreateOCMCoreShare(ctx, req.(*v1beta113.CreateOCMCoreShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_UpdateOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta113.UpdateOCMCoreShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).UpdateOCMCoreShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_UpdateOCMCoreShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).UpdateOCMCoreShare(ctx, req.(*v1beta113.UpdateOCMCoreShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_DeleteOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta113.DeleteOCMCoreShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).DeleteOCMCoreShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_DeleteOCMCoreShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).DeleteOCMCoreShare(ctx, req.(*v1beta113.DeleteOCMCoreShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CreateTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta114.CreateTransferRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CreateTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CreateTransfer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CreateTransfer(ctx, req.(*v1beta114.CreateTransferRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_GetTransferStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta114.GetTransferStatusRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).GetTransferStatus(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_GetTransferStatus_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).GetTransferStatus(ctx, req.(*v1beta114.GetTransferStatusRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CancelTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta114.CancelTransferRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CancelTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CancelTransfer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CancelTransfer(ctx, req.(*v1beta114.CancelTransferRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_ListTransfers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta114.ListTransfersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).ListTransfers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_ListTransfers_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).ListTransfers(ctx, req.(*v1beta114.ListTransfersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_RetryTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta114.RetryTransferRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).RetryTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_RetryTransfer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).RetryTransfer(ctx, req.(*v1beta114.RetryTransferRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GatewayAPI_CheckPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(v1beta115.CheckPermissionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GatewayAPIServer).CheckPermission(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GatewayAPI_CheckPermission_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GatewayAPIServer).CheckPermission(ctx, req.(*v1beta115.CheckPermissionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// GatewayAPI_ServiceDesc is the grpc.ServiceDesc for GatewayAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var GatewayAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.gateway.v1beta1.GatewayAPI", + HandlerType: (*GatewayAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Authenticate", + Handler: _GatewayAPI_Authenticate_Handler, + }, + { + MethodName: "WhoAmI", + Handler: _GatewayAPI_WhoAmI_Handler, + }, + { + MethodName: "GenerateAppPassword", + Handler: _GatewayAPI_GenerateAppPassword_Handler, + }, + { + MethodName: "ListAppPasswords", + Handler: _GatewayAPI_ListAppPasswords_Handler, + }, + { + MethodName: "InvalidateAppPassword", + Handler: _GatewayAPI_InvalidateAppPassword_Handler, + }, + { + MethodName: "GetAppPassword", + Handler: _GatewayAPI_GetAppPassword_Handler, + }, + { + MethodName: "CreateContainer", + Handler: _GatewayAPI_CreateContainer_Handler, + }, + { + MethodName: "TouchFile", + Handler: _GatewayAPI_TouchFile_Handler, + }, + { + MethodName: "Delete", + Handler: _GatewayAPI_Delete_Handler, + }, + { + MethodName: "GetPath", + Handler: _GatewayAPI_GetPath_Handler, + }, + { + MethodName: "GetQuota", + Handler: _GatewayAPI_GetQuota_Handler, + }, + { + MethodName: "InitiateFileDownload", + Handler: _GatewayAPI_InitiateFileDownload_Handler, + }, + { + MethodName: "InitiateFileUpload", + Handler: _GatewayAPI_InitiateFileUpload_Handler, + }, + { + MethodName: "ListContainer", + Handler: _GatewayAPI_ListContainer_Handler, + }, + { + MethodName: "ListFileVersions", + Handler: _GatewayAPI_ListFileVersions_Handler, + }, + { + MethodName: "ListRecycle", + Handler: _GatewayAPI_ListRecycle_Handler, + }, + { + MethodName: "Move", + Handler: _GatewayAPI_Move_Handler, + }, + { + MethodName: "PurgeRecycle", + Handler: _GatewayAPI_PurgeRecycle_Handler, + }, + { + MethodName: "RestoreFileVersion", + Handler: _GatewayAPI_RestoreFileVersion_Handler, + }, + { + MethodName: "RestoreRecycleItem", + Handler: _GatewayAPI_RestoreRecycleItem_Handler, + }, + { + MethodName: "Stat", + Handler: _GatewayAPI_Stat_Handler, + }, + { + MethodName: "CreateSymlink", + Handler: _GatewayAPI_CreateSymlink_Handler, + }, + { + MethodName: "SetArbitraryMetadata", + Handler: _GatewayAPI_SetArbitraryMetadata_Handler, + }, + { + MethodName: "UnsetArbitraryMetadata", + Handler: _GatewayAPI_UnsetArbitraryMetadata_Handler, + }, + { + MethodName: "SetLock", + Handler: _GatewayAPI_SetLock_Handler, + }, + { + MethodName: "GetLock", + Handler: _GatewayAPI_GetLock_Handler, + }, + { + MethodName: "RefreshLock", + Handler: _GatewayAPI_RefreshLock_Handler, + }, + { + MethodName: "Unlock", + Handler: _GatewayAPI_Unlock_Handler, + }, + { + MethodName: "CreateHome", + Handler: _GatewayAPI_CreateHome_Handler, + }, + { + MethodName: "CreateStorageSpace", + Handler: _GatewayAPI_CreateStorageSpace_Handler, + }, + { + MethodName: "ListStorageSpaces", + Handler: _GatewayAPI_ListStorageSpaces_Handler, + }, + { + MethodName: "UpdateStorageSpace", + Handler: _GatewayAPI_UpdateStorageSpace_Handler, + }, + { + MethodName: "DeleteStorageSpace", + Handler: _GatewayAPI_DeleteStorageSpace_Handler, + }, + { + MethodName: "OpenInApp", + Handler: _GatewayAPI_OpenInApp_Handler, + }, + { + MethodName: "CreateShare", + Handler: _GatewayAPI_CreateShare_Handler, + }, + { + MethodName: "RemoveShare", + Handler: _GatewayAPI_RemoveShare_Handler, + }, + { + MethodName: "GetShare", + Handler: _GatewayAPI_GetShare_Handler, + }, + { + MethodName: "ListShares", + Handler: _GatewayAPI_ListShares_Handler, + }, + { + MethodName: "UpdateShare", + Handler: _GatewayAPI_UpdateShare_Handler, + }, + { + MethodName: "ListReceivedShares", + Handler: _GatewayAPI_ListReceivedShares_Handler, + }, + { + MethodName: "ListExistingReceivedShares", + Handler: _GatewayAPI_ListExistingReceivedShares_Handler, + }, + { + MethodName: "UpdateReceivedShare", + Handler: _GatewayAPI_UpdateReceivedShare_Handler, + }, + { + MethodName: "GetReceivedShare", + Handler: _GatewayAPI_GetReceivedShare_Handler, + }, + { + MethodName: "SetKey", + Handler: _GatewayAPI_SetKey_Handler, + }, + { + MethodName: "GetKey", + Handler: _GatewayAPI_GetKey_Handler, + }, + { + MethodName: "CreatePublicShare", + Handler: _GatewayAPI_CreatePublicShare_Handler, + }, + { + MethodName: "RemovePublicShare", + Handler: _GatewayAPI_RemovePublicShare_Handler, + }, + { + MethodName: "GetPublicShare", + Handler: _GatewayAPI_GetPublicShare_Handler, + }, + { + MethodName: "GetPublicShareByToken", + Handler: _GatewayAPI_GetPublicShareByToken_Handler, + }, + { + MethodName: "ListPublicShares", + Handler: _GatewayAPI_ListPublicShares_Handler, + }, + { + MethodName: "UpdatePublicShare", + Handler: _GatewayAPI_UpdatePublicShare_Handler, + }, + { + MethodName: "CreateOCMShare", + Handler: _GatewayAPI_CreateOCMShare_Handler, + }, + { + MethodName: "RemoveOCMShare", + Handler: _GatewayAPI_RemoveOCMShare_Handler, + }, + { + MethodName: "GetOCMShare", + Handler: _GatewayAPI_GetOCMShare_Handler, + }, + { + MethodName: "GetOCMShareByToken", + Handler: _GatewayAPI_GetOCMShareByToken_Handler, + }, + { + MethodName: "ListOCMShares", + Handler: _GatewayAPI_ListOCMShares_Handler, + }, + { + MethodName: "UpdateOCMShare", + Handler: _GatewayAPI_UpdateOCMShare_Handler, + }, + { + MethodName: "ListReceivedOCMShares", + Handler: _GatewayAPI_ListReceivedOCMShares_Handler, + }, + { + MethodName: "UpdateReceivedOCMShare", + Handler: _GatewayAPI_UpdateReceivedOCMShare_Handler, + }, + { + MethodName: "GetReceivedOCMShare", + Handler: _GatewayAPI_GetReceivedOCMShare_Handler, + }, + { + MethodName: "GetAppProviders", + Handler: _GatewayAPI_GetAppProviders_Handler, + }, + { + MethodName: "AddAppProvider", + Handler: _GatewayAPI_AddAppProvider_Handler, + }, + { + MethodName: "ListAppProviders", + Handler: _GatewayAPI_ListAppProviders_Handler, + }, + { + MethodName: "ListSupportedMimeTypes", + Handler: _GatewayAPI_ListSupportedMimeTypes_Handler, + }, + { + MethodName: "GetDefaultAppProviderForMimeType", + Handler: _GatewayAPI_GetDefaultAppProviderForMimeType_Handler, + }, + { + MethodName: "SetDefaultAppProviderForMimeType", + Handler: _GatewayAPI_SetDefaultAppProviderForMimeType_Handler, + }, + { + MethodName: "GetUser", + Handler: _GatewayAPI_GetUser_Handler, + }, + { + MethodName: "GetUserByClaim", + Handler: _GatewayAPI_GetUserByClaim_Handler, + }, + { + MethodName: "GetUserGroups", + Handler: _GatewayAPI_GetUserGroups_Handler, + }, + { + MethodName: "FindUsers", + Handler: _GatewayAPI_FindUsers_Handler, + }, + { + MethodName: "GetGroup", + Handler: _GatewayAPI_GetGroup_Handler, + }, + { + MethodName: "GetGroupByClaim", + Handler: _GatewayAPI_GetGroupByClaim_Handler, + }, + { + MethodName: "GetMembers", + Handler: _GatewayAPI_GetMembers_Handler, + }, + { + MethodName: "HasMember", + Handler: _GatewayAPI_HasMember_Handler, + }, + { + MethodName: "FindGroups", + Handler: _GatewayAPI_FindGroups_Handler, + }, + { + MethodName: "ListAuthProviders", + Handler: _GatewayAPI_ListAuthProviders_Handler, + }, + { + MethodName: "GetHome", + Handler: _GatewayAPI_GetHome_Handler, + }, + { + MethodName: "GenerateInviteToken", + Handler: _GatewayAPI_GenerateInviteToken_Handler, + }, + { + MethodName: "ListInviteTokens", + Handler: _GatewayAPI_ListInviteTokens_Handler, + }, + { + MethodName: "ForwardInvite", + Handler: _GatewayAPI_ForwardInvite_Handler, + }, + { + MethodName: "AcceptInvite", + Handler: _GatewayAPI_AcceptInvite_Handler, + }, + { + MethodName: "GetAcceptedUser", + Handler: _GatewayAPI_GetAcceptedUser_Handler, + }, + { + MethodName: "FindAcceptedUsers", + Handler: _GatewayAPI_FindAcceptedUsers_Handler, + }, + { + MethodName: "DeleteAcceptedUser", + Handler: _GatewayAPI_DeleteAcceptedUser_Handler, + }, + { + MethodName: "IsProviderAllowed", + Handler: _GatewayAPI_IsProviderAllowed_Handler, + }, + { + MethodName: "GetInfoByDomain", + Handler: _GatewayAPI_GetInfoByDomain_Handler, + }, + { + MethodName: "ListAllProviders", + Handler: _GatewayAPI_ListAllProviders_Handler, + }, + { + MethodName: "CreateOCMCoreShare", + Handler: _GatewayAPI_CreateOCMCoreShare_Handler, + }, + { + MethodName: "UpdateOCMCoreShare", + Handler: _GatewayAPI_UpdateOCMCoreShare_Handler, + }, + { + MethodName: "DeleteOCMCoreShare", + Handler: _GatewayAPI_DeleteOCMCoreShare_Handler, + }, + { + MethodName: "CreateTransfer", + Handler: _GatewayAPI_CreateTransfer_Handler, + }, + { + MethodName: "GetTransferStatus", + Handler: _GatewayAPI_GetTransferStatus_Handler, + }, + { + MethodName: "CancelTransfer", + Handler: _GatewayAPI_CancelTransfer_Handler, + }, + { + MethodName: "ListTransfers", + Handler: _GatewayAPI_ListTransfers_Handler, + }, + { + MethodName: "RetryTransfer", + Handler: _GatewayAPI_RetryTransfer_Handler, + }, + { + MethodName: "CheckPermission", + Handler: _GatewayAPI_CheckPermission_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "ListContainerStream", + Handler: _GatewayAPI_ListContainerStream_Handler, + ServerStreams: true, + }, + { + StreamName: "ListRecycleStream", + Handler: _GatewayAPI_ListRecycleStream_Handler, + ServerStreams: true, + }, + }, + Metadata: "cs3/gateway/v1beta1/gateway_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/resources.pb.go index 8ee67b8c2b1..64a9c3134be 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1/resources.pb.go @@ -1,30 +1,53 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/gateway/v1beta1/resources.proto package gatewayv1beta1 import ( - fmt "fmt" + v1beta12 "github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // A file upload protocol object stores information about // uploading resources using a specific protocol. type FileUploadProtocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -44,68 +67,72 @@ type FileUploadProtocol struct { // OPTIONAL. // A token that MUST be validated by the data gateway for the upload. // Only makes sense for uploads passing through the data gateway. - Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` } -func (m *FileUploadProtocol) Reset() { *m = FileUploadProtocol{} } -func (m *FileUploadProtocol) String() string { return proto.CompactTextString(m) } -func (*FileUploadProtocol) ProtoMessage() {} -func (*FileUploadProtocol) Descriptor() ([]byte, []int) { - return fileDescriptor_6dff5533c2cc40ba, []int{0} +func (x *FileUploadProtocol) Reset() { + *x = FileUploadProtocol{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FileUploadProtocol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileUploadProtocol.Unmarshal(m, b) -} -func (m *FileUploadProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileUploadProtocol.Marshal(b, m, deterministic) -} -func (m *FileUploadProtocol) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileUploadProtocol.Merge(m, src) -} -func (m *FileUploadProtocol) XXX_Size() int { - return xxx_messageInfo_FileUploadProtocol.Size(m) +func (x *FileUploadProtocol) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FileUploadProtocol) XXX_DiscardUnknown() { - xxx_messageInfo_FileUploadProtocol.DiscardUnknown(m) + +func (*FileUploadProtocol) ProtoMessage() {} + +func (x *FileUploadProtocol) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_resources_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) } -var xxx_messageInfo_FileUploadProtocol proto.InternalMessageInfo +// Deprecated: Use FileUploadProtocol.ProtoReflect.Descriptor instead. +func (*FileUploadProtocol) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *FileUploadProtocol) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *FileUploadProtocol) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *FileUploadProtocol) GetProtocol() string { - if m != nil { - return m.Protocol +func (x *FileUploadProtocol) GetProtocol() string { + if x != nil { + return x.Protocol } return "" } -func (m *FileUploadProtocol) GetUploadEndpoint() string { - if m != nil { - return m.UploadEndpoint +func (x *FileUploadProtocol) GetUploadEndpoint() string { + if x != nil { + return x.UploadEndpoint } return "" } -func (m *FileUploadProtocol) GetAvailableChecksums() []*v1beta11.ResourceChecksumPriority { - if m != nil { - return m.AvailableChecksums +func (x *FileUploadProtocol) GetAvailableChecksums() []*v1beta11.ResourceChecksumPriority { + if x != nil { + return x.AvailableChecksums } return nil } -func (m *FileUploadProtocol) GetToken() string { - if m != nil { - return m.Token +func (x *FileUploadProtocol) GetToken() string { + if x != nil { + return x.Token } return "" } @@ -113,6 +140,10 @@ func (m *FileUploadProtocol) GetToken() string { // A file download protocol object stores information about // downloading resources using a specific protocol. type FileDownloadProtocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -127,97 +158,308 @@ type FileDownloadProtocol struct { // OPTIONAL. // A token that MUST be validated by the data gateway for the download. // Only makes sense for downloads passing through the data gateway. - Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` } -func (m *FileDownloadProtocol) Reset() { *m = FileDownloadProtocol{} } -func (m *FileDownloadProtocol) String() string { return proto.CompactTextString(m) } -func (*FileDownloadProtocol) ProtoMessage() {} -func (*FileDownloadProtocol) Descriptor() ([]byte, []int) { - return fileDescriptor_6dff5533c2cc40ba, []int{1} +func (x *FileDownloadProtocol) Reset() { + *x = FileDownloadProtocol{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FileDownloadProtocol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileDownloadProtocol.Unmarshal(m, b) +func (x *FileDownloadProtocol) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FileDownloadProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileDownloadProtocol.Marshal(b, m, deterministic) -} -func (m *FileDownloadProtocol) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileDownloadProtocol.Merge(m, src) -} -func (m *FileDownloadProtocol) XXX_Size() int { - return xxx_messageInfo_FileDownloadProtocol.Size(m) -} -func (m *FileDownloadProtocol) XXX_DiscardUnknown() { - xxx_messageInfo_FileDownloadProtocol.DiscardUnknown(m) + +func (*FileDownloadProtocol) ProtoMessage() {} + +func (x *FileDownloadProtocol) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_resources_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) } -var xxx_messageInfo_FileDownloadProtocol proto.InternalMessageInfo +// Deprecated: Use FileDownloadProtocol.ProtoReflect.Descriptor instead. +func (*FileDownloadProtocol) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *FileDownloadProtocol) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *FileDownloadProtocol) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *FileDownloadProtocol) GetProtocol() string { - if m != nil { - return m.Protocol +func (x *FileDownloadProtocol) GetProtocol() string { + if x != nil { + return x.Protocol } return "" } -func (m *FileDownloadProtocol) GetDownloadEndpoint() string { - if m != nil { - return m.DownloadEndpoint +func (x *FileDownloadProtocol) GetDownloadEndpoint() string { + if x != nil { + return x.DownloadEndpoint } return "" } -func (m *FileDownloadProtocol) GetToken() string { - if m != nil { - return m.Token +func (x *FileDownloadProtocol) GetToken() string { + if x != nil { + return x.Token } return "" } -func init() { - proto.RegisterType((*FileUploadProtocol)(nil), "cs3.gateway.v1beta1.FileUploadProtocol") - proto.RegisterType((*FileDownloadProtocol)(nil), "cs3.gateway.v1beta1.FileDownloadProtocol") -} - -func init() { - proto.RegisterFile("cs3/gateway/v1beta1/resources.proto", fileDescriptor_6dff5533c2cc40ba) -} - -var fileDescriptor_6dff5533c2cc40ba = []byte{ - // 365 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x92, 0xdf, 0x4a, 0xeb, 0x40, - 0x10, 0xc6, 0x49, 0xfa, 0x87, 0x73, 0xb6, 0xd0, 0x73, 0xdc, 0x16, 0x8c, 0x05, 0xa1, 0xd4, 0x0b, - 0x0b, 0xca, 0x86, 0x34, 0xe0, 0x03, 0xb4, 0x6a, 0x2f, 0x2d, 0x01, 0x45, 0xa4, 0x50, 0xb6, 0xc9, - 0x52, 0x43, 0xd3, 0xec, 0xba, 0xbb, 0x69, 0xe9, 0x33, 0xf8, 0x16, 0x5e, 0x89, 0x8f, 0xe2, 0x53, - 0x49, 0x36, 0x93, 0x20, 0xa2, 0x97, 0x5e, 0xce, 0x37, 0xbf, 0x99, 0xfd, 0xe6, 0x63, 0xd1, 0x49, - 0xa8, 0x7c, 0x77, 0x45, 0x35, 0xdb, 0xd1, 0xbd, 0xbb, 0xf5, 0x96, 0x4c, 0x53, 0xcf, 0x95, 0x4c, - 0xf1, 0x4c, 0x86, 0x4c, 0x11, 0x21, 0xb9, 0xe6, 0xb8, 0x13, 0x2a, 0x9f, 0x00, 0x44, 0x00, 0xea, - 0x9d, 0xe7, 0x93, 0x4a, 0x73, 0x49, 0x57, 0xcc, 0x15, 0x92, 0x6f, 0xe3, 0x88, 0xc9, 0x9f, 0x56, - 0xf4, 0x8e, 0x73, 0x5a, 0xef, 0x05, 0x53, 0x15, 0x62, 0xaa, 0xa2, 0x3d, 0x78, 0xb6, 0x11, 0xbe, - 0x8e, 0x13, 0x76, 0x2b, 0x12, 0x4e, 0xa3, 0x59, 0xae, 0x85, 0x3c, 0xc1, 0x1e, 0x6a, 0x72, 0x41, - 0x9f, 0x32, 0xe6, 0x58, 0x7d, 0x6b, 0xd8, 0x1a, 0x1d, 0x91, 0xdc, 0x49, 0x31, 0x08, 0x6b, 0xc8, - 0x8d, 0x01, 0x02, 0x00, 0x71, 0x0f, 0xfd, 0x11, 0x30, 0xee, 0xd8, 0x7d, 0x6b, 0xf8, 0x37, 0xa8, - 0x6a, 0x7c, 0x8a, 0xfe, 0x65, 0xe6, 0x81, 0x05, 0x4b, 0x23, 0xc1, 0xe3, 0x54, 0x3b, 0x35, 0x83, - 0xb4, 0x0b, 0xf9, 0x0a, 0x54, 0xbc, 0x42, 0x1d, 0xba, 0xa5, 0x71, 0x42, 0x97, 0x09, 0x5b, 0x84, - 0x8f, 0x2c, 0x5c, 0xab, 0x6c, 0xa3, 0x9c, 0x7a, 0xbf, 0x36, 0x6c, 0x8d, 0x2e, 0x8c, 0x09, 0xb8, - 0x9c, 0x94, 0x97, 0x57, 0x7e, 0x02, 0xb8, 0x7c, 0x02, 0x63, 0x33, 0x19, 0x73, 0x19, 0xeb, 0x7d, - 0x80, 0xab, 0x95, 0x65, 0x4b, 0xe1, 0x2e, 0x6a, 0x68, 0xbe, 0x66, 0xa9, 0xd3, 0x30, 0x3e, 0x8a, - 0x62, 0xf0, 0x6a, 0xa1, 0x6e, 0x9e, 0xc6, 0x25, 0xdf, 0xa5, 0xbf, 0x99, 0xc7, 0x19, 0x3a, 0x88, - 0xe0, 0x89, 0xaf, 0x89, 0xfc, 0x2f, 0x1b, 0x55, 0x26, 0x95, 0xd5, 0xfa, 0x27, 0xab, 0xe3, 0x0d, - 0x3a, 0x0c, 0xf9, 0x86, 0x7c, 0xf3, 0x41, 0xc6, 0xed, 0x32, 0x09, 0x65, 0xfc, 0xcf, 0xac, 0x87, - 0x36, 0x20, 0x40, 0xbc, 0xd8, 0xb5, 0xc9, 0xf4, 0xfe, 0xcd, 0xee, 0x4c, 0x94, 0x4f, 0xa6, 0x30, - 0x7d, 0xe7, 0x8d, 0xf3, 0xde, 0xbb, 0x51, 0xe7, 0xa0, 0xce, 0x41, 0x5d, 0x36, 0x8d, 0x77, 0xff, - 0x23, 0x00, 0x00, 0xff, 0xff, 0x47, 0x4a, 0x5b, 0x5b, 0xb7, 0x02, 0x00, 0x00, +// A shared resource includes the sharing information +// and the storage-related information about a resource. +type SharedResourceInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + // The underlying share as returned by the collaboration service. + Share *v1beta12.ReceivedShare `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` + // REQUIRED. + // The corresponding resource information as returned by the storage provider. + ResourceInfo *v1beta11.ResourceInfo `protobuf:"bytes,3,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"` +} + +func (x *SharedResourceInfo) Reset() { + *x = SharedResourceInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_gateway_v1beta1_resources_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SharedResourceInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SharedResourceInfo) ProtoMessage() {} + +func (x *SharedResourceInfo) ProtoReflect() protoreflect.Message { + mi := &file_cs3_gateway_v1beta1_resources_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 SharedResourceInfo.ProtoReflect.Descriptor instead. +func (*SharedResourceInfo) Descriptor() ([]byte, []int) { + return file_cs3_gateway_v1beta1_resources_proto_rawDescGZIP(), []int{2} +} + +func (x *SharedResourceInfo) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +func (x *SharedResourceInfo) GetShare() *v1beta12.ReceivedShare { + if x != nil { + return x.Share + } + return nil +} + +func (x *SharedResourceInfo) GetResourceInfo() *v1beta11.ResourceInfo { + if x != nil { + return x.ResourceInfo + } + return nil +} + +var File_cs3_gateway_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_gateway_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x63, 0x73, 0x33, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x63, 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x2c, 0x63, 0x73, 0x33, 0x2f, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x02, 0x0a, 0x12, 0x46, + 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x75, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x67, 0x0a, 0x13, 0x61, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x12, + 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, + 0x6d, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa8, 0x01, 0x0a, 0x14, 0x46, 0x69, 0x6c, + 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0xe0, 0x01, 0x0a, 0x12, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x46, 0x0a, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, + 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0xd8, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, + 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x47, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x73, + 0x33, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xca, 0x02, 0x13, 0x43, 0x73, 0x33, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5c, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x73, 0x33, 0x5c, 0x47, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x43, 0x73, 0x33, 0x3a, + 0x3a, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_gateway_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_gateway_v1beta1_resources_proto_rawDescData = file_cs3_gateway_v1beta1_resources_proto_rawDesc +) + +func file_cs3_gateway_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_gateway_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_gateway_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_gateway_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_gateway_v1beta1_resources_proto_rawDescData +} + +var file_cs3_gateway_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_cs3_gateway_v1beta1_resources_proto_goTypes = []interface{}{ + (*FileUploadProtocol)(nil), // 0: cs3.gateway.v1beta1.FileUploadProtocol + (*FileDownloadProtocol)(nil), // 1: cs3.gateway.v1beta1.FileDownloadProtocol + (*SharedResourceInfo)(nil), // 2: cs3.gateway.v1beta1.SharedResourceInfo + (*v1beta1.Opaque)(nil), // 3: cs3.types.v1beta1.Opaque + (*v1beta11.ResourceChecksumPriority)(nil), // 4: cs3.storage.provider.v1beta1.ResourceChecksumPriority + (*v1beta12.ReceivedShare)(nil), // 5: cs3.sharing.collaboration.v1beta1.ReceivedShare + (*v1beta11.ResourceInfo)(nil), // 6: cs3.storage.provider.v1beta1.ResourceInfo +} +var file_cs3_gateway_v1beta1_resources_proto_depIdxs = []int32{ + 3, // 0: cs3.gateway.v1beta1.FileUploadProtocol.opaque:type_name -> cs3.types.v1beta1.Opaque + 4, // 1: cs3.gateway.v1beta1.FileUploadProtocol.available_checksums:type_name -> cs3.storage.provider.v1beta1.ResourceChecksumPriority + 3, // 2: cs3.gateway.v1beta1.FileDownloadProtocol.opaque:type_name -> cs3.types.v1beta1.Opaque + 3, // 3: cs3.gateway.v1beta1.SharedResourceInfo.opaque:type_name -> cs3.types.v1beta1.Opaque + 5, // 4: cs3.gateway.v1beta1.SharedResourceInfo.share:type_name -> cs3.sharing.collaboration.v1beta1.ReceivedShare + 6, // 5: cs3.gateway.v1beta1.SharedResourceInfo.resource_info:type_name -> cs3.storage.provider.v1beta1.ResourceInfo + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_cs3_gateway_v1beta1_resources_proto_init() } +func file_cs3_gateway_v1beta1_resources_proto_init() { + if File_cs3_gateway_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_gateway_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileUploadProtocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileDownloadProtocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_gateway_v1beta1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SharedResourceInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_gateway_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_gateway_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_gateway_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_gateway_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_gateway_v1beta1_resources_proto = out.File + file_cs3_gateway_v1beta1_resources_proto_rawDesc = nil + file_cs3_gateway_v1beta1_resources_proto_goTypes = nil + file_cs3_gateway_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/group_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/group_api.pb.go index 2a79f2a6c1d..2629b0fbfe0 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/group_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/group_api.pb.go @@ -1,33 +1,51 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/identity/group/v1beta1/group_api.proto package groupv1beta1 import ( - context "context" - fmt "fmt" v1beta12 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 GetGroupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -36,59 +54,67 @@ type GetGroupRequest struct { GroupId *GroupId `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // OPTIONAL. // Whether to skip fetching members along with the group object. - SkipFetchingMembers bool `protobuf:"varint,3,opt,name=skip_fetching_members,json=skipFetchingMembers,proto3" json:"skip_fetching_members,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SkipFetchingMembers bool `protobuf:"varint,3,opt,name=skip_fetching_members,json=skipFetchingMembers,proto3" json:"skip_fetching_members,omitempty"` } -func (m *GetGroupRequest) Reset() { *m = GetGroupRequest{} } -func (m *GetGroupRequest) String() string { return proto.CompactTextString(m) } -func (*GetGroupRequest) ProtoMessage() {} -func (*GetGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{0} +func (x *GetGroupRequest) Reset() { + *x = GetGroupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupRequest.Unmarshal(m, b) -} -func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupRequest.Marshal(b, m, deterministic) -} -func (m *GetGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupRequest.Merge(m, src) +func (x *GetGroupRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetGroupRequest) XXX_Size() int { - return xxx_messageInfo_GetGroupRequest.Size(m) -} -func (m *GetGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupRequest.DiscardUnknown(m) + +func (*GetGroupRequest) ProtoMessage() {} + +func (x *GetGroupRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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) } -var xxx_messageInfo_GetGroupRequest proto.InternalMessageInfo +// Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead. +func (*GetGroupRequest) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{0} +} -func (m *GetGroupRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetGroupRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetGroupRequest) GetGroupId() *GroupId { - if m != nil { - return m.GroupId +func (x *GetGroupRequest) GetGroupId() *GroupId { + if x != nil { + return x.GroupId } return nil } -func (m *GetGroupRequest) GetSkipFetchingMembers() bool { - if m != nil { - return m.SkipFetchingMembers +func (x *GetGroupRequest) GetSkipFetchingMembers() bool { + if x != nil { + return x.SkipFetchingMembers } return false } type GetGroupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -97,59 +123,67 @@ type GetGroupResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The group information. - Group *Group `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Group *Group `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` } -func (m *GetGroupResponse) Reset() { *m = GetGroupResponse{} } -func (m *GetGroupResponse) String() string { return proto.CompactTextString(m) } -func (*GetGroupResponse) ProtoMessage() {} -func (*GetGroupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{1} +func (x *GetGroupResponse) Reset() { + *x = GetGroupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetGroupResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupResponse.Unmarshal(m, b) -} -func (m *GetGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupResponse.Marshal(b, m, deterministic) -} -func (m *GetGroupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupResponse.Merge(m, src) +func (x *GetGroupResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetGroupResponse) XXX_Size() int { - return xxx_messageInfo_GetGroupResponse.Size(m) -} -func (m *GetGroupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupResponse.DiscardUnknown(m) + +func (*GetGroupResponse) ProtoMessage() {} + +func (x *GetGroupResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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) } -var xxx_messageInfo_GetGroupResponse proto.InternalMessageInfo +// Deprecated: Use GetGroupResponse.ProtoReflect.Descriptor instead. +func (*GetGroupResponse) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{1} +} -func (m *GetGroupResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetGroupResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetGroupResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetGroupResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetGroupResponse) GetGroup() *Group { - if m != nil { - return m.Group +func (x *GetGroupResponse) GetGroup() *Group { + if x != nil { + return x.Group } return nil } type GetGroupByClaimRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -161,66 +195,74 @@ type GetGroupByClaimRequest struct { Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // OPTIONAL. // Whether to skip fetching members along with the group object. - SkipFetchingMembers bool `protobuf:"varint,4,opt,name=skip_fetching_members,json=skipFetchingMembers,proto3" json:"skip_fetching_members,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SkipFetchingMembers bool `protobuf:"varint,4,opt,name=skip_fetching_members,json=skipFetchingMembers,proto3" json:"skip_fetching_members,omitempty"` } -func (m *GetGroupByClaimRequest) Reset() { *m = GetGroupByClaimRequest{} } -func (m *GetGroupByClaimRequest) String() string { return proto.CompactTextString(m) } -func (*GetGroupByClaimRequest) ProtoMessage() {} -func (*GetGroupByClaimRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{2} +func (x *GetGroupByClaimRequest) Reset() { + *x = GetGroupByClaimRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetGroupByClaimRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupByClaimRequest.Unmarshal(m, b) -} -func (m *GetGroupByClaimRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupByClaimRequest.Marshal(b, m, deterministic) -} -func (m *GetGroupByClaimRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupByClaimRequest.Merge(m, src) +func (x *GetGroupByClaimRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetGroupByClaimRequest) XXX_Size() int { - return xxx_messageInfo_GetGroupByClaimRequest.Size(m) -} -func (m *GetGroupByClaimRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupByClaimRequest.DiscardUnknown(m) + +func (*GetGroupByClaimRequest) ProtoMessage() {} + +func (x *GetGroupByClaimRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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) } -var xxx_messageInfo_GetGroupByClaimRequest proto.InternalMessageInfo +// Deprecated: Use GetGroupByClaimRequest.ProtoReflect.Descriptor instead. +func (*GetGroupByClaimRequest) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{2} +} -func (m *GetGroupByClaimRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetGroupByClaimRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetGroupByClaimRequest) GetClaim() string { - if m != nil { - return m.Claim +func (x *GetGroupByClaimRequest) GetClaim() string { + if x != nil { + return x.Claim } return "" } -func (m *GetGroupByClaimRequest) GetValue() string { - if m != nil { - return m.Value +func (x *GetGroupByClaimRequest) GetValue() string { + if x != nil { + return x.Value } return "" } -func (m *GetGroupByClaimRequest) GetSkipFetchingMembers() bool { - if m != nil { - return m.SkipFetchingMembers +func (x *GetGroupByClaimRequest) GetSkipFetchingMembers() bool { + if x != nil { + return x.SkipFetchingMembers } return false } type GetGroupByClaimResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -229,110 +271,126 @@ type GetGroupByClaimResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The group information. - Group *Group `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Group *Group `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` } -func (m *GetGroupByClaimResponse) Reset() { *m = GetGroupByClaimResponse{} } -func (m *GetGroupByClaimResponse) String() string { return proto.CompactTextString(m) } -func (*GetGroupByClaimResponse) ProtoMessage() {} -func (*GetGroupByClaimResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{3} +func (x *GetGroupByClaimResponse) Reset() { + *x = GetGroupByClaimResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetGroupByClaimResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupByClaimResponse.Unmarshal(m, b) -} -func (m *GetGroupByClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupByClaimResponse.Marshal(b, m, deterministic) -} -func (m *GetGroupByClaimResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupByClaimResponse.Merge(m, src) +func (x *GetGroupByClaimResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetGroupByClaimResponse) XXX_Size() int { - return xxx_messageInfo_GetGroupByClaimResponse.Size(m) -} -func (m *GetGroupByClaimResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupByClaimResponse.DiscardUnknown(m) + +func (*GetGroupByClaimResponse) ProtoMessage() {} + +func (x *GetGroupByClaimResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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) } -var xxx_messageInfo_GetGroupByClaimResponse proto.InternalMessageInfo +// Deprecated: Use GetGroupByClaimResponse.ProtoReflect.Descriptor instead. +func (*GetGroupByClaimResponse) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{3} +} -func (m *GetGroupByClaimResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetGroupByClaimResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetGroupByClaimResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetGroupByClaimResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetGroupByClaimResponse) GetGroup() *Group { - if m != nil { - return m.Group +func (x *GetGroupByClaimResponse) GetGroup() *Group { + if x != nil { + return x.Group } return nil } type GetMembersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The id of the group. - GroupId *GroupId `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GroupId *GroupId `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` } -func (m *GetMembersRequest) Reset() { *m = GetMembersRequest{} } -func (m *GetMembersRequest) String() string { return proto.CompactTextString(m) } -func (*GetMembersRequest) ProtoMessage() {} -func (*GetMembersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{4} +func (x *GetMembersRequest) Reset() { + *x = GetMembersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetMembersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMembersRequest.Unmarshal(m, b) -} -func (m *GetMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMembersRequest.Marshal(b, m, deterministic) -} -func (m *GetMembersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMembersRequest.Merge(m, src) +func (x *GetMembersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetMembersRequest) XXX_Size() int { - return xxx_messageInfo_GetMembersRequest.Size(m) -} -func (m *GetMembersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMembersRequest.DiscardUnknown(m) + +func (*GetMembersRequest) ProtoMessage() {} + +func (x *GetMembersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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) } -var xxx_messageInfo_GetMembersRequest proto.InternalMessageInfo +// Deprecated: Use GetMembersRequest.ProtoReflect.Descriptor instead. +func (*GetMembersRequest) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{4} +} -func (m *GetMembersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetMembersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetMembersRequest) GetGroupId() *GroupId { - if m != nil { - return m.GroupId +func (x *GetMembersRequest) GetGroupId() *GroupId { + if x != nil { + return x.GroupId } return nil } type GetMembersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -341,59 +399,67 @@ type GetMembersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The members of the group. - Members []*v1beta12.UserId `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Members []*v1beta12.UserId `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` } -func (m *GetMembersResponse) Reset() { *m = GetMembersResponse{} } -func (m *GetMembersResponse) String() string { return proto.CompactTextString(m) } -func (*GetMembersResponse) ProtoMessage() {} -func (*GetMembersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{5} +func (x *GetMembersResponse) Reset() { + *x = GetMembersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetMembersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMembersResponse.Unmarshal(m, b) -} -func (m *GetMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMembersResponse.Marshal(b, m, deterministic) -} -func (m *GetMembersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMembersResponse.Merge(m, src) +func (x *GetMembersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetMembersResponse) XXX_Size() int { - return xxx_messageInfo_GetMembersResponse.Size(m) -} -func (m *GetMembersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetMembersResponse.DiscardUnknown(m) + +func (*GetMembersResponse) ProtoMessage() {} + +func (x *GetMembersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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) } -var xxx_messageInfo_GetMembersResponse proto.InternalMessageInfo +// Deprecated: Use GetMembersResponse.ProtoReflect.Descriptor instead. +func (*GetMembersResponse) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{5} +} -func (m *GetMembersResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetMembersResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetMembersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetMembersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetMembersResponse) GetMembers() []*v1beta12.UserId { - if m != nil { - return m.Members +func (x *GetMembersResponse) GetMembers() []*v1beta12.UserId { + if x != nil { + return x.Members } return nil } type HasMemberRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -402,59 +468,67 @@ type HasMemberRequest struct { GroupId *GroupId `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // REQUIRED. // The id of the user to check. - UserId *v1beta12.UserId `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UserId *v1beta12.UserId `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` } -func (m *HasMemberRequest) Reset() { *m = HasMemberRequest{} } -func (m *HasMemberRequest) String() string { return proto.CompactTextString(m) } -func (*HasMemberRequest) ProtoMessage() {} -func (*HasMemberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{6} +func (x *HasMemberRequest) Reset() { + *x = HasMemberRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HasMemberRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HasMemberRequest.Unmarshal(m, b) -} -func (m *HasMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HasMemberRequest.Marshal(b, m, deterministic) -} -func (m *HasMemberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HasMemberRequest.Merge(m, src) +func (x *HasMemberRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HasMemberRequest) XXX_Size() int { - return xxx_messageInfo_HasMemberRequest.Size(m) -} -func (m *HasMemberRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HasMemberRequest.DiscardUnknown(m) + +func (*HasMemberRequest) ProtoMessage() {} + +func (x *HasMemberRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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) } -var xxx_messageInfo_HasMemberRequest proto.InternalMessageInfo +// Deprecated: Use HasMemberRequest.ProtoReflect.Descriptor instead. +func (*HasMemberRequest) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{6} +} -func (m *HasMemberRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *HasMemberRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *HasMemberRequest) GetGroupId() *GroupId { - if m != nil { - return m.GroupId +func (x *HasMemberRequest) GetGroupId() *GroupId { + if x != nil { + return x.GroupId } return nil } -func (m *HasMemberRequest) GetUserId() *v1beta12.UserId { - if m != nil { - return m.UserId +func (x *HasMemberRequest) GetUserId() *v1beta12.UserId { + if x != nil { + return x.UserId } return nil } type HasMemberResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -463,59 +537,67 @@ type HasMemberResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // Tells if the user belongs to the group. - Ok bool `protobuf:"varint,3,opt,name=ok,proto3" json:"ok,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ok bool `protobuf:"varint,3,opt,name=ok,proto3" json:"ok,omitempty"` } -func (m *HasMemberResponse) Reset() { *m = HasMemberResponse{} } -func (m *HasMemberResponse) String() string { return proto.CompactTextString(m) } -func (*HasMemberResponse) ProtoMessage() {} -func (*HasMemberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{7} +func (x *HasMemberResponse) Reset() { + *x = HasMemberResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HasMemberResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HasMemberResponse.Unmarshal(m, b) -} -func (m *HasMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HasMemberResponse.Marshal(b, m, deterministic) -} -func (m *HasMemberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_HasMemberResponse.Merge(m, src) +func (x *HasMemberResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HasMemberResponse) XXX_Size() int { - return xxx_messageInfo_HasMemberResponse.Size(m) -} -func (m *HasMemberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_HasMemberResponse.DiscardUnknown(m) + +func (*HasMemberResponse) ProtoMessage() {} + +func (x *HasMemberResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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) } -var xxx_messageInfo_HasMemberResponse proto.InternalMessageInfo +// Deprecated: Use HasMemberResponse.ProtoReflect.Descriptor instead. +func (*HasMemberResponse) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{7} +} -func (m *HasMemberResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *HasMemberResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *HasMemberResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *HasMemberResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *HasMemberResponse) GetOk() bool { - if m != nil { - return m.Ok +func (x *HasMemberResponse) GetOk() bool { + if x != nil { + return x.Ok } return false } type FindGroupsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -524,59 +606,67 @@ type FindGroupsRequest struct { Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // OPTIONAL. // Whether to skip fetching members along with the group object. - SkipFetchingMembers bool `protobuf:"varint,3,opt,name=skip_fetching_members,json=skipFetchingMembers,proto3" json:"skip_fetching_members,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SkipFetchingMembers bool `protobuf:"varint,3,opt,name=skip_fetching_members,json=skipFetchingMembers,proto3" json:"skip_fetching_members,omitempty"` } -func (m *FindGroupsRequest) Reset() { *m = FindGroupsRequest{} } -func (m *FindGroupsRequest) String() string { return proto.CompactTextString(m) } -func (*FindGroupsRequest) ProtoMessage() {} -func (*FindGroupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{8} +func (x *FindGroupsRequest) Reset() { + *x = FindGroupsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindGroupsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindGroupsRequest.Unmarshal(m, b) -} -func (m *FindGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindGroupsRequest.Marshal(b, m, deterministic) -} -func (m *FindGroupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindGroupsRequest.Merge(m, src) -} -func (m *FindGroupsRequest) XXX_Size() int { - return xxx_messageInfo_FindGroupsRequest.Size(m) +func (x *FindGroupsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindGroupsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindGroupsRequest.DiscardUnknown(m) + +func (*FindGroupsRequest) ProtoMessage() {} + +func (x *FindGroupsRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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) } -var xxx_messageInfo_FindGroupsRequest proto.InternalMessageInfo +// Deprecated: Use FindGroupsRequest.ProtoReflect.Descriptor instead. +func (*FindGroupsRequest) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{8} +} -func (m *FindGroupsRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *FindGroupsRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *FindGroupsRequest) GetFilter() string { - if m != nil { - return m.Filter +func (x *FindGroupsRequest) GetFilter() string { + if x != nil { + return x.Filter } return "" } -func (m *FindGroupsRequest) GetSkipFetchingMembers() bool { - if m != nil { - return m.SkipFetchingMembers +func (x *FindGroupsRequest) GetSkipFetchingMembers() bool { + if x != nil { + return x.SkipFetchingMembers } return false } type FindGroupsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -585,351 +675,455 @@ type FindGroupsResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The groups matching the specified filter. - Groups []*Group `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FindGroupsResponse) Reset() { *m = FindGroupsResponse{} } -func (m *FindGroupsResponse) String() string { return proto.CompactTextString(m) } -func (*FindGroupsResponse) ProtoMessage() {} -func (*FindGroupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cd2eee9df4cadb63, []int{9} -} - -func (m *FindGroupsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindGroupsResponse.Unmarshal(m, b) -} -func (m *FindGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindGroupsResponse.Marshal(b, m, deterministic) -} -func (m *FindGroupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindGroupsResponse.Merge(m, src) -} -func (m *FindGroupsResponse) XXX_Size() int { - return xxx_messageInfo_FindGroupsResponse.Size(m) -} -func (m *FindGroupsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindGroupsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FindGroupsResponse proto.InternalMessageInfo - -func (m *FindGroupsResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *FindGroupsResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *FindGroupsResponse) GetGroups() []*Group { - if m != nil { - return m.Groups - } - return nil -} - -func init() { - proto.RegisterType((*GetGroupRequest)(nil), "cs3.identity.group.v1beta1.GetGroupRequest") - proto.RegisterType((*GetGroupResponse)(nil), "cs3.identity.group.v1beta1.GetGroupResponse") - proto.RegisterType((*GetGroupByClaimRequest)(nil), "cs3.identity.group.v1beta1.GetGroupByClaimRequest") - proto.RegisterType((*GetGroupByClaimResponse)(nil), "cs3.identity.group.v1beta1.GetGroupByClaimResponse") - proto.RegisterType((*GetMembersRequest)(nil), "cs3.identity.group.v1beta1.GetMembersRequest") - proto.RegisterType((*GetMembersResponse)(nil), "cs3.identity.group.v1beta1.GetMembersResponse") - proto.RegisterType((*HasMemberRequest)(nil), "cs3.identity.group.v1beta1.HasMemberRequest") - proto.RegisterType((*HasMemberResponse)(nil), "cs3.identity.group.v1beta1.HasMemberResponse") - proto.RegisterType((*FindGroupsRequest)(nil), "cs3.identity.group.v1beta1.FindGroupsRequest") - proto.RegisterType((*FindGroupsResponse)(nil), "cs3.identity.group.v1beta1.FindGroupsResponse") -} - -func init() { - proto.RegisterFile("cs3/identity/group/v1beta1/group_api.proto", fileDescriptor_cd2eee9df4cadb63) -} - -var fileDescriptor_cd2eee9df4cadb63 = []byte{ - // 659 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x4b, 0x6f, 0xd3, 0x4c, - 0x14, 0xd5, 0xb8, 0xad, 0x9b, 0xde, 0x7e, 0x1f, 0xb4, 0x03, 0xb4, 0xc1, 0x02, 0x54, 0xcc, 0xa6, - 0x3c, 0xea, 0x28, 0xc9, 0x02, 0x01, 0x12, 0x12, 0x89, 0xd4, 0x90, 0x05, 0x22, 0x32, 0x82, 0x05, - 0x8a, 0x14, 0x39, 0xce, 0x34, 0xb5, 0xf2, 0xb0, 0xeb, 0x19, 0x57, 0x0a, 0x1b, 0x76, 0xb0, 0xe7, - 0x27, 0xb0, 0x84, 0x05, 0x42, 0x08, 0xc4, 0x96, 0x2d, 0xbf, 0x0a, 0xcd, 0xc3, 0x71, 0x42, 0x12, - 0x37, 0x50, 0x29, 0x15, 0xab, 0x76, 0x7c, 0xce, 0xbd, 0x73, 0xce, 0xc9, 0xcc, 0xb5, 0xe1, 0x96, - 0x4b, 0x8b, 0x39, 0xaf, 0x45, 0xfa, 0xcc, 0x63, 0x83, 0x5c, 0x3b, 0xf4, 0xa3, 0x20, 0x77, 0x9c, - 0x6f, 0x12, 0xe6, 0xe4, 0xe5, 0xaa, 0xe1, 0x04, 0x9e, 0x15, 0x84, 0x3e, 0xf3, 0xb1, 0xe1, 0xd2, - 0xa2, 0x15, 0x73, 0x2d, 0x81, 0x5a, 0x8a, 0x6b, 0xa4, 0xf5, 0x09, 0x09, 0xf5, 0xa3, 0xd0, 0x25, - 0x54, 0xf6, 0x31, 0x6e, 0x8e, 0x71, 0x23, 0x4a, 0xc2, 0x99, 0xd4, 0x2b, 0x9c, 0x1a, 0x06, 0xee, - 0x90, 0x40, 0x99, 0xc3, 0xa2, 0x18, 0xbd, 0xca, 0x51, 0x36, 0x08, 0x08, 0x1d, 0xe2, 0x62, 0x25, - 0x61, 0xf3, 0x3b, 0x82, 0xf3, 0x15, 0xc2, 0x2a, 0x5c, 0x8c, 0x4d, 0x8e, 0x22, 0x42, 0x19, 0xce, - 0x83, 0xee, 0x07, 0xce, 0x51, 0x44, 0xb2, 0x68, 0x07, 0xed, 0xae, 0x17, 0x2e, 0x5b, 0xdc, 0x94, - 0xac, 0x52, 0x3d, 0xac, 0xa7, 0x82, 0x60, 0x2b, 0x22, 0x7e, 0x08, 0x19, 0x99, 0x84, 0xd7, 0xca, - 0x6a, 0xa2, 0xe8, 0x86, 0x35, 0x3b, 0x09, 0x4b, 0x6c, 0x57, 0x6d, 0xd9, 0xab, 0x6d, 0xf9, 0x0f, - 0x2e, 0xc0, 0x25, 0xda, 0xf1, 0x82, 0xc6, 0x01, 0x61, 0xee, 0xa1, 0xd7, 0x6f, 0x37, 0x7a, 0xa4, - 0xd7, 0x24, 0x21, 0xcd, 0x2e, 0xed, 0xa0, 0xdd, 0x8c, 0x7d, 0x81, 0x83, 0xfb, 0x0a, 0x7b, 0x22, - 0x21, 0xf3, 0x13, 0x82, 0x8d, 0x44, 0x3a, 0x0d, 0xfc, 0x3e, 0x25, 0x38, 0x07, 0xba, 0xb4, 0xaf, - 0xb4, 0x6f, 0x0b, 0x19, 0x61, 0xe0, 0x0e, 0xf7, 0x7e, 0x26, 0x60, 0x5b, 0xd1, 0x46, 0xcc, 0x6a, - 0xf3, 0x9a, 0xbd, 0x0b, 0x2b, 0x42, 0xb7, 0x10, 0xb7, 0x5e, 0xb8, 0x7e, 0xa2, 0x53, 0x5b, 0xf2, - 0xcd, 0x8f, 0x08, 0xb6, 0x62, 0xc5, 0xa5, 0x41, 0xb9, 0xeb, 0x78, 0xbd, 0x53, 0x64, 0x7e, 0x11, - 0x56, 0x5c, 0xde, 0x42, 0x08, 0x5f, 0xb3, 0xe5, 0x82, 0x3f, 0x3d, 0x76, 0xba, 0x11, 0x11, 0xe2, - 0xd6, 0x6c, 0xb9, 0x98, 0x9d, 0xef, 0xf2, 0xec, 0x7c, 0xbf, 0x21, 0xd8, 0x9e, 0x50, 0xfb, 0x2f, - 0xc4, 0xfc, 0x06, 0xc1, 0x66, 0x85, 0x30, 0xe5, 0xe3, 0xec, 0x4e, 0xb5, 0xf9, 0x15, 0x01, 0x1e, - 0x15, 0xb2, 0xc0, 0xf0, 0x1e, 0xc0, 0x6a, 0x72, 0x85, 0x96, 0x26, 0xe3, 0xe3, 0x13, 0x65, 0x58, - 0xfb, 0x9c, 0x92, 0x90, 0xeb, 0x56, 0x15, 0xe6, 0x0f, 0x04, 0x1b, 0x8f, 0x1d, 0x2a, 0x75, 0x9f, - 0xe1, 0x54, 0xb8, 0x0f, 0xab, 0x5c, 0x27, 0x2f, 0x9f, 0x7a, 0x06, 0xa6, 0x99, 0xd0, 0x23, 0xf1, - 0xd7, 0x7c, 0x8b, 0x60, 0x73, 0xc4, 0xc3, 0x02, 0xa3, 0x3f, 0x07, 0x9a, 0xdf, 0x51, 0x83, 0x4b, - 0xf3, 0x3b, 0xe6, 0x3b, 0x04, 0x9b, 0xfb, 0x5e, 0xbf, 0x25, 0xec, 0x9d, 0xe6, 0x38, 0x6e, 0x81, - 0x7e, 0xe0, 0x75, 0x19, 0x09, 0xd5, 0x8d, 0x57, 0xab, 0xbf, 0x1a, 0x9e, 0x5f, 0x10, 0xe0, 0x51, - 0x51, 0x0b, 0xcc, 0xe7, 0x1e, 0xe8, 0xe2, 0x07, 0x9e, 0x71, 0x32, 0xa7, 0x5d, 0x6c, 0x55, 0x50, - 0xf8, 0xbc, 0x0c, 0x19, 0xf1, 0xe4, 0x51, 0xad, 0x8a, 0x09, 0x64, 0xe2, 0xf1, 0x84, 0x6f, 0xa7, - 0xf6, 0x18, 0x7f, 0xbf, 0x19, 0x77, 0xe6, 0x23, 0xab, 0x48, 0x5e, 0x25, 0x2f, 0x48, 0x35, 0x05, - 0x71, 0x61, 0x9e, 0x06, 0xe3, 0x03, 0xde, 0x28, 0xfe, 0x51, 0x8d, 0xda, 0xbb, 0x03, 0x90, 0xcc, - 0x0f, 0xbc, 0x77, 0x42, 0x8b, 0xf1, 0x81, 0x67, 0x58, 0xf3, 0xd2, 0xd5, 0x66, 0x87, 0xb0, 0x36, - 0xbc, 0x30, 0x38, 0x35, 0xa3, 0xdf, 0x67, 0x83, 0xb1, 0x37, 0x27, 0x3b, 0xb1, 0x95, 0x9c, 0xbd, - 0x74, 0x5b, 0x13, 0x17, 0x27, 0xdd, 0xd6, 0xe4, 0x91, 0x2e, 0xbd, 0x86, 0x6b, 0xae, 0xdf, 0x4b, - 0x29, 0x2a, 0xfd, 0x2f, 0x8f, 0x54, 0xe0, 0xd5, 0xf8, 0x27, 0x51, 0x0d, 0xbd, 0xfc, 0x4f, 0xe0, - 0x0a, 0x7e, 0xaf, 0x2d, 0x95, 0xab, 0x95, 0x0f, 0x9a, 0x51, 0xa6, 0x45, 0xab, 0x1a, 0x77, 0x10, - 0x25, 0xd6, 0x8b, 0x7c, 0x89, 0x53, 0x7e, 0x0a, 0xb0, 0x1e, 0x83, 0x75, 0x01, 0xd6, 0x15, 0xd8, - 0xd4, 0xc5, 0x97, 0x56, 0xf1, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x83, 0xca, 0x46, 0x47, - 0x0a, 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 - -// GroupAPIClient is the client API for GroupAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GroupAPIClient interface { - // Gets the information about a group by the group id. - GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error) - // Gets the information about a group based on a specified claim. - GetGroupByClaim(ctx context.Context, in *GetGroupByClaimRequest, opts ...grpc.CallOption) (*GetGroupByClaimResponse, error) - // Gets the members of a group. - GetMembers(ctx context.Context, in *GetMembersRequest, opts ...grpc.CallOption) (*GetMembersResponse, error) - // Tells if the group has certain member. - HasMember(ctx context.Context, in *HasMemberRequest, opts ...grpc.CallOption) (*HasMemberResponse, error) - // Finds groups whose names match the specified filter. - FindGroups(ctx context.Context, in *FindGroupsRequest, opts ...grpc.CallOption) (*FindGroupsResponse, error) -} - -type groupAPIClient struct { - cc *grpc.ClientConn + Groups []*Group `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` } -func NewGroupAPIClient(cc *grpc.ClientConn) GroupAPIClient { - return &groupAPIClient{cc} -} - -func (c *groupAPIClient) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error) { - out := new(GetGroupResponse) - err := c.cc.Invoke(ctx, "/cs3.identity.group.v1beta1.GroupAPI/GetGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupAPIClient) GetGroupByClaim(ctx context.Context, in *GetGroupByClaimRequest, opts ...grpc.CallOption) (*GetGroupByClaimResponse, error) { - out := new(GetGroupByClaimResponse) - err := c.cc.Invoke(ctx, "/cs3.identity.group.v1beta1.GroupAPI/GetGroupByClaim", in, out, opts...) - if err != nil { - return nil, err +func (x *FindGroupsResponse) Reset() { + *x = FindGroupsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -func (c *groupAPIClient) GetMembers(ctx context.Context, in *GetMembersRequest, opts ...grpc.CallOption) (*GetMembersResponse, error) { - out := new(GetMembersResponse) - err := c.cc.Invoke(ctx, "/cs3.identity.group.v1beta1.GroupAPI/GetMembers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (x *FindGroupsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *groupAPIClient) HasMember(ctx context.Context, in *HasMemberRequest, opts ...grpc.CallOption) (*HasMemberResponse, error) { - out := new(HasMemberResponse) - err := c.cc.Invoke(ctx, "/cs3.identity.group.v1beta1.GroupAPI/HasMember", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func (*FindGroupsResponse) ProtoMessage() {} -func (c *groupAPIClient) FindGroups(ctx context.Context, in *FindGroupsRequest, opts ...grpc.CallOption) (*FindGroupsResponse, error) { - out := new(FindGroupsResponse) - err := c.cc.Invoke(ctx, "/cs3.identity.group.v1beta1.GroupAPI/FindGroups", in, out, opts...) - if err != nil { - return nil, err +func (x *FindGroupsResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_group_api_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 out, nil -} - -// GroupAPIServer is the server API for GroupAPI service. -type GroupAPIServer interface { - // Gets the information about a group by the group id. - GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error) - // Gets the information about a group based on a specified claim. - GetGroupByClaim(context.Context, *GetGroupByClaimRequest) (*GetGroupByClaimResponse, error) - // Gets the members of a group. - GetMembers(context.Context, *GetMembersRequest) (*GetMembersResponse, error) - // Tells if the group has certain member. - HasMember(context.Context, *HasMemberRequest) (*HasMemberResponse, error) - // Finds groups whose names match the specified filter. - FindGroups(context.Context, *FindGroupsRequest) (*FindGroupsResponse, error) -} - -// UnimplementedGroupAPIServer can be embedded to have forward compatible implementations. -type UnimplementedGroupAPIServer struct { + return mi.MessageOf(x) } -func (*UnimplementedGroupAPIServer) GetGroup(ctx context.Context, req *GetGroupRequest) (*GetGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented") -} -func (*UnimplementedGroupAPIServer) GetGroupByClaim(ctx context.Context, req *GetGroupByClaimRequest) (*GetGroupByClaimResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGroupByClaim not implemented") -} -func (*UnimplementedGroupAPIServer) GetMembers(ctx context.Context, req *GetMembersRequest) (*GetMembersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMembers not implemented") -} -func (*UnimplementedGroupAPIServer) HasMember(ctx context.Context, req *HasMemberRequest) (*HasMemberResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method HasMember not implemented") -} -func (*UnimplementedGroupAPIServer) FindGroups(ctx context.Context, req *FindGroupsRequest) (*FindGroupsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindGroups not implemented") -} - -func RegisterGroupAPIServer(s *grpc.Server, srv GroupAPIServer) { - s.RegisterService(&_GroupAPI_serviceDesc, srv) +// Deprecated: Use FindGroupsResponse.ProtoReflect.Descriptor instead. +func (*FindGroupsResponse) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP(), []int{9} } -func _GroupAPI_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupAPIServer).GetGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.identity.group.v1beta1.GroupAPI/GetGroup", +func (x *FindGroupsResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupAPIServer).GetGroup(ctx, req.(*GetGroupRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _GroupAPI_GetGroupByClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGroupByClaimRequest) - if err := dec(in); err != nil { - return nil, err +func (x *FindGroupsResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - if interceptor == nil { - return srv.(GroupAPIServer).GetGroupByClaim(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.identity.group.v1beta1.GroupAPI/GetGroupByClaim", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupAPIServer).GetGroupByClaim(ctx, req.(*GetGroupByClaimRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _GroupAPI_GetMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMembersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupAPIServer).GetMembers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.identity.group.v1beta1.GroupAPI/GetMembers", +func (x *FindGroupsResponse) GetGroups() []*Group { + if x != nil { + return x.Groups } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupAPIServer).GetMembers(ctx, req.(*GetMembersRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _GroupAPI_HasMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(HasMemberRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupAPIServer).HasMember(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.identity.group.v1beta1.GroupAPI/HasMember", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupAPIServer).HasMember(ctx, req.(*HasMemberRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_identity_group_v1beta1_group_api_proto protoreflect.FileDescriptor + +var file_cs3_identity_group_v1beta1_group_api_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x63, 0x73, + 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x2a, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, + 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x01, 0x0a, + 0x0f, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x66, 0x65, 0x74, 0x63, + 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x13, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x12, 0x37, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xab, 0x01, 0x0a, 0x16, 0x47, 0x65, + 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x66, 0x65, 0x74, 0x63, + 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x13, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0xb6, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x22, 0x86, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0xb5, 0x01, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x10, 0x48, 0x61, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x87, 0x01, 0x0a, 0x11, 0x48, 0x61, 0x73, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x22, + 0x92, 0x01, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x12, 0x32, 0x0a, 0x15, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, + 0x67, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x13, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x39, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x32, 0xb1, 0x04, 0x0a, 0x08, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x41, 0x50, 0x49, 0x12, 0x65, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x12, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, + 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, + 0x6d, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x43, 0x6c, 0x61, + 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0a, 0x47, 0x65, + 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x09, 0x48, 0x61, 0x73, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x48, 0x61, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x48, 0x61, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x6b, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, + 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x80, + 0x02, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x42, 0x0d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, + 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, + 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x49, 0x47, 0xaa, 0x02, + 0x1a, 0x43, 0x73, 0x33, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1a, 0x43, 0x73, + 0x33, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5c, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x26, 0x43, 0x73, 0x33, 0x5c, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x5c, 0x56, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x1d, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x3a, 0x3a, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_identity_group_v1beta1_group_api_proto_rawDescOnce sync.Once + file_cs3_identity_group_v1beta1_group_api_proto_rawDescData = file_cs3_identity_group_v1beta1_group_api_proto_rawDesc +) -func _GroupAPI_FindGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindGroupsRequest) - if err := dec(in); err != nil { - return nil, err +func file_cs3_identity_group_v1beta1_group_api_proto_rawDescGZIP() []byte { + file_cs3_identity_group_v1beta1_group_api_proto_rawDescOnce.Do(func() { + file_cs3_identity_group_v1beta1_group_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_identity_group_v1beta1_group_api_proto_rawDescData) + }) + return file_cs3_identity_group_v1beta1_group_api_proto_rawDescData +} + +var file_cs3_identity_group_v1beta1_group_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_cs3_identity_group_v1beta1_group_api_proto_goTypes = []interface{}{ + (*GetGroupRequest)(nil), // 0: cs3.identity.group.v1beta1.GetGroupRequest + (*GetGroupResponse)(nil), // 1: cs3.identity.group.v1beta1.GetGroupResponse + (*GetGroupByClaimRequest)(nil), // 2: cs3.identity.group.v1beta1.GetGroupByClaimRequest + (*GetGroupByClaimResponse)(nil), // 3: cs3.identity.group.v1beta1.GetGroupByClaimResponse + (*GetMembersRequest)(nil), // 4: cs3.identity.group.v1beta1.GetMembersRequest + (*GetMembersResponse)(nil), // 5: cs3.identity.group.v1beta1.GetMembersResponse + (*HasMemberRequest)(nil), // 6: cs3.identity.group.v1beta1.HasMemberRequest + (*HasMemberResponse)(nil), // 7: cs3.identity.group.v1beta1.HasMemberResponse + (*FindGroupsRequest)(nil), // 8: cs3.identity.group.v1beta1.FindGroupsRequest + (*FindGroupsResponse)(nil), // 9: cs3.identity.group.v1beta1.FindGroupsResponse + (*v1beta1.Opaque)(nil), // 10: cs3.types.v1beta1.Opaque + (*GroupId)(nil), // 11: cs3.identity.group.v1beta1.GroupId + (*v1beta11.Status)(nil), // 12: cs3.rpc.v1beta1.Status + (*Group)(nil), // 13: cs3.identity.group.v1beta1.Group + (*v1beta12.UserId)(nil), // 14: cs3.identity.user.v1beta1.UserId +} +var file_cs3_identity_group_v1beta1_group_api_proto_depIdxs = []int32{ + 10, // 0: cs3.identity.group.v1beta1.GetGroupRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 1: cs3.identity.group.v1beta1.GetGroupRequest.group_id:type_name -> cs3.identity.group.v1beta1.GroupId + 12, // 2: cs3.identity.group.v1beta1.GetGroupResponse.status:type_name -> cs3.rpc.v1beta1.Status + 10, // 3: cs3.identity.group.v1beta1.GetGroupResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 4: cs3.identity.group.v1beta1.GetGroupResponse.group:type_name -> cs3.identity.group.v1beta1.Group + 10, // 5: cs3.identity.group.v1beta1.GetGroupByClaimRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 6: cs3.identity.group.v1beta1.GetGroupByClaimResponse.status:type_name -> cs3.rpc.v1beta1.Status + 10, // 7: cs3.identity.group.v1beta1.GetGroupByClaimResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 8: cs3.identity.group.v1beta1.GetGroupByClaimResponse.group:type_name -> cs3.identity.group.v1beta1.Group + 10, // 9: cs3.identity.group.v1beta1.GetMembersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 10: cs3.identity.group.v1beta1.GetMembersRequest.group_id:type_name -> cs3.identity.group.v1beta1.GroupId + 12, // 11: cs3.identity.group.v1beta1.GetMembersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 10, // 12: cs3.identity.group.v1beta1.GetMembersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 13: cs3.identity.group.v1beta1.GetMembersResponse.members:type_name -> cs3.identity.user.v1beta1.UserId + 10, // 14: cs3.identity.group.v1beta1.HasMemberRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 15: cs3.identity.group.v1beta1.HasMemberRequest.group_id:type_name -> cs3.identity.group.v1beta1.GroupId + 14, // 16: cs3.identity.group.v1beta1.HasMemberRequest.user_id:type_name -> cs3.identity.user.v1beta1.UserId + 12, // 17: cs3.identity.group.v1beta1.HasMemberResponse.status:type_name -> cs3.rpc.v1beta1.Status + 10, // 18: cs3.identity.group.v1beta1.HasMemberResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 10, // 19: cs3.identity.group.v1beta1.FindGroupsRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 20: cs3.identity.group.v1beta1.FindGroupsResponse.status:type_name -> cs3.rpc.v1beta1.Status + 10, // 21: cs3.identity.group.v1beta1.FindGroupsResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 22: cs3.identity.group.v1beta1.FindGroupsResponse.groups:type_name -> cs3.identity.group.v1beta1.Group + 0, // 23: cs3.identity.group.v1beta1.GroupAPI.GetGroup:input_type -> cs3.identity.group.v1beta1.GetGroupRequest + 2, // 24: cs3.identity.group.v1beta1.GroupAPI.GetGroupByClaim:input_type -> cs3.identity.group.v1beta1.GetGroupByClaimRequest + 4, // 25: cs3.identity.group.v1beta1.GroupAPI.GetMembers:input_type -> cs3.identity.group.v1beta1.GetMembersRequest + 6, // 26: cs3.identity.group.v1beta1.GroupAPI.HasMember:input_type -> cs3.identity.group.v1beta1.HasMemberRequest + 8, // 27: cs3.identity.group.v1beta1.GroupAPI.FindGroups:input_type -> cs3.identity.group.v1beta1.FindGroupsRequest + 1, // 28: cs3.identity.group.v1beta1.GroupAPI.GetGroup:output_type -> cs3.identity.group.v1beta1.GetGroupResponse + 3, // 29: cs3.identity.group.v1beta1.GroupAPI.GetGroupByClaim:output_type -> cs3.identity.group.v1beta1.GetGroupByClaimResponse + 5, // 30: cs3.identity.group.v1beta1.GroupAPI.GetMembers:output_type -> cs3.identity.group.v1beta1.GetMembersResponse + 7, // 31: cs3.identity.group.v1beta1.GroupAPI.HasMember:output_type -> cs3.identity.group.v1beta1.HasMemberResponse + 9, // 32: cs3.identity.group.v1beta1.GroupAPI.FindGroups:output_type -> cs3.identity.group.v1beta1.FindGroupsResponse + 28, // [28:33] is the sub-list for method output_type + 23, // [23:28] is the sub-list for method input_type + 23, // [23:23] is the sub-list for extension type_name + 23, // [23:23] is the sub-list for extension extendee + 0, // [0:23] is the sub-list for field type_name +} + +func init() { file_cs3_identity_group_v1beta1_group_api_proto_init() } +func file_cs3_identity_group_v1beta1_group_api_proto_init() { + if File_cs3_identity_group_v1beta1_group_api_proto != nil { + return } - if interceptor == nil { - return srv.(GroupAPIServer).FindGroups(ctx, in) + file_cs3_identity_group_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGroupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGroupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGroupByClaimRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGroupByClaimResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMembersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMembersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasMemberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasMemberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindGroupsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_group_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindGroupsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.identity.group.v1beta1.GroupAPI/FindGroups", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupAPIServer).FindGroups(ctx, req.(*FindGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GroupAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.identity.group.v1beta1.GroupAPI", - HandlerType: (*GroupAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGroup", - Handler: _GroupAPI_GetGroup_Handler, - }, - { - MethodName: "GetGroupByClaim", - Handler: _GroupAPI_GetGroupByClaim_Handler, - }, - { - MethodName: "GetMembers", - Handler: _GroupAPI_GetMembers_Handler, - }, - { - MethodName: "HasMember", - Handler: _GroupAPI_HasMember_Handler, - }, - { - MethodName: "FindGroups", - Handler: _GroupAPI_FindGroups_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_identity_group_v1beta1_group_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/identity/group/v1beta1/group_api.proto", + GoTypes: file_cs3_identity_group_v1beta1_group_api_proto_goTypes, + DependencyIndexes: file_cs3_identity_group_v1beta1_group_api_proto_depIdxs, + MessageInfos: file_cs3_identity_group_v1beta1_group_api_proto_msgTypes, + }.Build() + File_cs3_identity_group_v1beta1_group_api_proto = out.File + file_cs3_identity_group_v1beta1_group_api_proto_rawDesc = nil + file_cs3_identity_group_v1beta1_group_api_proto_goTypes = nil + file_cs3_identity_group_v1beta1_group_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/group_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/group_api_grpc.pb.go new file mode 100644 index 00000000000..a3532d07768 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/group_api_grpc.pb.go @@ -0,0 +1,283 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/identity/group/v1beta1/group_api.proto + +package groupv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + GroupAPI_GetGroup_FullMethodName = "/cs3.identity.group.v1beta1.GroupAPI/GetGroup" + GroupAPI_GetGroupByClaim_FullMethodName = "/cs3.identity.group.v1beta1.GroupAPI/GetGroupByClaim" + GroupAPI_GetMembers_FullMethodName = "/cs3.identity.group.v1beta1.GroupAPI/GetMembers" + GroupAPI_HasMember_FullMethodName = "/cs3.identity.group.v1beta1.GroupAPI/HasMember" + GroupAPI_FindGroups_FullMethodName = "/cs3.identity.group.v1beta1.GroupAPI/FindGroups" +) + +// GroupAPIClient is the client API for GroupAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type GroupAPIClient interface { + // Gets the information about a group by the group id. + GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error) + // Gets the information about a group based on a specified claim. + GetGroupByClaim(ctx context.Context, in *GetGroupByClaimRequest, opts ...grpc.CallOption) (*GetGroupByClaimResponse, error) + // Gets the members of a group. + GetMembers(ctx context.Context, in *GetMembersRequest, opts ...grpc.CallOption) (*GetMembersResponse, error) + // Tells if the group has certain member. + HasMember(ctx context.Context, in *HasMemberRequest, opts ...grpc.CallOption) (*HasMemberResponse, error) + // Finds groups whose names match the specified filter. + FindGroups(ctx context.Context, in *FindGroupsRequest, opts ...grpc.CallOption) (*FindGroupsResponse, error) +} + +type groupAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewGroupAPIClient(cc grpc.ClientConnInterface) GroupAPIClient { + return &groupAPIClient{cc} +} + +func (c *groupAPIClient) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error) { + out := new(GetGroupResponse) + err := c.cc.Invoke(ctx, GroupAPI_GetGroup_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *groupAPIClient) GetGroupByClaim(ctx context.Context, in *GetGroupByClaimRequest, opts ...grpc.CallOption) (*GetGroupByClaimResponse, error) { + out := new(GetGroupByClaimResponse) + err := c.cc.Invoke(ctx, GroupAPI_GetGroupByClaim_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *groupAPIClient) GetMembers(ctx context.Context, in *GetMembersRequest, opts ...grpc.CallOption) (*GetMembersResponse, error) { + out := new(GetMembersResponse) + err := c.cc.Invoke(ctx, GroupAPI_GetMembers_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *groupAPIClient) HasMember(ctx context.Context, in *HasMemberRequest, opts ...grpc.CallOption) (*HasMemberResponse, error) { + out := new(HasMemberResponse) + err := c.cc.Invoke(ctx, GroupAPI_HasMember_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *groupAPIClient) FindGroups(ctx context.Context, in *FindGroupsRequest, opts ...grpc.CallOption) (*FindGroupsResponse, error) { + out := new(FindGroupsResponse) + err := c.cc.Invoke(ctx, GroupAPI_FindGroups_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// GroupAPIServer is the server API for GroupAPI service. +// All implementations should embed UnimplementedGroupAPIServer +// for forward compatibility +type GroupAPIServer interface { + // Gets the information about a group by the group id. + GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error) + // Gets the information about a group based on a specified claim. + GetGroupByClaim(context.Context, *GetGroupByClaimRequest) (*GetGroupByClaimResponse, error) + // Gets the members of a group. + GetMembers(context.Context, *GetMembersRequest) (*GetMembersResponse, error) + // Tells if the group has certain member. + HasMember(context.Context, *HasMemberRequest) (*HasMemberResponse, error) + // Finds groups whose names match the specified filter. + FindGroups(context.Context, *FindGroupsRequest) (*FindGroupsResponse, error) +} + +// UnimplementedGroupAPIServer should be embedded to have forward compatible implementations. +type UnimplementedGroupAPIServer struct { +} + +func (UnimplementedGroupAPIServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented") +} +func (UnimplementedGroupAPIServer) GetGroupByClaim(context.Context, *GetGroupByClaimRequest) (*GetGroupByClaimResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetGroupByClaim not implemented") +} +func (UnimplementedGroupAPIServer) GetMembers(context.Context, *GetMembersRequest) (*GetMembersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMembers not implemented") +} +func (UnimplementedGroupAPIServer) HasMember(context.Context, *HasMemberRequest) (*HasMemberResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method HasMember not implemented") +} +func (UnimplementedGroupAPIServer) FindGroups(context.Context, *FindGroupsRequest) (*FindGroupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindGroups not implemented") +} + +// UnsafeGroupAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to GroupAPIServer will +// result in compilation errors. +type UnsafeGroupAPIServer interface { + mustEmbedUnimplementedGroupAPIServer() +} + +func RegisterGroupAPIServer(s grpc.ServiceRegistrar, srv GroupAPIServer) { + s.RegisterService(&GroupAPI_ServiceDesc, srv) +} + +func _GroupAPI_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GroupAPIServer).GetGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GroupAPI_GetGroup_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GroupAPIServer).GetGroup(ctx, req.(*GetGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GroupAPI_GetGroupByClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetGroupByClaimRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GroupAPIServer).GetGroupByClaim(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GroupAPI_GetGroupByClaim_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GroupAPIServer).GetGroupByClaim(ctx, req.(*GetGroupByClaimRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GroupAPI_GetMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetMembersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GroupAPIServer).GetMembers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GroupAPI_GetMembers_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GroupAPIServer).GetMembers(ctx, req.(*GetMembersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GroupAPI_HasMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(HasMemberRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GroupAPIServer).HasMember(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GroupAPI_HasMember_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GroupAPIServer).HasMember(ctx, req.(*HasMemberRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GroupAPI_FindGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GroupAPIServer).FindGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: GroupAPI_FindGroups_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GroupAPIServer).FindGroups(ctx, req.(*FindGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// GroupAPI_ServiceDesc is the grpc.ServiceDesc for GroupAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var GroupAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.identity.group.v1beta1.GroupAPI", + HandlerType: (*GroupAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetGroup", + Handler: _GroupAPI_GetGroup_Handler, + }, + { + MethodName: "GetGroupByClaim", + Handler: _GroupAPI_GetGroupByClaim_Handler, + }, + { + MethodName: "GetMembers", + Handler: _GroupAPI_GetMembers_Handler, + }, + { + MethodName: "HasMember", + Handler: _GroupAPI_HasMember_Handler, + }, + { + MethodName: "FindGroups", + Handler: _GroupAPI_FindGroups_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/identity/group/v1beta1/group_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/resources.pb.go index aede984e257..68d9b6653ff 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1/resources.pb.go @@ -1,210 +1,343 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/identity/group/v1beta1/resources.proto package groupv1beta1 import ( - fmt "fmt" v1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // A GroupId represents a group. type GroupId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The identity provider for the group. Idp string `protobuf:"bytes,1,opt,name=idp,proto3" json:"idp,omitempty"` // REQUIRED. // the unique identifier for the group in the scope of // the identity provider. - OpaqueId string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OpaqueId string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` } -func (m *GroupId) Reset() { *m = GroupId{} } -func (m *GroupId) String() string { return proto.CompactTextString(m) } -func (*GroupId) ProtoMessage() {} -func (*GroupId) Descriptor() ([]byte, []int) { - return fileDescriptor_855c824f484248c0, []int{0} +func (x *GroupId) Reset() { + *x = GroupId{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GroupId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupId.Unmarshal(m, b) -} -func (m *GroupId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupId.Marshal(b, m, deterministic) -} -func (m *GroupId) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupId.Merge(m, src) +func (x *GroupId) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GroupId) XXX_Size() int { - return xxx_messageInfo_GroupId.Size(m) -} -func (m *GroupId) XXX_DiscardUnknown() { - xxx_messageInfo_GroupId.DiscardUnknown(m) + +func (*GroupId) ProtoMessage() {} + +func (x *GroupId) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_resources_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) } -var xxx_messageInfo_GroupId proto.InternalMessageInfo +// Deprecated: Use GroupId.ProtoReflect.Descriptor instead. +func (*GroupId) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *GroupId) GetIdp() string { - if m != nil { - return m.Idp +func (x *GroupId) GetIdp() string { + if x != nil { + return x.Idp } return "" } -func (m *GroupId) GetOpaqueId() string { - if m != nil { - return m.OpaqueId +func (x *GroupId) GetOpaqueId() string { + if x != nil { + return x.OpaqueId } return "" } // Represents a group of the system. type Group struct { - Id *GroupId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` - GidNumber int64 `protobuf:"varint,3,opt,name=gid_number,json=gidNumber,proto3" json:"gid_number,omitempty"` - Mail string `protobuf:"bytes,4,opt,name=mail,proto3" json:"mail,omitempty"` - MailVerified bool `protobuf:"varint,5,opt,name=mail_verified,json=mailVerified,proto3" json:"mail_verified,omitempty"` - DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Members []*v1beta1.UserId `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"` - Opaque *v1beta11.Opaque `protobuf:"bytes,8,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Group) Reset() { *m = Group{} } -func (m *Group) String() string { return proto.CompactTextString(m) } -func (*Group) ProtoMessage() {} -func (*Group) Descriptor() ([]byte, []int) { - return fileDescriptor_855c824f484248c0, []int{1} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Group) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Group.Unmarshal(m, b) -} -func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Group.Marshal(b, m, deterministic) + Id *GroupId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` + GidNumber int64 `protobuf:"varint,3,opt,name=gid_number,json=gidNumber,proto3" json:"gid_number,omitempty"` + Mail string `protobuf:"bytes,4,opt,name=mail,proto3" json:"mail,omitempty"` + MailVerified bool `protobuf:"varint,5,opt,name=mail_verified,json=mailVerified,proto3" json:"mail_verified,omitempty"` + DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Members []*v1beta1.UserId `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"` + Opaque *v1beta11.Opaque `protobuf:"bytes,8,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *Group) XXX_Merge(src proto.Message) { - xxx_messageInfo_Group.Merge(m, src) + +func (x *Group) Reset() { + *x = Group{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_group_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Group) XXX_Size() int { - return xxx_messageInfo_Group.Size(m) + +func (x *Group) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Group) XXX_DiscardUnknown() { - xxx_messageInfo_Group.DiscardUnknown(m) + +func (*Group) ProtoMessage() {} + +func (x *Group) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_group_v1beta1_resources_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) } -var xxx_messageInfo_Group proto.InternalMessageInfo +// Deprecated: Use Group.ProtoReflect.Descriptor instead. +func (*Group) Descriptor() ([]byte, []int) { + return file_cs3_identity_group_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *Group) GetId() *GroupId { - if m != nil { - return m.Id +func (x *Group) GetId() *GroupId { + if x != nil { + return x.Id } return nil } -func (m *Group) GetGroupName() string { - if m != nil { - return m.GroupName +func (x *Group) GetGroupName() string { + if x != nil { + return x.GroupName } return "" } -func (m *Group) GetGidNumber() int64 { - if m != nil { - return m.GidNumber +func (x *Group) GetGidNumber() int64 { + if x != nil { + return x.GidNumber } return 0 } -func (m *Group) GetMail() string { - if m != nil { - return m.Mail +func (x *Group) GetMail() string { + if x != nil { + return x.Mail } return "" } -func (m *Group) GetMailVerified() bool { - if m != nil { - return m.MailVerified +func (x *Group) GetMailVerified() bool { + if x != nil { + return x.MailVerified } return false } -func (m *Group) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *Group) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *Group) GetMembers() []*v1beta1.UserId { - if m != nil { - return m.Members +func (x *Group) GetMembers() []*v1beta1.UserId { + if x != nil { + return x.Members } return nil } -func (m *Group) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *Group) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } -func init() { - proto.RegisterType((*GroupId)(nil), "cs3.identity.group.v1beta1.GroupId") - proto.RegisterType((*Group)(nil), "cs3.identity.group.v1beta1.Group") -} - -func init() { - proto.RegisterFile("cs3/identity/group/v1beta1/resources.proto", fileDescriptor_855c824f484248c0) -} - -var fileDescriptor_855c824f484248c0 = []byte{ - // 390 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x3d, 0xef, 0x9a, 0x40, - 0x18, 0x0f, 0xe0, 0x1b, 0xa7, 0x6d, 0x9a, 0x9b, 0x28, 0x8d, 0x0d, 0xea, 0x42, 0x3b, 0x1c, 0x41, - 0x96, 0x26, 0xdd, 0x74, 0x30, 0x2c, 0xd6, 0x90, 0xd4, 0xa1, 0x31, 0x21, 0xc8, 0x5d, 0xcd, 0x25, - 0x22, 0xf4, 0x0e, 0x4c, 0xdc, 0xfa, 0x59, 0x3a, 0xf6, 0x83, 0x74, 0xe8, 0xa7, 0xfa, 0xe7, 0x1e, - 0x0e, 0x13, 0x07, 0xff, 0x13, 0xc7, 0xef, 0xed, 0xe1, 0x7e, 0x0f, 0xe8, 0x73, 0x2e, 0xa3, 0x80, - 0x53, 0x76, 0xa9, 0x79, 0x7d, 0x0b, 0x4e, 0xa2, 0x6c, 0xaa, 0xe0, 0x1a, 0x1e, 0x59, 0x9d, 0x85, - 0x81, 0x60, 0xb2, 0x6c, 0x44, 0xce, 0x24, 0xa9, 0x44, 0x59, 0x97, 0xd8, 0xcd, 0x65, 0x44, 0x3a, - 0x2d, 0x01, 0x2d, 0xd1, 0x5a, 0xf7, 0xd3, 0x43, 0x4e, 0x23, 0x99, 0x78, 0x16, 0xe3, 0x4e, 0x95, - 0xb4, 0xbe, 0x55, 0x4c, 0xde, 0x25, 0xf0, 0xd6, 0xd2, 0xf3, 0x2f, 0x68, 0xb8, 0x51, 0xd1, 0x31, - 0xc5, 0xef, 0x90, 0xc5, 0x69, 0xe5, 0x18, 0x9e, 0xe1, 0xdb, 0x89, 0x3a, 0xe2, 0x0f, 0xc8, 0x2e, - 0xab, 0xec, 0x57, 0xc3, 0x52, 0x4e, 0x1d, 0x13, 0xf0, 0x51, 0x0b, 0xc4, 0x74, 0xfe, 0xcf, 0x44, - 0x7d, 0xb0, 0xe2, 0x08, 0x99, 0x9c, 0x82, 0x6f, 0xbc, 0x5c, 0x90, 0xe7, 0x9f, 0x4d, 0xf4, 0xa4, - 0xc4, 0xe4, 0x14, 0x4f, 0x11, 0x02, 0x32, 0xbd, 0x64, 0x05, 0xd3, 0xe1, 0x36, 0x20, 0xdb, 0xac, - 0x60, 0x40, 0x73, 0x9a, 0x5e, 0x9a, 0xe2, 0xc8, 0x84, 0x63, 0x79, 0x86, 0x6f, 0x25, 0xf6, 0x89, - 0xd3, 0x2d, 0x00, 0x18, 0xa3, 0x5e, 0x91, 0xf1, 0xb3, 0xd3, 0x03, 0x1f, 0x9c, 0xf1, 0x02, 0xbd, - 0x51, 0xcf, 0xf4, 0xca, 0x04, 0xff, 0xc9, 0x19, 0x75, 0xfa, 0x9e, 0xe1, 0x8f, 0x92, 0x89, 0x02, - 0xf7, 0x1a, 0xc3, 0x33, 0x34, 0xa1, 0x5c, 0x56, 0xe7, 0xec, 0xd6, 0x0e, 0x1e, 0x40, 0xc0, 0x58, - 0x63, 0x30, 0xfa, 0x2b, 0x1a, 0x16, 0x4c, 0x4d, 0x91, 0xce, 0xd0, 0xb3, 0xfc, 0xf1, 0x72, 0xf6, - 0x78, 0x27, 0x55, 0xf7, 0xfd, 0x4a, 0xdf, 0x25, 0x13, 0x31, 0x4d, 0x3a, 0x07, 0x0e, 0xd1, 0xa0, - 0x6d, 0xc8, 0x19, 0x41, 0x1f, 0xef, 0xc1, 0xdb, 0x36, 0xde, 0x79, 0xbe, 0x81, 0x20, 0xd1, 0xc2, - 0xd5, 0x6f, 0x03, 0x7d, 0xcc, 0xcb, 0xe2, 0x95, 0xe2, 0x56, 0x6f, 0x93, 0x6e, 0xab, 0x3b, 0xb5, - 0xb5, 0x9d, 0xf1, 0x63, 0x02, 0x02, 0xcd, 0xff, 0x31, 0xad, 0x75, 0xbc, 0xf9, 0x6b, 0xba, 0x6b, - 0x19, 0x91, 0xb8, 0x8b, 0x80, 0xb6, 0xc9, 0x3e, 0x5c, 0x29, 0xc9, 0x7f, 0x20, 0x0f, 0x1d, 0x79, - 0x00, 0xf2, 0xa0, 0xc9, 0xe3, 0x00, 0x7e, 0x86, 0xe8, 0x25, 0x00, 0x00, 0xff, 0xff, 0x32, 0x7a, - 0x0d, 0x5a, 0xa0, 0x02, 0x00, 0x00, +var File_cs3_identity_group_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_identity_group_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x63, 0x73, + 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x10, 0x0a, + 0x03, 0x69, 0x64, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x70, 0x12, + 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x49, 0x64, 0x22, 0xc6, 0x02, 0x0a, + 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x69, + 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x67, 0x69, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x69, + 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x23, 0x0a, + 0x0d, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, + 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x42, 0x81, 0x02, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, + 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x3b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0xa2, 0x02, 0x03, 0x43, 0x49, 0x47, 0xaa, 0x02, 0x1a, 0x43, 0x73, 0x33, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0xca, 0x02, 0x1a, 0x43, 0x73, 0x33, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0xe2, 0x02, 0x26, 0x43, 0x73, 0x33, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5c, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x43, 0x73, 0x33, 0x3a, + 0x3a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x3a, 0x3a, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_cs3_identity_group_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_identity_group_v1beta1_resources_proto_rawDescData = file_cs3_identity_group_v1beta1_resources_proto_rawDesc +) + +func file_cs3_identity_group_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_identity_group_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_identity_group_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_identity_group_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_identity_group_v1beta1_resources_proto_rawDescData +} + +var file_cs3_identity_group_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_cs3_identity_group_v1beta1_resources_proto_goTypes = []interface{}{ + (*GroupId)(nil), // 0: cs3.identity.group.v1beta1.GroupId + (*Group)(nil), // 1: cs3.identity.group.v1beta1.Group + (*v1beta1.UserId)(nil), // 2: cs3.identity.user.v1beta1.UserId + (*v1beta11.Opaque)(nil), // 3: cs3.types.v1beta1.Opaque +} +var file_cs3_identity_group_v1beta1_resources_proto_depIdxs = []int32{ + 0, // 0: cs3.identity.group.v1beta1.Group.id:type_name -> cs3.identity.group.v1beta1.GroupId + 2, // 1: cs3.identity.group.v1beta1.Group.members:type_name -> cs3.identity.user.v1beta1.UserId + 3, // 2: cs3.identity.group.v1beta1.Group.opaque:type_name -> cs3.types.v1beta1.Opaque + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_cs3_identity_group_v1beta1_resources_proto_init() } +func file_cs3_identity_group_v1beta1_resources_proto_init() { + if File_cs3_identity_group_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_identity_group_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_group_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Group); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_identity_group_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_identity_group_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_identity_group_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_identity_group_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_identity_group_v1beta1_resources_proto = out.File + file_cs3_identity_group_v1beta1_resources_proto_rawDesc = nil + file_cs3_identity_group_v1beta1_resources_proto_goTypes = nil + file_cs3_identity_group_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/resources.pb.go index 074cbfcd1c4..4857def269b 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/resources.pb.go @@ -1,25 +1,43 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/identity/user/v1beta1/resources.proto package userv1beta1 import ( - fmt "fmt" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // The type of user. type UserType int32 @@ -45,40 +63,65 @@ const ( UserType_USER_TYPE_SPACE_OWNER UserType = 8 ) -var UserType_name = map[int32]string{ - 0: "USER_TYPE_INVALID", - 1: "USER_TYPE_PRIMARY", - 2: "USER_TYPE_SECONDARY", - 3: "USER_TYPE_SERVICE", - 4: "USER_TYPE_APPLICATION", - 5: "USER_TYPE_GUEST", - 6: "USER_TYPE_FEDERATED", - 7: "USER_TYPE_LIGHTWEIGHT", - 8: "USER_TYPE_SPACE_OWNER", -} - -var UserType_value = map[string]int32{ - "USER_TYPE_INVALID": 0, - "USER_TYPE_PRIMARY": 1, - "USER_TYPE_SECONDARY": 2, - "USER_TYPE_SERVICE": 3, - "USER_TYPE_APPLICATION": 4, - "USER_TYPE_GUEST": 5, - "USER_TYPE_FEDERATED": 6, - "USER_TYPE_LIGHTWEIGHT": 7, - "USER_TYPE_SPACE_OWNER": 8, +// Enum value maps for UserType. +var ( + UserType_name = map[int32]string{ + 0: "USER_TYPE_INVALID", + 1: "USER_TYPE_PRIMARY", + 2: "USER_TYPE_SECONDARY", + 3: "USER_TYPE_SERVICE", + 4: "USER_TYPE_APPLICATION", + 5: "USER_TYPE_GUEST", + 6: "USER_TYPE_FEDERATED", + 7: "USER_TYPE_LIGHTWEIGHT", + 8: "USER_TYPE_SPACE_OWNER", + } + UserType_value = map[string]int32{ + "USER_TYPE_INVALID": 0, + "USER_TYPE_PRIMARY": 1, + "USER_TYPE_SECONDARY": 2, + "USER_TYPE_SERVICE": 3, + "USER_TYPE_APPLICATION": 4, + "USER_TYPE_GUEST": 5, + "USER_TYPE_FEDERATED": 6, + "USER_TYPE_LIGHTWEIGHT": 7, + "USER_TYPE_SPACE_OWNER": 8, + } +) + +func (x UserType) Enum() *UserType { + p := new(UserType) + *p = x + return p } func (x UserType) String() string { - return proto.EnumName(UserType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UserType) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_identity_user_v1beta1_resources_proto_enumTypes[0].Descriptor() } +func (UserType) Type() protoreflect.EnumType { + return &file_cs3_identity_user_v1beta1_resources_proto_enumTypes[0] +} + +func (x UserType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use UserType.Descriptor instead. func (UserType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f6f8fec048fe85c8, []int{0} + return file_cs3_identity_user_v1beta1_resources_proto_rawDescGZIP(), []int{0} } // A UserId represents a user. type UserId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The identity provider for the user. Idp string `protobuf:"bytes,1,opt,name=idp,proto3" json:"idp,omitempty"` @@ -88,206 +131,323 @@ type UserId struct { OpaqueId string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` // REQUIRED. // The type of user. - Type UserType `protobuf:"varint,3,opt,name=type,proto3,enum=cs3.identity.user.v1beta1.UserType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Type UserType `protobuf:"varint,3,opt,name=type,proto3,enum=cs3.identity.user.v1beta1.UserType" json:"type,omitempty"` } -func (m *UserId) Reset() { *m = UserId{} } -func (m *UserId) String() string { return proto.CompactTextString(m) } -func (*UserId) ProtoMessage() {} -func (*UserId) Descriptor() ([]byte, []int) { - return fileDescriptor_f6f8fec048fe85c8, []int{0} +func (x *UserId) Reset() { + *x = UserId{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserId.Unmarshal(m, b) -} -func (m *UserId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserId.Marshal(b, m, deterministic) -} -func (m *UserId) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserId.Merge(m, src) -} -func (m *UserId) XXX_Size() int { - return xxx_messageInfo_UserId.Size(m) +func (x *UserId) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserId) XXX_DiscardUnknown() { - xxx_messageInfo_UserId.DiscardUnknown(m) + +func (*UserId) ProtoMessage() {} + +func (x *UserId) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_resources_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) } -var xxx_messageInfo_UserId proto.InternalMessageInfo +// Deprecated: Use UserId.ProtoReflect.Descriptor instead. +func (*UserId) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *UserId) GetIdp() string { - if m != nil { - return m.Idp +func (x *UserId) GetIdp() string { + if x != nil { + return x.Idp } return "" } -func (m *UserId) GetOpaqueId() string { - if m != nil { - return m.OpaqueId +func (x *UserId) GetOpaqueId() string { + if x != nil { + return x.OpaqueId } return "" } -func (m *UserId) GetType() UserType { - if m != nil { - return m.Type +func (x *UserId) GetType() UserType { + if x != nil { + return x.Type } return UserType_USER_TYPE_INVALID } // Represents a user of the system. type User struct { - Id *UserId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Mail string `protobuf:"bytes,3,opt,name=mail,proto3" json:"mail,omitempty"` - MailVerified bool `protobuf:"varint,4,opt,name=mail_verified,json=mailVerified,proto3" json:"mail_verified,omitempty"` - DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Groups []string `protobuf:"bytes,6,rep,name=groups,proto3" json:"groups,omitempty"` - Opaque *v1beta1.Opaque `protobuf:"bytes,7,opt,name=opaque,proto3" json:"opaque,omitempty"` - UidNumber int64 `protobuf:"varint,8,opt,name=uid_number,json=uidNumber,proto3" json:"uid_number,omitempty"` - GidNumber int64 `protobuf:"varint,9,opt,name=gid_number,json=gidNumber,proto3" json:"gid_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *User) Reset() { *m = User{} } -func (m *User) String() string { return proto.CompactTextString(m) } -func (*User) ProtoMessage() {} -func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_f6f8fec048fe85c8, []int{1} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id *UserId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Mail string `protobuf:"bytes,3,opt,name=mail,proto3" json:"mail,omitempty"` + MailVerified bool `protobuf:"varint,4,opt,name=mail_verified,json=mailVerified,proto3" json:"mail_verified,omitempty"` + DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Groups []string `protobuf:"bytes,6,rep,name=groups,proto3" json:"groups,omitempty"` + Opaque *v1beta1.Opaque `protobuf:"bytes,7,opt,name=opaque,proto3" json:"opaque,omitempty"` + UidNumber int64 `protobuf:"varint,8,opt,name=uid_number,json=uidNumber,proto3" json:"uid_number,omitempty"` + GidNumber int64 `protobuf:"varint,9,opt,name=gid_number,json=gidNumber,proto3" json:"gid_number,omitempty"` +} + +func (x *User) Reset() { + *x = User{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *User) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_User.Unmarshal(m, b) -} -func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_User.Marshal(b, m, deterministic) -} -func (m *User) XXX_Merge(src proto.Message) { - xxx_messageInfo_User.Merge(m, src) -} -func (m *User) XXX_Size() int { - return xxx_messageInfo_User.Size(m) +func (x *User) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *User) XXX_DiscardUnknown() { - xxx_messageInfo_User.DiscardUnknown(m) + +func (*User) ProtoMessage() {} + +func (x *User) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_resources_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) } -var xxx_messageInfo_User proto.InternalMessageInfo +// Deprecated: Use User.ProtoReflect.Descriptor instead. +func (*User) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *User) GetId() *UserId { - if m != nil { - return m.Id +func (x *User) GetId() *UserId { + if x != nil { + return x.Id } return nil } -func (m *User) GetUsername() string { - if m != nil { - return m.Username +func (x *User) GetUsername() string { + if x != nil { + return x.Username } return "" } -func (m *User) GetMail() string { - if m != nil { - return m.Mail +func (x *User) GetMail() string { + if x != nil { + return x.Mail } return "" } -func (m *User) GetMailVerified() bool { - if m != nil { - return m.MailVerified +func (x *User) GetMailVerified() bool { + if x != nil { + return x.MailVerified } return false } -func (m *User) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *User) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *User) GetGroups() []string { - if m != nil { - return m.Groups +func (x *User) GetGroups() []string { + if x != nil { + return x.Groups } return nil } -func (m *User) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *User) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *User) GetUidNumber() int64 { - if m != nil { - return m.UidNumber +func (x *User) GetUidNumber() int64 { + if x != nil { + return x.UidNumber } return 0 } -func (m *User) GetGidNumber() int64 { - if m != nil { - return m.GidNumber +func (x *User) GetGidNumber() int64 { + if x != nil { + return x.GidNumber } return 0 } -func init() { - proto.RegisterEnum("cs3.identity.user.v1beta1.UserType", UserType_name, UserType_value) - proto.RegisterType((*UserId)(nil), "cs3.identity.user.v1beta1.UserId") - proto.RegisterType((*User)(nil), "cs3.identity.user.v1beta1.User") -} - -func init() { - proto.RegisterFile("cs3/identity/user/v1beta1/resources.proto", fileDescriptor_f6f8fec048fe85c8) -} - -var fileDescriptor_f6f8fec048fe85c8 = []byte{ - // 529 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xc1, 0x6e, 0xda, 0x30, - 0x18, 0xc7, 0x97, 0x84, 0xa6, 0x89, 0xe9, 0xba, 0xcc, 0x55, 0xb7, 0xd0, 0x09, 0x89, 0xb6, 0x17, - 0xb6, 0x43, 0x10, 0xe5, 0xb0, 0x73, 0x08, 0x5e, 0x67, 0x89, 0x85, 0xc8, 0x04, 0xaa, 0x4e, 0x48, - 0x11, 0x60, 0x0f, 0x59, 0x2a, 0x24, 0x4b, 0x48, 0x25, 0xa4, 0x3d, 0xcd, 0x8e, 0x7b, 0x84, 0x3d, - 0xc2, 0x5e, 0x64, 0xaf, 0x31, 0xd9, 0x24, 0x43, 0x39, 0x54, 0xbd, 0x80, 0xfd, 0xff, 0xfd, 0xbf, - 0x7f, 0x3e, 0x7f, 0xb2, 0xc1, 0xfb, 0x65, 0xd6, 0xeb, 0x70, 0xca, 0x36, 0x5b, 0xbe, 0xdd, 0x75, - 0xf2, 0x8c, 0xa5, 0x9d, 0xc7, 0xee, 0x82, 0x6d, 0xe7, 0xdd, 0x4e, 0xca, 0xb2, 0x38, 0x4f, 0x97, - 0x2c, 0x73, 0x92, 0x34, 0xde, 0xc6, 0xb0, 0xb1, 0xcc, 0x7a, 0x4e, 0x69, 0x75, 0x84, 0xd5, 0x29, - 0xac, 0x17, 0x4d, 0x91, 0xb2, 0xdd, 0x25, 0x2c, 0xfb, 0x5f, 0x2d, 0x77, 0xfb, 0xca, 0xab, 0x04, - 0xe8, 0x93, 0x8c, 0xa5, 0x98, 0x42, 0x0b, 0x68, 0x9c, 0x26, 0xb6, 0xd2, 0x52, 0xda, 0x26, 0x11, - 0x4b, 0xf8, 0x0e, 0x98, 0x71, 0x32, 0xff, 0x9e, 0xb3, 0x88, 0x53, 0x5b, 0x95, 0xba, 0xb1, 0x17, - 0x30, 0x85, 0x1f, 0x41, 0x4d, 0xe4, 0xd8, 0x5a, 0x4b, 0x69, 0x9f, 0xde, 0x5c, 0x3b, 0x4f, 0x76, - 0xe0, 0x88, 0xfc, 0x70, 0x97, 0x30, 0x22, 0x0b, 0xae, 0x7e, 0xab, 0xa0, 0x26, 0x24, 0xd8, 0x05, - 0x2a, 0xa7, 0xf2, 0x7b, 0xf5, 0x9b, 0xcb, 0x67, 0xea, 0x31, 0x25, 0x2a, 0xa7, 0xf0, 0x02, 0x18, - 0x02, 0x6d, 0xe6, 0x6b, 0x56, 0x36, 0x54, 0xee, 0x21, 0x04, 0xb5, 0xf5, 0x9c, 0x3f, 0xc8, 0x86, - 0x4c, 0x22, 0xd7, 0xf0, 0x1a, 0xbc, 0x14, 0xff, 0xd1, 0x23, 0x4b, 0xf9, 0x37, 0xce, 0xa8, 0x5d, - 0x6b, 0x29, 0x6d, 0x83, 0x9c, 0x08, 0x71, 0x5a, 0x68, 0xf0, 0x12, 0x9c, 0x50, 0x9e, 0x25, 0x0f, - 0xf3, 0x5d, 0x24, 0x83, 0x8f, 0x64, 0x40, 0xbd, 0xd0, 0x7c, 0x91, 0xfd, 0x06, 0xe8, 0xab, 0x34, - 0xce, 0x93, 0xcc, 0xd6, 0x5b, 0x5a, 0xdb, 0x24, 0xc5, 0x0e, 0x76, 0x81, 0xbe, 0x1f, 0x88, 0x7d, - 0x2c, 0x8f, 0xd1, 0x90, 0xc7, 0xd8, 0xcf, 0xb7, 0x6c, 0x7f, 0x24, 0x0d, 0xa4, 0x30, 0xc2, 0x26, - 0x00, 0x39, 0xa7, 0xd1, 0x26, 0x5f, 0x2f, 0x58, 0x6a, 0x1b, 0x2d, 0xa5, 0xad, 0x11, 0x33, 0xe7, - 0xd4, 0x97, 0x82, 0xc0, 0xab, 0x03, 0x36, 0xf7, 0x78, 0x55, 0xe2, 0x0f, 0x7f, 0x15, 0x60, 0x94, - 0xf3, 0x84, 0xe7, 0xe0, 0xf5, 0x64, 0x8c, 0x48, 0x14, 0xde, 0x07, 0x28, 0xc2, 0xfe, 0xd4, 0x1d, - 0xe2, 0x81, 0xf5, 0xa2, 0x2a, 0x07, 0x04, 0x7f, 0x71, 0xc9, 0xbd, 0xa5, 0xc0, 0xb7, 0xe0, 0xec, - 0x20, 0x8f, 0x91, 0x37, 0xf2, 0x07, 0x02, 0xa8, 0x55, 0xff, 0x18, 0x91, 0x29, 0xf6, 0x90, 0xa5, - 0xc1, 0x06, 0x38, 0x3f, 0xc8, 0x6e, 0x10, 0x0c, 0xb1, 0xe7, 0x86, 0x78, 0xe4, 0x5b, 0x35, 0x78, - 0x06, 0x5e, 0x1d, 0xd0, 0xed, 0x04, 0x8d, 0x43, 0xeb, 0xa8, 0x9a, 0xff, 0x09, 0x0d, 0x10, 0x71, - 0x43, 0x34, 0xb0, 0xf4, 0x6a, 0xd0, 0x10, 0xdf, 0x7e, 0x0e, 0xef, 0x90, 0xf8, 0xb5, 0x8e, 0xab, - 0x68, 0x1c, 0xb8, 0x1e, 0x8a, 0x46, 0x77, 0x3e, 0x22, 0x96, 0xd1, 0xff, 0x01, 0x9a, 0xcb, 0x78, - 0xfd, 0xf4, 0xb5, 0xe8, 0x9f, 0x92, 0xf2, 0x11, 0x04, 0xe2, 0x26, 0x07, 0xca, 0xd7, 0xba, 0xe0, - 0x05, 0xfe, 0xa9, 0x6a, 0x1e, 0x9e, 0xfc, 0x52, 0x1b, 0x5e, 0xd6, 0x73, 0x70, 0x19, 0x20, 0x46, - 0xe7, 0x4c, 0xbb, 0x7d, 0xe1, 0xf8, 0x23, 0xd9, 0xac, 0x64, 0x33, 0xc1, 0x66, 0x05, 0x5b, 0xe8, - 0xf2, 0x75, 0xf4, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0x0b, 0x1a, 0xe3, 0x57, 0x84, 0x03, 0x00, - 0x00, +var File_cs3_identity_user_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_identity_user_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, + 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x63, 0x73, 0x33, + 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x10, 0x0a, 0x03, 0x69, 0x64, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, + 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x37, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xba, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, + 0x12, 0x31, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, + 0x61, 0x69, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x61, 0x69, 0x6c, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x69, 0x64, 0x5f, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x69, 0x64, 0x4e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x69, 0x64, 0x5f, 0x6e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x69, 0x64, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x2a, 0xe7, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x53, 0x45, 0x52, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x49, 0x4d, 0x41, 0x52, 0x59, 0x10, 0x01, 0x12, + 0x17, 0x0a, 0x13, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x43, + 0x4f, 0x4e, 0x44, 0x41, 0x52, 0x59, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x53, 0x45, 0x52, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x03, 0x12, + 0x19, 0x0a, 0x15, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x50, + 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x53, + 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x55, 0x45, 0x53, 0x54, 0x10, 0x05, 0x12, + 0x17, 0x0a, 0x13, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x45, 0x44, + 0x45, 0x52, 0x41, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x53, 0x45, 0x52, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x49, 0x47, 0x48, 0x54, 0x57, 0x45, 0x49, 0x47, 0x48, + 0x54, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x08, 0x42, 0xfa, + 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, + 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, + 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x49, 0x55, 0xaa, 0x02, 0x19, 0x43, + 0x73, 0x33, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x19, 0x43, 0x73, 0x33, 0x5c, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x25, 0x43, 0x73, 0x33, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x43, + 0x73, 0x33, 0x3a, 0x3a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x3a, 0x3a, 0x55, 0x73, + 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_identity_user_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_identity_user_v1beta1_resources_proto_rawDescData = file_cs3_identity_user_v1beta1_resources_proto_rawDesc +) + +func file_cs3_identity_user_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_identity_user_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_identity_user_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_identity_user_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_identity_user_v1beta1_resources_proto_rawDescData +} + +var file_cs3_identity_user_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cs3_identity_user_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_cs3_identity_user_v1beta1_resources_proto_goTypes = []interface{}{ + (UserType)(0), // 0: cs3.identity.user.v1beta1.UserType + (*UserId)(nil), // 1: cs3.identity.user.v1beta1.UserId + (*User)(nil), // 2: cs3.identity.user.v1beta1.User + (*v1beta1.Opaque)(nil), // 3: cs3.types.v1beta1.Opaque +} +var file_cs3_identity_user_v1beta1_resources_proto_depIdxs = []int32{ + 0, // 0: cs3.identity.user.v1beta1.UserId.type:type_name -> cs3.identity.user.v1beta1.UserType + 1, // 1: cs3.identity.user.v1beta1.User.id:type_name -> cs3.identity.user.v1beta1.UserId + 3, // 2: cs3.identity.user.v1beta1.User.opaque:type_name -> cs3.types.v1beta1.Opaque + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_cs3_identity_user_v1beta1_resources_proto_init() } +func file_cs3_identity_user_v1beta1_resources_proto_init() { + if File_cs3_identity_user_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_identity_user_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_user_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*User); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_identity_user_v1beta1_resources_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_identity_user_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_identity_user_v1beta1_resources_proto_depIdxs, + EnumInfos: file_cs3_identity_user_v1beta1_resources_proto_enumTypes, + MessageInfos: file_cs3_identity_user_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_identity_user_v1beta1_resources_proto = out.File + file_cs3_identity_user_v1beta1_resources_proto_rawDesc = nil + file_cs3_identity_user_v1beta1_resources_proto_goTypes = nil + file_cs3_identity_user_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/user_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/user_api.pb.go index 04383436730..e6ff67f929b 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/user_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/user_api.pb.go @@ -1,32 +1,50 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/identity/user/v1beta1/user_api.proto package userv1beta1 import ( - context "context" - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 GetUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -35,59 +53,67 @@ type GetUserRequest struct { UserId *UserId `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // OPTIONAL. // Whether to skip fetching user groups along with the user object. - SkipFetchingUserGroups bool `protobuf:"varint,3,opt,name=skip_fetching_user_groups,json=skipFetchingUserGroups,proto3" json:"skip_fetching_user_groups,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SkipFetchingUserGroups bool `protobuf:"varint,3,opt,name=skip_fetching_user_groups,json=skipFetchingUserGroups,proto3" json:"skip_fetching_user_groups,omitempty"` } -func (m *GetUserRequest) Reset() { *m = GetUserRequest{} } -func (m *GetUserRequest) String() string { return proto.CompactTextString(m) } -func (*GetUserRequest) ProtoMessage() {} -func (*GetUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fb4e4164505d2418, []int{0} +func (x *GetUserRequest) Reset() { + *x = GetUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserRequest.Unmarshal(m, b) +func (x *GetUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserRequest.Marshal(b, m, deterministic) -} -func (m *GetUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRequest.Merge(m, src) -} -func (m *GetUserRequest) XXX_Size() int { - return xxx_messageInfo_GetUserRequest.Size(m) -} -func (m *GetUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserRequest.DiscardUnknown(m) + +func (*GetUserRequest) ProtoMessage() {} + +func (x *GetUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_user_api_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) } -var xxx_messageInfo_GetUserRequest proto.InternalMessageInfo +// Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead. +func (*GetUserRequest) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_user_api_proto_rawDescGZIP(), []int{0} +} -func (m *GetUserRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetUserRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetUserRequest) GetUserId() *UserId { - if m != nil { - return m.UserId +func (x *GetUserRequest) GetUserId() *UserId { + if x != nil { + return x.UserId } return nil } -func (m *GetUserRequest) GetSkipFetchingUserGroups() bool { - if m != nil { - return m.SkipFetchingUserGroups +func (x *GetUserRequest) GetSkipFetchingUserGroups() bool { + if x != nil { + return x.SkipFetchingUserGroups } return false } type GetUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -96,59 +122,67 @@ type GetUserResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The user information. - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` } -func (m *GetUserResponse) Reset() { *m = GetUserResponse{} } -func (m *GetUserResponse) String() string { return proto.CompactTextString(m) } -func (*GetUserResponse) ProtoMessage() {} -func (*GetUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fb4e4164505d2418, []int{1} +func (x *GetUserResponse) Reset() { + *x = GetUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserResponse.Unmarshal(m, b) -} -func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserResponse.Marshal(b, m, deterministic) -} -func (m *GetUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserResponse.Merge(m, src) -} -func (m *GetUserResponse) XXX_Size() int { - return xxx_messageInfo_GetUserResponse.Size(m) +func (x *GetUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserResponse.DiscardUnknown(m) + +func (*GetUserResponse) ProtoMessage() {} + +func (x *GetUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_user_api_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) } -var xxx_messageInfo_GetUserResponse proto.InternalMessageInfo +// Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead. +func (*GetUserResponse) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_user_api_proto_rawDescGZIP(), []int{1} +} -func (m *GetUserResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetUserResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetUserResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetUserResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetUserResponse) GetUser() *User { - if m != nil { - return m.User +func (x *GetUserResponse) GetUser() *User { + if x != nil { + return x.User } return nil } type GetUserByClaimRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -160,66 +194,74 @@ type GetUserByClaimRequest struct { Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // OPTIONAL. // Whether to skip fetching user groups along with the user object. - SkipFetchingUserGroups bool `protobuf:"varint,4,opt,name=skip_fetching_user_groups,json=skipFetchingUserGroups,proto3" json:"skip_fetching_user_groups,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SkipFetchingUserGroups bool `protobuf:"varint,4,opt,name=skip_fetching_user_groups,json=skipFetchingUserGroups,proto3" json:"skip_fetching_user_groups,omitempty"` } -func (m *GetUserByClaimRequest) Reset() { *m = GetUserByClaimRequest{} } -func (m *GetUserByClaimRequest) String() string { return proto.CompactTextString(m) } -func (*GetUserByClaimRequest) ProtoMessage() {} -func (*GetUserByClaimRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fb4e4164505d2418, []int{2} +func (x *GetUserByClaimRequest) Reset() { + *x = GetUserByClaimRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserByClaimRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserByClaimRequest.Unmarshal(m, b) -} -func (m *GetUserByClaimRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserByClaimRequest.Marshal(b, m, deterministic) -} -func (m *GetUserByClaimRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserByClaimRequest.Merge(m, src) +func (x *GetUserByClaimRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserByClaimRequest) XXX_Size() int { - return xxx_messageInfo_GetUserByClaimRequest.Size(m) -} -func (m *GetUserByClaimRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserByClaimRequest.DiscardUnknown(m) + +func (*GetUserByClaimRequest) ProtoMessage() {} + +func (x *GetUserByClaimRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_user_api_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) } -var xxx_messageInfo_GetUserByClaimRequest proto.InternalMessageInfo +// Deprecated: Use GetUserByClaimRequest.ProtoReflect.Descriptor instead. +func (*GetUserByClaimRequest) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_user_api_proto_rawDescGZIP(), []int{2} +} -func (m *GetUserByClaimRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetUserByClaimRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetUserByClaimRequest) GetClaim() string { - if m != nil { - return m.Claim +func (x *GetUserByClaimRequest) GetClaim() string { + if x != nil { + return x.Claim } return "" } -func (m *GetUserByClaimRequest) GetValue() string { - if m != nil { - return m.Value +func (x *GetUserByClaimRequest) GetValue() string { + if x != nil { + return x.Value } return "" } -func (m *GetUserByClaimRequest) GetSkipFetchingUserGroups() bool { - if m != nil { - return m.SkipFetchingUserGroups +func (x *GetUserByClaimRequest) GetSkipFetchingUserGroups() bool { + if x != nil { + return x.SkipFetchingUserGroups } return false } type GetUserByClaimResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -228,110 +270,126 @@ type GetUserByClaimResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The user information. - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` } -func (m *GetUserByClaimResponse) Reset() { *m = GetUserByClaimResponse{} } -func (m *GetUserByClaimResponse) String() string { return proto.CompactTextString(m) } -func (*GetUserByClaimResponse) ProtoMessage() {} -func (*GetUserByClaimResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fb4e4164505d2418, []int{3} +func (x *GetUserByClaimResponse) Reset() { + *x = GetUserByClaimResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserByClaimResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserByClaimResponse.Unmarshal(m, b) +func (x *GetUserByClaimResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserByClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserByClaimResponse.Marshal(b, m, deterministic) -} -func (m *GetUserByClaimResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserByClaimResponse.Merge(m, src) -} -func (m *GetUserByClaimResponse) XXX_Size() int { - return xxx_messageInfo_GetUserByClaimResponse.Size(m) -} -func (m *GetUserByClaimResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserByClaimResponse.DiscardUnknown(m) + +func (*GetUserByClaimResponse) ProtoMessage() {} + +func (x *GetUserByClaimResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_user_api_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) } -var xxx_messageInfo_GetUserByClaimResponse proto.InternalMessageInfo +// Deprecated: Use GetUserByClaimResponse.ProtoReflect.Descriptor instead. +func (*GetUserByClaimResponse) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_user_api_proto_rawDescGZIP(), []int{3} +} -func (m *GetUserByClaimResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetUserByClaimResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetUserByClaimResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetUserByClaimResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetUserByClaimResponse) GetUser() *User { - if m != nil { - return m.User +func (x *GetUserByClaimResponse) GetUser() *User { + if x != nil { + return x.User } return nil } type GetUserGroupsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The id of the user. - UserId *UserId `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UserId *UserId `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` } -func (m *GetUserGroupsRequest) Reset() { *m = GetUserGroupsRequest{} } -func (m *GetUserGroupsRequest) String() string { return proto.CompactTextString(m) } -func (*GetUserGroupsRequest) ProtoMessage() {} -func (*GetUserGroupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fb4e4164505d2418, []int{4} +func (x *GetUserGroupsRequest) Reset() { + *x = GetUserGroupsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserGroupsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserGroupsRequest.Unmarshal(m, b) -} -func (m *GetUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserGroupsRequest.Marshal(b, m, deterministic) -} -func (m *GetUserGroupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupsRequest.Merge(m, src) +func (x *GetUserGroupsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserGroupsRequest) XXX_Size() int { - return xxx_messageInfo_GetUserGroupsRequest.Size(m) -} -func (m *GetUserGroupsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupsRequest.DiscardUnknown(m) + +func (*GetUserGroupsRequest) ProtoMessage() {} + +func (x *GetUserGroupsRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_user_api_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) } -var xxx_messageInfo_GetUserGroupsRequest proto.InternalMessageInfo +// Deprecated: Use GetUserGroupsRequest.ProtoReflect.Descriptor instead. +func (*GetUserGroupsRequest) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_user_api_proto_rawDescGZIP(), []int{4} +} -func (m *GetUserGroupsRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetUserGroupsRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetUserGroupsRequest) GetUserId() *UserId { - if m != nil { - return m.UserId +func (x *GetUserGroupsRequest) GetUserId() *UserId { + if x != nil { + return x.UserId } return nil } type GetUserGroupsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -340,59 +398,67 @@ type GetUserGroupsResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The groups for the user. - Groups []string `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Groups []string `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` } -func (m *GetUserGroupsResponse) Reset() { *m = GetUserGroupsResponse{} } -func (m *GetUserGroupsResponse) String() string { return proto.CompactTextString(m) } -func (*GetUserGroupsResponse) ProtoMessage() {} -func (*GetUserGroupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fb4e4164505d2418, []int{5} +func (x *GetUserGroupsResponse) Reset() { + *x = GetUserGroupsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserGroupsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserGroupsResponse.Unmarshal(m, b) +func (x *GetUserGroupsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserGroupsResponse.Marshal(b, m, deterministic) -} -func (m *GetUserGroupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupsResponse.Merge(m, src) -} -func (m *GetUserGroupsResponse) XXX_Size() int { - return xxx_messageInfo_GetUserGroupsResponse.Size(m) -} -func (m *GetUserGroupsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupsResponse.DiscardUnknown(m) + +func (*GetUserGroupsResponse) ProtoMessage() {} + +func (x *GetUserGroupsResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_user_api_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) } -var xxx_messageInfo_GetUserGroupsResponse proto.InternalMessageInfo +// Deprecated: Use GetUserGroupsResponse.ProtoReflect.Descriptor instead. +func (*GetUserGroupsResponse) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_user_api_proto_rawDescGZIP(), []int{5} +} -func (m *GetUserGroupsResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetUserGroupsResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetUserGroupsResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetUserGroupsResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetUserGroupsResponse) GetGroups() []string { - if m != nil { - return m.Groups +func (x *GetUserGroupsResponse) GetGroups() []string { + if x != nil { + return x.Groups } return nil } type FindUsersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -401,59 +467,67 @@ type FindUsersRequest struct { Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // OPTIONAL. // Whether to skip fetching user groups along with the user object. - SkipFetchingUserGroups bool `protobuf:"varint,3,opt,name=skip_fetching_user_groups,json=skipFetchingUserGroups,proto3" json:"skip_fetching_user_groups,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SkipFetchingUserGroups bool `protobuf:"varint,3,opt,name=skip_fetching_user_groups,json=skipFetchingUserGroups,proto3" json:"skip_fetching_user_groups,omitempty"` } -func (m *FindUsersRequest) Reset() { *m = FindUsersRequest{} } -func (m *FindUsersRequest) String() string { return proto.CompactTextString(m) } -func (*FindUsersRequest) ProtoMessage() {} -func (*FindUsersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fb4e4164505d2418, []int{6} +func (x *FindUsersRequest) Reset() { + *x = FindUsersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindUsersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindUsersRequest.Unmarshal(m, b) -} -func (m *FindUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindUsersRequest.Marshal(b, m, deterministic) -} -func (m *FindUsersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindUsersRequest.Merge(m, src) -} -func (m *FindUsersRequest) XXX_Size() int { - return xxx_messageInfo_FindUsersRequest.Size(m) +func (x *FindUsersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindUsersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindUsersRequest.DiscardUnknown(m) + +func (*FindUsersRequest) ProtoMessage() {} + +func (x *FindUsersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_user_api_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) } -var xxx_messageInfo_FindUsersRequest proto.InternalMessageInfo +// Deprecated: Use FindUsersRequest.ProtoReflect.Descriptor instead. +func (*FindUsersRequest) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_user_api_proto_rawDescGZIP(), []int{6} +} -func (m *FindUsersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *FindUsersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *FindUsersRequest) GetFilter() string { - if m != nil { - return m.Filter +func (x *FindUsersRequest) GetFilter() string { + if x != nil { + return x.Filter } return "" } -func (m *FindUsersRequest) GetSkipFetchingUserGroups() bool { - if m != nil { - return m.SkipFetchingUserGroups +func (x *FindUsersRequest) GetSkipFetchingUserGroups() bool { + if x != nil { + return x.SkipFetchingUserGroups } return false } type FindUsersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -462,308 +536,386 @@ type FindUsersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The users matching the specified filter. - Users []*User `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FindUsersResponse) Reset() { *m = FindUsersResponse{} } -func (m *FindUsersResponse) String() string { return proto.CompactTextString(m) } -func (*FindUsersResponse) ProtoMessage() {} -func (*FindUsersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fb4e4164505d2418, []int{7} -} - -func (m *FindUsersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindUsersResponse.Unmarshal(m, b) -} -func (m *FindUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindUsersResponse.Marshal(b, m, deterministic) -} -func (m *FindUsersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindUsersResponse.Merge(m, src) -} -func (m *FindUsersResponse) XXX_Size() int { - return xxx_messageInfo_FindUsersResponse.Size(m) -} -func (m *FindUsersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindUsersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FindUsersResponse proto.InternalMessageInfo - -func (m *FindUsersResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *FindUsersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *FindUsersResponse) GetUsers() []*User { - if m != nil { - return m.Users - } - return nil -} - -func init() { - proto.RegisterType((*GetUserRequest)(nil), "cs3.identity.user.v1beta1.GetUserRequest") - proto.RegisterType((*GetUserResponse)(nil), "cs3.identity.user.v1beta1.GetUserResponse") - proto.RegisterType((*GetUserByClaimRequest)(nil), "cs3.identity.user.v1beta1.GetUserByClaimRequest") - proto.RegisterType((*GetUserByClaimResponse)(nil), "cs3.identity.user.v1beta1.GetUserByClaimResponse") - proto.RegisterType((*GetUserGroupsRequest)(nil), "cs3.identity.user.v1beta1.GetUserGroupsRequest") - proto.RegisterType((*GetUserGroupsResponse)(nil), "cs3.identity.user.v1beta1.GetUserGroupsResponse") - proto.RegisterType((*FindUsersRequest)(nil), "cs3.identity.user.v1beta1.FindUsersRequest") - proto.RegisterType((*FindUsersResponse)(nil), "cs3.identity.user.v1beta1.FindUsersResponse") -} - -func init() { - proto.RegisterFile("cs3/identity/user/v1beta1/user_api.proto", fileDescriptor_fb4e4164505d2418) -} - -var fileDescriptor_fb4e4164505d2418 = []byte{ - // 577 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0x4d, 0x6f, 0x52, 0x41, - 0x14, 0xcd, 0x40, 0xfb, 0x90, 0x8b, 0x9f, 0x93, 0x8a, 0xf0, 0x62, 0x63, 0x65, 0x45, 0xd5, 0x0c, - 0x05, 0xe2, 0x42, 0x77, 0x42, 0xd2, 0x86, 0x95, 0xe4, 0x99, 0xba, 0x30, 0x24, 0xf8, 0xfa, 0x18, - 0xea, 0x44, 0xca, 0x9b, 0xce, 0xcc, 0x6b, 0x82, 0x7b, 0x7f, 0x81, 0x1b, 0xd7, 0x2e, 0xbb, 0x30, - 0xe9, 0xd6, 0x85, 0x3f, 0xc0, 0x5f, 0x65, 0xe6, 0x83, 0x67, 0x69, 0xc2, 0x87, 0x21, 0xa9, 0xae, - 0xc8, 0xe5, 0x9c, 0x73, 0xef, 0xb9, 0x77, 0xee, 0xcc, 0x83, 0x6a, 0x24, 0x9b, 0x35, 0x36, 0xa0, - 0x63, 0xc5, 0xd4, 0xa4, 0x96, 0x48, 0x2a, 0x6a, 0x67, 0xf5, 0x23, 0xaa, 0xc2, 0xba, 0x09, 0xfa, - 0x21, 0x67, 0x84, 0x8b, 0x58, 0xc5, 0xb8, 0x1c, 0xc9, 0x26, 0x99, 0x32, 0x89, 0x06, 0x89, 0x63, - 0xfa, 0xbb, 0xf3, 0x93, 0x08, 0x2a, 0xe3, 0x44, 0x44, 0x54, 0xda, 0x2c, 0xfe, 0x43, 0x4d, 0x15, - 0x3c, 0x4a, 0x09, 0x52, 0x85, 0x2a, 0x99, 0xa2, 0xdb, 0x1a, 0x55, 0x13, 0x4e, 0x65, 0x8a, 0x9b, - 0xc8, 0xc2, 0x95, 0x1f, 0x08, 0x6e, 0x1f, 0x50, 0x75, 0x28, 0xa9, 0x08, 0xe8, 0x69, 0x42, 0xa5, - 0xc2, 0x75, 0xf0, 0x62, 0x1e, 0x9e, 0x26, 0xb4, 0x84, 0x76, 0x50, 0xb5, 0xd0, 0x28, 0x13, 0x6d, - 0xd3, 0x8a, 0x5c, 0x0a, 0xf2, 0xda, 0x10, 0x02, 0x47, 0xc4, 0x2f, 0x21, 0x67, 0x5a, 0x63, 0x83, - 0x52, 0xc6, 0x68, 0x1e, 0x93, 0xb9, 0xad, 0x11, 0x5d, 0xab, 0x33, 0x08, 0xbc, 0xc4, 0xfc, 0xe2, - 0x17, 0x50, 0x96, 0x1f, 0x19, 0xef, 0x0f, 0xa9, 0x8a, 0x3e, 0xb0, 0xf1, 0x71, 0xdf, 0x64, 0x3a, - 0x16, 0x71, 0xc2, 0x65, 0x29, 0xbb, 0x83, 0xaa, 0x37, 0x82, 0xa2, 0x26, 0xec, 0x3b, 0x5c, 0xcb, - 0x0f, 0x0c, 0x5a, 0x39, 0x47, 0x70, 0x27, 0x35, 0x2f, 0x79, 0x3c, 0x96, 0x14, 0xd7, 0xc0, 0xb3, - 0xfd, 0x3b, 0xf7, 0x0f, 0x8c, 0x13, 0xc1, 0xa3, 0xb4, 0xfe, 0x1b, 0x03, 0x07, 0x8e, 0x76, 0xa9, - 0xdd, 0xcc, 0xaa, 0xed, 0x36, 0x61, 0x43, 0x9b, 0x34, 0xee, 0x0a, 0x8d, 0x47, 0x4b, 0x7a, 0x0d, - 0x0c, 0xb9, 0x72, 0x81, 0xe0, 0xbe, 0x33, 0xdb, 0x9a, 0xb4, 0x47, 0x21, 0x3b, 0x59, 0x63, 0xe0, - 0x5b, 0xb0, 0x19, 0xe9, 0x14, 0xc6, 0x73, 0x3e, 0xb0, 0x81, 0xfe, 0xf7, 0x2c, 0x1c, 0x25, 0xd4, - 0x18, 0xcb, 0x07, 0x36, 0x58, 0x3c, 0xe0, 0x8d, 0x85, 0x03, 0xbe, 0x40, 0x50, 0xbc, 0xea, 0xf9, - 0x7f, 0x9f, 0xf3, 0x67, 0x04, 0x5b, 0xce, 0xb3, 0xed, 0xe2, 0xdf, 0xec, 0x75, 0xe5, 0xcb, 0x9f, - 0xf3, 0x9e, 0xfa, 0xb8, 0xc6, 0xd1, 0x15, 0xc1, 0x4b, 0xaf, 0x50, 0xb6, 0x9a, 0x0f, 0x5c, 0x54, - 0xf9, 0x8a, 0xe0, 0xee, 0x3e, 0x1b, 0x0f, 0xb4, 0xad, 0x75, 0x26, 0x53, 0x04, 0x6f, 0xc8, 0x46, - 0x8a, 0x0a, 0xb7, 0x81, 0x2e, 0x5a, 0xe7, 0x36, 0x7f, 0x47, 0x70, 0xef, 0x92, 0xb5, 0x6b, 0x1c, - 0xd6, 0x73, 0xd8, 0xd4, 0x36, 0xed, 0xac, 0x56, 0x58, 0x34, 0xcb, 0x6e, 0xfc, 0xcc, 0x42, 0x4e, - 0xc7, 0xaf, 0xba, 0x1d, 0xfc, 0x1e, 0x72, 0xee, 0xb0, 0xf1, 0xee, 0x02, 0xf9, 0xec, 0x53, 0xeb, - 0x3f, 0x59, 0x85, 0xea, 0x06, 0x91, 0xa4, 0x0f, 0xb5, 0xbb, 0x8a, 0x78, 0x6f, 0xb9, 0x7a, 0xf6, - 0xa5, 0xf1, 0xeb, 0x7f, 0xa1, 0x70, 0x65, 0x05, 0xdc, 0x9a, 0xd9, 0x62, 0x5c, 0x5b, 0x9e, 0x63, - 0xe6, 0xde, 0xf9, 0x7b, 0xab, 0x0b, 0x5c, 0xcd, 0x21, 0xe4, 0xd3, 0x45, 0xc0, 0x4f, 0x17, 0xc8, - 0xaf, 0x6e, 0xb2, 0xff, 0x6c, 0x35, 0xb2, 0xad, 0xd3, 0xfa, 0x04, 0xdb, 0x51, 0x7c, 0x32, 0x5f, - 0xd2, 0xba, 0x69, 0x8e, 0x97, 0xb3, 0xae, 0xfe, 0x56, 0x76, 0xd1, 0xbb, 0x82, 0x46, 0x1d, 0xf8, - 0x2d, 0x93, 0x6d, 0x77, 0x0e, 0xcf, 0x33, 0xe5, 0xb6, 0x6c, 0x92, 0xce, 0x54, 0xae, 0x05, 0xe4, - 0x6d, 0xbd, 0xa5, 0x19, 0xbf, 0x0c, 0xd6, 0x9b, 0x62, 0x3d, 0x8d, 0xf5, 0x1c, 0x76, 0xe4, 0x99, - 0xef, 0x6f, 0xf3, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x54, 0x66, 0x47, 0xc4, 0x2e, 0x08, 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 - -// UserAPIClient is the client API for UserAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type UserAPIClient interface { - // Gets the information about a user by the user id. - GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) - // Gets the information about a user based on a specified claim. - GetUserByClaim(ctx context.Context, in *GetUserByClaimRequest, opts ...grpc.CallOption) (*GetUserByClaimResponse, error) - // Gets the groups of a user. - GetUserGroups(ctx context.Context, in *GetUserGroupsRequest, opts ...grpc.CallOption) (*GetUserGroupsResponse, error) - // Finds users by any attribute of the user. - // TODO(labkode): to define the filters that make more sense. - FindUsers(ctx context.Context, in *FindUsersRequest, opts ...grpc.CallOption) (*FindUsersResponse, error) -} - -type userAPIClient struct { - cc *grpc.ClientConn -} - -func NewUserAPIClient(cc *grpc.ClientConn) UserAPIClient { - return &userAPIClient{cc} + Users []*User `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` } -func (c *userAPIClient) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) { - out := new(GetUserResponse) - err := c.cc.Invoke(ctx, "/cs3.identity.user.v1beta1.UserAPI/GetUser", in, out, opts...) - if err != nil { - return nil, err +func (x *FindUsersResponse) Reset() { + *x = FindUsersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -func (c *userAPIClient) GetUserByClaim(ctx context.Context, in *GetUserByClaimRequest, opts ...grpc.CallOption) (*GetUserByClaimResponse, error) { - out := new(GetUserByClaimResponse) - err := c.cc.Invoke(ctx, "/cs3.identity.user.v1beta1.UserAPI/GetUserByClaim", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (x *FindUsersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *userAPIClient) GetUserGroups(ctx context.Context, in *GetUserGroupsRequest, opts ...grpc.CallOption) (*GetUserGroupsResponse, error) { - out := new(GetUserGroupsResponse) - err := c.cc.Invoke(ctx, "/cs3.identity.user.v1beta1.UserAPI/GetUserGroups", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func (*FindUsersResponse) ProtoMessage() {} -func (c *userAPIClient) FindUsers(ctx context.Context, in *FindUsersRequest, opts ...grpc.CallOption) (*FindUsersResponse, error) { - out := new(FindUsersResponse) - err := c.cc.Invoke(ctx, "/cs3.identity.user.v1beta1.UserAPI/FindUsers", in, out, opts...) - if err != nil { - return nil, err +func (x *FindUsersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_identity_user_v1beta1_user_api_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 out, nil -} - -// UserAPIServer is the server API for UserAPI service. -type UserAPIServer interface { - // Gets the information about a user by the user id. - GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) - // Gets the information about a user based on a specified claim. - GetUserByClaim(context.Context, *GetUserByClaimRequest) (*GetUserByClaimResponse, error) - // Gets the groups of a user. - GetUserGroups(context.Context, *GetUserGroupsRequest) (*GetUserGroupsResponse, error) - // Finds users by any attribute of the user. - // TODO(labkode): to define the filters that make more sense. - FindUsers(context.Context, *FindUsersRequest) (*FindUsersResponse, error) -} - -// UnimplementedUserAPIServer can be embedded to have forward compatible implementations. -type UnimplementedUserAPIServer struct { + return mi.MessageOf(x) } -func (*UnimplementedUserAPIServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") -} -func (*UnimplementedUserAPIServer) GetUserByClaim(ctx context.Context, req *GetUserByClaimRequest) (*GetUserByClaimResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserByClaim not implemented") -} -func (*UnimplementedUserAPIServer) GetUserGroups(ctx context.Context, req *GetUserGroupsRequest) (*GetUserGroupsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserGroups not implemented") -} -func (*UnimplementedUserAPIServer) FindUsers(ctx context.Context, req *FindUsersRequest) (*FindUsersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindUsers not implemented") -} - -func RegisterUserAPIServer(s *grpc.Server, srv UserAPIServer) { - s.RegisterService(&_UserAPI_serviceDesc, srv) +// Deprecated: Use FindUsersResponse.ProtoReflect.Descriptor instead. +func (*FindUsersResponse) Descriptor() ([]byte, []int) { + return file_cs3_identity_user_v1beta1_user_api_proto_rawDescGZIP(), []int{7} } -func _UserAPI_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserAPIServer).GetUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.identity.user.v1beta1.UserAPI/GetUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserAPIServer).GetUser(ctx, req.(*GetUserRequest)) +func (x *FindUsersResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } - return interceptor(ctx, in, info, handler) + return nil } -func _UserAPI_GetUserByClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserByClaimRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserAPIServer).GetUserByClaim(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.identity.user.v1beta1.UserAPI/GetUserByClaim", +func (x *FindUsersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserAPIServer).GetUserByClaim(ctx, req.(*GetUserByClaimRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _UserAPI_GetUserGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserGroupsRequest) - if err := dec(in); err != nil { - return nil, err +func (x *FindUsersResponse) GetUsers() []*User { + if x != nil { + return x.Users } - if interceptor == nil { - return srv.(UserAPIServer).GetUserGroups(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.identity.user.v1beta1.UserAPI/GetUserGroups", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserAPIServer).GetUserGroups(ctx, req.(*GetUserGroupsRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _UserAPI_FindUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindUsersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserAPIServer).FindUsers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.identity.user.v1beta1.UserAPI/FindUsers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserAPIServer).FindUsers(ctx, req.(*FindUsersRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_identity_user_v1beta1_user_api_proto protoreflect.FileDescriptor + +var file_cs3_identity_user_v1beta1_user_api_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, + 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x63, 0x73, 0x33, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, + 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x39, 0x0a, 0x19, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, + 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x16, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, + 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0xb1, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x72, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x39, 0x0a, 0x19, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, + 0x67, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, + 0x67, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0xb1, 0x01, 0x0a, 0x16, + 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, + 0x85, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x93, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x98, 0x01, + 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x39, 0x0a, + 0x19, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x16, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x55, 0x73, + 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0xae, 0x01, 0x0a, 0x11, 0x46, 0x69, 0x6e, + 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x32, 0xbe, 0x03, 0x0a, 0x07, 0x55, 0x73, + 0x65, 0x72, 0x41, 0x50, 0x49, 0x12, 0x60, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x12, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, + 0x79, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, + 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, + 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x66, 0x0a, 0x09, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, + 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xf8, 0x01, 0x0a, 0x1d, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0c, 0x55, 0x73, + 0x65, 0x72, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, + 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0xa2, 0x02, 0x03, 0x43, 0x49, 0x55, 0xaa, 0x02, 0x19, 0x43, 0x73, 0x33, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0xca, 0x02, 0x19, 0x43, 0x73, 0x33, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, + 0x25, 0x43, 0x73, 0x33, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5c, 0x55, 0x73, + 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x3a, 0x3a, 0x55, 0x73, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_identity_user_v1beta1_user_api_proto_rawDescOnce sync.Once + file_cs3_identity_user_v1beta1_user_api_proto_rawDescData = file_cs3_identity_user_v1beta1_user_api_proto_rawDesc +) -var _UserAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.identity.user.v1beta1.UserAPI", - HandlerType: (*UserAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetUser", - Handler: _UserAPI_GetUser_Handler, - }, - { - MethodName: "GetUserByClaim", - Handler: _UserAPI_GetUserByClaim_Handler, - }, - { - MethodName: "GetUserGroups", - Handler: _UserAPI_GetUserGroups_Handler, - }, - { - MethodName: "FindUsers", - Handler: _UserAPI_FindUsers_Handler, +func file_cs3_identity_user_v1beta1_user_api_proto_rawDescGZIP() []byte { + file_cs3_identity_user_v1beta1_user_api_proto_rawDescOnce.Do(func() { + file_cs3_identity_user_v1beta1_user_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_identity_user_v1beta1_user_api_proto_rawDescData) + }) + return file_cs3_identity_user_v1beta1_user_api_proto_rawDescData +} + +var file_cs3_identity_user_v1beta1_user_api_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_cs3_identity_user_v1beta1_user_api_proto_goTypes = []interface{}{ + (*GetUserRequest)(nil), // 0: cs3.identity.user.v1beta1.GetUserRequest + (*GetUserResponse)(nil), // 1: cs3.identity.user.v1beta1.GetUserResponse + (*GetUserByClaimRequest)(nil), // 2: cs3.identity.user.v1beta1.GetUserByClaimRequest + (*GetUserByClaimResponse)(nil), // 3: cs3.identity.user.v1beta1.GetUserByClaimResponse + (*GetUserGroupsRequest)(nil), // 4: cs3.identity.user.v1beta1.GetUserGroupsRequest + (*GetUserGroupsResponse)(nil), // 5: cs3.identity.user.v1beta1.GetUserGroupsResponse + (*FindUsersRequest)(nil), // 6: cs3.identity.user.v1beta1.FindUsersRequest + (*FindUsersResponse)(nil), // 7: cs3.identity.user.v1beta1.FindUsersResponse + (*v1beta1.Opaque)(nil), // 8: cs3.types.v1beta1.Opaque + (*UserId)(nil), // 9: cs3.identity.user.v1beta1.UserId + (*v1beta11.Status)(nil), // 10: cs3.rpc.v1beta1.Status + (*User)(nil), // 11: cs3.identity.user.v1beta1.User +} +var file_cs3_identity_user_v1beta1_user_api_proto_depIdxs = []int32{ + 8, // 0: cs3.identity.user.v1beta1.GetUserRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 9, // 1: cs3.identity.user.v1beta1.GetUserRequest.user_id:type_name -> cs3.identity.user.v1beta1.UserId + 10, // 2: cs3.identity.user.v1beta1.GetUserResponse.status:type_name -> cs3.rpc.v1beta1.Status + 8, // 3: cs3.identity.user.v1beta1.GetUserResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 4: cs3.identity.user.v1beta1.GetUserResponse.user:type_name -> cs3.identity.user.v1beta1.User + 8, // 5: cs3.identity.user.v1beta1.GetUserByClaimRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 10, // 6: cs3.identity.user.v1beta1.GetUserByClaimResponse.status:type_name -> cs3.rpc.v1beta1.Status + 8, // 7: cs3.identity.user.v1beta1.GetUserByClaimResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 8: cs3.identity.user.v1beta1.GetUserByClaimResponse.user:type_name -> cs3.identity.user.v1beta1.User + 8, // 9: cs3.identity.user.v1beta1.GetUserGroupsRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 9, // 10: cs3.identity.user.v1beta1.GetUserGroupsRequest.user_id:type_name -> cs3.identity.user.v1beta1.UserId + 10, // 11: cs3.identity.user.v1beta1.GetUserGroupsResponse.status:type_name -> cs3.rpc.v1beta1.Status + 8, // 12: cs3.identity.user.v1beta1.GetUserGroupsResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 8, // 13: cs3.identity.user.v1beta1.FindUsersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 10, // 14: cs3.identity.user.v1beta1.FindUsersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 8, // 15: cs3.identity.user.v1beta1.FindUsersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 16: cs3.identity.user.v1beta1.FindUsersResponse.users:type_name -> cs3.identity.user.v1beta1.User + 0, // 17: cs3.identity.user.v1beta1.UserAPI.GetUser:input_type -> cs3.identity.user.v1beta1.GetUserRequest + 2, // 18: cs3.identity.user.v1beta1.UserAPI.GetUserByClaim:input_type -> cs3.identity.user.v1beta1.GetUserByClaimRequest + 4, // 19: cs3.identity.user.v1beta1.UserAPI.GetUserGroups:input_type -> cs3.identity.user.v1beta1.GetUserGroupsRequest + 6, // 20: cs3.identity.user.v1beta1.UserAPI.FindUsers:input_type -> cs3.identity.user.v1beta1.FindUsersRequest + 1, // 21: cs3.identity.user.v1beta1.UserAPI.GetUser:output_type -> cs3.identity.user.v1beta1.GetUserResponse + 3, // 22: cs3.identity.user.v1beta1.UserAPI.GetUserByClaim:output_type -> cs3.identity.user.v1beta1.GetUserByClaimResponse + 5, // 23: cs3.identity.user.v1beta1.UserAPI.GetUserGroups:output_type -> cs3.identity.user.v1beta1.GetUserGroupsResponse + 7, // 24: cs3.identity.user.v1beta1.UserAPI.FindUsers:output_type -> cs3.identity.user.v1beta1.FindUsersResponse + 21, // [21:25] is the sub-list for method output_type + 17, // [17:21] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name +} + +func init() { file_cs3_identity_user_v1beta1_user_api_proto_init() } +func file_cs3_identity_user_v1beta1_user_api_proto_init() { + if File_cs3_identity_user_v1beta1_user_api_proto != nil { + return + } + file_cs3_identity_user_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserByClaimRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserByClaimResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindUsersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_identity_user_v1beta1_user_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindUsersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_identity_user_v1beta1_user_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/identity/user/v1beta1/user_api.proto", + GoTypes: file_cs3_identity_user_v1beta1_user_api_proto_goTypes, + DependencyIndexes: file_cs3_identity_user_v1beta1_user_api_proto_depIdxs, + MessageInfos: file_cs3_identity_user_v1beta1_user_api_proto_msgTypes, + }.Build() + File_cs3_identity_user_v1beta1_user_api_proto = out.File + file_cs3_identity_user_v1beta1_user_api_proto_rawDesc = nil + file_cs3_identity_user_v1beta1_user_api_proto_goTypes = nil + file_cs3_identity_user_v1beta1_user_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/user_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/user_api_grpc.pb.go new file mode 100644 index 00000000000..7ecaee6d56f --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1/user_api_grpc.pb.go @@ -0,0 +1,246 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/identity/user/v1beta1/user_api.proto + +package userv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + UserAPI_GetUser_FullMethodName = "/cs3.identity.user.v1beta1.UserAPI/GetUser" + UserAPI_GetUserByClaim_FullMethodName = "/cs3.identity.user.v1beta1.UserAPI/GetUserByClaim" + UserAPI_GetUserGroups_FullMethodName = "/cs3.identity.user.v1beta1.UserAPI/GetUserGroups" + UserAPI_FindUsers_FullMethodName = "/cs3.identity.user.v1beta1.UserAPI/FindUsers" +) + +// UserAPIClient is the client API for UserAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type UserAPIClient interface { + // Gets the information about a user by the user id. + GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) + // Gets the information about a user based on a specified claim. + GetUserByClaim(ctx context.Context, in *GetUserByClaimRequest, opts ...grpc.CallOption) (*GetUserByClaimResponse, error) + // Gets the groups of a user. + GetUserGroups(ctx context.Context, in *GetUserGroupsRequest, opts ...grpc.CallOption) (*GetUserGroupsResponse, error) + // Finds users by any attribute of the user. + // TODO(labkode): to define the filters that make more sense. + FindUsers(ctx context.Context, in *FindUsersRequest, opts ...grpc.CallOption) (*FindUsersResponse, error) +} + +type userAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewUserAPIClient(cc grpc.ClientConnInterface) UserAPIClient { + return &userAPIClient{cc} +} + +func (c *userAPIClient) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) { + out := new(GetUserResponse) + err := c.cc.Invoke(ctx, UserAPI_GetUser_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userAPIClient) GetUserByClaim(ctx context.Context, in *GetUserByClaimRequest, opts ...grpc.CallOption) (*GetUserByClaimResponse, error) { + out := new(GetUserByClaimResponse) + err := c.cc.Invoke(ctx, UserAPI_GetUserByClaim_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userAPIClient) GetUserGroups(ctx context.Context, in *GetUserGroupsRequest, opts ...grpc.CallOption) (*GetUserGroupsResponse, error) { + out := new(GetUserGroupsResponse) + err := c.cc.Invoke(ctx, UserAPI_GetUserGroups_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userAPIClient) FindUsers(ctx context.Context, in *FindUsersRequest, opts ...grpc.CallOption) (*FindUsersResponse, error) { + out := new(FindUsersResponse) + err := c.cc.Invoke(ctx, UserAPI_FindUsers_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// UserAPIServer is the server API for UserAPI service. +// All implementations should embed UnimplementedUserAPIServer +// for forward compatibility +type UserAPIServer interface { + // Gets the information about a user by the user id. + GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) + // Gets the information about a user based on a specified claim. + GetUserByClaim(context.Context, *GetUserByClaimRequest) (*GetUserByClaimResponse, error) + // Gets the groups of a user. + GetUserGroups(context.Context, *GetUserGroupsRequest) (*GetUserGroupsResponse, error) + // Finds users by any attribute of the user. + // TODO(labkode): to define the filters that make more sense. + FindUsers(context.Context, *FindUsersRequest) (*FindUsersResponse, error) +} + +// UnimplementedUserAPIServer should be embedded to have forward compatible implementations. +type UnimplementedUserAPIServer struct { +} + +func (UnimplementedUserAPIServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") +} +func (UnimplementedUserAPIServer) GetUserByClaim(context.Context, *GetUserByClaimRequest) (*GetUserByClaimResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserByClaim not implemented") +} +func (UnimplementedUserAPIServer) GetUserGroups(context.Context, *GetUserGroupsRequest) (*GetUserGroupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserGroups not implemented") +} +func (UnimplementedUserAPIServer) FindUsers(context.Context, *FindUsersRequest) (*FindUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindUsers not implemented") +} + +// UnsafeUserAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to UserAPIServer will +// result in compilation errors. +type UnsafeUserAPIServer interface { + mustEmbedUnimplementedUserAPIServer() +} + +func RegisterUserAPIServer(s grpc.ServiceRegistrar, srv UserAPIServer) { + s.RegisterService(&UserAPI_ServiceDesc, srv) +} + +func _UserAPI_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserAPIServer).GetUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: UserAPI_GetUser_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserAPIServer).GetUser(ctx, req.(*GetUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserAPI_GetUserByClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserByClaimRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserAPIServer).GetUserByClaim(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: UserAPI_GetUserByClaim_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserAPIServer).GetUserByClaim(ctx, req.(*GetUserByClaimRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserAPI_GetUserGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserAPIServer).GetUserGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: UserAPI_GetUserGroups_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserAPIServer).GetUserGroups(ctx, req.(*GetUserGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserAPI_FindUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindUsersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserAPIServer).FindUsers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: UserAPI_FindUsers_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserAPIServer).FindUsers(ctx, req.(*FindUsersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// UserAPI_ServiceDesc is the grpc.ServiceDesc for UserAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var UserAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.identity.user.v1beta1.UserAPI", + HandlerType: (*UserAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetUser", + Handler: _UserAPI_GetUser_Handler, + }, + { + MethodName: "GetUserByClaim", + Handler: _UserAPI_GetUserByClaim_Handler, + }, + { + MethodName: "GetUserGroups", + Handler: _UserAPI_GetUserGroups_Handler, + }, + { + MethodName: "FindUsers", + Handler: _UserAPI_FindUsers_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/identity/user/v1beta1/user_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1/ocm_core_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1/ocm_core_api.pb.go index eb0c28eb328..13ab76ba2de 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1/ocm_core_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1/ocm_core_api.pb.go @@ -1,35 +1,53 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/ocm/core/v1beta1/ocm_core_api.proto package corev1beta1 import ( - context "context" - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta14 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta13 "github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 CreateOCMCoreShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -68,115 +86,123 @@ type CreateOCMCoreShareRequest struct { // with their access rights. // See also cs3/sharing/ocm/v1beta1/resources.proto for how to map // this to the OCM share payload. - Protocols []*v1beta13.Protocol `protobuf:"bytes,11,rep,name=protocols,proto3" json:"protocols,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Protocols []*v1beta13.Protocol `protobuf:"bytes,11,rep,name=protocols,proto3" json:"protocols,omitempty"` } -func (m *CreateOCMCoreShareRequest) Reset() { *m = CreateOCMCoreShareRequest{} } -func (m *CreateOCMCoreShareRequest) String() string { return proto.CompactTextString(m) } -func (*CreateOCMCoreShareRequest) ProtoMessage() {} -func (*CreateOCMCoreShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e8f411283db0fc7, []int{0} +func (x *CreateOCMCoreShareRequest) Reset() { + *x = CreateOCMCoreShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateOCMCoreShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateOCMCoreShareRequest.Unmarshal(m, b) -} -func (m *CreateOCMCoreShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateOCMCoreShareRequest.Marshal(b, m, deterministic) -} -func (m *CreateOCMCoreShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateOCMCoreShareRequest.Merge(m, src) +func (x *CreateOCMCoreShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateOCMCoreShareRequest) XXX_Size() int { - return xxx_messageInfo_CreateOCMCoreShareRequest.Size(m) -} -func (m *CreateOCMCoreShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateOCMCoreShareRequest.DiscardUnknown(m) + +func (*CreateOCMCoreShareRequest) ProtoMessage() {} + +func (x *CreateOCMCoreShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_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) } -var xxx_messageInfo_CreateOCMCoreShareRequest proto.InternalMessageInfo +// Deprecated: Use CreateOCMCoreShareRequest.ProtoReflect.Descriptor instead. +func (*CreateOCMCoreShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescGZIP(), []int{0} +} -func (m *CreateOCMCoreShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateOCMCoreShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateOCMCoreShareRequest) GetDescription() string { - if m != nil { - return m.Description +func (x *CreateOCMCoreShareRequest) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *CreateOCMCoreShareRequest) GetName() string { - if m != nil { - return m.Name +func (x *CreateOCMCoreShareRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *CreateOCMCoreShareRequest) GetResourceId() string { - if m != nil { - return m.ResourceId +func (x *CreateOCMCoreShareRequest) GetResourceId() string { + if x != nil { + return x.ResourceId } return "" } -func (m *CreateOCMCoreShareRequest) GetOwner() *v1beta11.UserId { - if m != nil { - return m.Owner +func (x *CreateOCMCoreShareRequest) GetOwner() *v1beta11.UserId { + if x != nil { + return x.Owner } return nil } -func (m *CreateOCMCoreShareRequest) GetSender() *v1beta11.UserId { - if m != nil { - return m.Sender +func (x *CreateOCMCoreShareRequest) GetSender() *v1beta11.UserId { + if x != nil { + return x.Sender } return nil } -func (m *CreateOCMCoreShareRequest) GetShareWith() *v1beta11.UserId { - if m != nil { - return m.ShareWith +func (x *CreateOCMCoreShareRequest) GetShareWith() *v1beta11.UserId { + if x != nil { + return x.ShareWith } return nil } -func (m *CreateOCMCoreShareRequest) GetResourceType() v1beta12.ResourceType { - if m != nil { - return m.ResourceType +func (x *CreateOCMCoreShareRequest) GetResourceType() v1beta12.ResourceType { + if x != nil { + return x.ResourceType } - return v1beta12.ResourceType_RESOURCE_TYPE_INVALID + return v1beta12.ResourceType(0) } -func (m *CreateOCMCoreShareRequest) GetShareType() v1beta13.ShareType { - if m != nil { - return m.ShareType +func (x *CreateOCMCoreShareRequest) GetShareType() v1beta13.ShareType { + if x != nil { + return x.ShareType } - return v1beta13.ShareType_SHARE_TYPE_INVALID + return v1beta13.ShareType(0) } -func (m *CreateOCMCoreShareRequest) GetExpiration() *v1beta1.Timestamp { - if m != nil { - return m.Expiration +func (x *CreateOCMCoreShareRequest) GetExpiration() *v1beta1.Timestamp { + if x != nil { + return x.Expiration } return nil } -func (m *CreateOCMCoreShareRequest) GetProtocols() []*v1beta13.Protocol { - if m != nil { - return m.Protocols +func (x *CreateOCMCoreShareRequest) GetProtocols() []*v1beta13.Protocol { + if x != nil { + return x.Protocols } return nil } type CreateOCMCoreShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta14.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -187,66 +213,74 @@ type CreateOCMCoreShareResponse struct { // Unique ID to identify the share at the consumer side. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // REQUIRED. - Created *v1beta1.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Created *v1beta1.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"` } -func (m *CreateOCMCoreShareResponse) Reset() { *m = CreateOCMCoreShareResponse{} } -func (m *CreateOCMCoreShareResponse) String() string { return proto.CompactTextString(m) } -func (*CreateOCMCoreShareResponse) ProtoMessage() {} -func (*CreateOCMCoreShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4e8f411283db0fc7, []int{1} +func (x *CreateOCMCoreShareResponse) Reset() { + *x = CreateOCMCoreShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateOCMCoreShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateOCMCoreShareResponse.Unmarshal(m, b) -} -func (m *CreateOCMCoreShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateOCMCoreShareResponse.Marshal(b, m, deterministic) +func (x *CreateOCMCoreShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateOCMCoreShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateOCMCoreShareResponse.Merge(m, src) -} -func (m *CreateOCMCoreShareResponse) XXX_Size() int { - return xxx_messageInfo_CreateOCMCoreShareResponse.Size(m) -} -func (m *CreateOCMCoreShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateOCMCoreShareResponse.DiscardUnknown(m) + +func (*CreateOCMCoreShareResponse) ProtoMessage() {} + +func (x *CreateOCMCoreShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_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) } -var xxx_messageInfo_CreateOCMCoreShareResponse proto.InternalMessageInfo +// Deprecated: Use CreateOCMCoreShareResponse.ProtoReflect.Descriptor instead. +func (*CreateOCMCoreShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescGZIP(), []int{1} +} -func (m *CreateOCMCoreShareResponse) GetStatus() *v1beta14.Status { - if m != nil { - return m.Status +func (x *CreateOCMCoreShareResponse) GetStatus() *v1beta14.Status { + if x != nil { + return x.Status } return nil } -func (m *CreateOCMCoreShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateOCMCoreShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateOCMCoreShareResponse) GetId() string { - if m != nil { - return m.Id +func (x *CreateOCMCoreShareResponse) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *CreateOCMCoreShareResponse) GetCreated() *v1beta1.Timestamp { - if m != nil { - return m.Created +func (x *CreateOCMCoreShareResponse) GetCreated() *v1beta1.Timestamp { + if x != nil { + return x.Created } return nil } type UpdateOCMCoreShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -265,454 +299,572 @@ type UpdateOCMCoreShareRequest struct { // OPTIONAL. // The protocols which are used to establish synchronisation, // with their access rights. - Protocols []*v1beta13.Protocol `protobuf:"bytes,7,rep,name=protocols,proto3" json:"protocols,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Protocols []*v1beta13.Protocol `protobuf:"bytes,7,rep,name=protocols,proto3" json:"protocols,omitempty"` } -func (m *UpdateOCMCoreShareRequest) Reset() { *m = UpdateOCMCoreShareRequest{} } -func (m *UpdateOCMCoreShareRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateOCMCoreShareRequest) ProtoMessage() {} -func (*UpdateOCMCoreShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e8f411283db0fc7, []int{2} +func (x *UpdateOCMCoreShareRequest) Reset() { + *x = UpdateOCMCoreShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateOCMCoreShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateOCMCoreShareRequest.Unmarshal(m, b) -} -func (m *UpdateOCMCoreShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateOCMCoreShareRequest.Marshal(b, m, deterministic) +func (x *UpdateOCMCoreShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateOCMCoreShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOCMCoreShareRequest.Merge(m, src) -} -func (m *UpdateOCMCoreShareRequest) XXX_Size() int { - return xxx_messageInfo_UpdateOCMCoreShareRequest.Size(m) -} -func (m *UpdateOCMCoreShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateOCMCoreShareRequest.DiscardUnknown(m) + +func (*UpdateOCMCoreShareRequest) ProtoMessage() {} + +func (x *UpdateOCMCoreShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_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) } -var xxx_messageInfo_UpdateOCMCoreShareRequest proto.InternalMessageInfo +// Deprecated: Use UpdateOCMCoreShareRequest.ProtoReflect.Descriptor instead. +func (*UpdateOCMCoreShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescGZIP(), []int{2} +} -func (m *UpdateOCMCoreShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateOCMCoreShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UpdateOCMCoreShareRequest) GetOcmShareId() string { - if m != nil { - return m.OcmShareId +func (x *UpdateOCMCoreShareRequest) GetOcmShareId() string { + if x != nil { + return x.OcmShareId } return "" } -func (m *UpdateOCMCoreShareRequest) GetDescription() string { - if m != nil { - return m.Description +func (x *UpdateOCMCoreShareRequest) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *UpdateOCMCoreShareRequest) GetShareType() v1beta13.ShareType { - if m != nil { - return m.ShareType +func (x *UpdateOCMCoreShareRequest) GetShareType() v1beta13.ShareType { + if x != nil { + return x.ShareType } - return v1beta13.ShareType_SHARE_TYPE_INVALID + return v1beta13.ShareType(0) } -func (m *UpdateOCMCoreShareRequest) GetExpiration() *v1beta1.Timestamp { - if m != nil { - return m.Expiration +func (x *UpdateOCMCoreShareRequest) GetExpiration() *v1beta1.Timestamp { + if x != nil { + return x.Expiration } return nil } -func (m *UpdateOCMCoreShareRequest) GetProtocols() []*v1beta13.Protocol { - if m != nil { - return m.Protocols +func (x *UpdateOCMCoreShareRequest) GetProtocols() []*v1beta13.Protocol { + if x != nil { + return x.Protocols } return nil } type UpdateOCMCoreShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta14.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *UpdateOCMCoreShareResponse) Reset() { *m = UpdateOCMCoreShareResponse{} } -func (m *UpdateOCMCoreShareResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateOCMCoreShareResponse) ProtoMessage() {} -func (*UpdateOCMCoreShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4e8f411283db0fc7, []int{3} +func (x *UpdateOCMCoreShareResponse) Reset() { + *x = UpdateOCMCoreShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateOCMCoreShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateOCMCoreShareResponse.Unmarshal(m, b) +func (x *UpdateOCMCoreShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateOCMCoreShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateOCMCoreShareResponse.Marshal(b, m, deterministic) -} -func (m *UpdateOCMCoreShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOCMCoreShareResponse.Merge(m, src) -} -func (m *UpdateOCMCoreShareResponse) XXX_Size() int { - return xxx_messageInfo_UpdateOCMCoreShareResponse.Size(m) -} -func (m *UpdateOCMCoreShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateOCMCoreShareResponse.DiscardUnknown(m) + +func (*UpdateOCMCoreShareResponse) ProtoMessage() {} + +func (x *UpdateOCMCoreShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_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) } -var xxx_messageInfo_UpdateOCMCoreShareResponse proto.InternalMessageInfo +// Deprecated: Use UpdateOCMCoreShareResponse.ProtoReflect.Descriptor instead. +func (*UpdateOCMCoreShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescGZIP(), []int{3} +} -func (m *UpdateOCMCoreShareResponse) GetStatus() *v1beta14.Status { - if m != nil { - return m.Status +func (x *UpdateOCMCoreShareResponse) GetStatus() *v1beta14.Status { + if x != nil { + return x.Status } return nil } -func (m *UpdateOCMCoreShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateOCMCoreShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type DeleteOCMCoreShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // Unique ID to identify the share at the consumer side. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *DeleteOCMCoreShareRequest) Reset() { *m = DeleteOCMCoreShareRequest{} } -func (m *DeleteOCMCoreShareRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteOCMCoreShareRequest) ProtoMessage() {} -func (*DeleteOCMCoreShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e8f411283db0fc7, []int{4} +func (x *DeleteOCMCoreShareRequest) Reset() { + *x = DeleteOCMCoreShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteOCMCoreShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteOCMCoreShareRequest.Unmarshal(m, b) -} -func (m *DeleteOCMCoreShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteOCMCoreShareRequest.Marshal(b, m, deterministic) -} -func (m *DeleteOCMCoreShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteOCMCoreShareRequest.Merge(m, src) +func (x *DeleteOCMCoreShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteOCMCoreShareRequest) XXX_Size() int { - return xxx_messageInfo_DeleteOCMCoreShareRequest.Size(m) -} -func (m *DeleteOCMCoreShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteOCMCoreShareRequest.DiscardUnknown(m) + +func (*DeleteOCMCoreShareRequest) ProtoMessage() {} + +func (x *DeleteOCMCoreShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_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) } -var xxx_messageInfo_DeleteOCMCoreShareRequest proto.InternalMessageInfo +// Deprecated: Use DeleteOCMCoreShareRequest.ProtoReflect.Descriptor instead. +func (*DeleteOCMCoreShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescGZIP(), []int{4} +} -func (m *DeleteOCMCoreShareRequest) GetId() string { - if m != nil { - return m.Id +func (x *DeleteOCMCoreShareRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *DeleteOCMCoreShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *DeleteOCMCoreShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type DeleteOCMCoreShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta14.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteOCMCoreShareResponse) Reset() { *m = DeleteOCMCoreShareResponse{} } -func (m *DeleteOCMCoreShareResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteOCMCoreShareResponse) ProtoMessage() {} -func (*DeleteOCMCoreShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4e8f411283db0fc7, []int{5} -} - -func (m *DeleteOCMCoreShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteOCMCoreShareResponse.Unmarshal(m, b) -} -func (m *DeleteOCMCoreShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteOCMCoreShareResponse.Marshal(b, m, deterministic) -} -func (m *DeleteOCMCoreShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteOCMCoreShareResponse.Merge(m, src) -} -func (m *DeleteOCMCoreShareResponse) XXX_Size() int { - return xxx_messageInfo_DeleteOCMCoreShareResponse.Size(m) -} -func (m *DeleteOCMCoreShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteOCMCoreShareResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteOCMCoreShareResponse proto.InternalMessageInfo - -func (m *DeleteOCMCoreShareResponse) GetStatus() *v1beta14.Status { - if m != nil { - return m.Status - } - return nil + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *DeleteOCMCoreShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *DeleteOCMCoreShareResponse) Reset() { + *x = DeleteOCMCoreShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil -} - -func init() { - proto.RegisterType((*CreateOCMCoreShareRequest)(nil), "cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest") - proto.RegisterType((*CreateOCMCoreShareResponse)(nil), "cs3.ocm.core.v1beta1.CreateOCMCoreShareResponse") - proto.RegisterType((*UpdateOCMCoreShareRequest)(nil), "cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest") - proto.RegisterType((*UpdateOCMCoreShareResponse)(nil), "cs3.ocm.core.v1beta1.UpdateOCMCoreShareResponse") - proto.RegisterType((*DeleteOCMCoreShareRequest)(nil), "cs3.ocm.core.v1beta1.DeleteOCMCoreShareRequest") - proto.RegisterType((*DeleteOCMCoreShareResponse)(nil), "cs3.ocm.core.v1beta1.DeleteOCMCoreShareResponse") -} - -func init() { - proto.RegisterFile("cs3/ocm/core/v1beta1/ocm_core_api.proto", fileDescriptor_4e8f411283db0fc7) -} - -var fileDescriptor_4e8f411283db0fc7 = []byte{ - // 711 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x41, 0x6f, 0xd3, 0x4a, - 0x10, 0x96, 0x9d, 0x36, 0x7d, 0x99, 0xf4, 0xf5, 0x49, 0xab, 0x4a, 0xcf, 0x89, 0xfa, 0xf4, 0x42, - 0x2e, 0x14, 0x84, 0x1c, 0xd2, 0x48, 0x20, 0x24, 0x24, 0x68, 0xc3, 0x25, 0x07, 0xe4, 0xca, 0xb4, - 0x20, 0xa1, 0x8a, 0xc8, 0x5d, 0xaf, 0x9a, 0x95, 0x6a, 0xaf, 0xbb, 0xeb, 0x34, 0xf4, 0xc6, 0x6f, - 0xe1, 0xc8, 0x2f, 0x41, 0x9c, 0xf9, 0x1d, 0x5c, 0xb9, 0xa2, 0x1d, 0xaf, 0xdd, 0x40, 0xec, 0x12, - 0xb5, 0xa8, 0xb7, 0x66, 0xe6, 0x9b, 0x6f, 0x66, 0xe7, 0xfb, 0xa6, 0x86, 0xbb, 0x54, 0x0d, 0x7a, - 0x82, 0x46, 0x3d, 0x2a, 0x24, 0xeb, 0x9d, 0xf7, 0x8f, 0x59, 0x1a, 0xf4, 0x75, 0x60, 0xac, 0x03, - 0xe3, 0x20, 0xe1, 0x6e, 0x22, 0x45, 0x2a, 0xc8, 0x26, 0x55, 0x03, 0x57, 0xd0, 0xc8, 0xd5, 0x71, - 0xd7, 0x00, 0xdb, 0xf7, 0x74, 0x39, 0x0f, 0x59, 0x9c, 0xf2, 0xf4, 0xa2, 0x37, 0x55, 0x4c, 0x16, - 0x1c, 0x92, 0x29, 0x31, 0x95, 0x94, 0xa9, 0x8c, 0xa0, 0xbd, 0xa5, 0xa1, 0x32, 0xa1, 0x05, 0x40, - 0xa5, 0x41, 0x3a, 0xcd, 0xb3, 0x38, 0x87, 0x9a, 0x04, 0x92, 0xc7, 0x27, 0x38, 0x4f, 0x15, 0xcd, - 0x03, 0x04, 0xa6, 0x42, 0x06, 0x27, 0xac, 0x97, 0x48, 0x71, 0xce, 0xc3, 0x2b, 0x9a, 0xfe, 0xa7, - 0xd1, 0xe9, 0x45, 0xc2, 0x54, 0x01, 0xc1, 0x5f, 0x59, 0xba, 0xfb, 0x6d, 0x05, 0x5a, 0x43, 0xc9, - 0x82, 0x94, 0x79, 0xc3, 0x97, 0x43, 0x21, 0xd9, 0xab, 0x49, 0x20, 0x99, 0xcf, 0xce, 0xa6, 0x4c, - 0xa5, 0xa4, 0x0f, 0x75, 0x91, 0x04, 0x67, 0x53, 0xe6, 0x58, 0x1d, 0x6b, 0xbb, 0xb9, 0xd3, 0x72, - 0xf5, 0x0e, 0xb2, 0x7a, 0xc3, 0xe6, 0x7a, 0x08, 0xf0, 0x0d, 0x90, 0x74, 0xa0, 0x19, 0x32, 0x45, - 0x25, 0x4f, 0x52, 0x2e, 0x62, 0xc7, 0xee, 0x58, 0xdb, 0x0d, 0x7f, 0x3e, 0x44, 0x08, 0xac, 0xc4, - 0x41, 0xc4, 0x9c, 0x1a, 0xa6, 0xf0, 0x6f, 0xf2, 0x3f, 0x34, 0xf3, 0xc1, 0xc7, 0x3c, 0x74, 0x56, - 0x30, 0x05, 0x79, 0x68, 0x14, 0x92, 0xc7, 0xb0, 0x2a, 0x66, 0x31, 0x93, 0xce, 0x2a, 0x0e, 0x72, - 0x07, 0x07, 0xc9, 0xd7, 0xee, 0xea, 0xb5, 0x17, 0x03, 0x1d, 0x2a, 0x26, 0x47, 0xa1, 0x9f, 0xe1, - 0xc9, 0x13, 0xa8, 0x2b, 0x16, 0x87, 0x4c, 0x3a, 0xf5, 0x65, 0x2b, 0x4d, 0x01, 0x79, 0x0e, 0xa0, - 0xf5, 0x60, 0xe3, 0x19, 0x4f, 0x27, 0xce, 0xda, 0xb2, 0xe5, 0x0d, 0x2c, 0x7a, 0xc3, 0xd3, 0x09, - 0xf1, 0xe0, 0xef, 0xe2, 0x59, 0x7a, 0x6b, 0xce, 0x5f, 0x1d, 0x6b, 0x7b, 0x63, 0xe7, 0x3e, 0x92, - 0x18, 0x09, 0xdd, 0x5c, 0xc2, 0x82, 0xc7, 0x37, 0x25, 0x07, 0x17, 0x09, 0xf3, 0xd7, 0xe5, 0xdc, - 0x2f, 0xb2, 0x9b, 0x8f, 0x84, 0x6c, 0x0d, 0x64, 0xeb, 0x66, 0x6c, 0x99, 0x73, 0xd0, 0xa0, 0x39, - 0x11, 0x6a, 0x89, 0x2c, 0xd9, 0x4c, 0x48, 0xf1, 0x14, 0x80, 0xbd, 0x4f, 0xb8, 0x0c, 0x50, 0x1f, - 0xc0, 0x57, 0x6d, 0x95, 0xe8, 0x7a, 0xc0, 0x23, 0xa6, 0xd2, 0x20, 0x4a, 0xfc, 0x39, 0x3c, 0x79, - 0x06, 0x0d, 0x34, 0x0e, 0x15, 0xa7, 0xca, 0x69, 0x76, 0x6a, 0xc5, 0x4a, 0xca, 0xfa, 0xef, 0x1b, - 0xa4, 0x7f, 0x59, 0xd3, 0xfd, 0x6c, 0x41, 0xbb, 0xcc, 0x70, 0x2a, 0x11, 0xb1, 0x62, 0xa4, 0x07, - 0xf5, 0xec, 0x2a, 0x8c, 0xe3, 0xfe, 0x45, 0x72, 0x99, 0xd0, 0xcb, 0x47, 0x61, 0xda, 0x37, 0xb0, - 0x39, 0x8b, 0xda, 0xcb, 0x5a, 0x74, 0x03, 0x6c, 0x1e, 0x1a, 0xfb, 0xd9, 0x3c, 0x24, 0x8f, 0x60, - 0x8d, 0xe2, 0x44, 0x99, 0xf1, 0x7e, 0xb7, 0x8e, 0x1c, 0xdc, 0xfd, 0x6a, 0x43, 0xeb, 0x30, 0x09, - 0xff, 0xe4, 0xed, 0xac, 0xeb, 0xff, 0x3b, 0x99, 0xc2, 0x3c, 0x34, 0xc7, 0x03, 0x82, 0x46, 0xc8, - 0x3c, 0x0a, 0x7f, 0xbd, 0xae, 0xda, 0xe2, 0x75, 0xfd, 0xec, 0x90, 0xd5, 0x9b, 0x3b, 0xa4, 0x7e, - 0x13, 0x87, 0xac, 0x5d, 0xc3, 0x21, 0x1f, 0x2c, 0x68, 0x97, 0xad, 0xf5, 0xf6, 0x1c, 0xd2, 0x7d, - 0x07, 0xad, 0x17, 0xec, 0x94, 0x95, 0x0b, 0x9b, 0xd9, 0xc7, 0x2a, 0xec, 0x73, 0x0d, 0x7e, 0xfd, - 0xc4, 0xb2, 0x06, 0xb7, 0xf7, 0xc4, 0x9d, 0xef, 0x36, 0x80, 0x47, 0x23, 0xdd, 0x7c, 0x77, 0x7f, - 0x44, 0x66, 0x40, 0x16, 0xaf, 0x92, 0xf4, 0xdc, 0xb2, 0x6f, 0x9e, 0x5b, 0xf9, 0xc1, 0x68, 0x3f, - 0x5c, 0xbe, 0xc0, 0xbc, 0x75, 0x06, 0x64, 0x51, 0xec, 0xaa, 0xc6, 0x95, 0xd7, 0x56, 0xd5, 0xf8, - 0x0a, 0x1f, 0xcd, 0x80, 0x2c, 0x4a, 0x50, 0xd5, 0xb8, 0xd2, 0x0d, 0x55, 0x8d, 0xab, 0xd5, 0xdd, - 0x8b, 0xc1, 0xa1, 0x22, 0x2a, 0x2d, 0xdb, 0xfb, 0x27, 0x97, 0x24, 0xe1, 0x78, 0x1a, 0xfb, 0xd6, - 0xdb, 0xa6, 0x06, 0x98, 0xfc, 0x47, 0xbb, 0x36, 0xf4, 0x86, 0x9f, 0xec, 0xcd, 0xa1, 0x1a, 0xb8, - 0x1e, 0x8d, 0x5c, 0x8d, 0x75, 0x5f, 0xf7, 0xf7, 0x74, 0xf2, 0x0b, 0x86, 0x8f, 0x3c, 0x1a, 0x1d, - 0xe9, 0xf0, 0x91, 0x09, 0x1f, 0xd7, 0xf1, 0xb4, 0x06, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd8, - 0xa2, 0xd7, 0x40, 0xe9, 0x08, 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 - -// OcmCoreAPIClient is the client API for OcmCoreAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OcmCoreAPIClient interface { - // Creates a new OCM share, in response to a call from remote to: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post - CreateOCMCoreShare(ctx context.Context, in *CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*CreateOCMCoreShareResponse, error) - // Updates an OCM share, in response to a notification from the remote system to: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post - UpdateOCMCoreShare(ctx context.Context, in *UpdateOCMCoreShareRequest, opts ...grpc.CallOption) (*UpdateOCMCoreShareResponse, error) - // Deletes an OCM share, in response to a notification from the remote system to: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post - DeleteOCMCoreShare(ctx context.Context, in *DeleteOCMCoreShareRequest, opts ...grpc.CallOption) (*DeleteOCMCoreShareResponse, error) -} - -type ocmCoreAPIClient struct { - cc *grpc.ClientConn -} - -func NewOcmCoreAPIClient(cc *grpc.ClientConn) OcmCoreAPIClient { - return &ocmCoreAPIClient{cc} } -func (c *ocmCoreAPIClient) CreateOCMCoreShare(ctx context.Context, in *CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*CreateOCMCoreShareResponse, error) { - out := new(CreateOCMCoreShareResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.core.v1beta1.OcmCoreAPI/CreateOCMCoreShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (x *DeleteOCMCoreShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *ocmCoreAPIClient) UpdateOCMCoreShare(ctx context.Context, in *UpdateOCMCoreShareRequest, opts ...grpc.CallOption) (*UpdateOCMCoreShareResponse, error) { - out := new(UpdateOCMCoreShareResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.core.v1beta1.OcmCoreAPI/UpdateOCMCoreShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func (*DeleteOCMCoreShareResponse) ProtoMessage() {} -func (c *ocmCoreAPIClient) DeleteOCMCoreShare(ctx context.Context, in *DeleteOCMCoreShareRequest, opts ...grpc.CallOption) (*DeleteOCMCoreShareResponse, error) { - out := new(DeleteOCMCoreShareResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.core.v1beta1.OcmCoreAPI/DeleteOCMCoreShare", in, out, opts...) - if err != nil { - return nil, err +func (x *DeleteOCMCoreShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_core_v1beta1_ocm_core_api_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 out, nil -} - -// OcmCoreAPIServer is the server API for OcmCoreAPI service. -type OcmCoreAPIServer interface { - // Creates a new OCM share, in response to a call from remote to: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post - CreateOCMCoreShare(context.Context, *CreateOCMCoreShareRequest) (*CreateOCMCoreShareResponse, error) - // Updates an OCM share, in response to a notification from the remote system to: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post - UpdateOCMCoreShare(context.Context, *UpdateOCMCoreShareRequest) (*UpdateOCMCoreShareResponse, error) - // Deletes an OCM share, in response to a notification from the remote system to: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post - DeleteOCMCoreShare(context.Context, *DeleteOCMCoreShareRequest) (*DeleteOCMCoreShareResponse, error) -} - -// UnimplementedOcmCoreAPIServer can be embedded to have forward compatible implementations. -type UnimplementedOcmCoreAPIServer struct { + return mi.MessageOf(x) } -func (*UnimplementedOcmCoreAPIServer) CreateOCMCoreShare(ctx context.Context, req *CreateOCMCoreShareRequest) (*CreateOCMCoreShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOCMCoreShare not implemented") -} -func (*UnimplementedOcmCoreAPIServer) UpdateOCMCoreShare(ctx context.Context, req *UpdateOCMCoreShareRequest) (*UpdateOCMCoreShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOCMCoreShare not implemented") -} -func (*UnimplementedOcmCoreAPIServer) DeleteOCMCoreShare(ctx context.Context, req *DeleteOCMCoreShareRequest) (*DeleteOCMCoreShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteOCMCoreShare not implemented") -} - -func RegisterOcmCoreAPIServer(s *grpc.Server, srv OcmCoreAPIServer) { - s.RegisterService(&_OcmCoreAPI_serviceDesc, srv) +// Deprecated: Use DeleteOCMCoreShareResponse.ProtoReflect.Descriptor instead. +func (*DeleteOCMCoreShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescGZIP(), []int{5} } -func _OcmCoreAPI_CreateOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateOCMCoreShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmCoreAPIServer).CreateOCMCoreShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.core.v1beta1.OcmCoreAPI/CreateOCMCoreShare", +func (x *DeleteOCMCoreShareResponse) GetStatus() *v1beta14.Status { + if x != nil { + return x.Status } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmCoreAPIServer).CreateOCMCoreShare(ctx, req.(*CreateOCMCoreShareRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _OcmCoreAPI_UpdateOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateOCMCoreShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmCoreAPIServer).UpdateOCMCoreShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.core.v1beta1.OcmCoreAPI/UpdateOCMCoreShare", +func (x *DeleteOCMCoreShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmCoreAPIServer).UpdateOCMCoreShare(ctx, req.(*UpdateOCMCoreShareRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _OcmCoreAPI_DeleteOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteOCMCoreShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmCoreAPIServer).DeleteOCMCoreShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.core.v1beta1.OcmCoreAPI/DeleteOCMCoreShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmCoreAPIServer).DeleteOCMCoreShare(ctx, req.(*DeleteOCMCoreShareRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_ocm_core_v1beta1_ocm_core_api_proto protoreflect.FileDescriptor + +var file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6f, 0x63, 0x6d, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x63, 0x73, 0x33, 0x2e, 0x6f, + 0x63, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, + 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, + 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee, + 0x04, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, + 0x39, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0a, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x57, 0x69, 0x74, 0x68, 0x12, 0x4f, 0x0a, 0x0d, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, + 0x0a, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, + 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x22, + 0xc8, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0xd4, 0x02, 0x0a, 0x19, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x6f, + 0x63, 0x6d, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x6f, 0x63, 0x6d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x41, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x3f, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x73, 0x22, 0x80, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, + 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x22, 0x5e, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x43, + 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, + 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x32, 0xf7, 0x02, 0x0a, 0x0a, 0x4f, 0x63, 0x6d, 0x43, + 0x6f, 0x72, 0x65, 0x41, 0x50, 0x49, 0x12, 0x77, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2f, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, + 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x77, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2f, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x43, + 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x43, 0x4d, + 0x43, 0x6f, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x42, 0xdd, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0f, + 0x4f, 0x63, 0x6d, 0x43, 0x6f, 0x72, 0x65, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, + 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 0x6f, 0x72, 0x65, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0xa2, 0x02, 0x03, 0x43, 0x4f, 0x43, 0xaa, 0x02, 0x14, 0x43, 0x73, 0x33, 0x2e, 0x4f, 0x63, 0x6d, + 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x14, + 0x43, 0x73, 0x33, 0x5c, 0x4f, 0x63, 0x6d, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x20, 0x43, 0x73, 0x33, 0x5c, 0x4f, 0x63, 0x6d, 0x5c, 0x43, + 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x4f, + 0x63, 0x6d, 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescOnce sync.Once + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescData = file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDesc +) -var _OcmCoreAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.ocm.core.v1beta1.OcmCoreAPI", - HandlerType: (*OcmCoreAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateOCMCoreShare", - Handler: _OcmCoreAPI_CreateOCMCoreShare_Handler, - }, - { - MethodName: "UpdateOCMCoreShare", - Handler: _OcmCoreAPI_UpdateOCMCoreShare_Handler, - }, - { - MethodName: "DeleteOCMCoreShare", - Handler: _OcmCoreAPI_DeleteOCMCoreShare_Handler, +func file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescGZIP() []byte { + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescOnce.Do(func() { + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescData) + }) + return file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDescData +} + +var file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_cs3_ocm_core_v1beta1_ocm_core_api_proto_goTypes = []interface{}{ + (*CreateOCMCoreShareRequest)(nil), // 0: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest + (*CreateOCMCoreShareResponse)(nil), // 1: cs3.ocm.core.v1beta1.CreateOCMCoreShareResponse + (*UpdateOCMCoreShareRequest)(nil), // 2: cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest + (*UpdateOCMCoreShareResponse)(nil), // 3: cs3.ocm.core.v1beta1.UpdateOCMCoreShareResponse + (*DeleteOCMCoreShareRequest)(nil), // 4: cs3.ocm.core.v1beta1.DeleteOCMCoreShareRequest + (*DeleteOCMCoreShareResponse)(nil), // 5: cs3.ocm.core.v1beta1.DeleteOCMCoreShareResponse + (*v1beta1.Opaque)(nil), // 6: cs3.types.v1beta1.Opaque + (*v1beta11.UserId)(nil), // 7: cs3.identity.user.v1beta1.UserId + (v1beta12.ResourceType)(0), // 8: cs3.storage.provider.v1beta1.ResourceType + (v1beta13.ShareType)(0), // 9: cs3.sharing.ocm.v1beta1.ShareType + (*v1beta1.Timestamp)(nil), // 10: cs3.types.v1beta1.Timestamp + (*v1beta13.Protocol)(nil), // 11: cs3.sharing.ocm.v1beta1.Protocol + (*v1beta14.Status)(nil), // 12: cs3.rpc.v1beta1.Status +} +var file_cs3_ocm_core_v1beta1_ocm_core_api_proto_depIdxs = []int32{ + 6, // 0: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 7, // 1: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest.owner:type_name -> cs3.identity.user.v1beta1.UserId + 7, // 2: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest.sender:type_name -> cs3.identity.user.v1beta1.UserId + 7, // 3: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest.share_with:type_name -> cs3.identity.user.v1beta1.UserId + 8, // 4: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest.resource_type:type_name -> cs3.storage.provider.v1beta1.ResourceType + 9, // 5: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest.share_type:type_name -> cs3.sharing.ocm.v1beta1.ShareType + 10, // 6: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest.expiration:type_name -> cs3.types.v1beta1.Timestamp + 11, // 7: cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest.protocols:type_name -> cs3.sharing.ocm.v1beta1.Protocol + 12, // 8: cs3.ocm.core.v1beta1.CreateOCMCoreShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 6, // 9: cs3.ocm.core.v1beta1.CreateOCMCoreShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 10, // 10: cs3.ocm.core.v1beta1.CreateOCMCoreShareResponse.created:type_name -> cs3.types.v1beta1.Timestamp + 6, // 11: cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 9, // 12: cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest.share_type:type_name -> cs3.sharing.ocm.v1beta1.ShareType + 10, // 13: cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest.expiration:type_name -> cs3.types.v1beta1.Timestamp + 11, // 14: cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest.protocols:type_name -> cs3.sharing.ocm.v1beta1.Protocol + 12, // 15: cs3.ocm.core.v1beta1.UpdateOCMCoreShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 6, // 16: cs3.ocm.core.v1beta1.UpdateOCMCoreShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 6, // 17: cs3.ocm.core.v1beta1.DeleteOCMCoreShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 12, // 18: cs3.ocm.core.v1beta1.DeleteOCMCoreShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 6, // 19: cs3.ocm.core.v1beta1.DeleteOCMCoreShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 0, // 20: cs3.ocm.core.v1beta1.OcmCoreAPI.CreateOCMCoreShare:input_type -> cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest + 2, // 21: cs3.ocm.core.v1beta1.OcmCoreAPI.UpdateOCMCoreShare:input_type -> cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest + 4, // 22: cs3.ocm.core.v1beta1.OcmCoreAPI.DeleteOCMCoreShare:input_type -> cs3.ocm.core.v1beta1.DeleteOCMCoreShareRequest + 1, // 23: cs3.ocm.core.v1beta1.OcmCoreAPI.CreateOCMCoreShare:output_type -> cs3.ocm.core.v1beta1.CreateOCMCoreShareResponse + 3, // 24: cs3.ocm.core.v1beta1.OcmCoreAPI.UpdateOCMCoreShare:output_type -> cs3.ocm.core.v1beta1.UpdateOCMCoreShareResponse + 5, // 25: cs3.ocm.core.v1beta1.OcmCoreAPI.DeleteOCMCoreShare:output_type -> cs3.ocm.core.v1beta1.DeleteOCMCoreShareResponse + 23, // [23:26] is the sub-list for method output_type + 20, // [20:23] is the sub-list for method input_type + 20, // [20:20] is the sub-list for extension type_name + 20, // [20:20] is the sub-list for extension extendee + 0, // [0:20] is the sub-list for field type_name +} + +func init() { file_cs3_ocm_core_v1beta1_ocm_core_api_proto_init() } +func file_cs3_ocm_core_v1beta1_ocm_core_api_proto_init() { + if File_cs3_ocm_core_v1beta1_ocm_core_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOCMCoreShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOCMCoreShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOCMCoreShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOCMCoreShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOCMCoreShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOCMCoreShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/ocm/core/v1beta1/ocm_core_api.proto", + GoTypes: file_cs3_ocm_core_v1beta1_ocm_core_api_proto_goTypes, + DependencyIndexes: file_cs3_ocm_core_v1beta1_ocm_core_api_proto_depIdxs, + MessageInfos: file_cs3_ocm_core_v1beta1_ocm_core_api_proto_msgTypes, + }.Build() + File_cs3_ocm_core_v1beta1_ocm_core_api_proto = out.File + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_rawDesc = nil + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_goTypes = nil + file_cs3_ocm_core_v1beta1_ocm_core_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1/ocm_core_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1/ocm_core_api_grpc.pb.go new file mode 100644 index 00000000000..8e6cd24cdd7 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1/ocm_core_api_grpc.pb.go @@ -0,0 +1,211 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/ocm/core/v1beta1/ocm_core_api.proto + +package corev1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + OcmCoreAPI_CreateOCMCoreShare_FullMethodName = "/cs3.ocm.core.v1beta1.OcmCoreAPI/CreateOCMCoreShare" + OcmCoreAPI_UpdateOCMCoreShare_FullMethodName = "/cs3.ocm.core.v1beta1.OcmCoreAPI/UpdateOCMCoreShare" + OcmCoreAPI_DeleteOCMCoreShare_FullMethodName = "/cs3.ocm.core.v1beta1.OcmCoreAPI/DeleteOCMCoreShare" +) + +// OcmCoreAPIClient is the client API for OcmCoreAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type OcmCoreAPIClient interface { + // Creates a new OCM share, in response to a call from remote to: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post + CreateOCMCoreShare(ctx context.Context, in *CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*CreateOCMCoreShareResponse, error) + // Updates an OCM share, in response to a notification from the remote system to: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post + UpdateOCMCoreShare(ctx context.Context, in *UpdateOCMCoreShareRequest, opts ...grpc.CallOption) (*UpdateOCMCoreShareResponse, error) + // Deletes an OCM share, in response to a notification from the remote system to: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post + DeleteOCMCoreShare(ctx context.Context, in *DeleteOCMCoreShareRequest, opts ...grpc.CallOption) (*DeleteOCMCoreShareResponse, error) +} + +type ocmCoreAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewOcmCoreAPIClient(cc grpc.ClientConnInterface) OcmCoreAPIClient { + return &ocmCoreAPIClient{cc} +} + +func (c *ocmCoreAPIClient) CreateOCMCoreShare(ctx context.Context, in *CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*CreateOCMCoreShareResponse, error) { + out := new(CreateOCMCoreShareResponse) + err := c.cc.Invoke(ctx, OcmCoreAPI_CreateOCMCoreShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmCoreAPIClient) UpdateOCMCoreShare(ctx context.Context, in *UpdateOCMCoreShareRequest, opts ...grpc.CallOption) (*UpdateOCMCoreShareResponse, error) { + out := new(UpdateOCMCoreShareResponse) + err := c.cc.Invoke(ctx, OcmCoreAPI_UpdateOCMCoreShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmCoreAPIClient) DeleteOCMCoreShare(ctx context.Context, in *DeleteOCMCoreShareRequest, opts ...grpc.CallOption) (*DeleteOCMCoreShareResponse, error) { + out := new(DeleteOCMCoreShareResponse) + err := c.cc.Invoke(ctx, OcmCoreAPI_DeleteOCMCoreShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// OcmCoreAPIServer is the server API for OcmCoreAPI service. +// All implementations should embed UnimplementedOcmCoreAPIServer +// for forward compatibility +type OcmCoreAPIServer interface { + // Creates a new OCM share, in response to a call from remote to: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post + CreateOCMCoreShare(context.Context, *CreateOCMCoreShareRequest) (*CreateOCMCoreShareResponse, error) + // Updates an OCM share, in response to a notification from the remote system to: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post + UpdateOCMCoreShare(context.Context, *UpdateOCMCoreShareRequest) (*UpdateOCMCoreShareResponse, error) + // Deletes an OCM share, in response to a notification from the remote system to: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post + DeleteOCMCoreShare(context.Context, *DeleteOCMCoreShareRequest) (*DeleteOCMCoreShareResponse, error) +} + +// UnimplementedOcmCoreAPIServer should be embedded to have forward compatible implementations. +type UnimplementedOcmCoreAPIServer struct { +} + +func (UnimplementedOcmCoreAPIServer) CreateOCMCoreShare(context.Context, *CreateOCMCoreShareRequest) (*CreateOCMCoreShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateOCMCoreShare not implemented") +} +func (UnimplementedOcmCoreAPIServer) UpdateOCMCoreShare(context.Context, *UpdateOCMCoreShareRequest) (*UpdateOCMCoreShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateOCMCoreShare not implemented") +} +func (UnimplementedOcmCoreAPIServer) DeleteOCMCoreShare(context.Context, *DeleteOCMCoreShareRequest) (*DeleteOCMCoreShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteOCMCoreShare not implemented") +} + +// UnsafeOcmCoreAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to OcmCoreAPIServer will +// result in compilation errors. +type UnsafeOcmCoreAPIServer interface { + mustEmbedUnimplementedOcmCoreAPIServer() +} + +func RegisterOcmCoreAPIServer(s grpc.ServiceRegistrar, srv OcmCoreAPIServer) { + s.RegisterService(&OcmCoreAPI_ServiceDesc, srv) +} + +func _OcmCoreAPI_CreateOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateOCMCoreShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmCoreAPIServer).CreateOCMCoreShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmCoreAPI_CreateOCMCoreShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmCoreAPIServer).CreateOCMCoreShare(ctx, req.(*CreateOCMCoreShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmCoreAPI_UpdateOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateOCMCoreShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmCoreAPIServer).UpdateOCMCoreShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmCoreAPI_UpdateOCMCoreShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmCoreAPIServer).UpdateOCMCoreShare(ctx, req.(*UpdateOCMCoreShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmCoreAPI_DeleteOCMCoreShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteOCMCoreShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmCoreAPIServer).DeleteOCMCoreShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmCoreAPI_DeleteOCMCoreShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmCoreAPIServer).DeleteOCMCoreShare(ctx, req.(*DeleteOCMCoreShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// OcmCoreAPI_ServiceDesc is the grpc.ServiceDesc for OcmCoreAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var OcmCoreAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.ocm.core.v1beta1.OcmCoreAPI", + HandlerType: (*OcmCoreAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateOCMCoreShare", + Handler: _OcmCoreAPI_CreateOCMCoreShare_Handler, + }, + { + MethodName: "UpdateOCMCoreShare", + Handler: _OcmCoreAPI_UpdateOCMCoreShare_Handler, + }, + { + MethodName: "DeleteOCMCoreShare", + Handler: _OcmCoreAPI_DeleteOCMCoreShare_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/ocm/core/v1beta1/ocm_core_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/invite_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/invite_api.pb.go index 9014bfc0f22..7fa8bb94785 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/invite_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/invite_api.pb.go @@ -1,85 +1,111 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/ocm/invite/v1beta1/invite_api.proto package invitev1beta1 import ( - context "context" - fmt "fmt" v1beta13 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 GenerateInviteTokenRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // OPTIONAL. // The description of the token. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` } -func (m *GenerateInviteTokenRequest) Reset() { *m = GenerateInviteTokenRequest{} } -func (m *GenerateInviteTokenRequest) String() string { return proto.CompactTextString(m) } -func (*GenerateInviteTokenRequest) ProtoMessage() {} -func (*GenerateInviteTokenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{0} +func (x *GenerateInviteTokenRequest) Reset() { + *x = GenerateInviteTokenRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GenerateInviteTokenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateInviteTokenRequest.Unmarshal(m, b) -} -func (m *GenerateInviteTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateInviteTokenRequest.Marshal(b, m, deterministic) -} -func (m *GenerateInviteTokenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateInviteTokenRequest.Merge(m, src) +func (x *GenerateInviteTokenRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GenerateInviteTokenRequest) XXX_Size() int { - return xxx_messageInfo_GenerateInviteTokenRequest.Size(m) -} -func (m *GenerateInviteTokenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateInviteTokenRequest.DiscardUnknown(m) + +func (*GenerateInviteTokenRequest) ProtoMessage() {} + +func (x *GenerateInviteTokenRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_GenerateInviteTokenRequest proto.InternalMessageInfo +// Deprecated: Use GenerateInviteTokenRequest.ProtoReflect.Descriptor instead. +func (*GenerateInviteTokenRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{0} +} -func (m *GenerateInviteTokenRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GenerateInviteTokenRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GenerateInviteTokenRequest) GetDescription() string { - if m != nil { - return m.Description +func (x *GenerateInviteTokenRequest) GetDescription() string { + if x != nil { + return x.Description } return "" } type GenerateInviteTokenResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -88,141 +114,164 @@ type GenerateInviteTokenResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The generated token. - InviteToken *InviteToken `protobuf:"bytes,3,opt,name=invite_token,json=inviteToken,proto3" json:"invite_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InviteToken *InviteToken `protobuf:"bytes,3,opt,name=invite_token,json=inviteToken,proto3" json:"invite_token,omitempty"` } -func (m *GenerateInviteTokenResponse) Reset() { *m = GenerateInviteTokenResponse{} } -func (m *GenerateInviteTokenResponse) String() string { return proto.CompactTextString(m) } -func (*GenerateInviteTokenResponse) ProtoMessage() {} -func (*GenerateInviteTokenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{1} +func (x *GenerateInviteTokenResponse) Reset() { + *x = GenerateInviteTokenResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GenerateInviteTokenResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateInviteTokenResponse.Unmarshal(m, b) -} -func (m *GenerateInviteTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateInviteTokenResponse.Marshal(b, m, deterministic) -} -func (m *GenerateInviteTokenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateInviteTokenResponse.Merge(m, src) +func (x *GenerateInviteTokenResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GenerateInviteTokenResponse) XXX_Size() int { - return xxx_messageInfo_GenerateInviteTokenResponse.Size(m) -} -func (m *GenerateInviteTokenResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateInviteTokenResponse.DiscardUnknown(m) + +func (*GenerateInviteTokenResponse) ProtoMessage() {} + +func (x *GenerateInviteTokenResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_GenerateInviteTokenResponse proto.InternalMessageInfo +// Deprecated: Use GenerateInviteTokenResponse.ProtoReflect.Descriptor instead. +func (*GenerateInviteTokenResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{1} +} -func (m *GenerateInviteTokenResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GenerateInviteTokenResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GenerateInviteTokenResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GenerateInviteTokenResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GenerateInviteTokenResponse) GetInviteToken() *InviteToken { - if m != nil { - return m.InviteToken +func (x *GenerateInviteTokenResponse) GetInviteToken() *InviteToken { + if x != nil { + return x.InviteToken } return nil } type ListInviteTokensRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListInviteTokensRequest) Reset() { *m = ListInviteTokensRequest{} } -func (m *ListInviteTokensRequest) String() string { return proto.CompactTextString(m) } -func (*ListInviteTokensRequest) ProtoMessage() {} -func (*ListInviteTokensRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{2} +func (x *ListInviteTokensRequest) Reset() { + *x = ListInviteTokensRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListInviteTokensRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInviteTokensRequest.Unmarshal(m, b) -} -func (m *ListInviteTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInviteTokensRequest.Marshal(b, m, deterministic) -} -func (m *ListInviteTokensRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInviteTokensRequest.Merge(m, src) -} -func (m *ListInviteTokensRequest) XXX_Size() int { - return xxx_messageInfo_ListInviteTokensRequest.Size(m) +func (x *ListInviteTokensRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListInviteTokensRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListInviteTokensRequest.DiscardUnknown(m) + +func (*ListInviteTokensRequest) ProtoMessage() {} + +func (x *ListInviteTokensRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_ListInviteTokensRequest proto.InternalMessageInfo +// Deprecated: Use ListInviteTokensRequest.ProtoReflect.Descriptor instead. +func (*ListInviteTokensRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{2} +} type ListInviteTokensResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // REQUIRED. // The list of valid tokens. - InviteTokens []*InviteToken `protobuf:"bytes,2,rep,name=invite_tokens,json=inviteTokens,proto3" json:"invite_tokens,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InviteTokens []*InviteToken `protobuf:"bytes,2,rep,name=invite_tokens,json=inviteTokens,proto3" json:"invite_tokens,omitempty"` } -func (m *ListInviteTokensResponse) Reset() { *m = ListInviteTokensResponse{} } -func (m *ListInviteTokensResponse) String() string { return proto.CompactTextString(m) } -func (*ListInviteTokensResponse) ProtoMessage() {} -func (*ListInviteTokensResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{3} +func (x *ListInviteTokensResponse) Reset() { + *x = ListInviteTokensResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListInviteTokensResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInviteTokensResponse.Unmarshal(m, b) -} -func (m *ListInviteTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInviteTokensResponse.Marshal(b, m, deterministic) -} -func (m *ListInviteTokensResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInviteTokensResponse.Merge(m, src) -} -func (m *ListInviteTokensResponse) XXX_Size() int { - return xxx_messageInfo_ListInviteTokensResponse.Size(m) +func (x *ListInviteTokensResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListInviteTokensResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListInviteTokensResponse.DiscardUnknown(m) + +func (*ListInviteTokensResponse) ProtoMessage() {} + +func (x *ListInviteTokensResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_ListInviteTokensResponse proto.InternalMessageInfo +// Deprecated: Use ListInviteTokensResponse.ProtoReflect.Descriptor instead. +func (*ListInviteTokensResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{3} +} -func (m *ListInviteTokensResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListInviteTokensResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *ListInviteTokensResponse) GetInviteTokens() []*InviteToken { - if m != nil { - return m.InviteTokens +func (x *ListInviteTokensResponse) GetInviteTokens() []*InviteToken { + if x != nil { + return x.InviteTokens } return nil } type ForwardInviteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -232,58 +281,66 @@ type ForwardInviteRequest struct { // REQUIRED. // The details of the sync'n'share system provider of the user who sent the invite. OriginSystemProvider *v1beta12.ProviderInfo `protobuf:"bytes,3,opt,name=origin_system_provider,json=originSystemProvider,proto3" json:"origin_system_provider,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *ForwardInviteRequest) Reset() { *m = ForwardInviteRequest{} } -func (m *ForwardInviteRequest) String() string { return proto.CompactTextString(m) } -func (*ForwardInviteRequest) ProtoMessage() {} -func (*ForwardInviteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{4} +func (x *ForwardInviteRequest) Reset() { + *x = ForwardInviteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ForwardInviteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ForwardInviteRequest.Unmarshal(m, b) -} -func (m *ForwardInviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ForwardInviteRequest.Marshal(b, m, deterministic) -} -func (m *ForwardInviteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForwardInviteRequest.Merge(m, src) -} -func (m *ForwardInviteRequest) XXX_Size() int { - return xxx_messageInfo_ForwardInviteRequest.Size(m) +func (x *ForwardInviteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ForwardInviteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ForwardInviteRequest.DiscardUnknown(m) + +func (*ForwardInviteRequest) ProtoMessage() {} + +func (x *ForwardInviteRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_ForwardInviteRequest proto.InternalMessageInfo +// Deprecated: Use ForwardInviteRequest.ProtoReflect.Descriptor instead. +func (*ForwardInviteRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{4} +} -func (m *ForwardInviteRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ForwardInviteRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ForwardInviteRequest) GetInviteToken() *InviteToken { - if m != nil { - return m.InviteToken +func (x *ForwardInviteRequest) GetInviteToken() *InviteToken { + if x != nil { + return x.InviteToken } return nil } -func (m *ForwardInviteRequest) GetOriginSystemProvider() *v1beta12.ProviderInfo { - if m != nil { - return m.OriginSystemProvider +func (x *ForwardInviteRequest) GetOriginSystemProvider() *v1beta12.ProviderInfo { + if x != nil { + return x.OriginSystemProvider } return nil } type ForwardInviteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -298,73 +355,81 @@ type ForwardInviteResponse struct { Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` // REQUIRED. // The initiator's display name of the workflow. - DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` } -func (m *ForwardInviteResponse) Reset() { *m = ForwardInviteResponse{} } -func (m *ForwardInviteResponse) String() string { return proto.CompactTextString(m) } -func (*ForwardInviteResponse) ProtoMessage() {} -func (*ForwardInviteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{5} +func (x *ForwardInviteResponse) Reset() { + *x = ForwardInviteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ForwardInviteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ForwardInviteResponse.Unmarshal(m, b) -} -func (m *ForwardInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ForwardInviteResponse.Marshal(b, m, deterministic) -} -func (m *ForwardInviteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForwardInviteResponse.Merge(m, src) -} -func (m *ForwardInviteResponse) XXX_Size() int { - return xxx_messageInfo_ForwardInviteResponse.Size(m) +func (x *ForwardInviteResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ForwardInviteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ForwardInviteResponse.DiscardUnknown(m) + +func (*ForwardInviteResponse) ProtoMessage() {} + +func (x *ForwardInviteResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_ForwardInviteResponse proto.InternalMessageInfo +// Deprecated: Use ForwardInviteResponse.ProtoReflect.Descriptor instead. +func (*ForwardInviteResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{5} +} -func (m *ForwardInviteResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ForwardInviteResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *ForwardInviteResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ForwardInviteResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ForwardInviteResponse) GetUserId() *v1beta13.UserId { - if m != nil { - return m.UserId +func (x *ForwardInviteResponse) GetUserId() *v1beta13.UserId { + if x != nil { + return x.UserId } return nil } -func (m *ForwardInviteResponse) GetEmail() string { - if m != nil { - return m.Email +func (x *ForwardInviteResponse) GetEmail() string { + if x != nil { + return x.Email } return "" } -func (m *ForwardInviteResponse) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *ForwardInviteResponse) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } type AcceptInviteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -373,59 +438,67 @@ type AcceptInviteRequest struct { InviteToken *InviteToken `protobuf:"bytes,2,opt,name=invite_token,json=inviteToken,proto3" json:"invite_token,omitempty"` // REQUIRED. // The user who accepted the invite. - RemoteUser *v1beta13.User `protobuf:"bytes,3,opt,name=remote_user,json=remoteUser,proto3" json:"remote_user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RemoteUser *v1beta13.User `protobuf:"bytes,3,opt,name=remote_user,json=remoteUser,proto3" json:"remote_user,omitempty"` } -func (m *AcceptInviteRequest) Reset() { *m = AcceptInviteRequest{} } -func (m *AcceptInviteRequest) String() string { return proto.CompactTextString(m) } -func (*AcceptInviteRequest) ProtoMessage() {} -func (*AcceptInviteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{6} +func (x *AcceptInviteRequest) Reset() { + *x = AcceptInviteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AcceptInviteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AcceptInviteRequest.Unmarshal(m, b) -} -func (m *AcceptInviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AcceptInviteRequest.Marshal(b, m, deterministic) -} -func (m *AcceptInviteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcceptInviteRequest.Merge(m, src) -} -func (m *AcceptInviteRequest) XXX_Size() int { - return xxx_messageInfo_AcceptInviteRequest.Size(m) +func (x *AcceptInviteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AcceptInviteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AcceptInviteRequest.DiscardUnknown(m) + +func (*AcceptInviteRequest) ProtoMessage() {} + +func (x *AcceptInviteRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_AcceptInviteRequest proto.InternalMessageInfo +// Deprecated: Use AcceptInviteRequest.ProtoReflect.Descriptor instead. +func (*AcceptInviteRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{6} +} -func (m *AcceptInviteRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *AcceptInviteRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *AcceptInviteRequest) GetInviteToken() *InviteToken { - if m != nil { - return m.InviteToken +func (x *AcceptInviteRequest) GetInviteToken() *InviteToken { + if x != nil { + return x.InviteToken } return nil } -func (m *AcceptInviteRequest) GetRemoteUser() *v1beta13.User { - if m != nil { - return m.RemoteUser +func (x *AcceptInviteRequest) GetRemoteUser() *v1beta13.User { + if x != nil { + return x.RemoteUser } return nil } type AcceptInviteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -440,124 +513,140 @@ type AcceptInviteResponse struct { Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` // REQUIRED. // The initiator's display name of the workflow. - DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` } -func (m *AcceptInviteResponse) Reset() { *m = AcceptInviteResponse{} } -func (m *AcceptInviteResponse) String() string { return proto.CompactTextString(m) } -func (*AcceptInviteResponse) ProtoMessage() {} -func (*AcceptInviteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{7} +func (x *AcceptInviteResponse) Reset() { + *x = AcceptInviteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AcceptInviteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AcceptInviteResponse.Unmarshal(m, b) -} -func (m *AcceptInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AcceptInviteResponse.Marshal(b, m, deterministic) -} -func (m *AcceptInviteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcceptInviteResponse.Merge(m, src) -} -func (m *AcceptInviteResponse) XXX_Size() int { - return xxx_messageInfo_AcceptInviteResponse.Size(m) +func (x *AcceptInviteResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AcceptInviteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AcceptInviteResponse.DiscardUnknown(m) + +func (*AcceptInviteResponse) ProtoMessage() {} + +func (x *AcceptInviteResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_AcceptInviteResponse proto.InternalMessageInfo +// Deprecated: Use AcceptInviteResponse.ProtoReflect.Descriptor instead. +func (*AcceptInviteResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{7} +} -func (m *AcceptInviteResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *AcceptInviteResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *AcceptInviteResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *AcceptInviteResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *AcceptInviteResponse) GetUserId() *v1beta13.UserId { - if m != nil { - return m.UserId +func (x *AcceptInviteResponse) GetUserId() *v1beta13.UserId { + if x != nil { + return x.UserId } return nil } -func (m *AcceptInviteResponse) GetEmail() string { - if m != nil { - return m.Email +func (x *AcceptInviteResponse) GetEmail() string { + if x != nil { + return x.Email } return "" } -func (m *AcceptInviteResponse) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *AcceptInviteResponse) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } type GetAcceptedUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The id of the user. - RemoteUserId *v1beta13.UserId `protobuf:"bytes,2,opt,name=remote_user_id,json=remoteUserId,proto3" json:"remote_user_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RemoteUserId *v1beta13.UserId `protobuf:"bytes,2,opt,name=remote_user_id,json=remoteUserId,proto3" json:"remote_user_id,omitempty"` } -func (m *GetAcceptedUserRequest) Reset() { *m = GetAcceptedUserRequest{} } -func (m *GetAcceptedUserRequest) String() string { return proto.CompactTextString(m) } -func (*GetAcceptedUserRequest) ProtoMessage() {} -func (*GetAcceptedUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{8} +func (x *GetAcceptedUserRequest) Reset() { + *x = GetAcceptedUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAcceptedUserRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAcceptedUserRequest.Unmarshal(m, b) +func (x *GetAcceptedUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAcceptedUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAcceptedUserRequest.Marshal(b, m, deterministic) -} -func (m *GetAcceptedUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAcceptedUserRequest.Merge(m, src) -} -func (m *GetAcceptedUserRequest) XXX_Size() int { - return xxx_messageInfo_GetAcceptedUserRequest.Size(m) -} -func (m *GetAcceptedUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAcceptedUserRequest.DiscardUnknown(m) + +func (*GetAcceptedUserRequest) ProtoMessage() {} + +func (x *GetAcceptedUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_GetAcceptedUserRequest proto.InternalMessageInfo +// Deprecated: Use GetAcceptedUserRequest.ProtoReflect.Descriptor instead. +func (*GetAcceptedUserRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{8} +} -func (m *GetAcceptedUserRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetAcceptedUserRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetAcceptedUserRequest) GetRemoteUserId() *v1beta13.UserId { - if m != nil { - return m.RemoteUserId +func (x *GetAcceptedUserRequest) GetRemoteUserId() *v1beta13.UserId { + if x != nil { + return x.RemoteUserId } return nil } type GetAcceptedUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -566,110 +655,126 @@ type GetAcceptedUserResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The user information. - RemoteUser *v1beta13.User `protobuf:"bytes,3,opt,name=remote_user,json=remoteUser,proto3" json:"remote_user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RemoteUser *v1beta13.User `protobuf:"bytes,3,opt,name=remote_user,json=remoteUser,proto3" json:"remote_user,omitempty"` } -func (m *GetAcceptedUserResponse) Reset() { *m = GetAcceptedUserResponse{} } -func (m *GetAcceptedUserResponse) String() string { return proto.CompactTextString(m) } -func (*GetAcceptedUserResponse) ProtoMessage() {} -func (*GetAcceptedUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{9} +func (x *GetAcceptedUserResponse) Reset() { + *x = GetAcceptedUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAcceptedUserResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAcceptedUserResponse.Unmarshal(m, b) -} -func (m *GetAcceptedUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAcceptedUserResponse.Marshal(b, m, deterministic) -} -func (m *GetAcceptedUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAcceptedUserResponse.Merge(m, src) -} -func (m *GetAcceptedUserResponse) XXX_Size() int { - return xxx_messageInfo_GetAcceptedUserResponse.Size(m) +func (x *GetAcceptedUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAcceptedUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAcceptedUserResponse.DiscardUnknown(m) + +func (*GetAcceptedUserResponse) ProtoMessage() {} + +func (x *GetAcceptedUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_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) } -var xxx_messageInfo_GetAcceptedUserResponse proto.InternalMessageInfo +// Deprecated: Use GetAcceptedUserResponse.ProtoReflect.Descriptor instead. +func (*GetAcceptedUserResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{9} +} -func (m *GetAcceptedUserResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetAcceptedUserResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetAcceptedUserResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetAcceptedUserResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetAcceptedUserResponse) GetRemoteUser() *v1beta13.User { - if m != nil { - return m.RemoteUser +func (x *GetAcceptedUserResponse) GetRemoteUser() *v1beta13.User { + if x != nil { + return x.RemoteUser } return nil } type FindAcceptedUsersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The filter to apply. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` } -func (m *FindAcceptedUsersRequest) Reset() { *m = FindAcceptedUsersRequest{} } -func (m *FindAcceptedUsersRequest) String() string { return proto.CompactTextString(m) } -func (*FindAcceptedUsersRequest) ProtoMessage() {} -func (*FindAcceptedUsersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{10} +func (x *FindAcceptedUsersRequest) Reset() { + *x = FindAcceptedUsersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAcceptedUsersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAcceptedUsersRequest.Unmarshal(m, b) -} -func (m *FindAcceptedUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAcceptedUsersRequest.Marshal(b, m, deterministic) -} -func (m *FindAcceptedUsersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAcceptedUsersRequest.Merge(m, src) -} -func (m *FindAcceptedUsersRequest) XXX_Size() int { - return xxx_messageInfo_FindAcceptedUsersRequest.Size(m) +func (x *FindAcceptedUsersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAcceptedUsersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindAcceptedUsersRequest.DiscardUnknown(m) + +func (*FindAcceptedUsersRequest) ProtoMessage() {} + +func (x *FindAcceptedUsersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FindAcceptedUsersRequest proto.InternalMessageInfo +// Deprecated: Use FindAcceptedUsersRequest.ProtoReflect.Descriptor instead. +func (*FindAcceptedUsersRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{10} +} -func (m *FindAcceptedUsersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *FindAcceptedUsersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *FindAcceptedUsersRequest) GetFilter() string { - if m != nil { - return m.Filter +func (x *FindAcceptedUsersRequest) GetFilter() string { + if x != nil { + return x.Filter } return "" } type FindAcceptedUsersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -678,565 +783,697 @@ type FindAcceptedUsersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The accepted users matching the specified filter. - AcceptedUsers []*v1beta13.User `protobuf:"bytes,3,rep,name=accepted_users,json=acceptedUsers,proto3" json:"accepted_users,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AcceptedUsers []*v1beta13.User `protobuf:"bytes,3,rep,name=accepted_users,json=acceptedUsers,proto3" json:"accepted_users,omitempty"` } -func (m *FindAcceptedUsersResponse) Reset() { *m = FindAcceptedUsersResponse{} } -func (m *FindAcceptedUsersResponse) String() string { return proto.CompactTextString(m) } -func (*FindAcceptedUsersResponse) ProtoMessage() {} -func (*FindAcceptedUsersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{11} +func (x *FindAcceptedUsersResponse) Reset() { + *x = FindAcceptedUsersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAcceptedUsersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAcceptedUsersResponse.Unmarshal(m, b) -} -func (m *FindAcceptedUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAcceptedUsersResponse.Marshal(b, m, deterministic) -} -func (m *FindAcceptedUsersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAcceptedUsersResponse.Merge(m, src) -} -func (m *FindAcceptedUsersResponse) XXX_Size() int { - return xxx_messageInfo_FindAcceptedUsersResponse.Size(m) +func (x *FindAcceptedUsersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAcceptedUsersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindAcceptedUsersResponse.DiscardUnknown(m) + +func (*FindAcceptedUsersResponse) ProtoMessage() {} + +func (x *FindAcceptedUsersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FindAcceptedUsersResponse proto.InternalMessageInfo +// Deprecated: Use FindAcceptedUsersResponse.ProtoReflect.Descriptor instead. +func (*FindAcceptedUsersResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{11} +} -func (m *FindAcceptedUsersResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *FindAcceptedUsersResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *FindAcceptedUsersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *FindAcceptedUsersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *FindAcceptedUsersResponse) GetAcceptedUsers() []*v1beta13.User { - if m != nil { - return m.AcceptedUsers +func (x *FindAcceptedUsersResponse) GetAcceptedUsers() []*v1beta13.User { + if x != nil { + return x.AcceptedUsers } return nil } type DeleteAcceptedUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The id of the user. - RemoteUserId *v1beta13.UserId `protobuf:"bytes,2,opt,name=remote_user_id,json=remoteUserId,proto3" json:"remote_user_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RemoteUserId *v1beta13.UserId `protobuf:"bytes,2,opt,name=remote_user_id,json=remoteUserId,proto3" json:"remote_user_id,omitempty"` } -func (m *DeleteAcceptedUserRequest) Reset() { *m = DeleteAcceptedUserRequest{} } -func (m *DeleteAcceptedUserRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAcceptedUserRequest) ProtoMessage() {} -func (*DeleteAcceptedUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{12} +func (x *DeleteAcceptedUserRequest) Reset() { + *x = DeleteAcceptedUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteAcceptedUserRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAcceptedUserRequest.Unmarshal(m, b) +func (x *DeleteAcceptedUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteAcceptedUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAcceptedUserRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAcceptedUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAcceptedUserRequest.Merge(m, src) -} -func (m *DeleteAcceptedUserRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAcceptedUserRequest.Size(m) -} -func (m *DeleteAcceptedUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAcceptedUserRequest.DiscardUnknown(m) + +func (*DeleteAcceptedUserRequest) ProtoMessage() {} + +func (x *DeleteAcceptedUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteAcceptedUserRequest proto.InternalMessageInfo +// Deprecated: Use DeleteAcceptedUserRequest.ProtoReflect.Descriptor instead. +func (*DeleteAcceptedUserRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{12} +} -func (m *DeleteAcceptedUserRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *DeleteAcceptedUserRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *DeleteAcceptedUserRequest) GetRemoteUserId() *v1beta13.UserId { - if m != nil { - return m.RemoteUserId +func (x *DeleteAcceptedUserRequest) GetRemoteUserId() *v1beta13.UserId { + if x != nil { + return x.RemoteUserId } return nil } type DeleteAcceptedUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteAcceptedUserResponse) Reset() { *m = DeleteAcceptedUserResponse{} } -func (m *DeleteAcceptedUserResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteAcceptedUserResponse) ProtoMessage() {} -func (*DeleteAcceptedUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0e70953130e3677, []int{13} -} - -func (m *DeleteAcceptedUserResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAcceptedUserResponse.Unmarshal(m, b) -} -func (m *DeleteAcceptedUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAcceptedUserResponse.Marshal(b, m, deterministic) -} -func (m *DeleteAcceptedUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAcceptedUserResponse.Merge(m, src) -} -func (m *DeleteAcceptedUserResponse) XXX_Size() int { - return xxx_messageInfo_DeleteAcceptedUserResponse.Size(m) -} -func (m *DeleteAcceptedUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAcceptedUserResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAcceptedUserResponse proto.InternalMessageInfo - -func (m *DeleteAcceptedUserResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *DeleteAcceptedUserResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func init() { - proto.RegisterType((*GenerateInviteTokenRequest)(nil), "cs3.ocm.invite.v1beta1.GenerateInviteTokenRequest") - proto.RegisterType((*GenerateInviteTokenResponse)(nil), "cs3.ocm.invite.v1beta1.GenerateInviteTokenResponse") - proto.RegisterType((*ListInviteTokensRequest)(nil), "cs3.ocm.invite.v1beta1.ListInviteTokensRequest") - proto.RegisterType((*ListInviteTokensResponse)(nil), "cs3.ocm.invite.v1beta1.ListInviteTokensResponse") - proto.RegisterType((*ForwardInviteRequest)(nil), "cs3.ocm.invite.v1beta1.ForwardInviteRequest") - proto.RegisterType((*ForwardInviteResponse)(nil), "cs3.ocm.invite.v1beta1.ForwardInviteResponse") - proto.RegisterType((*AcceptInviteRequest)(nil), "cs3.ocm.invite.v1beta1.AcceptInviteRequest") - proto.RegisterType((*AcceptInviteResponse)(nil), "cs3.ocm.invite.v1beta1.AcceptInviteResponse") - proto.RegisterType((*GetAcceptedUserRequest)(nil), "cs3.ocm.invite.v1beta1.GetAcceptedUserRequest") - proto.RegisterType((*GetAcceptedUserResponse)(nil), "cs3.ocm.invite.v1beta1.GetAcceptedUserResponse") - proto.RegisterType((*FindAcceptedUsersRequest)(nil), "cs3.ocm.invite.v1beta1.FindAcceptedUsersRequest") - proto.RegisterType((*FindAcceptedUsersResponse)(nil), "cs3.ocm.invite.v1beta1.FindAcceptedUsersResponse") - proto.RegisterType((*DeleteAcceptedUserRequest)(nil), "cs3.ocm.invite.v1beta1.DeleteAcceptedUserRequest") - proto.RegisterType((*DeleteAcceptedUserResponse)(nil), "cs3.ocm.invite.v1beta1.DeleteAcceptedUserResponse") -} - -func init() { - proto.RegisterFile("cs3/ocm/invite/v1beta1/invite_api.proto", fileDescriptor_b0e70953130e3677) -} - -var fileDescriptor_b0e70953130e3677 = []byte{ - // 828 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xcd, 0x6e, 0xd3, 0x4e, - 0x10, 0x97, 0x93, 0x7f, 0xf3, 0x57, 0x27, 0x69, 0x81, 0x6d, 0x49, 0x1d, 0x03, 0x22, 0x35, 0x52, - 0x29, 0xa2, 0x38, 0x24, 0xb9, 0x71, 0xa2, 0x2d, 0x6a, 0x89, 0x84, 0x48, 0x94, 0x02, 0x07, 0x14, - 0x29, 0x72, 0xed, 0x2d, 0x5a, 0x11, 0x7f, 0x74, 0x77, 0x5d, 0x88, 0x90, 0x10, 0x0f, 0x01, 0xe2, - 0xce, 0x91, 0x97, 0xe0, 0x06, 0x82, 0x23, 0x2f, 0x02, 0x8f, 0x80, 0xbc, 0xde, 0xa4, 0x6e, 0x62, - 0xd3, 0xb4, 0x95, 0xa2, 0x8a, 0x53, 0xb2, 0xfb, 0x9b, 0x99, 0xdf, 0x7c, 0xec, 0xce, 0x8e, 0xe1, - 0xa6, 0xc5, 0xea, 0x15, 0xcf, 0x72, 0x2a, 0xc4, 0x3d, 0x20, 0x1c, 0x57, 0x0e, 0xaa, 0xbb, 0x98, - 0x9b, 0x55, 0xb9, 0xec, 0x9a, 0x3e, 0x31, 0x7c, 0xea, 0x71, 0x0f, 0x15, 0x2d, 0x56, 0x37, 0x3c, - 0xcb, 0x31, 0x22, 0xc4, 0x90, 0x82, 0xda, 0xad, 0xd0, 0x00, 0xb1, 0xb1, 0xcb, 0x09, 0xef, 0x57, - 0x02, 0x86, 0xe9, 0xd0, 0x06, 0xc5, 0xcc, 0x0b, 0xa8, 0x85, 0x59, 0x64, 0x42, 0x5b, 0x49, 0xe1, - 0x1a, 0x95, 0x5b, 0x1d, 0xc8, 0xf9, 0xd4, 0x3b, 0x20, 0xf6, 0x5f, 0x2c, 0x5e, 0x0d, 0x25, 0xa9, - 0x6f, 0x0d, 0x05, 0x18, 0x37, 0x79, 0x30, 0x40, 0xaf, 0x85, 0x28, 0xef, 0xfb, 0x98, 0x0d, 0x71, - 0xb1, 0x8a, 0x60, 0x7d, 0x1f, 0xb4, 0x6d, 0xec, 0x62, 0x6a, 0x72, 0xdc, 0x10, 0x0e, 0x3d, 0xf1, - 0x5e, 0x62, 0xb7, 0x8d, 0xf7, 0x03, 0xcc, 0x38, 0xaa, 0x42, 0xce, 0xf3, 0xcd, 0xfd, 0x00, 0xab, - 0x4a, 0x59, 0x59, 0xcd, 0xd7, 0x4a, 0x46, 0x98, 0x80, 0x48, 0x5f, 0x5a, 0x33, 0x9a, 0x42, 0xa0, - 0x2d, 0x05, 0x51, 0x19, 0xf2, 0x36, 0x66, 0x16, 0x25, 0x3e, 0x27, 0x9e, 0xab, 0x66, 0xca, 0xca, - 0xea, 0x6c, 0x3b, 0xbe, 0xa5, 0x7f, 0x57, 0xe0, 0x4a, 0x22, 0x27, 0xf3, 0x3d, 0x97, 0x61, 0x54, - 0x81, 0x5c, 0x14, 0x81, 0x24, 0x5d, 0x12, 0xa4, 0xd4, 0xb7, 0x86, 0x94, 0x3b, 0x02, 0x6e, 0x4b, - 0xb1, 0x98, 0x97, 0x99, 0x49, 0xbd, 0xdc, 0x82, 0x82, 0x2c, 0x2e, 0x0f, 0xb9, 0xd5, 0xac, 0x50, - 0xbc, 0x61, 0x24, 0xd7, 0xd7, 0x88, 0xbb, 0x99, 0x27, 0x87, 0x0b, 0xbd, 0x04, 0x4b, 0x8f, 0x08, - 0xe3, 0x31, 0x9c, 0xc9, 0xdc, 0xe9, 0x1f, 0x14, 0x50, 0xc7, 0xb1, 0xd3, 0xc6, 0xf8, 0x10, 0xe6, - 0xe2, 0x0e, 0x33, 0x35, 0x53, 0xce, 0x4e, 0xea, 0x71, 0x21, 0xe6, 0x31, 0xd3, 0x7f, 0x29, 0xb0, - 0xb8, 0xe5, 0xd1, 0x57, 0x26, 0xb5, 0x23, 0xa1, 0x33, 0x14, 0x7b, 0x34, 0x8d, 0x99, 0xd3, 0xa5, - 0x11, 0x75, 0xa0, 0xe8, 0x51, 0xf2, 0x82, 0xb8, 0x5d, 0xd6, 0x67, 0x1c, 0x3b, 0xdd, 0xc1, 0xa1, - 0x97, 0x85, 0x59, 0x19, 0x5a, 0x1c, 0x00, 0x43, 0x9b, 0x2d, 0xb9, 0xd1, 0x70, 0xf7, 0xbc, 0xf6, - 0x62, 0x64, 0x65, 0x47, 0x18, 0x19, 0x20, 0xfa, 0x6f, 0x05, 0x2e, 0x8f, 0x44, 0x3c, 0xc5, 0xa3, - 0x76, 0x0f, 0xfe, 0x0f, 0x1b, 0x42, 0x97, 0xd8, 0x32, 0x98, 0x65, 0xa1, 0x33, 0xe8, 0x16, 0x46, - 0x08, 0x0e, 0x75, 0x9f, 0x32, 0x4c, 0x1b, 0x76, 0x3b, 0x17, 0x88, 0x5f, 0xb4, 0x08, 0x33, 0xd8, - 0x31, 0x49, 0x4f, 0xfd, 0x4f, 0x5c, 0xa3, 0x68, 0x81, 0x96, 0xa1, 0x60, 0x13, 0xe6, 0xf7, 0xcc, - 0x7e, 0xd7, 0x35, 0x1d, 0xac, 0xce, 0xc8, 0x3b, 0x16, 0xed, 0x3d, 0x36, 0x1d, 0xac, 0xff, 0x54, - 0x60, 0x61, 0xdd, 0xb2, 0xb0, 0xcf, 0xcf, 0x4d, 0x8d, 0xef, 0x43, 0x9e, 0x62, 0xc7, 0xe3, 0xb8, - 0x1b, 0x06, 0x27, 0x73, 0x71, 0xfd, 0x98, 0x5c, 0xb4, 0x21, 0xd2, 0x09, 0xff, 0x8b, 0x93, 0x7b, - 0x34, 0xa8, 0x7f, 0xbd, 0x8c, 0xef, 0x15, 0x28, 0x6e, 0x63, 0x1e, 0x05, 0x8d, 0x6d, 0x91, 0x91, - 0xd3, 0x57, 0x72, 0x1b, 0xe6, 0x63, 0x15, 0x08, 0x23, 0xc9, 0x4c, 0x1a, 0x49, 0xe1, 0xb0, 0x0c, - 0x0d, 0x5b, 0xff, 0xa2, 0xc0, 0xd2, 0x98, 0x5b, 0x53, 0xac, 0xc5, 0xd9, 0x8f, 0x12, 0x06, 0x75, - 0x8b, 0xb8, 0x76, 0x3c, 0x02, 0x76, 0x86, 0xcc, 0x16, 0x21, 0xb7, 0x47, 0x7a, 0x1c, 0x53, 0xf9, - 0xde, 0xc9, 0x95, 0xfe, 0x4d, 0x81, 0x52, 0x02, 0xcf, 0x54, 0x1f, 0xba, 0x79, 0x53, 0x92, 0x8b, - 0x64, 0x31, 0x35, 0x2b, 0x1e, 0x8e, 0x63, 0xb3, 0x35, 0x67, 0xc6, 0x7d, 0xd6, 0x3f, 0x2a, 0x50, - 0x7a, 0x80, 0x7b, 0x98, 0xe3, 0xf3, 0x76, 0x18, 0xdf, 0x29, 0xa0, 0x25, 0x79, 0x36, 0xbd, 0x24, - 0xd7, 0xbe, 0xe6, 0x60, 0x36, 0x6a, 0x49, 0xeb, 0xad, 0x06, 0x7a, 0x0b, 0x0b, 0x09, 0xe3, 0x0d, - 0xaa, 0xa5, 0x75, 0xcc, 0xf4, 0xf9, 0x4b, 0xab, 0x9f, 0x48, 0x47, 0x46, 0x1c, 0xc0, 0xc5, 0xd1, - 0xb9, 0x03, 0x55, 0xd2, 0x0c, 0xa5, 0x4c, 0x2f, 0xda, 0xdd, 0xc9, 0x15, 0x24, 0x6d, 0x0f, 0xe6, - 0x8e, 0x3c, 0xb2, 0x68, 0x2d, 0xcd, 0x44, 0xd2, 0xf4, 0xa1, 0xdd, 0x99, 0x50, 0x5a, 0xb2, 0x11, - 0x28, 0xc4, 0x9f, 0x02, 0x74, 0x3b, 0x4d, 0x3d, 0xe1, 0x15, 0xd4, 0xd6, 0x26, 0x13, 0x96, 0x54, - 0x14, 0x2e, 0x8c, 0x34, 0x3b, 0x64, 0xa4, 0xd7, 0x25, 0xa9, 0x59, 0x6b, 0x95, 0x89, 0xe5, 0x25, - 0xe7, 0x6b, 0xb8, 0x34, 0xd6, 0x37, 0x50, 0x6a, 0x4d, 0xd2, 0x5a, 0x99, 0x56, 0x3d, 0x81, 0x86, - 0x64, 0x7e, 0x03, 0x68, 0xfc, 0x36, 0xa1, 0x54, 0x43, 0xa9, 0x3d, 0x41, 0xab, 0x9d, 0x44, 0x25, - 0x22, 0xdf, 0x08, 0x40, 0xb3, 0x3c, 0x27, 0x45, 0x71, 0x63, 0x5e, 0xde, 0x31, 0x9f, 0xb4, 0xc2, - 0x6f, 0x97, 0x96, 0xf2, 0x5c, 0xce, 0xc4, 0x52, 0xe0, 0x53, 0x26, 0xbb, 0xd9, 0x6c, 0x7c, 0xce, - 0x14, 0x37, 0x59, 0xdd, 0x68, 0x5a, 0x8e, 0x9c, 0x45, 0x8c, 0x67, 0xd5, 0x8d, 0x10, 0xfe, 0x21, - 0x80, 0x4e, 0xd3, 0x72, 0x3a, 0x11, 0xd0, 0x91, 0xc0, 0x6e, 0x4e, 0x7c, 0x0b, 0xd5, 0xff, 0x04, - 0x00, 0x00, 0xff, 0xff, 0x18, 0x8d, 0xb3, 0xd2, 0x08, 0x0e, 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 - -// InviteAPIClient is the client API for InviteAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InviteAPIClient interface { - // Generates a new token for the user with a validity of 24 hours. - GenerateInviteToken(ctx context.Context, in *GenerateInviteTokenRequest, opts ...grpc.CallOption) (*GenerateInviteTokenResponse, error) - // Lists the valid tokens generated by the user. - ListInviteTokens(ctx context.Context, in *ListInviteTokensRequest, opts ...grpc.CallOption) (*ListInviteTokensResponse, error) - // Forwards a received invite to the remote sync'n'share system provider. The remote - // system SHALL get an `invite-accepted` call as follows: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post - // MUST return CODE_NOT_FOUND if the token does not exist. - // MUST return CODE_INVALID_ARGUMENT if the token expired. - // MUST return CODE_ALREADY_EXISTS if the user already accepted an invite. - // MUST return CODE_PERMISSION_DENIED if the remote service is not trusted to accept invitations. - ForwardInvite(ctx context.Context, in *ForwardInviteRequest, opts ...grpc.CallOption) (*ForwardInviteResponse, error) - // Completes an invitation acceptance. - // MUST return CODE_NOT_FOUND if the token does not exist. - // MUST return CODE_INVALID_ARGUMENT if the token expired. - // MUST return CODE_ALREADY_EXISTS if the user already accepted an invite. - AcceptInvite(ctx context.Context, in *AcceptInviteRequest, opts ...grpc.CallOption) (*AcceptInviteResponse, error) - // Retrieves details about a remote user who has accepted an invite to share. - // MUST return CODE_NOT_FOUND if the user does not exist. - GetAcceptedUser(ctx context.Context, in *GetAcceptedUserRequest, opts ...grpc.CallOption) (*GetAcceptedUserResponse, error) - // Finds users who accepted invite tokens by their attributes. - FindAcceptedUsers(ctx context.Context, in *FindAcceptedUsersRequest, opts ...grpc.CallOption) (*FindAcceptedUsersResponse, error) - // Delete a previously accepted remote user, that is unfriend that user. - // MUST return CODE_NOT_FOUND if the user does not exist. - DeleteAcceptedUser(ctx context.Context, in *DeleteAcceptedUserRequest, opts ...grpc.CallOption) (*DeleteAcceptedUserResponse, error) -} - -type inviteAPIClient struct { - cc *grpc.ClientConn -} - -func NewInviteAPIClient(cc *grpc.ClientConn) InviteAPIClient { - return &inviteAPIClient{cc} -} - -func (c *inviteAPIClient) GenerateInviteToken(ctx context.Context, in *GenerateInviteTokenRequest, opts ...grpc.CallOption) (*GenerateInviteTokenResponse, error) { - out := new(GenerateInviteTokenResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.invite.v1beta1.InviteAPI/GenerateInviteToken", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *inviteAPIClient) ListInviteTokens(ctx context.Context, in *ListInviteTokensRequest, opts ...grpc.CallOption) (*ListInviteTokensResponse, error) { - out := new(ListInviteTokensResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.invite.v1beta1.InviteAPI/ListInviteTokens", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *inviteAPIClient) ForwardInvite(ctx context.Context, in *ForwardInviteRequest, opts ...grpc.CallOption) (*ForwardInviteResponse, error) { - out := new(ForwardInviteResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.invite.v1beta1.InviteAPI/ForwardInvite", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *inviteAPIClient) AcceptInvite(ctx context.Context, in *AcceptInviteRequest, opts ...grpc.CallOption) (*AcceptInviteResponse, error) { - out := new(AcceptInviteResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.invite.v1beta1.InviteAPI/AcceptInvite", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *inviteAPIClient) GetAcceptedUser(ctx context.Context, in *GetAcceptedUserRequest, opts ...grpc.CallOption) (*GetAcceptedUserResponse, error) { - out := new(GetAcceptedUserResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.invite.v1beta1.InviteAPI/GetAcceptedUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *inviteAPIClient) FindAcceptedUsers(ctx context.Context, in *FindAcceptedUsersRequest, opts ...grpc.CallOption) (*FindAcceptedUsersResponse, error) { - out := new(FindAcceptedUsersResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.invite.v1beta1.InviteAPI/FindAcceptedUsers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (c *inviteAPIClient) DeleteAcceptedUser(ctx context.Context, in *DeleteAcceptedUserRequest, opts ...grpc.CallOption) (*DeleteAcceptedUserResponse, error) { - out := new(DeleteAcceptedUserResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.invite.v1beta1.InviteAPI/DeleteAcceptedUser", in, out, opts...) - if err != nil { - return nil, err +func (x *DeleteAcceptedUserResponse) Reset() { + *x = DeleteAcceptedUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -// InviteAPIServer is the server API for InviteAPI service. -type InviteAPIServer interface { - // Generates a new token for the user with a validity of 24 hours. - GenerateInviteToken(context.Context, *GenerateInviteTokenRequest) (*GenerateInviteTokenResponse, error) - // Lists the valid tokens generated by the user. - ListInviteTokens(context.Context, *ListInviteTokensRequest) (*ListInviteTokensResponse, error) - // Forwards a received invite to the remote sync'n'share system provider. The remote - // system SHALL get an `invite-accepted` call as follows: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post - // MUST return CODE_NOT_FOUND if the token does not exist. - // MUST return CODE_INVALID_ARGUMENT if the token expired. - // MUST return CODE_ALREADY_EXISTS if the user already accepted an invite. - // MUST return CODE_PERMISSION_DENIED if the remote service is not trusted to accept invitations. - ForwardInvite(context.Context, *ForwardInviteRequest) (*ForwardInviteResponse, error) - // Completes an invitation acceptance. - // MUST return CODE_NOT_FOUND if the token does not exist. - // MUST return CODE_INVALID_ARGUMENT if the token expired. - // MUST return CODE_ALREADY_EXISTS if the user already accepted an invite. - AcceptInvite(context.Context, *AcceptInviteRequest) (*AcceptInviteResponse, error) - // Retrieves details about a remote user who has accepted an invite to share. - // MUST return CODE_NOT_FOUND if the user does not exist. - GetAcceptedUser(context.Context, *GetAcceptedUserRequest) (*GetAcceptedUserResponse, error) - // Finds users who accepted invite tokens by their attributes. - FindAcceptedUsers(context.Context, *FindAcceptedUsersRequest) (*FindAcceptedUsersResponse, error) - // Delete a previously accepted remote user, that is unfriend that user. - // MUST return CODE_NOT_FOUND if the user does not exist. - DeleteAcceptedUser(context.Context, *DeleteAcceptedUserRequest) (*DeleteAcceptedUserResponse, error) +func (x *DeleteAcceptedUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -// UnimplementedInviteAPIServer can be embedded to have forward compatible implementations. -type UnimplementedInviteAPIServer struct { -} - -func (*UnimplementedInviteAPIServer) GenerateInviteToken(ctx context.Context, req *GenerateInviteTokenRequest) (*GenerateInviteTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateInviteToken not implemented") -} -func (*UnimplementedInviteAPIServer) ListInviteTokens(ctx context.Context, req *ListInviteTokensRequest) (*ListInviteTokensResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInviteTokens not implemented") -} -func (*UnimplementedInviteAPIServer) ForwardInvite(ctx context.Context, req *ForwardInviteRequest) (*ForwardInviteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ForwardInvite not implemented") -} -func (*UnimplementedInviteAPIServer) AcceptInvite(ctx context.Context, req *AcceptInviteRequest) (*AcceptInviteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AcceptInvite not implemented") -} -func (*UnimplementedInviteAPIServer) GetAcceptedUser(ctx context.Context, req *GetAcceptedUserRequest) (*GetAcceptedUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAcceptedUser not implemented") -} -func (*UnimplementedInviteAPIServer) FindAcceptedUsers(ctx context.Context, req *FindAcceptedUsersRequest) (*FindAcceptedUsersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindAcceptedUsers not implemented") -} -func (*UnimplementedInviteAPIServer) DeleteAcceptedUser(ctx context.Context, req *DeleteAcceptedUserRequest) (*DeleteAcceptedUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAcceptedUser not implemented") -} - -func RegisterInviteAPIServer(s *grpc.Server, srv InviteAPIServer) { - s.RegisterService(&_InviteAPI_serviceDesc, srv) -} - -func _InviteAPI_GenerateInviteToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GenerateInviteTokenRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InviteAPIServer).GenerateInviteToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.invite.v1beta1.InviteAPI/GenerateInviteToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InviteAPIServer).GenerateInviteToken(ctx, req.(*GenerateInviteTokenRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InviteAPI_ListInviteTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInviteTokensRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InviteAPIServer).ListInviteTokens(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.invite.v1beta1.InviteAPI/ListInviteTokens", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InviteAPIServer).ListInviteTokens(ctx, req.(*ListInviteTokensRequest)) - } - return interceptor(ctx, in, info, handler) -} +func (*DeleteAcceptedUserResponse) ProtoMessage() {} -func _InviteAPI_ForwardInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ForwardInviteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InviteAPIServer).ForwardInvite(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.invite.v1beta1.InviteAPI/ForwardInvite", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InviteAPIServer).ForwardInvite(ctx, req.(*ForwardInviteRequest)) +func (x *DeleteAcceptedUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _InviteAPI_AcceptInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AcceptInviteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InviteAPIServer).AcceptInvite(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.invite.v1beta1.InviteAPI/AcceptInvite", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InviteAPIServer).AcceptInvite(ctx, req.(*AcceptInviteRequest)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use DeleteAcceptedUserResponse.ProtoReflect.Descriptor instead. +func (*DeleteAcceptedUserResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP(), []int{13} } -func _InviteAPI_GetAcceptedUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAcceptedUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InviteAPIServer).GetAcceptedUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.invite.v1beta1.InviteAPI/GetAcceptedUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InviteAPIServer).GetAcceptedUser(ctx, req.(*GetAcceptedUserRequest)) +func (x *DeleteAcceptedUserResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } - return interceptor(ctx, in, info, handler) + return nil } -func _InviteAPI_FindAcceptedUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindAcceptedUsersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InviteAPIServer).FindAcceptedUsers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.invite.v1beta1.InviteAPI/FindAcceptedUsers", +func (x *DeleteAcceptedUserResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InviteAPIServer).FindAcceptedUsers(ctx, req.(*FindAcceptedUsersRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _InviteAPI_DeleteAcceptedUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAcceptedUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InviteAPIServer).DeleteAcceptedUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.invite.v1beta1.InviteAPI/DeleteAcceptedUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InviteAPIServer).DeleteAcceptedUser(ctx, req.(*DeleteAcceptedUserRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_ocm_invite_v1beta1_invite_api_proto protoreflect.FileDescriptor + +var file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x73, 0x33, 0x2e, 0x6f, + 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, + 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x63, 0x73, + 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, + 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x1a, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc9, + 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, + 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0b, 0x69, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x19, 0x0a, 0x17, 0x4c, 0x69, + 0x73, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x95, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, + 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x48, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, + 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x22, 0xef, 0x01, + 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x69, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x5c, 0x0a, 0x16, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, + 0x6e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, + 0xf0, 0x01, 0x0a, 0x15, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3a, 0x0a, + 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, + 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, + 0x6d, 0x65, 0x22, 0xd2, 0x01, 0x0a, 0x13, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x46, 0x0a, + 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, + 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, + 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0a, 0x72, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x22, 0xef, 0x01, 0x0a, 0x14, 0x41, 0x63, 0x63, 0x65, + 0x70, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, + 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x94, 0x01, 0x0a, 0x16, 0x47, 0x65, + 0x74, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x22, 0xbf, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x12, 0x40, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, 0x73, + 0x65, 0x72, 0x22, 0x65, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xc7, 0x01, 0x0a, 0x19, 0x46, 0x69, + 0x6e, 0x64, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0e, 0x61, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, + 0x65, 0x72, 0x73, 0x22, 0x97, 0x01, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, + 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x80, 0x01, + 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x32, 0xc6, 0x06, 0x0a, 0x09, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x50, 0x49, 0x12, 0x7e, + 0x0a, 0x13, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, + 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x73, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, + 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, + 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, + 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, + 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, + 0x72, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x78, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, + 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, + 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x12, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, + 0x65, 0x72, 0x12, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xea, 0x01, 0x0a, 0x1a, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, + 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, + 0x2f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, + 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, + 0x43, 0x4f, 0x49, 0xaa, 0x02, 0x16, 0x43, 0x73, 0x33, 0x2e, 0x4f, 0x63, 0x6d, 0x2e, 0x49, 0x6e, + 0x76, 0x69, 0x74, 0x65, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x16, 0x43, + 0x73, 0x33, 0x5c, 0x4f, 0x63, 0x6d, 0x5c, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5c, 0x56, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x22, 0x43, 0x73, 0x33, 0x5c, 0x4f, 0x63, 0x6d, 0x5c, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x43, 0x73, 0x33, + 0x3a, 0x3a, 0x4f, 0x63, 0x6d, 0x3a, 0x3a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescOnce sync.Once + file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescData = file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDesc +) -var _InviteAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.ocm.invite.v1beta1.InviteAPI", - HandlerType: (*InviteAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GenerateInviteToken", - Handler: _InviteAPI_GenerateInviteToken_Handler, - }, - { - MethodName: "ListInviteTokens", - Handler: _InviteAPI_ListInviteTokens_Handler, - }, - { - MethodName: "ForwardInvite", - Handler: _InviteAPI_ForwardInvite_Handler, - }, - { - MethodName: "AcceptInvite", - Handler: _InviteAPI_AcceptInvite_Handler, - }, - { - MethodName: "GetAcceptedUser", - Handler: _InviteAPI_GetAcceptedUser_Handler, - }, - { - MethodName: "FindAcceptedUsers", - Handler: _InviteAPI_FindAcceptedUsers_Handler, - }, - { - MethodName: "DeleteAcceptedUser", - Handler: _InviteAPI_DeleteAcceptedUser_Handler, +func file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescGZIP() []byte { + file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescOnce.Do(func() { + file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescData) + }) + return file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDescData +} + +var file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_cs3_ocm_invite_v1beta1_invite_api_proto_goTypes = []interface{}{ + (*GenerateInviteTokenRequest)(nil), // 0: cs3.ocm.invite.v1beta1.GenerateInviteTokenRequest + (*GenerateInviteTokenResponse)(nil), // 1: cs3.ocm.invite.v1beta1.GenerateInviteTokenResponse + (*ListInviteTokensRequest)(nil), // 2: cs3.ocm.invite.v1beta1.ListInviteTokensRequest + (*ListInviteTokensResponse)(nil), // 3: cs3.ocm.invite.v1beta1.ListInviteTokensResponse + (*ForwardInviteRequest)(nil), // 4: cs3.ocm.invite.v1beta1.ForwardInviteRequest + (*ForwardInviteResponse)(nil), // 5: cs3.ocm.invite.v1beta1.ForwardInviteResponse + (*AcceptInviteRequest)(nil), // 6: cs3.ocm.invite.v1beta1.AcceptInviteRequest + (*AcceptInviteResponse)(nil), // 7: cs3.ocm.invite.v1beta1.AcceptInviteResponse + (*GetAcceptedUserRequest)(nil), // 8: cs3.ocm.invite.v1beta1.GetAcceptedUserRequest + (*GetAcceptedUserResponse)(nil), // 9: cs3.ocm.invite.v1beta1.GetAcceptedUserResponse + (*FindAcceptedUsersRequest)(nil), // 10: cs3.ocm.invite.v1beta1.FindAcceptedUsersRequest + (*FindAcceptedUsersResponse)(nil), // 11: cs3.ocm.invite.v1beta1.FindAcceptedUsersResponse + (*DeleteAcceptedUserRequest)(nil), // 12: cs3.ocm.invite.v1beta1.DeleteAcceptedUserRequest + (*DeleteAcceptedUserResponse)(nil), // 13: cs3.ocm.invite.v1beta1.DeleteAcceptedUserResponse + (*v1beta1.Opaque)(nil), // 14: cs3.types.v1beta1.Opaque + (*v1beta11.Status)(nil), // 15: cs3.rpc.v1beta1.Status + (*InviteToken)(nil), // 16: cs3.ocm.invite.v1beta1.InviteToken + (*v1beta12.ProviderInfo)(nil), // 17: cs3.ocm.provider.v1beta1.ProviderInfo + (*v1beta13.UserId)(nil), // 18: cs3.identity.user.v1beta1.UserId + (*v1beta13.User)(nil), // 19: cs3.identity.user.v1beta1.User +} +var file_cs3_ocm_invite_v1beta1_invite_api_proto_depIdxs = []int32{ + 14, // 0: cs3.ocm.invite.v1beta1.GenerateInviteTokenRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 15, // 1: cs3.ocm.invite.v1beta1.GenerateInviteTokenResponse.status:type_name -> cs3.rpc.v1beta1.Status + 14, // 2: cs3.ocm.invite.v1beta1.GenerateInviteTokenResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 3: cs3.ocm.invite.v1beta1.GenerateInviteTokenResponse.invite_token:type_name -> cs3.ocm.invite.v1beta1.InviteToken + 15, // 4: cs3.ocm.invite.v1beta1.ListInviteTokensResponse.status:type_name -> cs3.rpc.v1beta1.Status + 16, // 5: cs3.ocm.invite.v1beta1.ListInviteTokensResponse.invite_tokens:type_name -> cs3.ocm.invite.v1beta1.InviteToken + 14, // 6: cs3.ocm.invite.v1beta1.ForwardInviteRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 7: cs3.ocm.invite.v1beta1.ForwardInviteRequest.invite_token:type_name -> cs3.ocm.invite.v1beta1.InviteToken + 17, // 8: cs3.ocm.invite.v1beta1.ForwardInviteRequest.origin_system_provider:type_name -> cs3.ocm.provider.v1beta1.ProviderInfo + 15, // 9: cs3.ocm.invite.v1beta1.ForwardInviteResponse.status:type_name -> cs3.rpc.v1beta1.Status + 14, // 10: cs3.ocm.invite.v1beta1.ForwardInviteResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 18, // 11: cs3.ocm.invite.v1beta1.ForwardInviteResponse.user_id:type_name -> cs3.identity.user.v1beta1.UserId + 14, // 12: cs3.ocm.invite.v1beta1.AcceptInviteRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 13: cs3.ocm.invite.v1beta1.AcceptInviteRequest.invite_token:type_name -> cs3.ocm.invite.v1beta1.InviteToken + 19, // 14: cs3.ocm.invite.v1beta1.AcceptInviteRequest.remote_user:type_name -> cs3.identity.user.v1beta1.User + 15, // 15: cs3.ocm.invite.v1beta1.AcceptInviteResponse.status:type_name -> cs3.rpc.v1beta1.Status + 14, // 16: cs3.ocm.invite.v1beta1.AcceptInviteResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 18, // 17: cs3.ocm.invite.v1beta1.AcceptInviteResponse.user_id:type_name -> cs3.identity.user.v1beta1.UserId + 14, // 18: cs3.ocm.invite.v1beta1.GetAcceptedUserRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 18, // 19: cs3.ocm.invite.v1beta1.GetAcceptedUserRequest.remote_user_id:type_name -> cs3.identity.user.v1beta1.UserId + 15, // 20: cs3.ocm.invite.v1beta1.GetAcceptedUserResponse.status:type_name -> cs3.rpc.v1beta1.Status + 14, // 21: cs3.ocm.invite.v1beta1.GetAcceptedUserResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 19, // 22: cs3.ocm.invite.v1beta1.GetAcceptedUserResponse.remote_user:type_name -> cs3.identity.user.v1beta1.User + 14, // 23: cs3.ocm.invite.v1beta1.FindAcceptedUsersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 15, // 24: cs3.ocm.invite.v1beta1.FindAcceptedUsersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 14, // 25: cs3.ocm.invite.v1beta1.FindAcceptedUsersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 19, // 26: cs3.ocm.invite.v1beta1.FindAcceptedUsersResponse.accepted_users:type_name -> cs3.identity.user.v1beta1.User + 14, // 27: cs3.ocm.invite.v1beta1.DeleteAcceptedUserRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 18, // 28: cs3.ocm.invite.v1beta1.DeleteAcceptedUserRequest.remote_user_id:type_name -> cs3.identity.user.v1beta1.UserId + 15, // 29: cs3.ocm.invite.v1beta1.DeleteAcceptedUserResponse.status:type_name -> cs3.rpc.v1beta1.Status + 14, // 30: cs3.ocm.invite.v1beta1.DeleteAcceptedUserResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 0, // 31: cs3.ocm.invite.v1beta1.InviteAPI.GenerateInviteToken:input_type -> cs3.ocm.invite.v1beta1.GenerateInviteTokenRequest + 2, // 32: cs3.ocm.invite.v1beta1.InviteAPI.ListInviteTokens:input_type -> cs3.ocm.invite.v1beta1.ListInviteTokensRequest + 4, // 33: cs3.ocm.invite.v1beta1.InviteAPI.ForwardInvite:input_type -> cs3.ocm.invite.v1beta1.ForwardInviteRequest + 6, // 34: cs3.ocm.invite.v1beta1.InviteAPI.AcceptInvite:input_type -> cs3.ocm.invite.v1beta1.AcceptInviteRequest + 8, // 35: cs3.ocm.invite.v1beta1.InviteAPI.GetAcceptedUser:input_type -> cs3.ocm.invite.v1beta1.GetAcceptedUserRequest + 10, // 36: cs3.ocm.invite.v1beta1.InviteAPI.FindAcceptedUsers:input_type -> cs3.ocm.invite.v1beta1.FindAcceptedUsersRequest + 12, // 37: cs3.ocm.invite.v1beta1.InviteAPI.DeleteAcceptedUser:input_type -> cs3.ocm.invite.v1beta1.DeleteAcceptedUserRequest + 1, // 38: cs3.ocm.invite.v1beta1.InviteAPI.GenerateInviteToken:output_type -> cs3.ocm.invite.v1beta1.GenerateInviteTokenResponse + 3, // 39: cs3.ocm.invite.v1beta1.InviteAPI.ListInviteTokens:output_type -> cs3.ocm.invite.v1beta1.ListInviteTokensResponse + 5, // 40: cs3.ocm.invite.v1beta1.InviteAPI.ForwardInvite:output_type -> cs3.ocm.invite.v1beta1.ForwardInviteResponse + 7, // 41: cs3.ocm.invite.v1beta1.InviteAPI.AcceptInvite:output_type -> cs3.ocm.invite.v1beta1.AcceptInviteResponse + 9, // 42: cs3.ocm.invite.v1beta1.InviteAPI.GetAcceptedUser:output_type -> cs3.ocm.invite.v1beta1.GetAcceptedUserResponse + 11, // 43: cs3.ocm.invite.v1beta1.InviteAPI.FindAcceptedUsers:output_type -> cs3.ocm.invite.v1beta1.FindAcceptedUsersResponse + 13, // 44: cs3.ocm.invite.v1beta1.InviteAPI.DeleteAcceptedUser:output_type -> cs3.ocm.invite.v1beta1.DeleteAcceptedUserResponse + 38, // [38:45] is the sub-list for method output_type + 31, // [31:38] is the sub-list for method input_type + 31, // [31:31] is the sub-list for extension type_name + 31, // [31:31] is the sub-list for extension extendee + 0, // [0:31] is the sub-list for field type_name +} + +func init() { file_cs3_ocm_invite_v1beta1_invite_api_proto_init() } +func file_cs3_ocm_invite_v1beta1_invite_api_proto_init() { + if File_cs3_ocm_invite_v1beta1_invite_api_proto != nil { + return + } + file_cs3_ocm_invite_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenerateInviteTokenRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenerateInviteTokenResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListInviteTokensRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListInviteTokensResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForwardInviteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForwardInviteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AcceptInviteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AcceptInviteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAcceptedUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAcceptedUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAcceptedUsersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAcceptedUsersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteAcceptedUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteAcceptedUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 14, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/ocm/invite/v1beta1/invite_api.proto", + GoTypes: file_cs3_ocm_invite_v1beta1_invite_api_proto_goTypes, + DependencyIndexes: file_cs3_ocm_invite_v1beta1_invite_api_proto_depIdxs, + MessageInfos: file_cs3_ocm_invite_v1beta1_invite_api_proto_msgTypes, + }.Build() + File_cs3_ocm_invite_v1beta1_invite_api_proto = out.File + file_cs3_ocm_invite_v1beta1_invite_api_proto_rawDesc = nil + file_cs3_ocm_invite_v1beta1_invite_api_proto_goTypes = nil + file_cs3_ocm_invite_v1beta1_invite_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/invite_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/invite_api_grpc.pb.go new file mode 100644 index 00000000000..c4cafb90f3a --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/invite_api_grpc.pb.go @@ -0,0 +1,383 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/ocm/invite/v1beta1/invite_api.proto + +package invitev1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + InviteAPI_GenerateInviteToken_FullMethodName = "/cs3.ocm.invite.v1beta1.InviteAPI/GenerateInviteToken" + InviteAPI_ListInviteTokens_FullMethodName = "/cs3.ocm.invite.v1beta1.InviteAPI/ListInviteTokens" + InviteAPI_ForwardInvite_FullMethodName = "/cs3.ocm.invite.v1beta1.InviteAPI/ForwardInvite" + InviteAPI_AcceptInvite_FullMethodName = "/cs3.ocm.invite.v1beta1.InviteAPI/AcceptInvite" + InviteAPI_GetAcceptedUser_FullMethodName = "/cs3.ocm.invite.v1beta1.InviteAPI/GetAcceptedUser" + InviteAPI_FindAcceptedUsers_FullMethodName = "/cs3.ocm.invite.v1beta1.InviteAPI/FindAcceptedUsers" + InviteAPI_DeleteAcceptedUser_FullMethodName = "/cs3.ocm.invite.v1beta1.InviteAPI/DeleteAcceptedUser" +) + +// InviteAPIClient is the client API for InviteAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type InviteAPIClient interface { + // Generates a new token for the user with a validity of 24 hours. + GenerateInviteToken(ctx context.Context, in *GenerateInviteTokenRequest, opts ...grpc.CallOption) (*GenerateInviteTokenResponse, error) + // Lists the valid tokens generated by the user. + ListInviteTokens(ctx context.Context, in *ListInviteTokensRequest, opts ...grpc.CallOption) (*ListInviteTokensResponse, error) + // Forwards a received invite to the remote sync'n'share system provider. The remote + // system SHALL get an `invite-accepted` call as follows: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post + // MUST return CODE_NOT_FOUND if the token does not exist. + // MUST return CODE_INVALID_ARGUMENT if the token expired. + // MUST return CODE_ALREADY_EXISTS if the user already accepted an invite. + // MUST return CODE_PERMISSION_DENIED if the remote service is not trusted to accept invitations. + ForwardInvite(ctx context.Context, in *ForwardInviteRequest, opts ...grpc.CallOption) (*ForwardInviteResponse, error) + // Completes an invitation acceptance. + // MUST return CODE_NOT_FOUND if the token does not exist. + // MUST return CODE_INVALID_ARGUMENT if the token expired. + // MUST return CODE_ALREADY_EXISTS if the user already accepted an invite. + AcceptInvite(ctx context.Context, in *AcceptInviteRequest, opts ...grpc.CallOption) (*AcceptInviteResponse, error) + // Retrieves details about a remote user who has accepted an invite to share. + // MUST return CODE_NOT_FOUND if the user does not exist. + GetAcceptedUser(ctx context.Context, in *GetAcceptedUserRequest, opts ...grpc.CallOption) (*GetAcceptedUserResponse, error) + // Finds users who accepted invite tokens by their attributes. + FindAcceptedUsers(ctx context.Context, in *FindAcceptedUsersRequest, opts ...grpc.CallOption) (*FindAcceptedUsersResponse, error) + // Delete a previously accepted remote user, that is unfriend that user. + // MUST return CODE_NOT_FOUND if the user does not exist. + DeleteAcceptedUser(ctx context.Context, in *DeleteAcceptedUserRequest, opts ...grpc.CallOption) (*DeleteAcceptedUserResponse, error) +} + +type inviteAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewInviteAPIClient(cc grpc.ClientConnInterface) InviteAPIClient { + return &inviteAPIClient{cc} +} + +func (c *inviteAPIClient) GenerateInviteToken(ctx context.Context, in *GenerateInviteTokenRequest, opts ...grpc.CallOption) (*GenerateInviteTokenResponse, error) { + out := new(GenerateInviteTokenResponse) + err := c.cc.Invoke(ctx, InviteAPI_GenerateInviteToken_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *inviteAPIClient) ListInviteTokens(ctx context.Context, in *ListInviteTokensRequest, opts ...grpc.CallOption) (*ListInviteTokensResponse, error) { + out := new(ListInviteTokensResponse) + err := c.cc.Invoke(ctx, InviteAPI_ListInviteTokens_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *inviteAPIClient) ForwardInvite(ctx context.Context, in *ForwardInviteRequest, opts ...grpc.CallOption) (*ForwardInviteResponse, error) { + out := new(ForwardInviteResponse) + err := c.cc.Invoke(ctx, InviteAPI_ForwardInvite_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *inviteAPIClient) AcceptInvite(ctx context.Context, in *AcceptInviteRequest, opts ...grpc.CallOption) (*AcceptInviteResponse, error) { + out := new(AcceptInviteResponse) + err := c.cc.Invoke(ctx, InviteAPI_AcceptInvite_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *inviteAPIClient) GetAcceptedUser(ctx context.Context, in *GetAcceptedUserRequest, opts ...grpc.CallOption) (*GetAcceptedUserResponse, error) { + out := new(GetAcceptedUserResponse) + err := c.cc.Invoke(ctx, InviteAPI_GetAcceptedUser_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *inviteAPIClient) FindAcceptedUsers(ctx context.Context, in *FindAcceptedUsersRequest, opts ...grpc.CallOption) (*FindAcceptedUsersResponse, error) { + out := new(FindAcceptedUsersResponse) + err := c.cc.Invoke(ctx, InviteAPI_FindAcceptedUsers_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *inviteAPIClient) DeleteAcceptedUser(ctx context.Context, in *DeleteAcceptedUserRequest, opts ...grpc.CallOption) (*DeleteAcceptedUserResponse, error) { + out := new(DeleteAcceptedUserResponse) + err := c.cc.Invoke(ctx, InviteAPI_DeleteAcceptedUser_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// InviteAPIServer is the server API for InviteAPI service. +// All implementations should embed UnimplementedInviteAPIServer +// for forward compatibility +type InviteAPIServer interface { + // Generates a new token for the user with a validity of 24 hours. + GenerateInviteToken(context.Context, *GenerateInviteTokenRequest) (*GenerateInviteTokenResponse, error) + // Lists the valid tokens generated by the user. + ListInviteTokens(context.Context, *ListInviteTokensRequest) (*ListInviteTokensResponse, error) + // Forwards a received invite to the remote sync'n'share system provider. The remote + // system SHALL get an `invite-accepted` call as follows: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post + // MUST return CODE_NOT_FOUND if the token does not exist. + // MUST return CODE_INVALID_ARGUMENT if the token expired. + // MUST return CODE_ALREADY_EXISTS if the user already accepted an invite. + // MUST return CODE_PERMISSION_DENIED if the remote service is not trusted to accept invitations. + ForwardInvite(context.Context, *ForwardInviteRequest) (*ForwardInviteResponse, error) + // Completes an invitation acceptance. + // MUST return CODE_NOT_FOUND if the token does not exist. + // MUST return CODE_INVALID_ARGUMENT if the token expired. + // MUST return CODE_ALREADY_EXISTS if the user already accepted an invite. + AcceptInvite(context.Context, *AcceptInviteRequest) (*AcceptInviteResponse, error) + // Retrieves details about a remote user who has accepted an invite to share. + // MUST return CODE_NOT_FOUND if the user does not exist. + GetAcceptedUser(context.Context, *GetAcceptedUserRequest) (*GetAcceptedUserResponse, error) + // Finds users who accepted invite tokens by their attributes. + FindAcceptedUsers(context.Context, *FindAcceptedUsersRequest) (*FindAcceptedUsersResponse, error) + // Delete a previously accepted remote user, that is unfriend that user. + // MUST return CODE_NOT_FOUND if the user does not exist. + DeleteAcceptedUser(context.Context, *DeleteAcceptedUserRequest) (*DeleteAcceptedUserResponse, error) +} + +// UnimplementedInviteAPIServer should be embedded to have forward compatible implementations. +type UnimplementedInviteAPIServer struct { +} + +func (UnimplementedInviteAPIServer) GenerateInviteToken(context.Context, *GenerateInviteTokenRequest) (*GenerateInviteTokenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GenerateInviteToken not implemented") +} +func (UnimplementedInviteAPIServer) ListInviteTokens(context.Context, *ListInviteTokensRequest) (*ListInviteTokensResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListInviteTokens not implemented") +} +func (UnimplementedInviteAPIServer) ForwardInvite(context.Context, *ForwardInviteRequest) (*ForwardInviteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ForwardInvite not implemented") +} +func (UnimplementedInviteAPIServer) AcceptInvite(context.Context, *AcceptInviteRequest) (*AcceptInviteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AcceptInvite not implemented") +} +func (UnimplementedInviteAPIServer) GetAcceptedUser(context.Context, *GetAcceptedUserRequest) (*GetAcceptedUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAcceptedUser not implemented") +} +func (UnimplementedInviteAPIServer) FindAcceptedUsers(context.Context, *FindAcceptedUsersRequest) (*FindAcceptedUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindAcceptedUsers not implemented") +} +func (UnimplementedInviteAPIServer) DeleteAcceptedUser(context.Context, *DeleteAcceptedUserRequest) (*DeleteAcceptedUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteAcceptedUser not implemented") +} + +// UnsafeInviteAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to InviteAPIServer will +// result in compilation errors. +type UnsafeInviteAPIServer interface { + mustEmbedUnimplementedInviteAPIServer() +} + +func RegisterInviteAPIServer(s grpc.ServiceRegistrar, srv InviteAPIServer) { + s.RegisterService(&InviteAPI_ServiceDesc, srv) +} + +func _InviteAPI_GenerateInviteToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GenerateInviteTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InviteAPIServer).GenerateInviteToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: InviteAPI_GenerateInviteToken_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InviteAPIServer).GenerateInviteToken(ctx, req.(*GenerateInviteTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InviteAPI_ListInviteTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListInviteTokensRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InviteAPIServer).ListInviteTokens(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: InviteAPI_ListInviteTokens_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InviteAPIServer).ListInviteTokens(ctx, req.(*ListInviteTokensRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InviteAPI_ForwardInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ForwardInviteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InviteAPIServer).ForwardInvite(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: InviteAPI_ForwardInvite_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InviteAPIServer).ForwardInvite(ctx, req.(*ForwardInviteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InviteAPI_AcceptInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AcceptInviteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InviteAPIServer).AcceptInvite(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: InviteAPI_AcceptInvite_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InviteAPIServer).AcceptInvite(ctx, req.(*AcceptInviteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InviteAPI_GetAcceptedUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAcceptedUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InviteAPIServer).GetAcceptedUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: InviteAPI_GetAcceptedUser_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InviteAPIServer).GetAcceptedUser(ctx, req.(*GetAcceptedUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InviteAPI_FindAcceptedUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindAcceptedUsersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InviteAPIServer).FindAcceptedUsers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: InviteAPI_FindAcceptedUsers_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InviteAPIServer).FindAcceptedUsers(ctx, req.(*FindAcceptedUsersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InviteAPI_DeleteAcceptedUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteAcceptedUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InviteAPIServer).DeleteAcceptedUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: InviteAPI_DeleteAcceptedUser_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InviteAPIServer).DeleteAcceptedUser(ctx, req.(*DeleteAcceptedUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// InviteAPI_ServiceDesc is the grpc.ServiceDesc for InviteAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var InviteAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.ocm.invite.v1beta1.InviteAPI", + HandlerType: (*InviteAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GenerateInviteToken", + Handler: _InviteAPI_GenerateInviteToken_Handler, + }, + { + MethodName: "ListInviteTokens", + Handler: _InviteAPI_ListInviteTokens_Handler, + }, + { + MethodName: "ForwardInvite", + Handler: _InviteAPI_ForwardInvite_Handler, + }, + { + MethodName: "AcceptInvite", + Handler: _InviteAPI_AcceptInvite_Handler, + }, + { + MethodName: "GetAcceptedUser", + Handler: _InviteAPI_GetAcceptedUser_Handler, + }, + { + MethodName: "FindAcceptedUsers", + Handler: _InviteAPI_FindAcceptedUsers_Handler, + }, + { + MethodName: "DeleteAcceptedUser", + Handler: _InviteAPI_DeleteAcceptedUser_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/ocm/invite/v1beta1/invite_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/resources.pb.go index 2997da26866..9e5c701326c 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/invite/v1beta1/resources.pb.go @@ -1,30 +1,52 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/ocm/invite/v1beta1/resources.proto package invitev1beta1 import ( - fmt "fmt" v1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // InviteToken is used to invite users and groups from other sync'n'share // systems to collaborate on resources. type InviteToken struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // Unique ID associated with an InviteToken. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` @@ -36,92 +58,174 @@ type InviteToken struct { Expiration *v1beta11.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` // OPTIONAL. // User-defined description to be forwarded to the invitees. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` } -func (m *InviteToken) Reset() { *m = InviteToken{} } -func (m *InviteToken) String() string { return proto.CompactTextString(m) } -func (*InviteToken) ProtoMessage() {} -func (*InviteToken) Descriptor() ([]byte, []int) { - return fileDescriptor_9bdba69a40d5b11f, []int{0} +func (x *InviteToken) Reset() { + *x = InviteToken{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_invite_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InviteToken) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InviteToken.Unmarshal(m, b) +func (x *InviteToken) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InviteToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InviteToken.Marshal(b, m, deterministic) -} -func (m *InviteToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_InviteToken.Merge(m, src) -} -func (m *InviteToken) XXX_Size() int { - return xxx_messageInfo_InviteToken.Size(m) -} -func (m *InviteToken) XXX_DiscardUnknown() { - xxx_messageInfo_InviteToken.DiscardUnknown(m) + +func (*InviteToken) ProtoMessage() {} + +func (x *InviteToken) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_invite_v1beta1_resources_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) } -var xxx_messageInfo_InviteToken proto.InternalMessageInfo +// Deprecated: Use InviteToken.ProtoReflect.Descriptor instead. +func (*InviteToken) Descriptor() ([]byte, []int) { + return file_cs3_ocm_invite_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *InviteToken) GetToken() string { - if m != nil { - return m.Token +func (x *InviteToken) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *InviteToken) GetUserId() *v1beta1.UserId { - if m != nil { - return m.UserId +func (x *InviteToken) GetUserId() *v1beta1.UserId { + if x != nil { + return x.UserId } return nil } -func (m *InviteToken) GetExpiration() *v1beta11.Timestamp { - if m != nil { - return m.Expiration +func (x *InviteToken) GetExpiration() *v1beta11.Timestamp { + if x != nil { + return x.Expiration } return nil } -func (m *InviteToken) GetDescription() string { - if m != nil { - return m.Description +func (x *InviteToken) GetDescription() string { + if x != nil { + return x.Description } return "" } -func init() { - proto.RegisterType((*InviteToken)(nil), "cs3.ocm.invite.v1beta1.InviteToken") +var File_cs3_ocm_invite_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_ocm_invite_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, + 0x6d, 0x2e, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, + 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x01, 0x0a, 0x0b, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x12, 0x3a, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x64, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0a, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xea, 0x01, 0x0a, + 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x69, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, + 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, + 0x6f, 0x63, 0x6d, 0x2f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x3b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0xa2, 0x02, 0x03, 0x43, 0x4f, 0x49, 0xaa, 0x02, 0x16, 0x43, 0x73, 0x33, 0x2e, 0x4f, 0x63, 0x6d, + 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, + 0x02, 0x16, 0x43, 0x73, 0x33, 0x5c, 0x4f, 0x63, 0x6d, 0x5c, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x22, 0x43, 0x73, 0x33, 0x5c, 0x4f, + 0x63, 0x6d, 0x5c, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, + 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x4f, 0x63, 0x6d, 0x3a, 0x3a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } -func init() { - proto.RegisterFile("cs3/ocm/invite/v1beta1/resources.proto", fileDescriptor_9bdba69a40d5b11f) +var ( + file_cs3_ocm_invite_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_ocm_invite_v1beta1_resources_proto_rawDescData = file_cs3_ocm_invite_v1beta1_resources_proto_rawDesc +) + +func file_cs3_ocm_invite_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_ocm_invite_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_ocm_invite_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_ocm_invite_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_ocm_invite_v1beta1_resources_proto_rawDescData } -var fileDescriptor_9bdba69a40d5b11f = []byte{ - // 299 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xb1, 0x4b, 0xc4, 0x30, - 0x14, 0xc6, 0xe9, 0x9d, 0x9e, 0x98, 0x43, 0x87, 0x22, 0x47, 0x29, 0x0a, 0xd5, 0x41, 0xce, 0xe5, - 0x95, 0xda, 0x4d, 0x9c, 0x7a, 0x53, 0xa7, 0x1e, 0xe5, 0x74, 0x90, 0x82, 0xf4, 0xd2, 0x37, 0x04, - 0x49, 0x53, 0x92, 0xf4, 0xf0, 0xfe, 0x1d, 0x47, 0xff, 0x09, 0x77, 0xff, 0x2a, 0x49, 0xd2, 0xca, - 0x0d, 0x3a, 0xb5, 0x2f, 0xdf, 0xef, 0x7b, 0xf9, 0xf2, 0x91, 0x5b, 0xaa, 0xd2, 0x58, 0x50, 0x1e, - 0xb3, 0x76, 0xc7, 0x34, 0xc6, 0xbb, 0x64, 0x8b, 0xba, 0x4e, 0x62, 0x89, 0x4a, 0xf4, 0x92, 0xa2, - 0x82, 0x4e, 0x0a, 0x2d, 0xfc, 0x05, 0x55, 0x29, 0x08, 0xca, 0xc1, 0x71, 0x30, 0x70, 0xe1, 0x9d, - 0xf1, 0xb3, 0x06, 0x5b, 0xcd, 0xf4, 0x3e, 0xee, 0x15, 0xca, 0xff, 0x56, 0x84, 0x57, 0x06, 0xd5, - 0xfb, 0x0e, 0xd5, 0x2f, 0x62, 0x27, 0x27, 0xdf, 0x7c, 0x79, 0x64, 0x9e, 0xdb, 0xe5, 0x1b, 0xf1, - 0x86, 0xad, 0x7f, 0x41, 0x8e, 0xb5, 0xf9, 0x09, 0xbc, 0xc8, 0x5b, 0x9e, 0x96, 0x6e, 0xf0, 0x1f, - 0xc8, 0x89, 0xb9, 0xe4, 0x95, 0x35, 0xc1, 0x24, 0xf2, 0x96, 0xf3, 0xfb, 0x6b, 0x30, 0xc9, 0xc6, - 0x04, 0x60, 0xc4, 0x31, 0x1c, 0x3c, 0x29, 0x94, 0x79, 0x53, 0xce, 0x7a, 0xfb, 0xf5, 0x1f, 0x09, - 0xc1, 0xf7, 0x8e, 0xc9, 0x5a, 0x33, 0xd1, 0x06, 0x53, 0x6b, 0xbf, 0xb4, 0x76, 0x97, 0x63, 0xb4, - 0x6d, 0x18, 0x47, 0xa5, 0x6b, 0xde, 0x95, 0x07, 0xbc, 0x1f, 0x91, 0x79, 0x83, 0x8a, 0x4a, 0xd6, - 0x59, 0xfb, 0x91, 0x4d, 0x75, 0x78, 0x94, 0xf5, 0x24, 0xa4, 0x82, 0xc3, 0xdf, 0x4d, 0x65, 0xe7, - 0xe5, 0xd8, 0xc7, 0xda, 0xbc, 0x77, 0xed, 0xbd, 0x9c, 0x39, 0x62, 0x00, 0x3e, 0x26, 0xd3, 0x55, - 0x91, 0x7f, 0x4e, 0x16, 0x2b, 0x95, 0x42, 0x41, 0x39, 0xb8, 0x32, 0xe0, 0x39, 0xc9, 0x8c, 0xfc, - 0x6d, 0x85, 0xaa, 0xa0, 0xbc, 0x72, 0x42, 0x35, 0x08, 0xdb, 0x99, 0xed, 0x2f, 0xfd, 0x09, 0x00, - 0x00, 0xff, 0xff, 0x38, 0xee, 0x9a, 0xa2, 0xcb, 0x01, 0x00, 0x00, +var file_cs3_ocm_invite_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_cs3_ocm_invite_v1beta1_resources_proto_goTypes = []interface{}{ + (*InviteToken)(nil), // 0: cs3.ocm.invite.v1beta1.InviteToken + (*v1beta1.UserId)(nil), // 1: cs3.identity.user.v1beta1.UserId + (*v1beta11.Timestamp)(nil), // 2: cs3.types.v1beta1.Timestamp +} +var file_cs3_ocm_invite_v1beta1_resources_proto_depIdxs = []int32{ + 1, // 0: cs3.ocm.invite.v1beta1.InviteToken.user_id:type_name -> cs3.identity.user.v1beta1.UserId + 2, // 1: cs3.ocm.invite.v1beta1.InviteToken.expiration:type_name -> cs3.types.v1beta1.Timestamp + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_cs3_ocm_invite_v1beta1_resources_proto_init() } +func file_cs3_ocm_invite_v1beta1_resources_proto_init() { + if File_cs3_ocm_invite_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_ocm_invite_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InviteToken); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_ocm_invite_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_ocm_invite_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_ocm_invite_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_ocm_invite_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_ocm_invite_v1beta1_resources_proto = out.File + file_cs3_ocm_invite_v1beta1_resources_proto_rawDesc = nil + file_cs3_ocm_invite_v1beta1_resources_proto_goTypes = nil + file_cs3_ocm_invite_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/provider_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/provider_api.pb.go index 68c8cfd8109..7b28cd630bd 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/provider_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/provider_api.pb.go @@ -1,185 +1,227 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/ocm/provider/v1beta1/provider_api.proto package providerv1beta1 import ( - context "context" - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 IsProviderAllowedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The provider that we need to check against the list of verified mesh providers. - Provider *ProviderInfo `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Provider *ProviderInfo `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` } -func (m *IsProviderAllowedRequest) Reset() { *m = IsProviderAllowedRequest{} } -func (m *IsProviderAllowedRequest) String() string { return proto.CompactTextString(m) } -func (*IsProviderAllowedRequest) ProtoMessage() {} -func (*IsProviderAllowedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9d7362468fbd522, []int{0} +func (x *IsProviderAllowedRequest) Reset() { + *x = IsProviderAllowedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsProviderAllowedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsProviderAllowedRequest.Unmarshal(m, b) -} -func (m *IsProviderAllowedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsProviderAllowedRequest.Marshal(b, m, deterministic) -} -func (m *IsProviderAllowedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsProviderAllowedRequest.Merge(m, src) +func (x *IsProviderAllowedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsProviderAllowedRequest) XXX_Size() int { - return xxx_messageInfo_IsProviderAllowedRequest.Size(m) -} -func (m *IsProviderAllowedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsProviderAllowedRequest.DiscardUnknown(m) + +func (*IsProviderAllowedRequest) ProtoMessage() {} + +func (x *IsProviderAllowedRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_IsProviderAllowedRequest proto.InternalMessageInfo +// Deprecated: Use IsProviderAllowedRequest.ProtoReflect.Descriptor instead. +func (*IsProviderAllowedRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{0} +} -func (m *IsProviderAllowedRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *IsProviderAllowedRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *IsProviderAllowedRequest) GetProvider() *ProviderInfo { - if m != nil { - return m.Provider +func (x *IsProviderAllowedRequest) GetProvider() *ProviderInfo { + if x != nil { + return x.Provider } return nil } type IsProviderAllowedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *IsProviderAllowedResponse) Reset() { *m = IsProviderAllowedResponse{} } -func (m *IsProviderAllowedResponse) String() string { return proto.CompactTextString(m) } -func (*IsProviderAllowedResponse) ProtoMessage() {} -func (*IsProviderAllowedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9d7362468fbd522, []int{1} +func (x *IsProviderAllowedResponse) Reset() { + *x = IsProviderAllowedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsProviderAllowedResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsProviderAllowedResponse.Unmarshal(m, b) +func (x *IsProviderAllowedResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsProviderAllowedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsProviderAllowedResponse.Marshal(b, m, deterministic) -} -func (m *IsProviderAllowedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsProviderAllowedResponse.Merge(m, src) -} -func (m *IsProviderAllowedResponse) XXX_Size() int { - return xxx_messageInfo_IsProviderAllowedResponse.Size(m) -} -func (m *IsProviderAllowedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsProviderAllowedResponse.DiscardUnknown(m) + +func (*IsProviderAllowedResponse) ProtoMessage() {} + +func (x *IsProviderAllowedResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_IsProviderAllowedResponse proto.InternalMessageInfo +// Deprecated: Use IsProviderAllowedResponse.ProtoReflect.Descriptor instead. +func (*IsProviderAllowedResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{1} +} -func (m *IsProviderAllowedResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *IsProviderAllowedResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *IsProviderAllowedResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *IsProviderAllowedResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetInfoByDomainRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The domain of the system provider. - Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` } -func (m *GetInfoByDomainRequest) Reset() { *m = GetInfoByDomainRequest{} } -func (m *GetInfoByDomainRequest) String() string { return proto.CompactTextString(m) } -func (*GetInfoByDomainRequest) ProtoMessage() {} -func (*GetInfoByDomainRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9d7362468fbd522, []int{2} +func (x *GetInfoByDomainRequest) Reset() { + *x = GetInfoByDomainRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetInfoByDomainRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInfoByDomainRequest.Unmarshal(m, b) +func (x *GetInfoByDomainRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetInfoByDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInfoByDomainRequest.Marshal(b, m, deterministic) -} -func (m *GetInfoByDomainRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInfoByDomainRequest.Merge(m, src) -} -func (m *GetInfoByDomainRequest) XXX_Size() int { - return xxx_messageInfo_GetInfoByDomainRequest.Size(m) -} -func (m *GetInfoByDomainRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInfoByDomainRequest.DiscardUnknown(m) + +func (*GetInfoByDomainRequest) ProtoMessage() {} + +func (x *GetInfoByDomainRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_GetInfoByDomainRequest proto.InternalMessageInfo +// Deprecated: Use GetInfoByDomainRequest.ProtoReflect.Descriptor instead. +func (*GetInfoByDomainRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{2} +} -func (m *GetInfoByDomainRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetInfoByDomainRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetInfoByDomainRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *GetInfoByDomainRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } type GetInfoByDomainResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -188,100 +230,116 @@ type GetInfoByDomainResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The info of the provider - ProviderInfo *ProviderInfo `protobuf:"bytes,3,opt,name=provider_info,json=providerInfo,proto3" json:"provider_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ProviderInfo *ProviderInfo `protobuf:"bytes,3,opt,name=provider_info,json=providerInfo,proto3" json:"provider_info,omitempty"` } -func (m *GetInfoByDomainResponse) Reset() { *m = GetInfoByDomainResponse{} } -func (m *GetInfoByDomainResponse) String() string { return proto.CompactTextString(m) } -func (*GetInfoByDomainResponse) ProtoMessage() {} -func (*GetInfoByDomainResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9d7362468fbd522, []int{3} +func (x *GetInfoByDomainResponse) Reset() { + *x = GetInfoByDomainResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetInfoByDomainResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInfoByDomainResponse.Unmarshal(m, b) +func (x *GetInfoByDomainResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetInfoByDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInfoByDomainResponse.Marshal(b, m, deterministic) -} -func (m *GetInfoByDomainResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInfoByDomainResponse.Merge(m, src) -} -func (m *GetInfoByDomainResponse) XXX_Size() int { - return xxx_messageInfo_GetInfoByDomainResponse.Size(m) -} -func (m *GetInfoByDomainResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetInfoByDomainResponse.DiscardUnknown(m) + +func (*GetInfoByDomainResponse) ProtoMessage() {} + +func (x *GetInfoByDomainResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_GetInfoByDomainResponse proto.InternalMessageInfo +// Deprecated: Use GetInfoByDomainResponse.ProtoReflect.Descriptor instead. +func (*GetInfoByDomainResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{3} +} -func (m *GetInfoByDomainResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetInfoByDomainResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetInfoByDomainResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetInfoByDomainResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetInfoByDomainResponse) GetProviderInfo() *ProviderInfo { - if m != nil { - return m.ProviderInfo +func (x *GetInfoByDomainResponse) GetProviderInfo() *ProviderInfo { + if x != nil { + return x.ProviderInfo } return nil } type ListAllProvidersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *ListAllProvidersRequest) Reset() { *m = ListAllProvidersRequest{} } -func (m *ListAllProvidersRequest) String() string { return proto.CompactTextString(m) } -func (*ListAllProvidersRequest) ProtoMessage() {} -func (*ListAllProvidersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9d7362468fbd522, []int{4} +func (x *ListAllProvidersRequest) Reset() { + *x = ListAllProvidersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAllProvidersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAllProvidersRequest.Unmarshal(m, b) -} -func (m *ListAllProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAllProvidersRequest.Marshal(b, m, deterministic) -} -func (m *ListAllProvidersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAllProvidersRequest.Merge(m, src) +func (x *ListAllProvidersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAllProvidersRequest) XXX_Size() int { - return xxx_messageInfo_ListAllProvidersRequest.Size(m) -} -func (m *ListAllProvidersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAllProvidersRequest.DiscardUnknown(m) + +func (*ListAllProvidersRequest) ProtoMessage() {} + +func (x *ListAllProvidersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_ListAllProvidersRequest proto.InternalMessageInfo +// Deprecated: Use ListAllProvidersRequest.ProtoReflect.Descriptor instead. +func (*ListAllProvidersRequest) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{4} +} -func (m *ListAllProvidersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListAllProvidersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type ListAllProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -290,263 +348,318 @@ type ListAllProvidersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The share. - Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` } -func (m *ListAllProvidersResponse) Reset() { *m = ListAllProvidersResponse{} } -func (m *ListAllProvidersResponse) String() string { return proto.CompactTextString(m) } -func (*ListAllProvidersResponse) ProtoMessage() {} -func (*ListAllProvidersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9d7362468fbd522, []int{5} +func (x *ListAllProvidersResponse) Reset() { + *x = ListAllProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAllProvidersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAllProvidersResponse.Unmarshal(m, b) -} -func (m *ListAllProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAllProvidersResponse.Marshal(b, m, deterministic) -} -func (m *ListAllProvidersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAllProvidersResponse.Merge(m, src) -} -func (m *ListAllProvidersResponse) XXX_Size() int { - return xxx_messageInfo_ListAllProvidersResponse.Size(m) -} -func (m *ListAllProvidersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAllProvidersResponse.DiscardUnknown(m) +func (x *ListAllProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListAllProvidersResponse proto.InternalMessageInfo +func (*ListAllProvidersResponse) ProtoMessage() {} -func (m *ListAllProvidersResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListAllProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_provider_api_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 nil + return mi.MessageOf(x) } -func (m *ListAllProvidersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil +// Deprecated: Use ListAllProvidersResponse.ProtoReflect.Descriptor instead. +func (*ListAllProvidersResponse) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{5} } -func (m *ListAllProvidersResponse) GetProviders() []*ProviderInfo { - if m != nil { - return m.Providers +func (x *ListAllProvidersResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func init() { - proto.RegisterType((*IsProviderAllowedRequest)(nil), "cs3.ocm.provider.v1beta1.IsProviderAllowedRequest") - proto.RegisterType((*IsProviderAllowedResponse)(nil), "cs3.ocm.provider.v1beta1.IsProviderAllowedResponse") - proto.RegisterType((*GetInfoByDomainRequest)(nil), "cs3.ocm.provider.v1beta1.GetInfoByDomainRequest") - proto.RegisterType((*GetInfoByDomainResponse)(nil), "cs3.ocm.provider.v1beta1.GetInfoByDomainResponse") - proto.RegisterType((*ListAllProvidersRequest)(nil), "cs3.ocm.provider.v1beta1.ListAllProvidersRequest") - proto.RegisterType((*ListAllProvidersResponse)(nil), "cs3.ocm.provider.v1beta1.ListAllProvidersResponse") -} - -func init() { - proto.RegisterFile("cs3/ocm/provider/v1beta1/provider_api.proto", fileDescriptor_f9d7362468fbd522) -} - -var fileDescriptor_f9d7362468fbd522 = []byte{ - // 468 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0xcd, 0x6a, 0xdb, 0x30, - 0x1c, 0xc7, 0x0e, 0x84, 0xf5, 0xdf, 0x8d, 0x76, 0x3a, 0x34, 0xaa, 0xe9, 0xa0, 0xf8, 0x30, 0x0a, - 0x03, 0x65, 0x8e, 0x9f, 0xa0, 0x6e, 0x61, 0x84, 0x15, 0x62, 0x3c, 0xd8, 0x61, 0x04, 0x86, 0xab, - 0xa8, 0x60, 0x88, 0x23, 0xd5, 0x92, 0x33, 0x02, 0x83, 0x3e, 0xc3, 0x5e, 0x61, 0xc7, 0x3d, 0xc7, - 0x4e, 0x7d, 0xa8, 0x31, 0x2c, 0x4b, 0x5a, 0x69, 0xea, 0x31, 0xaf, 0xd0, 0xa3, 0xfc, 0xfb, 0xf8, - 0x7f, 0xe8, 0x67, 0xc1, 0x1b, 0x2a, 0xe3, 0x31, 0xa7, 0xe5, 0x58, 0x54, 0x7c, 0x5d, 0x2c, 0x58, - 0x35, 0x5e, 0x47, 0x97, 0x4c, 0xe5, 0x91, 0xfb, 0xf0, 0x39, 0x17, 0x05, 0x11, 0x15, 0x57, 0x1c, - 0x61, 0x2a, 0x63, 0xc2, 0x69, 0x49, 0x2c, 0x46, 0x0c, 0x39, 0x38, 0xe9, 0xb4, 0xa9, 0x98, 0xe4, - 0x75, 0x45, 0x99, 0x6c, 0x3d, 0x82, 0xa3, 0x86, 0x59, 0x09, 0xea, 0x08, 0x52, 0xe5, 0xaa, 0xb6, - 0xe8, 0xab, 0x06, 0x55, 0x1b, 0xc1, 0xa4, 0xc3, 0xf5, 0xa9, 0x85, 0xc3, 0x6f, 0x1e, 0xe0, 0xa9, - 0x4c, 0x4d, 0x8d, 0xd3, 0xe5, 0x92, 0x7f, 0x61, 0x8b, 0x8c, 0x5d, 0xd7, 0x4c, 0x2a, 0x14, 0xc1, - 0x90, 0x8b, 0xfc, 0xba, 0x66, 0xd8, 0x3b, 0xf6, 0x4e, 0x76, 0x27, 0x87, 0xa4, 0x69, 0xb7, 0x95, - 0x1b, 0x33, 0x32, 0xd3, 0x84, 0xcc, 0x10, 0x51, 0x02, 0xcf, 0x6c, 0xc3, 0xd8, 0xd7, 0xa2, 0xd7, - 0xa4, 0x6b, 0x46, 0x62, 0xcb, 0x4e, 0x57, 0x57, 0x3c, 0x73, 0xba, 0xf0, 0x06, 0x0e, 0x1f, 0x68, - 0x49, 0x0a, 0xbe, 0x92, 0x0c, 0x8d, 0x61, 0xd8, 0xce, 0x67, 0x7a, 0x1a, 0x69, 0xfb, 0x4a, 0x50, - 0xe7, 0xfa, 0x41, 0xc3, 0x99, 0xa1, 0xdd, 0x19, 0xc2, 0xff, 0xc7, 0x21, 0x42, 0x0a, 0x07, 0xef, - 0x98, 0x6a, 0xba, 0x4a, 0x36, 0xe7, 0xbc, 0xcc, 0x8b, 0xd5, 0x23, 0x36, 0x72, 0x00, 0xc3, 0x85, - 0xf6, 0xd0, 0xf5, 0x77, 0x32, 0x73, 0x0a, 0x6f, 0x3d, 0x18, 0x6d, 0x55, 0x79, 0xba, 0x21, 0xd1, - 0x7b, 0x78, 0xe1, 0x02, 0x59, 0xac, 0xae, 0x38, 0x1e, 0xf4, 0xba, 0xae, 0xe7, 0xe2, 0xce, 0x29, - 0xbc, 0x80, 0xd1, 0x45, 0x21, 0xd5, 0xe9, 0x72, 0x69, 0x49, 0xf2, 0xff, 0x57, 0x16, 0xfe, 0xf4, - 0x00, 0x6f, 0xdb, 0x3d, 0xe1, 0x6e, 0xce, 0x61, 0xc7, 0x8e, 0x27, 0xf1, 0xe0, 0x78, 0xd0, 0x63, - 0x2f, 0x7f, 0x84, 0x93, 0x5f, 0x3e, 0xec, 0xba, 0x18, 0xa7, 0x53, 0xf4, 0x15, 0x5e, 0x6e, 0xe5, - 0x1a, 0x4d, 0xba, 0x7d, 0xbb, 0xfe, 0xcb, 0x20, 0xee, 0xa5, 0x31, 0x7b, 0x5b, 0xc3, 0xde, 0xbd, - 0xb8, 0xa1, 0xb7, 0xdd, 0x3e, 0x0f, 0xe7, 0x3f, 0x88, 0x7a, 0x28, 0x4c, 0xdd, 0x0d, 0xec, 0xdf, - 0xbf, 0x4b, 0xf4, 0x17, 0x9b, 0x8e, 0x18, 0x05, 0x93, 0x3e, 0x92, 0xb6, 0x74, 0x72, 0x03, 0x47, - 0x94, 0x97, 0x9d, 0xc2, 0x64, 0xdf, 0xed, 0x4a, 0x14, 0x69, 0xf3, 0x1c, 0xa6, 0xde, 0xa7, 0x3d, - 0xcb, 0x32, 0xa4, 0xef, 0xfe, 0xe0, 0x6c, 0x96, 0xfe, 0xf0, 0xf1, 0x99, 0x8c, 0xc9, 0x8c, 0x96, - 0xee, 0xb6, 0xc9, 0xc7, 0x28, 0x69, 0x08, 0xb7, 0x1a, 0x9a, 0xcf, 0x68, 0x39, 0xb7, 0xd0, 0xdc, - 0x40, 0x97, 0x43, 0xfd, 0xc8, 0xc6, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x28, 0xc2, 0x2b, 0xf7, - 0x14, 0x06, 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 - -// ProviderAPIClient is the client API for ProviderAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProviderAPIClient interface { - // Check if a given system provider is registered in the mesh or not. - // MUST return CODE_UNAUTHENTICATED if the system is not registered - IsProviderAllowed(ctx context.Context, in *IsProviderAllowedRequest, opts ...grpc.CallOption) (*IsProviderAllowedResponse, error) - // Get the information of the provider identified by a specific domain. - // MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist. - GetInfoByDomain(ctx context.Context, in *GetInfoByDomainRequest, opts ...grpc.CallOption) (*GetInfoByDomainResponse, error) - // Get the information of all the providers registered in the mesh. - ListAllProviders(ctx context.Context, in *ListAllProvidersRequest, opts ...grpc.CallOption) (*ListAllProvidersResponse, error) -} - -type providerAPIClient struct { - cc *grpc.ClientConn -} - -func NewProviderAPIClient(cc *grpc.ClientConn) ProviderAPIClient { - return &providerAPIClient{cc} -} - -func (c *providerAPIClient) IsProviderAllowed(ctx context.Context, in *IsProviderAllowedRequest, opts ...grpc.CallOption) (*IsProviderAllowedResponse, error) { - out := new(IsProviderAllowedResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.provider.v1beta1.ProviderAPI/IsProviderAllowed", in, out, opts...) - if err != nil { - return nil, err +func (x *ListAllProvidersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - return out, nil -} - -func (c *providerAPIClient) GetInfoByDomain(ctx context.Context, in *GetInfoByDomainRequest, opts ...grpc.CallOption) (*GetInfoByDomainResponse, error) { - out := new(GetInfoByDomainResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.provider.v1beta1.ProviderAPI/GetInfoByDomain", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) ListAllProviders(ctx context.Context, in *ListAllProvidersRequest, opts ...grpc.CallOption) (*ListAllProvidersResponse, error) { - out := new(ListAllProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.ocm.provider.v1beta1.ProviderAPI/ListAllProviders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ProviderAPIServer is the server API for ProviderAPI service. -type ProviderAPIServer interface { - // Check if a given system provider is registered in the mesh or not. - // MUST return CODE_UNAUTHENTICATED if the system is not registered - IsProviderAllowed(context.Context, *IsProviderAllowedRequest) (*IsProviderAllowedResponse, error) - // Get the information of the provider identified by a specific domain. - // MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist. - GetInfoByDomain(context.Context, *GetInfoByDomainRequest) (*GetInfoByDomainResponse, error) - // Get the information of all the providers registered in the mesh. - ListAllProviders(context.Context, *ListAllProvidersRequest) (*ListAllProvidersResponse, error) -} - -// UnimplementedProviderAPIServer can be embedded to have forward compatible implementations. -type UnimplementedProviderAPIServer struct { -} - -func (*UnimplementedProviderAPIServer) IsProviderAllowed(ctx context.Context, req *IsProviderAllowedRequest) (*IsProviderAllowedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method IsProviderAllowed not implemented") -} -func (*UnimplementedProviderAPIServer) GetInfoByDomain(ctx context.Context, req *GetInfoByDomainRequest) (*GetInfoByDomainResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInfoByDomain not implemented") -} -func (*UnimplementedProviderAPIServer) ListAllProviders(ctx context.Context, req *ListAllProvidersRequest) (*ListAllProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAllProviders not implemented") -} - -func RegisterProviderAPIServer(s *grpc.Server, srv ProviderAPIServer) { - s.RegisterService(&_ProviderAPI_serviceDesc, srv) + return nil } -func _ProviderAPI_IsProviderAllowed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IsProviderAllowedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).IsProviderAllowed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.provider.v1beta1.ProviderAPI/IsProviderAllowed", +func (x *ListAllProvidersResponse) GetProviders() []*ProviderInfo { + if x != nil { + return x.Providers } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).IsProviderAllowed(ctx, req.(*IsProviderAllowedRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _ProviderAPI_GetInfoByDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInfoByDomainRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).GetInfoByDomain(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.provider.v1beta1.ProviderAPI/GetInfoByDomain", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).GetInfoByDomain(ctx, req.(*GetInfoByDomainRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_ocm_provider_v1beta1_provider_api_proto protoreflect.FileDescriptor + +var file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, + 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, + 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, + 0x01, 0x0a, 0x18, 0x49, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x6c, 0x6c, + 0x6f, 0x77, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x42, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x22, 0x7f, 0x0a, 0x19, 0x49, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x22, 0x63, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, + 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0xca, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4b, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x4c, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x22, 0xc4, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, + 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x32, 0xfe, 0x02, 0x0a, 0x0b, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x50, 0x49, 0x12, 0x7c, 0x0a, 0x11, 0x49, 0x73, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, + 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, + 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x30, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, + 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x79, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x12, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, + 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xfa, 0x01, 0x0a, 0x1c, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x10, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, + 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x4f, 0x50, 0xaa, 0x02, 0x18, + 0x43, 0x73, 0x33, 0x2e, 0x4f, 0x63, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x18, 0x43, 0x73, 0x33, 0x5c, 0x4f, + 0x63, 0x6d, 0x5c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0xe2, 0x02, 0x24, 0x43, 0x73, 0x33, 0x5c, 0x4f, 0x63, 0x6d, 0x5c, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x43, 0x73, 0x33, + 0x3a, 0x3a, 0x4f, 0x63, 0x6d, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescOnce sync.Once + file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescData = file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDesc +) -func _ProviderAPI_ListAllProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAllProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).ListAllProviders(ctx, in) +func file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescGZIP() []byte { + file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescOnce.Do(func() { + file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescData) + }) + return file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDescData +} + +var file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_cs3_ocm_provider_v1beta1_provider_api_proto_goTypes = []interface{}{ + (*IsProviderAllowedRequest)(nil), // 0: cs3.ocm.provider.v1beta1.IsProviderAllowedRequest + (*IsProviderAllowedResponse)(nil), // 1: cs3.ocm.provider.v1beta1.IsProviderAllowedResponse + (*GetInfoByDomainRequest)(nil), // 2: cs3.ocm.provider.v1beta1.GetInfoByDomainRequest + (*GetInfoByDomainResponse)(nil), // 3: cs3.ocm.provider.v1beta1.GetInfoByDomainResponse + (*ListAllProvidersRequest)(nil), // 4: cs3.ocm.provider.v1beta1.ListAllProvidersRequest + (*ListAllProvidersResponse)(nil), // 5: cs3.ocm.provider.v1beta1.ListAllProvidersResponse + (*v1beta1.Opaque)(nil), // 6: cs3.types.v1beta1.Opaque + (*ProviderInfo)(nil), // 7: cs3.ocm.provider.v1beta1.ProviderInfo + (*v1beta11.Status)(nil), // 8: cs3.rpc.v1beta1.Status +} +var file_cs3_ocm_provider_v1beta1_provider_api_proto_depIdxs = []int32{ + 6, // 0: cs3.ocm.provider.v1beta1.IsProviderAllowedRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 7, // 1: cs3.ocm.provider.v1beta1.IsProviderAllowedRequest.provider:type_name -> cs3.ocm.provider.v1beta1.ProviderInfo + 8, // 2: cs3.ocm.provider.v1beta1.IsProviderAllowedResponse.status:type_name -> cs3.rpc.v1beta1.Status + 6, // 3: cs3.ocm.provider.v1beta1.IsProviderAllowedResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 6, // 4: cs3.ocm.provider.v1beta1.GetInfoByDomainRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 8, // 5: cs3.ocm.provider.v1beta1.GetInfoByDomainResponse.status:type_name -> cs3.rpc.v1beta1.Status + 6, // 6: cs3.ocm.provider.v1beta1.GetInfoByDomainResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 7, // 7: cs3.ocm.provider.v1beta1.GetInfoByDomainResponse.provider_info:type_name -> cs3.ocm.provider.v1beta1.ProviderInfo + 6, // 8: cs3.ocm.provider.v1beta1.ListAllProvidersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 8, // 9: cs3.ocm.provider.v1beta1.ListAllProvidersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 6, // 10: cs3.ocm.provider.v1beta1.ListAllProvidersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 7, // 11: cs3.ocm.provider.v1beta1.ListAllProvidersResponse.providers:type_name -> cs3.ocm.provider.v1beta1.ProviderInfo + 0, // 12: cs3.ocm.provider.v1beta1.ProviderAPI.IsProviderAllowed:input_type -> cs3.ocm.provider.v1beta1.IsProviderAllowedRequest + 2, // 13: cs3.ocm.provider.v1beta1.ProviderAPI.GetInfoByDomain:input_type -> cs3.ocm.provider.v1beta1.GetInfoByDomainRequest + 4, // 14: cs3.ocm.provider.v1beta1.ProviderAPI.ListAllProviders:input_type -> cs3.ocm.provider.v1beta1.ListAllProvidersRequest + 1, // 15: cs3.ocm.provider.v1beta1.ProviderAPI.IsProviderAllowed:output_type -> cs3.ocm.provider.v1beta1.IsProviderAllowedResponse + 3, // 16: cs3.ocm.provider.v1beta1.ProviderAPI.GetInfoByDomain:output_type -> cs3.ocm.provider.v1beta1.GetInfoByDomainResponse + 5, // 17: cs3.ocm.provider.v1beta1.ProviderAPI.ListAllProviders:output_type -> cs3.ocm.provider.v1beta1.ListAllProvidersResponse + 15, // [15:18] is the sub-list for method output_type + 12, // [12:15] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { file_cs3_ocm_provider_v1beta1_provider_api_proto_init() } +func file_cs3_ocm_provider_v1beta1_provider_api_proto_init() { + if File_cs3_ocm_provider_v1beta1_provider_api_proto != nil { + return } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.ocm.provider.v1beta1.ProviderAPI/ListAllProviders", + file_cs3_ocm_provider_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsProviderAllowedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsProviderAllowedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfoByDomainRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfoByDomainResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllProvidersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllProvidersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).ListAllProviders(ctx, req.(*ListAllProvidersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ProviderAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.ocm.provider.v1beta1.ProviderAPI", - HandlerType: (*ProviderAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "IsProviderAllowed", - Handler: _ProviderAPI_IsProviderAllowed_Handler, - }, - { - MethodName: "GetInfoByDomain", - Handler: _ProviderAPI_GetInfoByDomain_Handler, - }, - { - MethodName: "ListAllProviders", - Handler: _ProviderAPI_ListAllProviders_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/ocm/provider/v1beta1/provider_api.proto", + GoTypes: file_cs3_ocm_provider_v1beta1_provider_api_proto_goTypes, + DependencyIndexes: file_cs3_ocm_provider_v1beta1_provider_api_proto_depIdxs, + MessageInfos: file_cs3_ocm_provider_v1beta1_provider_api_proto_msgTypes, + }.Build() + File_cs3_ocm_provider_v1beta1_provider_api_proto = out.File + file_cs3_ocm_provider_v1beta1_provider_api_proto_rawDesc = nil + file_cs3_ocm_provider_v1beta1_provider_api_proto_goTypes = nil + file_cs3_ocm_provider_v1beta1_provider_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/provider_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/provider_api_grpc.pb.go new file mode 100644 index 00000000000..47bf79cc7b2 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/provider_api_grpc.pb.go @@ -0,0 +1,209 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/ocm/provider/v1beta1/provider_api.proto + +package providerv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + ProviderAPI_IsProviderAllowed_FullMethodName = "/cs3.ocm.provider.v1beta1.ProviderAPI/IsProviderAllowed" + ProviderAPI_GetInfoByDomain_FullMethodName = "/cs3.ocm.provider.v1beta1.ProviderAPI/GetInfoByDomain" + ProviderAPI_ListAllProviders_FullMethodName = "/cs3.ocm.provider.v1beta1.ProviderAPI/ListAllProviders" +) + +// ProviderAPIClient is the client API for ProviderAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ProviderAPIClient interface { + // Check if a given system provider is registered in the mesh or not. + // MUST return CODE_UNAUTHENTICATED if the system is not registered + IsProviderAllowed(ctx context.Context, in *IsProviderAllowedRequest, opts ...grpc.CallOption) (*IsProviderAllowedResponse, error) + // Get the information of the provider identified by a specific domain. + // MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist. + GetInfoByDomain(ctx context.Context, in *GetInfoByDomainRequest, opts ...grpc.CallOption) (*GetInfoByDomainResponse, error) + // Get the information of all the providers registered in the mesh. + ListAllProviders(ctx context.Context, in *ListAllProvidersRequest, opts ...grpc.CallOption) (*ListAllProvidersResponse, error) +} + +type providerAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewProviderAPIClient(cc grpc.ClientConnInterface) ProviderAPIClient { + return &providerAPIClient{cc} +} + +func (c *providerAPIClient) IsProviderAllowed(ctx context.Context, in *IsProviderAllowedRequest, opts ...grpc.CallOption) (*IsProviderAllowedResponse, error) { + out := new(IsProviderAllowedResponse) + err := c.cc.Invoke(ctx, ProviderAPI_IsProviderAllowed_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) GetInfoByDomain(ctx context.Context, in *GetInfoByDomainRequest, opts ...grpc.CallOption) (*GetInfoByDomainResponse, error) { + out := new(GetInfoByDomainResponse) + err := c.cc.Invoke(ctx, ProviderAPI_GetInfoByDomain_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) ListAllProviders(ctx context.Context, in *ListAllProvidersRequest, opts ...grpc.CallOption) (*ListAllProvidersResponse, error) { + out := new(ListAllProvidersResponse) + err := c.cc.Invoke(ctx, ProviderAPI_ListAllProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ProviderAPIServer is the server API for ProviderAPI service. +// All implementations should embed UnimplementedProviderAPIServer +// for forward compatibility +type ProviderAPIServer interface { + // Check if a given system provider is registered in the mesh or not. + // MUST return CODE_UNAUTHENTICATED if the system is not registered + IsProviderAllowed(context.Context, *IsProviderAllowedRequest) (*IsProviderAllowedResponse, error) + // Get the information of the provider identified by a specific domain. + // MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist. + GetInfoByDomain(context.Context, *GetInfoByDomainRequest) (*GetInfoByDomainResponse, error) + // Get the information of all the providers registered in the mesh. + ListAllProviders(context.Context, *ListAllProvidersRequest) (*ListAllProvidersResponse, error) +} + +// UnimplementedProviderAPIServer should be embedded to have forward compatible implementations. +type UnimplementedProviderAPIServer struct { +} + +func (UnimplementedProviderAPIServer) IsProviderAllowed(context.Context, *IsProviderAllowedRequest) (*IsProviderAllowedResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsProviderAllowed not implemented") +} +func (UnimplementedProviderAPIServer) GetInfoByDomain(context.Context, *GetInfoByDomainRequest) (*GetInfoByDomainResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetInfoByDomain not implemented") +} +func (UnimplementedProviderAPIServer) ListAllProviders(context.Context, *ListAllProvidersRequest) (*ListAllProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAllProviders not implemented") +} + +// UnsafeProviderAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ProviderAPIServer will +// result in compilation errors. +type UnsafeProviderAPIServer interface { + mustEmbedUnimplementedProviderAPIServer() +} + +func RegisterProviderAPIServer(s grpc.ServiceRegistrar, srv ProviderAPIServer) { + s.RegisterService(&ProviderAPI_ServiceDesc, srv) +} + +func _ProviderAPI_IsProviderAllowed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsProviderAllowedRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).IsProviderAllowed(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_IsProviderAllowed_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).IsProviderAllowed(ctx, req.(*IsProviderAllowedRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_GetInfoByDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetInfoByDomainRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).GetInfoByDomain(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_GetInfoByDomain_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).GetInfoByDomain(ctx, req.(*GetInfoByDomainRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_ListAllProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListAllProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).ListAllProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_ListAllProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).ListAllProviders(ctx, req.(*ListAllProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ProviderAPI_ServiceDesc is the grpc.ServiceDesc for ProviderAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ProviderAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.ocm.provider.v1beta1.ProviderAPI", + HandlerType: (*ProviderAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "IsProviderAllowed", + Handler: _ProviderAPI_IsProviderAllowed_Handler, + }, + { + MethodName: "GetInfoByDomain", + Handler: _ProviderAPI_GetInfoByDomain_Handler, + }, + { + MethodName: "ListAllProviders", + Handler: _ProviderAPI_ListAllProviders_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/ocm/provider/v1beta1/provider_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/resources.pb.go index 1c173f32651..7eab3796b35 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1/resources.pb.go @@ -1,79 +1,109 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/ocm/provider/v1beta1/resources.proto package providerv1beta1 import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) -// Identifier for various types of services offered by sync'n'share system providers. +// Identifier for various types of services offered by sync'n'share system providers. type ServiceType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED // The name of the service type. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // REQUIRED // The description of the service type. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` } -func (m *ServiceType) Reset() { *m = ServiceType{} } -func (m *ServiceType) String() string { return proto.CompactTextString(m) } -func (*ServiceType) ProtoMessage() {} -func (*ServiceType) Descriptor() ([]byte, []int) { - return fileDescriptor_646d597abb45fefd, []int{0} +func (x *ServiceType) Reset() { + *x = ServiceType{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ServiceType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceType.Unmarshal(m, b) -} -func (m *ServiceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceType.Marshal(b, m, deterministic) +func (x *ServiceType) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceType) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceType.Merge(m, src) -} -func (m *ServiceType) XXX_Size() int { - return xxx_messageInfo_ServiceType.Size(m) -} -func (m *ServiceType) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceType.DiscardUnknown(m) + +func (*ServiceType) ProtoMessage() {} + +func (x *ServiceType) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_resources_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) } -var xxx_messageInfo_ServiceType proto.InternalMessageInfo +// Deprecated: Use ServiceType.ProtoReflect.Descriptor instead. +func (*ServiceType) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *ServiceType) GetName() string { - if m != nil { - return m.Name +func (x *ServiceType) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ServiceType) GetDescription() string { - if m != nil { - return m.Description +func (x *ServiceType) GetDescription() string { + if x != nil { + return x.Description } return "" } // The endpoints exposed by particular services. type ServiceEndpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The type of service. Type *ServiceType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` @@ -88,74 +118,82 @@ type ServiceEndpoint struct { IsMonitored bool `protobuf:"varint,4,opt,name=is_monitored,json=isMonitored,proto3" json:"is_monitored,omitempty"` // OPTIONAL. // Additional properties about the service. - Properties map[string]string `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Properties map[string]string `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ServiceEndpoint) Reset() { *m = ServiceEndpoint{} } -func (m *ServiceEndpoint) String() string { return proto.CompactTextString(m) } -func (*ServiceEndpoint) ProtoMessage() {} -func (*ServiceEndpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_646d597abb45fefd, []int{1} +func (x *ServiceEndpoint) Reset() { + *x = ServiceEndpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ServiceEndpoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceEndpoint.Unmarshal(m, b) -} -func (m *ServiceEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceEndpoint.Marshal(b, m, deterministic) -} -func (m *ServiceEndpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceEndpoint.Merge(m, src) -} -func (m *ServiceEndpoint) XXX_Size() int { - return xxx_messageInfo_ServiceEndpoint.Size(m) +func (x *ServiceEndpoint) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceEndpoint) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceEndpoint.DiscardUnknown(m) + +func (*ServiceEndpoint) ProtoMessage() {} + +func (x *ServiceEndpoint) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_resources_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) } -var xxx_messageInfo_ServiceEndpoint proto.InternalMessageInfo +// Deprecated: Use ServiceEndpoint.ProtoReflect.Descriptor instead. +func (*ServiceEndpoint) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *ServiceEndpoint) GetType() *ServiceType { - if m != nil { - return m.Type +func (x *ServiceEndpoint) GetType() *ServiceType { + if x != nil { + return x.Type } return nil } -func (m *ServiceEndpoint) GetName() string { - if m != nil { - return m.Name +func (x *ServiceEndpoint) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ServiceEndpoint) GetPath() string { - if m != nil { - return m.Path +func (x *ServiceEndpoint) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *ServiceEndpoint) GetIsMonitored() bool { - if m != nil { - return m.IsMonitored +func (x *ServiceEndpoint) GetIsMonitored() bool { + if x != nil { + return x.IsMonitored } return false } -func (m *ServiceEndpoint) GetProperties() map[string]string { - if m != nil { - return m.Properties +func (x *ServiceEndpoint) GetProperties() map[string]string { + if x != nil { + return x.Properties } return nil } // The services offered by sync'n'share system providers. type Service struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The URL at which the service is hosted. Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` @@ -167,67 +205,75 @@ type Service struct { ApiVersion string `protobuf:"bytes,3,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // OPTIONAL. // Additional endpoints at which the service is exposed. - AdditionalEndpoints []*ServiceEndpoint `protobuf:"bytes,4,rep,name=additional_endpoints,json=additionalEndpoints,proto3" json:"additional_endpoints,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AdditionalEndpoints []*ServiceEndpoint `protobuf:"bytes,4,rep,name=additional_endpoints,json=additionalEndpoints,proto3" json:"additional_endpoints,omitempty"` } -func (m *Service) Reset() { *m = Service{} } -func (m *Service) String() string { return proto.CompactTextString(m) } -func (*Service) ProtoMessage() {} -func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_646d597abb45fefd, []int{2} +func (x *Service) Reset() { + *x = Service{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Service) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Service.Unmarshal(m, b) -} -func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Service.Marshal(b, m, deterministic) -} -func (m *Service) XXX_Merge(src proto.Message) { - xxx_messageInfo_Service.Merge(m, src) +func (x *Service) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Service) XXX_Size() int { - return xxx_messageInfo_Service.Size(m) -} -func (m *Service) XXX_DiscardUnknown() { - xxx_messageInfo_Service.DiscardUnknown(m) + +func (*Service) ProtoMessage() {} + +func (x *Service) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_resources_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) } -var xxx_messageInfo_Service proto.InternalMessageInfo +// Deprecated: Use Service.ProtoReflect.Descriptor instead. +func (*Service) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_resources_proto_rawDescGZIP(), []int{2} +} -func (m *Service) GetHost() string { - if m != nil { - return m.Host +func (x *Service) GetHost() string { + if x != nil { + return x.Host } return "" } -func (m *Service) GetEndpoint() *ServiceEndpoint { - if m != nil { - return m.Endpoint +func (x *Service) GetEndpoint() *ServiceEndpoint { + if x != nil { + return x.Endpoint } return nil } -func (m *Service) GetApiVersion() string { - if m != nil { - return m.ApiVersion +func (x *Service) GetApiVersion() string { + if x != nil { + return x.ApiVersion } return "" } -func (m *Service) GetAdditionalEndpoints() []*ServiceEndpoint { - if m != nil { - return m.AdditionalEndpoints +func (x *Service) GetAdditionalEndpoints() []*ServiceEndpoint { + if x != nil { + return x.AdditionalEndpoints } return nil } // Details of the sync'n'share system provider. type ProviderInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The name of the provider. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` @@ -254,148 +300,300 @@ type ProviderInfo struct { Services []*Service `protobuf:"bytes,8,rep,name=services,proto3" json:"services,omitempty"` // OPTIONAL. // Additional properties about the service. - Properties map[string]string `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Properties map[string]string `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ProviderInfo) Reset() { *m = ProviderInfo{} } -func (m *ProviderInfo) String() string { return proto.CompactTextString(m) } -func (*ProviderInfo) ProtoMessage() {} -func (*ProviderInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_646d597abb45fefd, []int{3} +func (x *ProviderInfo) Reset() { + *x = ProviderInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProviderInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProviderInfo.Unmarshal(m, b) +func (x *ProviderInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProviderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProviderInfo.Marshal(b, m, deterministic) -} -func (m *ProviderInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProviderInfo.Merge(m, src) -} -func (m *ProviderInfo) XXX_Size() int { - return xxx_messageInfo_ProviderInfo.Size(m) -} -func (m *ProviderInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProviderInfo.DiscardUnknown(m) + +func (*ProviderInfo) ProtoMessage() {} + +func (x *ProviderInfo) ProtoReflect() protoreflect.Message { + mi := &file_cs3_ocm_provider_v1beta1_resources_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) } -var xxx_messageInfo_ProviderInfo proto.InternalMessageInfo +// Deprecated: Use ProviderInfo.ProtoReflect.Descriptor instead. +func (*ProviderInfo) Descriptor() ([]byte, []int) { + return file_cs3_ocm_provider_v1beta1_resources_proto_rawDescGZIP(), []int{3} +} -func (m *ProviderInfo) GetName() string { - if m != nil { - return m.Name +func (x *ProviderInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ProviderInfo) GetFullName() string { - if m != nil { - return m.FullName +func (x *ProviderInfo) GetFullName() string { + if x != nil { + return x.FullName } return "" } -func (m *ProviderInfo) GetDescription() string { - if m != nil { - return m.Description +func (x *ProviderInfo) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *ProviderInfo) GetOrganization() string { - if m != nil { - return m.Organization +func (x *ProviderInfo) GetOrganization() string { + if x != nil { + return x.Organization } return "" } -func (m *ProviderInfo) GetDomain() string { - if m != nil { - return m.Domain +func (x *ProviderInfo) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *ProviderInfo) GetHomepage() string { - if m != nil { - return m.Homepage +func (x *ProviderInfo) GetHomepage() string { + if x != nil { + return x.Homepage } return "" } -func (m *ProviderInfo) GetEmail() string { - if m != nil { - return m.Email +func (x *ProviderInfo) GetEmail() string { + if x != nil { + return x.Email } return "" } -func (m *ProviderInfo) GetServices() []*Service { - if m != nil { - return m.Services +func (x *ProviderInfo) GetServices() []*Service { + if x != nil { + return x.Services } return nil } -func (m *ProviderInfo) GetProperties() map[string]string { - if m != nil { - return m.Properties +func (x *ProviderInfo) GetProperties() map[string]string { + if x != nil { + return x.Properties } return nil } -func init() { - proto.RegisterType((*ServiceType)(nil), "cs3.ocm.provider.v1beta1.ServiceType") - proto.RegisterType((*ServiceEndpoint)(nil), "cs3.ocm.provider.v1beta1.ServiceEndpoint") - proto.RegisterMapType((map[string]string)(nil), "cs3.ocm.provider.v1beta1.ServiceEndpoint.PropertiesEntry") - proto.RegisterType((*Service)(nil), "cs3.ocm.provider.v1beta1.Service") - proto.RegisterType((*ProviderInfo)(nil), "cs3.ocm.provider.v1beta1.ProviderInfo") - proto.RegisterMapType((map[string]string)(nil), "cs3.ocm.provider.v1beta1.ProviderInfo.PropertiesEntry") -} - -func init() { - proto.RegisterFile("cs3/ocm/provider/v1beta1/resources.proto", fileDescriptor_646d597abb45fefd) -} - -var fileDescriptor_646d597abb45fefd = []byte{ - // 547 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xcd, 0x8a, 0x13, 0x41, - 0x10, 0x66, 0x7e, 0x92, 0x9d, 0xd4, 0x04, 0x23, 0xed, 0x22, 0xcd, 0x2a, 0x98, 0x0d, 0x08, 0xf1, - 0x32, 0x21, 0x09, 0x88, 0x2b, 0xec, 0x25, 0x21, 0x07, 0x0f, 0x9a, 0x30, 0x4a, 0x40, 0x09, 0x84, - 0xde, 0x99, 0xde, 0x4d, 0x63, 0x66, 0xba, 0xe9, 0x9e, 0x04, 0x22, 0xf8, 0x32, 0x82, 0x17, 0x6f, - 0xbe, 0x86, 0xaf, 0xe1, 0x8b, 0xc8, 0xf4, 0x4c, 0xc7, 0x59, 0xdd, 0xb0, 0x7a, 0xd8, 0x5b, 0xd7, - 0xcf, 0x57, 0xf5, 0xd5, 0x57, 0x45, 0x43, 0x37, 0x52, 0xc3, 0x1e, 0x8f, 0x92, 0x9e, 0x90, 0x7c, - 0xcb, 0x62, 0x2a, 0x7b, 0xdb, 0xfe, 0x05, 0xcd, 0x48, 0xbf, 0x27, 0xa9, 0xe2, 0x1b, 0x19, 0x51, - 0x15, 0x08, 0xc9, 0x33, 0x8e, 0x70, 0xa4, 0x86, 0x01, 0x8f, 0x92, 0xc0, 0x64, 0x06, 0x65, 0x66, - 0x67, 0x0c, 0xfe, 0x5b, 0x2a, 0xb7, 0x2c, 0xa2, 0xef, 0x76, 0x82, 0x22, 0x04, 0x6e, 0x4a, 0x12, - 0x8a, 0xad, 0xb6, 0xd5, 0x6d, 0x84, 0xfa, 0x8d, 0xda, 0xe0, 0xc7, 0x54, 0x45, 0x92, 0x89, 0x8c, - 0xf1, 0x14, 0xdb, 0x3a, 0x54, 0x75, 0x75, 0xbe, 0xdb, 0xd0, 0x2a, 0xab, 0x4c, 0xd2, 0x58, 0x70, - 0x96, 0x66, 0xe8, 0x0c, 0xdc, 0x6c, 0x27, 0x8a, 0x4a, 0xfe, 0xe0, 0x69, 0x70, 0x88, 0x41, 0x50, - 0x69, 0x1f, 0x6a, 0xc8, 0x9e, 0x84, 0x5d, 0x21, 0x81, 0xc0, 0x15, 0x24, 0x5b, 0x61, 0xa7, 0xf0, - 0xe5, 0x6f, 0x74, 0x0a, 0x4d, 0xa6, 0x96, 0x09, 0x4f, 0x59, 0xc6, 0x25, 0x8d, 0xb1, 0xdb, 0xb6, - 0xba, 0x5e, 0xe8, 0x33, 0xf5, 0xda, 0xb8, 0xd0, 0x7b, 0x00, 0x21, 0xb9, 0xa0, 0x32, 0x63, 0x54, - 0xe1, 0x5a, 0xdb, 0xe9, 0xfa, 0x83, 0xb3, 0x5b, 0xb9, 0x98, 0x21, 0x82, 0xd9, 0x1e, 0x3b, 0x49, - 0x33, 0xb9, 0x0b, 0x2b, 0xc5, 0x4e, 0xce, 0xa1, 0xf5, 0x47, 0x18, 0xdd, 0x07, 0xe7, 0x23, 0xdd, - 0x95, 0xe2, 0xe5, 0x4f, 0x74, 0x0c, 0xb5, 0x2d, 0x59, 0x6f, 0xcc, 0x2c, 0x85, 0xf1, 0xd2, 0x7e, - 0x61, 0x75, 0x7e, 0x5a, 0x70, 0x54, 0xb6, 0xcb, 0x87, 0x5b, 0x71, 0x95, 0x19, 0xd5, 0xf3, 0x37, - 0x9a, 0x80, 0x47, 0x4b, 0x1a, 0x1a, 0xec, 0x0f, 0x9e, 0xfd, 0x33, 0xef, 0x70, 0x0f, 0x45, 0x4f, - 0xc0, 0x27, 0x82, 0x2d, 0xb7, 0x54, 0xaa, 0x7c, 0x79, 0x85, 0x7c, 0x40, 0x04, 0x9b, 0x17, 0x1e, - 0xb4, 0x80, 0x63, 0x12, 0xc7, 0x2c, 0xdf, 0x23, 0x59, 0x2f, 0x0d, 0x4e, 0x61, 0x57, 0x6b, 0xf5, - 0x1f, 0x3d, 0x1f, 0xfc, 0x2e, 0x63, 0x7c, 0xaa, 0xf3, 0xd5, 0x81, 0xe6, 0xac, 0x44, 0xbe, 0x4a, - 0x2f, 0xf9, 0x8d, 0x07, 0xf6, 0x08, 0x1a, 0x97, 0x9b, 0xf5, 0x7a, 0x59, 0x59, 0xba, 0x97, 0x3b, - 0xde, 0xdc, 0x70, 0x7d, 0xce, 0x5f, 0xd7, 0x87, 0x3a, 0xd0, 0xe4, 0xf2, 0x8a, 0xa4, 0xec, 0x13, - 0xd1, 0x29, 0xae, 0x4e, 0xb9, 0xe6, 0x43, 0x0f, 0xa1, 0x1e, 0xf3, 0x84, 0xb0, 0x14, 0xd7, 0x74, - 0xb4, 0xb4, 0xd0, 0x09, 0x78, 0x2b, 0x9e, 0x50, 0x41, 0xae, 0x28, 0xae, 0x17, 0x9d, 0x8d, 0x9d, - 0xef, 0x8e, 0x26, 0x84, 0xad, 0xf1, 0x51, 0xb1, 0x3b, 0x6d, 0xa0, 0x73, 0xf0, 0x54, 0x31, 0xb9, - 0xc2, 0x9e, 0xd6, 0xe8, 0xf4, 0x56, 0x8d, 0xc2, 0x3d, 0x04, 0xcd, 0xaf, 0x1d, 0x64, 0x43, 0x17, - 0x78, 0x7e, 0xb8, 0x40, 0x55, 0xbb, 0x3b, 0xbc, 0xc6, 0xd1, 0x67, 0x78, 0x1c, 0xf1, 0xe4, 0x20, - 0x8f, 0xd1, 0xbd, 0xd0, 0xfc, 0x28, 0xb3, 0xfc, 0x43, 0x99, 0x59, 0x1f, 0x5a, 0x26, 0xa7, 0x4c, - 0xf9, 0x62, 0x3b, 0xe3, 0xe9, 0xec, 0x9b, 0x8d, 0xc7, 0x6a, 0x18, 0x4c, 0xa3, 0x64, 0x4f, 0x3d, - 0x98, 0xf7, 0x47, 0x79, 0xc2, 0x0f, 0x1d, 0x5a, 0x4c, 0xa3, 0x64, 0x61, 0x42, 0x8b, 0x32, 0x74, - 0x51, 0xd7, 0xdf, 0xd4, 0xf0, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0xba, 0x3a, 0xf8, 0xd2, - 0x04, 0x00, 0x00, +var File_cs3_ocm_provider_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_ocm_provider_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x73, 0x33, 0x2e, + 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x22, 0x43, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb1, 0x02, 0x0a, 0x0f, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x39, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, + 0x72, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, + 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, + 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe3, 0x01, + 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x45, 0x0a, + 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x13, + 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x22, 0xa5, 0x03, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, + 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x3d, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, + 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, + 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0xf8, 0x01, 0x0a, 0x1c, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, + 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, + 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x4f, 0x50, 0xaa, 0x02, 0x18, 0x43, 0x73, + 0x33, 0x2e, 0x4f, 0x63, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x18, 0x43, 0x73, 0x33, 0x5c, 0x4f, 0x63, 0x6d, + 0x5c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xe2, 0x02, 0x24, 0x43, 0x73, 0x33, 0x5c, 0x4f, 0x63, 0x6d, 0x5c, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x43, 0x73, 0x33, 0x3a, 0x3a, + 0x4f, 0x63, 0x6d, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_ocm_provider_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_ocm_provider_v1beta1_resources_proto_rawDescData = file_cs3_ocm_provider_v1beta1_resources_proto_rawDesc +) + +func file_cs3_ocm_provider_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_ocm_provider_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_ocm_provider_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_ocm_provider_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_ocm_provider_v1beta1_resources_proto_rawDescData +} + +var file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_cs3_ocm_provider_v1beta1_resources_proto_goTypes = []interface{}{ + (*ServiceType)(nil), // 0: cs3.ocm.provider.v1beta1.ServiceType + (*ServiceEndpoint)(nil), // 1: cs3.ocm.provider.v1beta1.ServiceEndpoint + (*Service)(nil), // 2: cs3.ocm.provider.v1beta1.Service + (*ProviderInfo)(nil), // 3: cs3.ocm.provider.v1beta1.ProviderInfo + nil, // 4: cs3.ocm.provider.v1beta1.ServiceEndpoint.PropertiesEntry + nil, // 5: cs3.ocm.provider.v1beta1.ProviderInfo.PropertiesEntry +} +var file_cs3_ocm_provider_v1beta1_resources_proto_depIdxs = []int32{ + 0, // 0: cs3.ocm.provider.v1beta1.ServiceEndpoint.type:type_name -> cs3.ocm.provider.v1beta1.ServiceType + 4, // 1: cs3.ocm.provider.v1beta1.ServiceEndpoint.properties:type_name -> cs3.ocm.provider.v1beta1.ServiceEndpoint.PropertiesEntry + 1, // 2: cs3.ocm.provider.v1beta1.Service.endpoint:type_name -> cs3.ocm.provider.v1beta1.ServiceEndpoint + 1, // 3: cs3.ocm.provider.v1beta1.Service.additional_endpoints:type_name -> cs3.ocm.provider.v1beta1.ServiceEndpoint + 2, // 4: cs3.ocm.provider.v1beta1.ProviderInfo.services:type_name -> cs3.ocm.provider.v1beta1.Service + 5, // 5: cs3.ocm.provider.v1beta1.ProviderInfo.properties:type_name -> cs3.ocm.provider.v1beta1.ProviderInfo.PropertiesEntry + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_cs3_ocm_provider_v1beta1_resources_proto_init() } +func file_cs3_ocm_provider_v1beta1_resources_proto_init() { + if File_cs3_ocm_provider_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceEndpoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Service); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProviderInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_ocm_provider_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_ocm_provider_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_ocm_provider_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_ocm_provider_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_ocm_provider_v1beta1_resources_proto = out.File + file_cs3_ocm_provider_v1beta1_resources_proto_rawDesc = nil + file_cs3_ocm_provider_v1beta1_resources_proto_goTypes = nil + file_cs3_ocm_provider_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/permissions_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/permissions_api.pb.go index a4ffddb99e5..42a70076c12 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/permissions_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/permissions_api.pb.go @@ -1,34 +1,52 @@ +// Copyright 2018-2021 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/permissions/v1beta1/permissions_api.proto package permissionsv1beta1 import ( - context "context" - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // CheckPermissionsRequest is used to check if a user has a certain permission. type CheckPermissionRequest struct { - //REQUIRED. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // REQUIRED. // The permission to check. Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` // REQUIRED. @@ -36,213 +54,252 @@ type CheckPermissionRequest struct { SubjectRef *SubjectReference `protobuf:"bytes,2,opt,name=subject_ref,json=subjectRef,proto3" json:"subject_ref,omitempty"` // OPTIONAL. // The target resource of the permission. - Ref *v1beta1.Reference `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *v1beta1.Reference `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *CheckPermissionRequest) Reset() { *m = CheckPermissionRequest{} } -func (m *CheckPermissionRequest) String() string { return proto.CompactTextString(m) } -func (*CheckPermissionRequest) ProtoMessage() {} -func (*CheckPermissionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_54602e0476ec6c5b, []int{0} +func (x *CheckPermissionRequest) Reset() { + *x = CheckPermissionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_permissions_v1beta1_permissions_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CheckPermissionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckPermissionRequest.Unmarshal(m, b) -} -func (m *CheckPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckPermissionRequest.Marshal(b, m, deterministic) -} -func (m *CheckPermissionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckPermissionRequest.Merge(m, src) +func (x *CheckPermissionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CheckPermissionRequest) XXX_Size() int { - return xxx_messageInfo_CheckPermissionRequest.Size(m) -} -func (m *CheckPermissionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CheckPermissionRequest.DiscardUnknown(m) + +func (*CheckPermissionRequest) ProtoMessage() {} + +func (x *CheckPermissionRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_permissions_v1beta1_permissions_api_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) } -var xxx_messageInfo_CheckPermissionRequest proto.InternalMessageInfo +// Deprecated: Use CheckPermissionRequest.ProtoReflect.Descriptor instead. +func (*CheckPermissionRequest) Descriptor() ([]byte, []int) { + return file_cs3_permissions_v1beta1_permissions_api_proto_rawDescGZIP(), []int{0} +} -func (m *CheckPermissionRequest) GetPermission() string { - if m != nil { - return m.Permission +func (x *CheckPermissionRequest) GetPermission() string { + if x != nil { + return x.Permission } return "" } -func (m *CheckPermissionRequest) GetSubjectRef() *SubjectReference { - if m != nil { - return m.SubjectRef +func (x *CheckPermissionRequest) GetSubjectRef() *SubjectReference { + if x != nil { + return x.SubjectRef } return nil } -func (m *CheckPermissionRequest) GetRef() *v1beta1.Reference { - if m != nil { - return m.Ref +func (x *CheckPermissionRequest) GetRef() *v1beta1.Reference { + if x != nil { + return x.Ref } return nil } // CheckPermissionsResponse ... type CheckPermissionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. - Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` } -func (m *CheckPermissionResponse) Reset() { *m = CheckPermissionResponse{} } -func (m *CheckPermissionResponse) String() string { return proto.CompactTextString(m) } -func (*CheckPermissionResponse) ProtoMessage() {} -func (*CheckPermissionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_54602e0476ec6c5b, []int{1} +func (x *CheckPermissionResponse) Reset() { + *x = CheckPermissionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_permissions_v1beta1_permissions_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CheckPermissionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckPermissionResponse.Unmarshal(m, b) -} -func (m *CheckPermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckPermissionResponse.Marshal(b, m, deterministic) -} -func (m *CheckPermissionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckPermissionResponse.Merge(m, src) -} -func (m *CheckPermissionResponse) XXX_Size() int { - return xxx_messageInfo_CheckPermissionResponse.Size(m) -} -func (m *CheckPermissionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CheckPermissionResponse.DiscardUnknown(m) +func (x *CheckPermissionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CheckPermissionResponse proto.InternalMessageInfo +func (*CheckPermissionResponse) ProtoMessage() {} -func (m *CheckPermissionResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *CheckPermissionResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_permissions_v1beta1_permissions_api_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 nil + return mi.MessageOf(x) } -func init() { - proto.RegisterType((*CheckPermissionRequest)(nil), "cs3.permissions.v1beta1.CheckPermissionRequest") - proto.RegisterType((*CheckPermissionResponse)(nil), "cs3.permissions.v1beta1.CheckPermissionResponse") -} - -func init() { - proto.RegisterFile("cs3/permissions/v1beta1/permissions_api.proto", fileDescriptor_54602e0476ec6c5b) -} - -var fileDescriptor_54602e0476ec6c5b = []byte{ - // 348 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x99, 0x16, 0x0a, 0x77, 0x0a, 0xf7, 0xc2, 0x5c, 0x30, 0xa5, 0x8a, 0x94, 0x6e, 0x5a, - 0x41, 0x27, 0xb6, 0x59, 0xb9, 0xb4, 0x5d, 0xd9, 0x55, 0x88, 0x20, 0x22, 0x85, 0x92, 0x8e, 0xa7, - 0x1a, 0xa5, 0x9d, 0x71, 0xce, 0xa4, 0x0f, 0xe0, 0xc2, 0x07, 0x71, 0xe9, 0x4b, 0xb8, 0xf7, 0xa9, - 0x24, 0x93, 0x34, 0x19, 0xd4, 0x80, 0xdb, 0xf3, 0xff, 0xe7, 0xcb, 0xff, 0x9f, 0x0c, 0x3d, 0x11, - 0x18, 0xf8, 0x0a, 0xf4, 0x3a, 0x41, 0x4c, 0xe4, 0x06, 0xfd, 0xed, 0x68, 0x09, 0x26, 0x1e, 0xb9, - 0xb3, 0x45, 0xac, 0x12, 0xae, 0xb4, 0x34, 0x92, 0x79, 0x02, 0x03, 0xee, 0x48, 0xbc, 0xb0, 0x77, - 0x07, 0x75, 0x1c, 0x0d, 0x28, 0x53, 0x2d, 0x00, 0x73, 0x42, 0xf7, 0x20, 0x33, 0x6a, 0x25, 0x4a, - 0x03, 0x9a, 0xd8, 0xa4, 0x3b, 0xf5, 0x38, 0x53, 0xd1, 0x48, 0x1d, 0xdf, 0x81, 0xaf, 0xb4, 0xdc, - 0x26, 0xb7, 0xa0, 0xeb, 0x58, 0xfd, 0x77, 0x42, 0xf7, 0xa6, 0xf7, 0x20, 0x1e, 0xc3, 0xf2, 0xc3, - 0x11, 0x3c, 0xa5, 0x80, 0x86, 0x1d, 0x52, 0x5a, 0xa5, 0xe9, 0x90, 0x1e, 0x19, 0xfe, 0x89, 0x9c, - 0x09, 0x9b, 0xd1, 0x36, 0xa6, 0xcb, 0x07, 0x10, 0x66, 0xa1, 0x61, 0xd5, 0x69, 0xf4, 0xc8, 0xb0, - 0x3d, 0x3e, 0xe2, 0x35, 0xf5, 0xf8, 0x65, 0xee, 0x8d, 0x60, 0x05, 0x1a, 0x36, 0x02, 0x22, 0x8a, - 0xe5, 0x84, 0x9d, 0xd1, 0x66, 0xc6, 0x68, 0x5a, 0xc6, 0xc0, 0x32, 0x8a, 0x0a, 0x7c, 0x57, 0xa1, - 0x04, 0x55, 0x84, 0x6c, 0xa7, 0x3f, 0xa3, 0xde, 0xb7, 0x02, 0xa8, 0xe4, 0x06, 0x81, 0xf9, 0xb4, - 0x95, 0x9f, 0xc6, 0xa6, 0x6f, 0x8f, 0x3d, 0x0b, 0xd6, 0x4a, 0x54, 0xa1, 0xac, 0x1c, 0x15, 0xb6, - 0xf1, 0x0b, 0xa1, 0x7f, 0x2b, 0x0e, 0x9e, 0x87, 0x17, 0xcc, 0xd0, 0x7f, 0x5f, 0xf0, 0xcc, 0xaf, - 0xed, 0xf8, 0xf3, 0x25, 0xbb, 0xa7, 0xbf, 0x5f, 0xc8, 0x93, 0x4f, 0x9e, 0x09, 0xdd, 0x17, 0x72, - 0x5d, 0xb7, 0x37, 0xf9, 0xef, 0xa6, 0x54, 0x49, 0x98, 0xfd, 0xcb, 0x90, 0xdc, 0x30, 0xc7, 0x5b, - 0x58, 0x5f, 0x1b, 0xcd, 0x69, 0x78, 0xfd, 0xd6, 0xf0, 0xa6, 0x18, 0x70, 0x67, 0x8b, 0x5f, 0x8d, - 0x26, 0x99, 0xfe, 0x61, 0x95, 0xb9, 0xa3, 0xcc, 0x0b, 0x65, 0xd9, 0xb2, 0x4f, 0x24, 0xf8, 0x0c, - 0x00, 0x00, 0xff, 0xff, 0x62, 0x25, 0x26, 0x30, 0xe1, 0x02, 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 - -// PermissionsAPIClient is the client API for PermissionsAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PermissionsAPIClient interface { - // CheckPermission defines a method to check permission/role. - CheckPermission(ctx context.Context, in *CheckPermissionRequest, opts ...grpc.CallOption) (*CheckPermissionResponse, error) +// Deprecated: Use CheckPermissionResponse.ProtoReflect.Descriptor instead. +func (*CheckPermissionResponse) Descriptor() ([]byte, []int) { + return file_cs3_permissions_v1beta1_permissions_api_proto_rawDescGZIP(), []int{1} } -type permissionsAPIClient struct { - cc *grpc.ClientConn +func (x *CheckPermissionResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status + } + return nil } -func NewPermissionsAPIClient(cc *grpc.ClientConn) PermissionsAPIClient { - return &permissionsAPIClient{cc} -} +var File_cs3_permissions_v1beta1_permissions_api_proto protoreflect.FileDescriptor -func (c *permissionsAPIClient) CheckPermission(ctx context.Context, in *CheckPermissionRequest, opts ...grpc.CallOption) (*CheckPermissionResponse, error) { - out := new(CheckPermissionResponse) - err := c.cc.Invoke(ctx, "/cs3.permissions.v1beta1.PermissionsAPI/CheckPermission", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +var file_cs3_permissions_v1beta1_permissions_api_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x17, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x01, + 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x66, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, + 0x4a, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0x86, 0x01, 0x0a, 0x0e, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x50, 0x49, 0x12, 0x74, + 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xf9, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, + 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x3b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x50, 0x58, 0xaa, 0x02, 0x17, 0x43, 0x73, 0x33, + 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x17, 0x43, 0x73, 0x33, 0x5c, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, + 0x23, 0x43, 0x73, 0x33, 0x5c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -// PermissionsAPIServer is the server API for PermissionsAPI service. -type PermissionsAPIServer interface { - // CheckPermission defines a method to check permission/role. - CheckPermission(context.Context, *CheckPermissionRequest) (*CheckPermissionResponse, error) -} +var ( + file_cs3_permissions_v1beta1_permissions_api_proto_rawDescOnce sync.Once + file_cs3_permissions_v1beta1_permissions_api_proto_rawDescData = file_cs3_permissions_v1beta1_permissions_api_proto_rawDesc +) -// UnimplementedPermissionsAPIServer can be embedded to have forward compatible implementations. -type UnimplementedPermissionsAPIServer struct { +func file_cs3_permissions_v1beta1_permissions_api_proto_rawDescGZIP() []byte { + file_cs3_permissions_v1beta1_permissions_api_proto_rawDescOnce.Do(func() { + file_cs3_permissions_v1beta1_permissions_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_permissions_v1beta1_permissions_api_proto_rawDescData) + }) + return file_cs3_permissions_v1beta1_permissions_api_proto_rawDescData } -func (*UnimplementedPermissionsAPIServer) CheckPermission(ctx context.Context, req *CheckPermissionRequest) (*CheckPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CheckPermission not implemented") +var file_cs3_permissions_v1beta1_permissions_api_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_cs3_permissions_v1beta1_permissions_api_proto_goTypes = []interface{}{ + (*CheckPermissionRequest)(nil), // 0: cs3.permissions.v1beta1.CheckPermissionRequest + (*CheckPermissionResponse)(nil), // 1: cs3.permissions.v1beta1.CheckPermissionResponse + (*SubjectReference)(nil), // 2: cs3.permissions.v1beta1.SubjectReference + (*v1beta1.Reference)(nil), // 3: cs3.storage.provider.v1beta1.Reference + (*v1beta11.Status)(nil), // 4: cs3.rpc.v1beta1.Status } - -func RegisterPermissionsAPIServer(s *grpc.Server, srv PermissionsAPIServer) { - s.RegisterService(&_PermissionsAPI_serviceDesc, srv) +var file_cs3_permissions_v1beta1_permissions_api_proto_depIdxs = []int32{ + 2, // 0: cs3.permissions.v1beta1.CheckPermissionRequest.subject_ref:type_name -> cs3.permissions.v1beta1.SubjectReference + 3, // 1: cs3.permissions.v1beta1.CheckPermissionRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 4, // 2: cs3.permissions.v1beta1.CheckPermissionResponse.status:type_name -> cs3.rpc.v1beta1.Status + 0, // 3: cs3.permissions.v1beta1.PermissionsAPI.CheckPermission:input_type -> cs3.permissions.v1beta1.CheckPermissionRequest + 1, // 4: cs3.permissions.v1beta1.PermissionsAPI.CheckPermission:output_type -> cs3.permissions.v1beta1.CheckPermissionResponse + 4, // [4:5] is the sub-list for method output_type + 3, // [3:4] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name } -func _PermissionsAPI_CheckPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CheckPermissionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PermissionsAPIServer).CheckPermission(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.permissions.v1beta1.PermissionsAPI/CheckPermission", +func init() { file_cs3_permissions_v1beta1_permissions_api_proto_init() } +func file_cs3_permissions_v1beta1_permissions_api_proto_init() { + if File_cs3_permissions_v1beta1_permissions_api_proto != nil { + return } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PermissionsAPIServer).CheckPermission(ctx, req.(*CheckPermissionRequest)) + file_cs3_permissions_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_permissions_v1beta1_permissions_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckPermissionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_permissions_v1beta1_permissions_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckPermissionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - return interceptor(ctx, in, info, handler) -} - -var _PermissionsAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.permissions.v1beta1.PermissionsAPI", - HandlerType: (*PermissionsAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CheckPermission", - Handler: _PermissionsAPI_CheckPermission_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_permissions_v1beta1_permissions_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/permissions/v1beta1/permissions_api.proto", + GoTypes: file_cs3_permissions_v1beta1_permissions_api_proto_goTypes, + DependencyIndexes: file_cs3_permissions_v1beta1_permissions_api_proto_depIdxs, + MessageInfos: file_cs3_permissions_v1beta1_permissions_api_proto_msgTypes, + }.Build() + File_cs3_permissions_v1beta1_permissions_api_proto = out.File + file_cs3_permissions_v1beta1_permissions_api_proto_rawDesc = nil + file_cs3_permissions_v1beta1_permissions_api_proto_goTypes = nil + file_cs3_permissions_v1beta1_permissions_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/permissions_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/permissions_api_grpc.pb.go new file mode 100644 index 00000000000..0f859ad5a5a --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/permissions_api_grpc.pb.go @@ -0,0 +1,127 @@ +// Copyright 2018-2021 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/permissions/v1beta1/permissions_api.proto + +package permissionsv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + PermissionsAPI_CheckPermission_FullMethodName = "/cs3.permissions.v1beta1.PermissionsAPI/CheckPermission" +) + +// PermissionsAPIClient is the client API for PermissionsAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type PermissionsAPIClient interface { + // CheckPermission defines a method to check permission/role. + CheckPermission(ctx context.Context, in *CheckPermissionRequest, opts ...grpc.CallOption) (*CheckPermissionResponse, error) +} + +type permissionsAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewPermissionsAPIClient(cc grpc.ClientConnInterface) PermissionsAPIClient { + return &permissionsAPIClient{cc} +} + +func (c *permissionsAPIClient) CheckPermission(ctx context.Context, in *CheckPermissionRequest, opts ...grpc.CallOption) (*CheckPermissionResponse, error) { + out := new(CheckPermissionResponse) + err := c.cc.Invoke(ctx, PermissionsAPI_CheckPermission_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// PermissionsAPIServer is the server API for PermissionsAPI service. +// All implementations should embed UnimplementedPermissionsAPIServer +// for forward compatibility +type PermissionsAPIServer interface { + // CheckPermission defines a method to check permission/role. + CheckPermission(context.Context, *CheckPermissionRequest) (*CheckPermissionResponse, error) +} + +// UnimplementedPermissionsAPIServer should be embedded to have forward compatible implementations. +type UnimplementedPermissionsAPIServer struct { +} + +func (UnimplementedPermissionsAPIServer) CheckPermission(context.Context, *CheckPermissionRequest) (*CheckPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CheckPermission not implemented") +} + +// UnsafePermissionsAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to PermissionsAPIServer will +// result in compilation errors. +type UnsafePermissionsAPIServer interface { + mustEmbedUnimplementedPermissionsAPIServer() +} + +func RegisterPermissionsAPIServer(s grpc.ServiceRegistrar, srv PermissionsAPIServer) { + s.RegisterService(&PermissionsAPI_ServiceDesc, srv) +} + +func _PermissionsAPI_CheckPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CheckPermissionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PermissionsAPIServer).CheckPermission(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: PermissionsAPI_CheckPermission_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PermissionsAPIServer).CheckPermission(ctx, req.(*CheckPermissionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// PermissionsAPI_ServiceDesc is the grpc.ServiceDesc for PermissionsAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var PermissionsAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.permissions.v1beta1.PermissionsAPI", + HandlerType: (*PermissionsAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CheckPermission", + Handler: _PermissionsAPI_CheckPermission_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/permissions/v1beta1/permissions_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/resources.pb.go index 77dea5b8b00..6fb1ca3ea36 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1/resources.pb.go @@ -1,62 +1,110 @@ +// Copyright 2018-2021 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/permissions/v1beta1/resources.proto package permissionsv1beta1 import ( - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // SubjectReference references either a user or a group by id. type SubjectReference struct { - // Types that are valid to be assigned to Spec: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Spec: + // // *SubjectReference_UserId // *SubjectReference_GroupId - Spec isSubjectReference_Spec `protobuf_oneof:"spec"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spec isSubjectReference_Spec `protobuf_oneof:"spec"` } -func (m *SubjectReference) Reset() { *m = SubjectReference{} } -func (m *SubjectReference) String() string { return proto.CompactTextString(m) } -func (*SubjectReference) ProtoMessage() {} -func (*SubjectReference) Descriptor() ([]byte, []int) { - return fileDescriptor_3530957b3a793cab, []int{0} +func (x *SubjectReference) Reset() { + *x = SubjectReference{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_permissions_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SubjectReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubjectReference.Unmarshal(m, b) +func (x *SubjectReference) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubjectReference.Marshal(b, m, deterministic) + +func (*SubjectReference) ProtoMessage() {} + +func (x *SubjectReference) ProtoReflect() protoreflect.Message { + mi := &file_cs3_permissions_v1beta1_resources_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) } -func (m *SubjectReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubjectReference.Merge(m, src) + +// Deprecated: Use SubjectReference.ProtoReflect.Descriptor instead. +func (*SubjectReference) Descriptor() ([]byte, []int) { + return file_cs3_permissions_v1beta1_resources_proto_rawDescGZIP(), []int{0} } -func (m *SubjectReference) XXX_Size() int { - return xxx_messageInfo_SubjectReference.Size(m) + +func (m *SubjectReference) GetSpec() isSubjectReference_Spec { + if m != nil { + return m.Spec + } + return nil } -func (m *SubjectReference) XXX_DiscardUnknown() { - xxx_messageInfo_SubjectReference.DiscardUnknown(m) + +func (x *SubjectReference) GetUserId() *v1beta1.UserId { + if x, ok := x.GetSpec().(*SubjectReference_UserId); ok { + return x.UserId + } + return nil } -var xxx_messageInfo_SubjectReference proto.InternalMessageInfo +func (x *SubjectReference) GetGroupId() *v1beta11.GroupId { + if x, ok := x.GetSpec().(*SubjectReference_GroupId); ok { + return x.GroupId + } + return nil +} type isSubjectReference_Spec interface { isSubjectReference_Spec() @@ -74,60 +122,114 @@ func (*SubjectReference_UserId) isSubjectReference_Spec() {} func (*SubjectReference_GroupId) isSubjectReference_Spec() {} -func (m *SubjectReference) GetSpec() isSubjectReference_Spec { - if m != nil { - return m.Spec - } - return nil -} +var File_cs3_permissions_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_permissions_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x73, 0x33, 0x2e, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x1a, 0x2a, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, + 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, + 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x53, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3c, + 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x48, 0x00, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x48, 0x00, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x06, + 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x42, 0xf4, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, + 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xa2, 0x02, 0x03, 0x43, 0x50, 0x58, 0xaa, 0x02, 0x17, 0x43, 0x73, 0x33, 0x2e, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xca, 0x02, 0x17, 0x43, 0x73, 0x33, 0x5c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x23, 0x43, 0x73, + 0x33, 0x5c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x19, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_permissions_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_permissions_v1beta1_resources_proto_rawDescData = file_cs3_permissions_v1beta1_resources_proto_rawDesc +) -func (m *SubjectReference) GetUserId() *v1beta1.UserId { - if x, ok := m.GetSpec().(*SubjectReference_UserId); ok { - return x.UserId +func file_cs3_permissions_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_permissions_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_permissions_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_permissions_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_permissions_v1beta1_resources_proto_rawDescData +} + +var file_cs3_permissions_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_cs3_permissions_v1beta1_resources_proto_goTypes = []interface{}{ + (*SubjectReference)(nil), // 0: cs3.permissions.v1beta1.SubjectReference + (*v1beta1.UserId)(nil), // 1: cs3.identity.user.v1beta1.UserId + (*v1beta11.GroupId)(nil), // 2: cs3.identity.group.v1beta1.GroupId +} +var file_cs3_permissions_v1beta1_resources_proto_depIdxs = []int32{ + 1, // 0: cs3.permissions.v1beta1.SubjectReference.user_id:type_name -> cs3.identity.user.v1beta1.UserId + 2, // 1: cs3.permissions.v1beta1.SubjectReference.group_id:type_name -> cs3.identity.group.v1beta1.GroupId + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_cs3_permissions_v1beta1_resources_proto_init() } +func file_cs3_permissions_v1beta1_resources_proto_init() { + if File_cs3_permissions_v1beta1_resources_proto != nil { + return } - return nil -} - -func (m *SubjectReference) GetGroupId() *v1beta11.GroupId { - if x, ok := m.GetSpec().(*SubjectReference_GroupId); ok { - return x.GroupId + if !protoimpl.UnsafeEnabled { + file_cs3_permissions_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubjectReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SubjectReference) XXX_OneofWrappers() []interface{} { - return []interface{}{ + file_cs3_permissions_v1beta1_resources_proto_msgTypes[0].OneofWrappers = []interface{}{ (*SubjectReference_UserId)(nil), (*SubjectReference_GroupId)(nil), } -} - -func init() { - proto.RegisterType((*SubjectReference)(nil), "cs3.permissions.v1beta1.SubjectReference") -} - -func init() { - proto.RegisterFile("cs3/permissions/v1beta1/resources.proto", fileDescriptor_3530957b3a793cab) -} - -var fileDescriptor_3530957b3a793cab = []byte{ - // 267 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0x2e, 0x36, 0xd6, - 0x2f, 0x48, 0x2d, 0xca, 0xcd, 0x2c, 0x2e, 0xce, 0xcc, 0xcf, 0x2b, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, - 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0x2d, 0xd6, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x4f, 0x2e, 0x36, 0xd6, 0x43, 0x52, 0xa8, 0x07, 0x55, 0x28, 0xa5, - 0x05, 0x32, 0x21, 0x33, 0x25, 0x35, 0xaf, 0x24, 0xb3, 0xa4, 0x52, 0x3f, 0xbd, 0x28, 0xbf, 0xb4, - 0x00, 0x97, 0x21, 0x52, 0x9a, 0x28, 0x6a, 0x4b, 0x8b, 0x53, 0x8b, 0x70, 0x29, 0x55, 0x9a, 0xc5, - 0xc8, 0x25, 0x10, 0x5c, 0x9a, 0x94, 0x95, 0x9a, 0x5c, 0x12, 0x94, 0x9a, 0x96, 0x5a, 0x94, 0x9a, - 0x97, 0x9c, 0x2a, 0x64, 0xc3, 0xc5, 0x0e, 0xd2, 0x14, 0x9f, 0x99, 0x22, 0xc1, 0xa8, 0xc0, 0xa8, - 0xc1, 0x6d, 0xa4, 0xa8, 0x07, 0x72, 0x16, 0xcc, 0x44, 0x3d, 0x90, 0x24, 0xcc, 0x61, 0x7a, 0xa1, - 0xc5, 0xa9, 0x45, 0x9e, 0x29, 0x1e, 0x0c, 0x41, 0x6c, 0xa5, 0x60, 0x96, 0x90, 0x03, 0x17, 0x07, - 0xd8, 0x79, 0x20, 0xed, 0x4c, 0x60, 0xed, 0xca, 0xa8, 0xda, 0xc1, 0xb2, 0x70, 0xfd, 0xee, 0x20, - 0x1e, 0xd8, 0x00, 0xf6, 0x74, 0x08, 0xd3, 0x89, 0x8d, 0x8b, 0xa5, 0xb8, 0x20, 0x35, 0xd9, 0xa9, - 0x96, 0x4b, 0x3a, 0x39, 0x3f, 0x57, 0x0f, 0x47, 0x90, 0x38, 0xf1, 0x05, 0xc1, 0x3c, 0x13, 0x00, - 0xf2, 0x4b, 0x00, 0x63, 0x94, 0x10, 0x92, 0x32, 0xa8, 0xaa, 0x45, 0x4c, 0xcc, 0xce, 0x01, 0x11, - 0xab, 0x98, 0xc4, 0x9d, 0x8b, 0x8d, 0xf5, 0x02, 0x90, 0x4c, 0x09, 0x33, 0x74, 0x02, 0xc9, 0x9f, - 0x02, 0xcb, 0xc4, 0x20, 0xc9, 0xc4, 0x40, 0x65, 0x92, 0xd8, 0xc0, 0x41, 0x64, 0x0c, 0x08, 0x00, - 0x00, 0xff, 0xff, 0xe2, 0x1c, 0xb5, 0x05, 0xbd, 0x01, 0x00, 0x00, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_permissions_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_permissions_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_permissions_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_permissions_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_permissions_v1beta1_resources_proto = out.File + file_cs3_permissions_v1beta1_resources_proto_rawDesc = nil + file_cs3_permissions_v1beta1_resources_proto_goTypes = nil + file_cs3_permissions_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/preferences_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/preferences_api.pb.go index edf3d740efe..bd032fe2cf7 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/preferences_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/preferences_api.pb.go @@ -1,365 +1,430 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/preferences/v1beta1/preferences_api.proto package preferencesv1beta1 import ( - context "context" - fmt "fmt" v1beta1 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 SetKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. Key *PreferenceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // REQUIRED. // The value associated with the key. - Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"` } -func (m *SetKeyRequest) Reset() { *m = SetKeyRequest{} } -func (m *SetKeyRequest) String() string { return proto.CompactTextString(m) } -func (*SetKeyRequest) ProtoMessage() {} -func (*SetKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9feea93568a6977, []int{0} +func (x *SetKeyRequest) Reset() { + *x = SetKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetKeyRequest.Unmarshal(m, b) -} -func (m *SetKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetKeyRequest.Marshal(b, m, deterministic) -} -func (m *SetKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetKeyRequest.Merge(m, src) +func (x *SetKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetKeyRequest) XXX_Size() int { - return xxx_messageInfo_SetKeyRequest.Size(m) -} -func (m *SetKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetKeyRequest.DiscardUnknown(m) + +func (*SetKeyRequest) ProtoMessage() {} + +func (x *SetKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_preferences_v1beta1_preferences_api_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) } -var xxx_messageInfo_SetKeyRequest proto.InternalMessageInfo +// Deprecated: Use SetKeyRequest.ProtoReflect.Descriptor instead. +func (*SetKeyRequest) Descriptor() ([]byte, []int) { + return file_cs3_preferences_v1beta1_preferences_api_proto_rawDescGZIP(), []int{0} +} -func (m *SetKeyRequest) GetKey() *PreferenceKey { - if m != nil { - return m.Key +func (x *SetKeyRequest) GetKey() *PreferenceKey { + if x != nil { + return x.Key } return nil } -func (m *SetKeyRequest) GetVal() string { - if m != nil { - return m.Val +func (x *SetKeyRequest) GetVal() string { + if x != nil { + return x.Val } return "" } type SetKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. - Status *v1beta1.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Status *v1beta1.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` } -func (m *SetKeyResponse) Reset() { *m = SetKeyResponse{} } -func (m *SetKeyResponse) String() string { return proto.CompactTextString(m) } -func (*SetKeyResponse) ProtoMessage() {} -func (*SetKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9feea93568a6977, []int{1} +func (x *SetKeyResponse) Reset() { + *x = SetKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetKeyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetKeyResponse.Unmarshal(m, b) -} -func (m *SetKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetKeyResponse.Marshal(b, m, deterministic) +func (x *SetKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetKeyResponse.Merge(m, src) -} -func (m *SetKeyResponse) XXX_Size() int { - return xxx_messageInfo_SetKeyResponse.Size(m) -} -func (m *SetKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetKeyResponse.DiscardUnknown(m) + +func (*SetKeyResponse) ProtoMessage() {} + +func (x *SetKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_preferences_v1beta1_preferences_api_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) } -var xxx_messageInfo_SetKeyResponse proto.InternalMessageInfo +// Deprecated: Use SetKeyResponse.ProtoReflect.Descriptor instead. +func (*SetKeyResponse) Descriptor() ([]byte, []int) { + return file_cs3_preferences_v1beta1_preferences_api_proto_rawDescGZIP(), []int{1} +} -func (m *SetKeyResponse) GetStatus() *v1beta1.Status { - if m != nil { - return m.Status +func (x *SetKeyResponse) GetStatus() *v1beta1.Status { + if x != nil { + return x.Status } return nil } type GetKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. - Key *PreferenceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Key *PreferenceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` } -func (m *GetKeyRequest) Reset() { *m = GetKeyRequest{} } -func (m *GetKeyRequest) String() string { return proto.CompactTextString(m) } -func (*GetKeyRequest) ProtoMessage() {} -func (*GetKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9feea93568a6977, []int{2} +func (x *GetKeyRequest) Reset() { + *x = GetKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetKeyRequest.Unmarshal(m, b) +func (x *GetKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetKeyRequest.Marshal(b, m, deterministic) -} -func (m *GetKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeyRequest.Merge(m, src) -} -func (m *GetKeyRequest) XXX_Size() int { - return xxx_messageInfo_GetKeyRequest.Size(m) -} -func (m *GetKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetKeyRequest.DiscardUnknown(m) + +func (*GetKeyRequest) ProtoMessage() {} + +func (x *GetKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_preferences_v1beta1_preferences_api_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) } -var xxx_messageInfo_GetKeyRequest proto.InternalMessageInfo +// Deprecated: Use GetKeyRequest.ProtoReflect.Descriptor instead. +func (*GetKeyRequest) Descriptor() ([]byte, []int) { + return file_cs3_preferences_v1beta1_preferences_api_proto_rawDescGZIP(), []int{2} +} -func (m *GetKeyRequest) GetKey() *PreferenceKey { - if m != nil { - return m.Key +func (x *GetKeyRequest) GetKey() *PreferenceKey { + if x != nil { + return x.Key } return nil } type GetKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta1.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // REQUIRED. // The value associated with the key. - Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetKeyResponse) Reset() { *m = GetKeyResponse{} } -func (m *GetKeyResponse) String() string { return proto.CompactTextString(m) } -func (*GetKeyResponse) ProtoMessage() {} -func (*GetKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9feea93568a6977, []int{3} -} - -func (m *GetKeyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetKeyResponse.Unmarshal(m, b) -} -func (m *GetKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetKeyResponse.Marshal(b, m, deterministic) -} -func (m *GetKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeyResponse.Merge(m, src) -} -func (m *GetKeyResponse) XXX_Size() int { - return xxx_messageInfo_GetKeyResponse.Size(m) + Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"` } -func (m *GetKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetKeyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetKeyResponse proto.InternalMessageInfo -func (m *GetKeyResponse) GetStatus() *v1beta1.Status { - if m != nil { - return m.Status +func (x *GetKeyResponse) Reset() { + *x = GetKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *GetKeyResponse) GetVal() string { - if m != nil { - return m.Val - } - return "" +func (x *GetKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func init() { - proto.RegisterType((*SetKeyRequest)(nil), "cs3.preferences.v1beta1.SetKeyRequest") - proto.RegisterType((*SetKeyResponse)(nil), "cs3.preferences.v1beta1.SetKeyResponse") - proto.RegisterType((*GetKeyRequest)(nil), "cs3.preferences.v1beta1.GetKeyRequest") - proto.RegisterType((*GetKeyResponse)(nil), "cs3.preferences.v1beta1.GetKeyResponse") -} +func (*GetKeyResponse) ProtoMessage() {} -func init() { - proto.RegisterFile("cs3/preferences/v1beta1/preferences_api.proto", fileDescriptor_d9feea93568a6977) -} - -var fileDescriptor_d9feea93568a6977 = []byte{ - // 320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4d, 0x2e, 0x36, 0xd6, - 0x2f, 0x28, 0x4a, 0x4d, 0x4b, 0x2d, 0x4a, 0xcd, 0x4b, 0x4e, 0x2d, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, - 0x2d, 0x49, 0x34, 0x44, 0x16, 0x8b, 0x4f, 0x2c, 0xc8, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x12, 0x4f, 0x2e, 0x36, 0xd6, 0x43, 0x92, 0xd2, 0x83, 0x2a, 0x97, 0x52, 0xc7, 0x65, 0x4e, 0x51, - 0x6a, 0x71, 0x7e, 0x69, 0x11, 0x48, 0x29, 0xd8, 0x04, 0x29, 0x19, 0x90, 0xc2, 0xa2, 0x82, 0x64, - 0xb8, 0x82, 0xe2, 0x92, 0xc4, 0x92, 0x52, 0xa8, 0xac, 0x52, 0x34, 0x17, 0x6f, 0x70, 0x6a, 0x89, - 0x77, 0x6a, 0x65, 0x50, 0x6a, 0x61, 0x69, 0x6a, 0x71, 0x89, 0x90, 0x05, 0x17, 0x73, 0x76, 0x6a, - 0xa5, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x9a, 0x1e, 0x0e, 0xeb, 0xf5, 0x02, 0xe0, 0x62, - 0x20, 0xbd, 0x20, 0x2d, 0x42, 0x02, 0x5c, 0xcc, 0x65, 0x89, 0x39, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, - 0x9c, 0x41, 0x20, 0xa6, 0x92, 0x23, 0x17, 0x1f, 0xcc, 0xf0, 0xe2, 0x82, 0xfc, 0xbc, 0xe2, 0x54, - 0x21, 0x7d, 0x2e, 0x36, 0x88, 0xf5, 0x50, 0x0b, 0xc4, 0xc1, 0x16, 0x14, 0x15, 0x24, 0xc3, 0x0d, - 0x0e, 0x06, 0x4b, 0x07, 0x41, 0x95, 0x29, 0x79, 0x72, 0xf1, 0xba, 0x53, 0xc7, 0x7d, 0x4a, 0xc1, - 0x5c, 0x7c, 0xee, 0x94, 0xb9, 0x06, 0xd3, 0x8b, 0x46, 0xc7, 0x18, 0xb9, 0xf8, 0x10, 0x76, 0x15, - 0x3b, 0x06, 0x78, 0x0a, 0x45, 0x72, 0xb1, 0x41, 0x7c, 0x2d, 0x84, 0xdb, 0x79, 0x28, 0x61, 0x2e, - 0xa5, 0x4e, 0x50, 0x1d, 0xd4, 0xc1, 0x91, 0x5c, 0x6c, 0xee, 0x84, 0x8c, 0x76, 0x27, 0xd2, 0x68, - 0xd4, 0xb0, 0x70, 0x6a, 0x62, 0xe4, 0x92, 0x4e, 0xce, 0xcf, 0xc5, 0xa5, 0xdc, 0x49, 0x18, 0xd9, - 0x97, 0x05, 0x99, 0x01, 0xa0, 0xd4, 0x13, 0xc0, 0x18, 0x25, 0x84, 0xa4, 0x16, 0xaa, 0x74, 0x11, - 0x13, 0xb3, 0x73, 0x40, 0xc4, 0x2a, 0x26, 0x71, 0xe7, 0x62, 0x63, 0xa4, 0x78, 0x28, 0xd6, 0x0b, - 0x33, 0x74, 0x02, 0xc9, 0x9f, 0x02, 0xcb, 0xc4, 0x20, 0xc9, 0xc4, 0x40, 0x65, 0x92, 0xd8, 0xc0, - 0x89, 0xd2, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xde, 0xf2, 0xba, 0x25, 0x03, 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 - -// PreferencesAPIClient is the client API for PreferencesAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PreferencesAPIClient interface { - // Maps the key-value pair. - SetKey(ctx context.Context, in *SetKeyRequest, opts ...grpc.CallOption) (*SetKeyResponse, error) - // Returns the value associated with the - // requested key. - GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error) -} - -type preferencesAPIClient struct { - cc *grpc.ClientConn +func (x *GetKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_preferences_v1beta1_preferences_api_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) } -func NewPreferencesAPIClient(cc *grpc.ClientConn) PreferencesAPIClient { - return &preferencesAPIClient{cc} +// Deprecated: Use GetKeyResponse.ProtoReflect.Descriptor instead. +func (*GetKeyResponse) Descriptor() ([]byte, []int) { + return file_cs3_preferences_v1beta1_preferences_api_proto_rawDescGZIP(), []int{3} } -func (c *preferencesAPIClient) SetKey(ctx context.Context, in *SetKeyRequest, opts ...grpc.CallOption) (*SetKeyResponse, error) { - out := new(SetKeyResponse) - err := c.cc.Invoke(ctx, "/cs3.preferences.v1beta1.PreferencesAPI/SetKey", in, out, opts...) - if err != nil { - return nil, err +func (x *GetKeyResponse) GetStatus() *v1beta1.Status { + if x != nil { + return x.Status } - return out, nil + return nil } -func (c *preferencesAPIClient) GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error) { - out := new(GetKeyResponse) - err := c.cc.Invoke(ctx, "/cs3.preferences.v1beta1.PreferencesAPI/GetKey", in, out, opts...) - if err != nil { - return nil, err +func (x *GetKeyResponse) GetVal() string { + if x != nil { + return x.Val } - return out, nil -} - -// PreferencesAPIServer is the server API for PreferencesAPI service. -type PreferencesAPIServer interface { - // Maps the key-value pair. - SetKey(context.Context, *SetKeyRequest) (*SetKeyResponse, error) - // Returns the value associated with the - // requested key. - GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error) -} - -// UnimplementedPreferencesAPIServer can be embedded to have forward compatible implementations. -type UnimplementedPreferencesAPIServer struct { -} - -func (*UnimplementedPreferencesAPIServer) SetKey(ctx context.Context, req *SetKeyRequest) (*SetKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetKey not implemented") -} -func (*UnimplementedPreferencesAPIServer) GetKey(ctx context.Context, req *GetKeyRequest) (*GetKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetKey not implemented") -} - -func RegisterPreferencesAPIServer(s *grpc.Server, srv PreferencesAPIServer) { - s.RegisterService(&_PreferencesAPI_serviceDesc, srv) + return "" } -func _PreferencesAPI_SetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PreferencesAPIServer).SetKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.preferences.v1beta1.PreferencesAPI/SetKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PreferencesAPIServer).SetKey(ctx, req.(*SetKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_preferences_v1beta1_preferences_api_proto protoreflect.FileDescriptor + +var file_cs3_preferences_v1beta1_preferences_api_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x17, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x5b, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x22, 0x41, 0x0a, 0x0e, + 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, + 0x49, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x53, 0x0a, 0x0e, 0x47, 0x65, + 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, + 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x32, + 0xc6, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, + 0x50, 0x49, 0x12, 0x59, 0x0a, 0x06, 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x26, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, + 0x06, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xf9, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, + 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, + 0x33, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x50, 0x58, 0xaa, 0x02, + 0x17, 0x43, 0x73, 0x33, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x17, 0x43, 0x73, 0x33, 0x5c, 0x50, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0xe2, 0x02, 0x23, 0x43, 0x73, 0x33, 0x5c, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x43, 0x73, 0x33, 0x3a, 0x3a, + 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_preferences_v1beta1_preferences_api_proto_rawDescOnce sync.Once + file_cs3_preferences_v1beta1_preferences_api_proto_rawDescData = file_cs3_preferences_v1beta1_preferences_api_proto_rawDesc +) -func _PreferencesAPI_GetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetKeyRequest) - if err := dec(in); err != nil { - return nil, err +func file_cs3_preferences_v1beta1_preferences_api_proto_rawDescGZIP() []byte { + file_cs3_preferences_v1beta1_preferences_api_proto_rawDescOnce.Do(func() { + file_cs3_preferences_v1beta1_preferences_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_preferences_v1beta1_preferences_api_proto_rawDescData) + }) + return file_cs3_preferences_v1beta1_preferences_api_proto_rawDescData +} + +var file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_cs3_preferences_v1beta1_preferences_api_proto_goTypes = []interface{}{ + (*SetKeyRequest)(nil), // 0: cs3.preferences.v1beta1.SetKeyRequest + (*SetKeyResponse)(nil), // 1: cs3.preferences.v1beta1.SetKeyResponse + (*GetKeyRequest)(nil), // 2: cs3.preferences.v1beta1.GetKeyRequest + (*GetKeyResponse)(nil), // 3: cs3.preferences.v1beta1.GetKeyResponse + (*PreferenceKey)(nil), // 4: cs3.preferences.v1beta1.PreferenceKey + (*v1beta1.Status)(nil), // 5: cs3.rpc.v1beta1.Status +} +var file_cs3_preferences_v1beta1_preferences_api_proto_depIdxs = []int32{ + 4, // 0: cs3.preferences.v1beta1.SetKeyRequest.key:type_name -> cs3.preferences.v1beta1.PreferenceKey + 5, // 1: cs3.preferences.v1beta1.SetKeyResponse.status:type_name -> cs3.rpc.v1beta1.Status + 4, // 2: cs3.preferences.v1beta1.GetKeyRequest.key:type_name -> cs3.preferences.v1beta1.PreferenceKey + 5, // 3: cs3.preferences.v1beta1.GetKeyResponse.status:type_name -> cs3.rpc.v1beta1.Status + 0, // 4: cs3.preferences.v1beta1.PreferencesAPI.SetKey:input_type -> cs3.preferences.v1beta1.SetKeyRequest + 2, // 5: cs3.preferences.v1beta1.PreferencesAPI.GetKey:input_type -> cs3.preferences.v1beta1.GetKeyRequest + 1, // 6: cs3.preferences.v1beta1.PreferencesAPI.SetKey:output_type -> cs3.preferences.v1beta1.SetKeyResponse + 3, // 7: cs3.preferences.v1beta1.PreferencesAPI.GetKey:output_type -> cs3.preferences.v1beta1.GetKeyResponse + 6, // [6:8] is the sub-list for method output_type + 4, // [4:6] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_cs3_preferences_v1beta1_preferences_api_proto_init() } +func file_cs3_preferences_v1beta1_preferences_api_proto_init() { + if File_cs3_preferences_v1beta1_preferences_api_proto != nil { + return } - if interceptor == nil { - return srv.(PreferencesAPIServer).GetKey(ctx, in) + file_cs3_preferences_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.preferences.v1beta1.PreferencesAPI/GetKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PreferencesAPIServer).GetKey(ctx, req.(*GetKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PreferencesAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.preferences.v1beta1.PreferencesAPI", - HandlerType: (*PreferencesAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SetKey", - Handler: _PreferencesAPI_SetKey_Handler, - }, - { - MethodName: "GetKey", - Handler: _PreferencesAPI_GetKey_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_preferences_v1beta1_preferences_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/preferences/v1beta1/preferences_api.proto", + GoTypes: file_cs3_preferences_v1beta1_preferences_api_proto_goTypes, + DependencyIndexes: file_cs3_preferences_v1beta1_preferences_api_proto_depIdxs, + MessageInfos: file_cs3_preferences_v1beta1_preferences_api_proto_msgTypes, + }.Build() + File_cs3_preferences_v1beta1_preferences_api_proto = out.File + file_cs3_preferences_v1beta1_preferences_api_proto_rawDesc = nil + file_cs3_preferences_v1beta1_preferences_api_proto_goTypes = nil + file_cs3_preferences_v1beta1_preferences_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/preferences_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/preferences_api_grpc.pb.go new file mode 100644 index 00000000000..6eb0f5a1f6e --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/preferences_api_grpc.pb.go @@ -0,0 +1,168 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/preferences/v1beta1/preferences_api.proto + +package preferencesv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + PreferencesAPI_SetKey_FullMethodName = "/cs3.preferences.v1beta1.PreferencesAPI/SetKey" + PreferencesAPI_GetKey_FullMethodName = "/cs3.preferences.v1beta1.PreferencesAPI/GetKey" +) + +// PreferencesAPIClient is the client API for PreferencesAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type PreferencesAPIClient interface { + // Maps the key-value pair. + SetKey(ctx context.Context, in *SetKeyRequest, opts ...grpc.CallOption) (*SetKeyResponse, error) + // Returns the value associated with the + // requested key. + GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error) +} + +type preferencesAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewPreferencesAPIClient(cc grpc.ClientConnInterface) PreferencesAPIClient { + return &preferencesAPIClient{cc} +} + +func (c *preferencesAPIClient) SetKey(ctx context.Context, in *SetKeyRequest, opts ...grpc.CallOption) (*SetKeyResponse, error) { + out := new(SetKeyResponse) + err := c.cc.Invoke(ctx, PreferencesAPI_SetKey_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *preferencesAPIClient) GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error) { + out := new(GetKeyResponse) + err := c.cc.Invoke(ctx, PreferencesAPI_GetKey_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// PreferencesAPIServer is the server API for PreferencesAPI service. +// All implementations should embed UnimplementedPreferencesAPIServer +// for forward compatibility +type PreferencesAPIServer interface { + // Maps the key-value pair. + SetKey(context.Context, *SetKeyRequest) (*SetKeyResponse, error) + // Returns the value associated with the + // requested key. + GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error) +} + +// UnimplementedPreferencesAPIServer should be embedded to have forward compatible implementations. +type UnimplementedPreferencesAPIServer struct { +} + +func (UnimplementedPreferencesAPIServer) SetKey(context.Context, *SetKeyRequest) (*SetKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetKey not implemented") +} +func (UnimplementedPreferencesAPIServer) GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetKey not implemented") +} + +// UnsafePreferencesAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to PreferencesAPIServer will +// result in compilation errors. +type UnsafePreferencesAPIServer interface { + mustEmbedUnimplementedPreferencesAPIServer() +} + +func RegisterPreferencesAPIServer(s grpc.ServiceRegistrar, srv PreferencesAPIServer) { + s.RegisterService(&PreferencesAPI_ServiceDesc, srv) +} + +func _PreferencesAPI_SetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PreferencesAPIServer).SetKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: PreferencesAPI_SetKey_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PreferencesAPIServer).SetKey(ctx, req.(*SetKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _PreferencesAPI_GetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PreferencesAPIServer).GetKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: PreferencesAPI_GetKey_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PreferencesAPIServer).GetKey(ctx, req.(*GetKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// PreferencesAPI_ServiceDesc is the grpc.ServiceDesc for PreferencesAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var PreferencesAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.preferences.v1beta1.PreferencesAPI", + HandlerType: (*PreferencesAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "SetKey", + Handler: _PreferencesAPI_SetKey_Handler, + }, + { + MethodName: "GetKey", + Handler: _PreferencesAPI_GetKey_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/preferences/v1beta1/preferences_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/resources.pb.go index b68259ca953..8673116be67 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/preferences/v1beta1/resources.pb.go @@ -1,96 +1,191 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/preferences/v1beta1/resources.proto package preferencesv1beta1 import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // Represents a key object consisting of a namespace and a string key. type PreferenceKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The namespace to which the key belongs. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // REQUIRED. - Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` } -func (m *PreferenceKey) Reset() { *m = PreferenceKey{} } -func (m *PreferenceKey) String() string { return proto.CompactTextString(m) } -func (*PreferenceKey) ProtoMessage() {} -func (*PreferenceKey) Descriptor() ([]byte, []int) { - return fileDescriptor_ea161434d95765fd, []int{0} +func (x *PreferenceKey) Reset() { + *x = PreferenceKey{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_preferences_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PreferenceKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PreferenceKey.Unmarshal(m, b) +func (x *PreferenceKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PreferenceKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PreferenceKey.Marshal(b, m, deterministic) -} -func (m *PreferenceKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreferenceKey.Merge(m, src) -} -func (m *PreferenceKey) XXX_Size() int { - return xxx_messageInfo_PreferenceKey.Size(m) -} -func (m *PreferenceKey) XXX_DiscardUnknown() { - xxx_messageInfo_PreferenceKey.DiscardUnknown(m) + +func (*PreferenceKey) ProtoMessage() {} + +func (x *PreferenceKey) ProtoReflect() protoreflect.Message { + mi := &file_cs3_preferences_v1beta1_resources_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) } -var xxx_messageInfo_PreferenceKey proto.InternalMessageInfo +// Deprecated: Use PreferenceKey.ProtoReflect.Descriptor instead. +func (*PreferenceKey) Descriptor() ([]byte, []int) { + return file_cs3_preferences_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *PreferenceKey) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *PreferenceKey) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *PreferenceKey) GetKey() string { - if m != nil { - return m.Key +func (x *PreferenceKey) GetKey() string { + if x != nil { + return x.Key } return "" } -func init() { - proto.RegisterType((*PreferenceKey)(nil), "cs3.preferences.v1beta1.PreferenceKey") +var File_cs3_preferences_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_preferences_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x73, 0x33, 0x2e, 0x70, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x22, 0x3f, 0x0a, 0x0d, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x42, 0xf4, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, + 0x03, 0x43, 0x50, 0x58, 0xaa, 0x02, 0x17, 0x43, 0x73, 0x33, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, + 0x17, 0x43, 0x73, 0x33, 0x5c, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x23, 0x43, 0x73, 0x33, 0x5c, 0x50, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x19, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } -func init() { - proto.RegisterFile("cs3/preferences/v1beta1/resources.proto", fileDescriptor_ea161434d95765fd) +var ( + file_cs3_preferences_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_preferences_v1beta1_resources_proto_rawDescData = file_cs3_preferences_v1beta1_resources_proto_rawDesc +) + +func file_cs3_preferences_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_preferences_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_preferences_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_preferences_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_preferences_v1beta1_resources_proto_rawDescData } -var fileDescriptor_ea161434d95765fd = []byte{ - // 183 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0x2e, 0x36, 0xd6, - 0x2f, 0x28, 0x4a, 0x4d, 0x4b, 0x2d, 0x4a, 0xcd, 0x4b, 0x4e, 0x2d, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, - 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0x2d, 0xd6, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x4f, 0x2e, 0x36, 0xd6, 0x43, 0x52, 0xa8, 0x07, 0x55, 0xa8, 0x64, - 0xcf, 0xc5, 0x1b, 0x00, 0x17, 0xf6, 0x4e, 0xad, 0x14, 0x92, 0xe1, 0xe2, 0xcc, 0x4b, 0xcc, 0x4d, - 0x2d, 0x2e, 0x48, 0x4c, 0x4e, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x42, 0x08, 0x08, 0x09, - 0x70, 0x31, 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x81, 0xc5, 0x41, 0x4c, 0xa7, 0x5a, 0x2e, 0xe9, 0xe4, - 0xfc, 0x5c, 0x3d, 0x1c, 0xe6, 0x3b, 0xf1, 0x05, 0xc1, 0x5c, 0x12, 0x00, 0x72, 0x48, 0x00, 0x63, - 0x94, 0x10, 0x92, 0x32, 0xa8, 0xaa, 0x45, 0x4c, 0xcc, 0xce, 0x01, 0x11, 0xab, 0x98, 0xc4, 0x9d, - 0x8b, 0x8d, 0xf5, 0x02, 0x90, 0x4c, 0x09, 0x33, 0x74, 0x02, 0xc9, 0x9f, 0x02, 0xcb, 0xc4, 0x20, - 0xc9, 0xc4, 0x40, 0x65, 0x92, 0xd8, 0xc0, 0xfe, 0x33, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf1, - 0x8a, 0x9a, 0x04, 0x0a, 0x01, 0x00, 0x00, +var file_cs3_preferences_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_cs3_preferences_v1beta1_resources_proto_goTypes = []interface{}{ + (*PreferenceKey)(nil), // 0: cs3.preferences.v1beta1.PreferenceKey +} +var file_cs3_preferences_v1beta1_resources_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_cs3_preferences_v1beta1_resources_proto_init() } +func file_cs3_preferences_v1beta1_resources_proto_init() { + if File_cs3_preferences_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_preferences_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreferenceKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_preferences_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_preferences_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_preferences_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_preferences_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_preferences_v1beta1_resources_proto = out.File + file_cs3_preferences_v1beta1_resources_proto_rawDesc = nil + file_cs3_preferences_v1beta1_resources_proto_goTypes = nil + file_cs3_preferences_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1/code.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1/code.pb.go index 60512cffe0b..bcf41b172d3 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1/code.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1/code.pb.go @@ -1,24 +1,42 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/rpc/v1beta1/code.proto package rpcv1beta1 import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // These are the canonical error codes used by CS3 APIs. // @@ -112,15 +130,16 @@ const ( // // Service implementors can use the following guidelines to decide // between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: - // (a) Use `UNAVAILABLE` if the client can retry just the failing call. - // (b) Use `ABORTED` if the client should retry at a higher level - // (e.g., when a client-specified test-and-set fails, indicating the - // client should restart a read-modify-write sequence). - // (c) Use `FAILED_PRECONDITION` if the client should not retry until - // the system state has been explicitly fixed. E.g., if an "rmdir" - // fails because the directory is non-empty, `FAILED_PRECONDITION` - // should be returned since the client should not retry unless - // the files are deleted from the directory. + // + // (a) Use `UNAVAILABLE` if the client can retry just the failing call. + // (b) Use `ABORTED` if the client should retry at a higher level + // (e.g., when a client-specified test-and-set fails, indicating the + // client should restart a read-modify-write sequence). + // (c) Use `FAILED_PRECONDITION` if the client should not retry until + // the system state has been explicitly fixed. E.g., if an "rmdir" + // fails because the directory is non-empty, `FAILED_PRECONDITION` + // should be returned since the client should not retry unless + // the files are deleted from the directory. // // HTTP Mapping: 400 Bad Request Code_CODE_FAILED_PRECONDITION Code = 11 @@ -177,7 +196,6 @@ const ( // Redirects the operation to another location. // Used in a Status reponse with a reference to the target URI. Code_CODE_REDIRECTION Code = 18 - // // The operation could not be performed because there is not enough // storage available. This can be because of lack of real storage // space or because of the exceeding of a quota associated to a @@ -185,7 +203,6 @@ const ( // // HTTP Mapping: 507 Insufficient Storage Code_CODE_INSUFFICIENT_STORAGE Code = 19 - // // The ability to lock a resource is specific to some WebDAV servers. // The HTTP 423 Locked error response code indicates that either // the resources tentatively targeted by is locked, meaning it can't be accessed. @@ -194,96 +211,179 @@ const ( Code_CODE_LOCKED Code = 20 ) -var Code_name = map[int32]string{ - 0: "CODE_INVALID", - 1: "CODE_OK", - 2: "CODE_CANCELLED", - 3: "CODE_UNKNOWN", - 4: "CODE_INVALID_ARGUMENT", - 5: "CODE_DEADLINE_EXCEEDED", - 6: "CODE_NOT_FOUND", - 7: "CODE_ALREADY_EXISTS", - 8: "CODE_PERMISSION_DENIED", - 9: "CODE_UNAUTHENTICATED", - 10: "CODE_RESOURCE_EXHAUSTED", - 11: "CODE_FAILED_PRECONDITION", - 12: "CODE_ABORTED", - 13: "CODE_OUT_OF_RANGE", - 14: "CODE_UNIMPLEMENTED", - 15: "CODE_INTERNAL", - 16: "CODE_UNAVAILABLE", - 17: "CODE_DATA_LOSS", - 18: "CODE_REDIRECTION", - 19: "CODE_INSUFFICIENT_STORAGE", - 20: "CODE_LOCKED", -} +// Enum value maps for Code. +var ( + Code_name = map[int32]string{ + 0: "CODE_INVALID", + 1: "CODE_OK", + 2: "CODE_CANCELLED", + 3: "CODE_UNKNOWN", + 4: "CODE_INVALID_ARGUMENT", + 5: "CODE_DEADLINE_EXCEEDED", + 6: "CODE_NOT_FOUND", + 7: "CODE_ALREADY_EXISTS", + 8: "CODE_PERMISSION_DENIED", + 9: "CODE_UNAUTHENTICATED", + 10: "CODE_RESOURCE_EXHAUSTED", + 11: "CODE_FAILED_PRECONDITION", + 12: "CODE_ABORTED", + 13: "CODE_OUT_OF_RANGE", + 14: "CODE_UNIMPLEMENTED", + 15: "CODE_INTERNAL", + 16: "CODE_UNAVAILABLE", + 17: "CODE_DATA_LOSS", + 18: "CODE_REDIRECTION", + 19: "CODE_INSUFFICIENT_STORAGE", + 20: "CODE_LOCKED", + } + Code_value = map[string]int32{ + "CODE_INVALID": 0, + "CODE_OK": 1, + "CODE_CANCELLED": 2, + "CODE_UNKNOWN": 3, + "CODE_INVALID_ARGUMENT": 4, + "CODE_DEADLINE_EXCEEDED": 5, + "CODE_NOT_FOUND": 6, + "CODE_ALREADY_EXISTS": 7, + "CODE_PERMISSION_DENIED": 8, + "CODE_UNAUTHENTICATED": 9, + "CODE_RESOURCE_EXHAUSTED": 10, + "CODE_FAILED_PRECONDITION": 11, + "CODE_ABORTED": 12, + "CODE_OUT_OF_RANGE": 13, + "CODE_UNIMPLEMENTED": 14, + "CODE_INTERNAL": 15, + "CODE_UNAVAILABLE": 16, + "CODE_DATA_LOSS": 17, + "CODE_REDIRECTION": 18, + "CODE_INSUFFICIENT_STORAGE": 19, + "CODE_LOCKED": 20, + } +) -var Code_value = map[string]int32{ - "CODE_INVALID": 0, - "CODE_OK": 1, - "CODE_CANCELLED": 2, - "CODE_UNKNOWN": 3, - "CODE_INVALID_ARGUMENT": 4, - "CODE_DEADLINE_EXCEEDED": 5, - "CODE_NOT_FOUND": 6, - "CODE_ALREADY_EXISTS": 7, - "CODE_PERMISSION_DENIED": 8, - "CODE_UNAUTHENTICATED": 9, - "CODE_RESOURCE_EXHAUSTED": 10, - "CODE_FAILED_PRECONDITION": 11, - "CODE_ABORTED": 12, - "CODE_OUT_OF_RANGE": 13, - "CODE_UNIMPLEMENTED": 14, - "CODE_INTERNAL": 15, - "CODE_UNAVAILABLE": 16, - "CODE_DATA_LOSS": 17, - "CODE_REDIRECTION": 18, - "CODE_INSUFFICIENT_STORAGE": 19, - "CODE_LOCKED": 20, +func (x Code) Enum() *Code { + p := new(Code) + *p = x + return p } func (x Code) String() string { - return proto.EnumName(Code_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Code) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_rpc_v1beta1_code_proto_enumTypes[0].Descriptor() +} + +func (Code) Type() protoreflect.EnumType { + return &file_cs3_rpc_v1beta1_code_proto_enumTypes[0] +} + +func (x Code) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Code.Descriptor instead. func (Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d7978aa548ead3ec, []int{0} + return file_cs3_rpc_v1beta1_code_proto_rawDescGZIP(), []int{0} } -func init() { - proto.RegisterEnum("cs3.rpc.v1beta1.Code", Code_name, Code_value) +var File_cs3_rpc_v1beta1_code_proto protoreflect.FileDescriptor + +var file_cs3_rpc_v1beta1_code_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2a, 0xe4, 0x03, + 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x41, + 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x52, 0x47, 0x55, + 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x44, + 0x45, 0x41, 0x44, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, + 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, + 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x41, + 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x07, 0x12, + 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, + 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, + 0x54, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x45, 0x58, 0x48, 0x41, 0x55, 0x53, 0x54, 0x45, 0x44, + 0x10, 0x0a, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x5f, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0b, + 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, + 0x10, 0x0c, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, + 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x0d, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x55, 0x4e, 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x45, 0x44, 0x10, + 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, + 0x41, 0x4c, 0x10, 0x0f, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x41, + 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x10, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4c, 0x4f, 0x53, 0x53, 0x10, 0x11, 0x12, 0x14, + 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x10, 0x12, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x53, + 0x55, 0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, + 0x45, 0x10, 0x13, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, + 0x45, 0x44, 0x10, 0x14, 0x42, 0xb7, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x09, 0x43, 0x6f, + 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, + 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x52, 0x58, 0xaa, 0x02, 0x0f, 0x43, 0x73, 0x33, 0x2e, 0x52, + 0x70, 0x63, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x0f, 0x43, 0x73, 0x33, + 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1b, 0x43, + 0x73, 0x33, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x43, 0x73, 0x33, + 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("cs3/rpc/v1beta1/code.proto", fileDescriptor_d7978aa548ead3ec) } +var ( + file_cs3_rpc_v1beta1_code_proto_rawDescOnce sync.Once + file_cs3_rpc_v1beta1_code_proto_rawDescData = file_cs3_rpc_v1beta1_code_proto_rawDesc +) + +func file_cs3_rpc_v1beta1_code_proto_rawDescGZIP() []byte { + file_cs3_rpc_v1beta1_code_proto_rawDescOnce.Do(func() { + file_cs3_rpc_v1beta1_code_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_rpc_v1beta1_code_proto_rawDescData) + }) + return file_cs3_rpc_v1beta1_code_proto_rawDescData +} + +var file_cs3_rpc_v1beta1_code_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cs3_rpc_v1beta1_code_proto_goTypes = []interface{}{ + (Code)(0), // 0: cs3.rpc.v1beta1.Code +} +var file_cs3_rpc_v1beta1_code_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} -var fileDescriptor_d7978aa548ead3ec = []byte{ - // 437 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x92, 0x5d, 0x6e, 0x13, 0x31, - 0x10, 0xc7, 0x69, 0x52, 0x5a, 0x3a, 0x69, 0x9b, 0x89, 0x93, 0x7e, 0x02, 0x17, 0xe0, 0x61, 0xa3, - 0x28, 0x27, 0x70, 0xec, 0x49, 0x6a, 0xc5, 0xb1, 0x23, 0xdb, 0x1b, 0x02, 0xaa, 0x64, 0xd1, 0x6d, - 0x1e, 0xd1, 0xae, 0x92, 0x8a, 0x03, 0xf1, 0xc8, 0x51, 0x38, 0x07, 0x07, 0x41, 0x6b, 0x96, 0x15, - 0xe2, 0xd1, 0xff, 0xdf, 0xf8, 0x3f, 0x9f, 0x70, 0x5f, 0x1c, 0xa6, 0xe3, 0x7d, 0x55, 0x8c, 0xbf, - 0x4d, 0x9e, 0x76, 0x2f, 0x5f, 0x26, 0xe3, 0xa2, 0x7c, 0xde, 0x65, 0xd5, 0xbe, 0x7c, 0x29, 0x59, - 0xbf, 0x38, 0x4c, 0xb3, 0x7d, 0x55, 0x64, 0x0d, 0xfb, 0xf0, 0xab, 0x0b, 0xc7, 0xa2, 0x7c, 0xde, - 0x31, 0x84, 0x73, 0x61, 0x25, 0x45, 0x65, 0x36, 0x5c, 0x2b, 0x89, 0xaf, 0x58, 0x0f, 0x4e, 0x93, - 0x62, 0x97, 0x78, 0xc4, 0x18, 0x5c, 0xa6, 0x87, 0xe0, 0x46, 0x90, 0xd6, 0x24, 0xb1, 0xd3, 0x7e, - 0xc9, 0xcd, 0xd2, 0xd8, 0x8f, 0x06, 0xbb, 0xec, 0x0e, 0xae, 0xfe, 0x35, 0x89, 0xdc, 0x2d, 0xf2, - 0x15, 0x99, 0x80, 0xc7, 0xec, 0x1e, 0xae, 0x13, 0x92, 0xc4, 0xa5, 0x56, 0x86, 0x22, 0x6d, 0x05, - 0x91, 0x24, 0x89, 0xaf, 0x5b, 0x73, 0x63, 0x43, 0x9c, 0xdb, 0xdc, 0x48, 0x3c, 0x61, 0x37, 0x30, - 0x4c, 0x1a, 0xd7, 0x8e, 0xb8, 0xfc, 0x14, 0x69, 0xab, 0x7c, 0xf0, 0x78, 0xda, 0x1a, 0xad, 0xc9, - 0xad, 0x94, 0xf7, 0xca, 0x9a, 0x28, 0xc9, 0x28, 0x92, 0xf8, 0x86, 0xdd, 0xc2, 0xa8, 0xa9, 0x88, - 0xe7, 0xe1, 0x81, 0x4c, 0x50, 0x82, 0x07, 0x92, 0x78, 0xc6, 0xde, 0xc2, 0x4d, 0x22, 0x8e, 0xbc, - 0xcd, 0x9d, 0xa8, 0xd3, 0x3f, 0xf0, 0xdc, 0xd7, 0x10, 0xd8, 0x3b, 0xb8, 0x4d, 0x70, 0xce, 0x95, - 0x26, 0x19, 0xd7, 0x8e, 0x84, 0x35, 0x52, 0x05, 0x65, 0x0d, 0xf6, 0xda, 0x36, 0xf9, 0xcc, 0xba, - 0x3a, 0xfe, 0x9c, 0x5d, 0xc1, 0xe0, 0xcf, 0x64, 0xf2, 0x10, 0xed, 0x3c, 0x3a, 0x6e, 0x16, 0x84, - 0x17, 0xec, 0x1a, 0x58, 0x93, 0x5d, 0xad, 0xd6, 0x9a, 0xea, 0xc6, 0x49, 0xe2, 0x25, 0x1b, 0xc0, - 0x45, 0x33, 0x95, 0x40, 0xce, 0x70, 0x8d, 0x7d, 0x36, 0x02, 0xfc, 0x5b, 0xe8, 0x86, 0x2b, 0xcd, - 0x67, 0x9a, 0x10, 0xdb, 0x39, 0x48, 0x1e, 0x78, 0xd4, 0xd6, 0x7b, 0x1c, 0xb4, 0x91, 0x8e, 0xa4, - 0x72, 0x24, 0x52, 0x4d, 0x8c, 0xbd, 0x87, 0xbb, 0xc6, 0xd2, 0xe7, 0xf3, 0xb9, 0x12, 0x8a, 0x4c, - 0x88, 0x3e, 0x58, 0xc7, 0x17, 0x84, 0x43, 0xd6, 0x87, 0x5e, 0xc2, 0xda, 0x8a, 0x25, 0x49, 0x1c, - 0xcd, 0xb6, 0x30, 0x2c, 0xca, 0xaf, 0xd9, 0x7f, 0xdb, 0x9f, 0x9d, 0xd5, 0xab, 0x5f, 0xd7, 0x97, - 0xb1, 0x3e, 0xfa, 0x0c, 0xfb, 0xaa, 0x68, 0xc0, 0xf7, 0x4e, 0x57, 0xb8, 0xed, 0x8f, 0x4e, 0x5f, - 0x1c, 0xa6, 0x99, 0xab, 0x8a, 0x6c, 0x33, 0x99, 0xd5, 0xfa, 0xcf, 0xa4, 0x3c, 0xba, 0xaa, 0x78, - 0x6c, 0x94, 0xa7, 0x93, 0x74, 0x58, 0xd3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x1f, 0x7f, - 0x3c, 0x76, 0x02, 0x00, 0x00, +func init() { file_cs3_rpc_v1beta1_code_proto_init() } +func file_cs3_rpc_v1beta1_code_proto_init() { + if File_cs3_rpc_v1beta1_code_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_rpc_v1beta1_code_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_rpc_v1beta1_code_proto_goTypes, + DependencyIndexes: file_cs3_rpc_v1beta1_code_proto_depIdxs, + EnumInfos: file_cs3_rpc_v1beta1_code_proto_enumTypes, + }.Build() + File_cs3_rpc_v1beta1_code_proto = out.File + file_cs3_rpc_v1beta1_code_proto_rawDesc = nil + file_cs3_rpc_v1beta1_code_proto_goTypes = nil + file_cs3_rpc_v1beta1_code_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1/status.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1/status.pb.go index 65078c97212..f7e8d8aacc7 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1/status.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1/status.pb.go @@ -1,30 +1,53 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/rpc/v1beta1/status.proto package rpcv1beta1 import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // The `Status` message contains two pieces of data: error code and error message. // The error code should be an enum value of [cs3.rpc.code]. // The error message should be a developer-facing English // message that helps developers *understand* and *resolve* the error. type Status struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The status code, which should be an enum value of [cs3.rpc.code][cs3.rpc.code]. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=cs3.rpc.v1beta1.Code" json:"code,omitempty"` @@ -39,86 +62,183 @@ type Status struct { // A target URI as per RFC3986 to redirect requests to another location. // A Status message with CODE_REDIRECT MUST always set the target_uri. // https://golang.org/pkg/net/url/#URL provides a quick view of the format. - TargetUri string `protobuf:"bytes,4,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetUri string `protobuf:"bytes,4,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` + // OPTIONAL. + // InnerError represents an encoded error. + // This makes it possible to transport error types + // and match them on the client side by type. + // The InnerError pattern originates from graph. + InnerError *v1beta1.OpaqueEntry `protobuf:"bytes,5,opt,name=InnerError,proto3" json:"InnerError,omitempty"` } -func (m *Status) Reset() { *m = Status{} } -func (m *Status) String() string { return proto.CompactTextString(m) } -func (*Status) ProtoMessage() {} -func (*Status) Descriptor() ([]byte, []int) { - return fileDescriptor_e02c75bc6b84198d, []int{0} +func (x *Status) Reset() { + *x = Status{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_rpc_v1beta1_status_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Status) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Status.Unmarshal(m, b) +func (x *Status) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Status.Marshal(b, m, deterministic) -} -func (m *Status) XXX_Merge(src proto.Message) { - xxx_messageInfo_Status.Merge(m, src) -} -func (m *Status) XXX_Size() int { - return xxx_messageInfo_Status.Size(m) -} -func (m *Status) XXX_DiscardUnknown() { - xxx_messageInfo_Status.DiscardUnknown(m) + +func (*Status) ProtoMessage() {} + +func (x *Status) ProtoReflect() protoreflect.Message { + mi := &file_cs3_rpc_v1beta1_status_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) } -var xxx_messageInfo_Status proto.InternalMessageInfo +// Deprecated: Use Status.ProtoReflect.Descriptor instead. +func (*Status) Descriptor() ([]byte, []int) { + return file_cs3_rpc_v1beta1_status_proto_rawDescGZIP(), []int{0} +} -func (m *Status) GetCode() Code { - if m != nil { - return m.Code +func (x *Status) GetCode() Code { + if x != nil { + return x.Code } return Code_CODE_INVALID } -func (m *Status) GetMessage() string { - if m != nil { - return m.Message +func (x *Status) GetMessage() string { + if x != nil { + return x.Message } return "" } -func (m *Status) GetTrace() string { - if m != nil { - return m.Trace +func (x *Status) GetTrace() string { + if x != nil { + return x.Trace } return "" } -func (m *Status) GetTargetUri() string { - if m != nil { - return m.TargetUri +func (x *Status) GetTargetUri() string { + if x != nil { + return x.TargetUri } return "" } -func init() { - proto.RegisterType((*Status)(nil), "cs3.rpc.v1beta1.Status") +func (x *Status) GetInnerError() *v1beta1.OpaqueEntry { + if x != nil { + return x.InnerError + } + return nil +} + +var File_cs3_rpc_v1beta1_status_proto protoreflect.FileDescriptor + +var file_cs3_rpc_v1beta1_status_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, + 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, + 0x1a, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x01, 0x0a, 0x06, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x72, + 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x72, 0x61, 0x63, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x72, 0x69, 0x12, + 0x3e, 0x0a, 0x0a, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0a, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, + 0xb9, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, + 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, + 0x02, 0x03, 0x43, 0x52, 0x58, 0xaa, 0x02, 0x0f, 0x43, 0x73, 0x33, 0x2e, 0x52, 0x70, 0x63, 0x2e, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x0f, 0x43, 0x73, 0x33, 0x5c, 0x52, 0x70, + 0x63, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1b, 0x43, 0x73, 0x33, 0x5c, + 0x52, 0x70, 0x63, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x52, + 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_rpc_v1beta1_status_proto_rawDescOnce sync.Once + file_cs3_rpc_v1beta1_status_proto_rawDescData = file_cs3_rpc_v1beta1_status_proto_rawDesc +) + +func file_cs3_rpc_v1beta1_status_proto_rawDescGZIP() []byte { + file_cs3_rpc_v1beta1_status_proto_rawDescOnce.Do(func() { + file_cs3_rpc_v1beta1_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_rpc_v1beta1_status_proto_rawDescData) + }) + return file_cs3_rpc_v1beta1_status_proto_rawDescData } -func init() { proto.RegisterFile("cs3/rpc/v1beta1/status.proto", fileDescriptor_e02c75bc6b84198d) } - -var fileDescriptor_e02c75bc6b84198d = []byte{ - // 230 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0x2e, 0x36, 0xd6, - 0x2f, 0x2a, 0x48, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x2e, 0x49, 0x2c, - 0x29, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x4f, 0x2e, 0x36, 0xd6, 0x2b, 0x2a, - 0x48, 0xd6, 0x83, 0xca, 0x4a, 0x49, 0xa1, 0x2b, 0x4f, 0xce, 0x4f, 0x49, 0x85, 0x28, 0x56, 0x6a, - 0x62, 0xe4, 0x62, 0x0b, 0x06, 0xeb, 0x16, 0xd2, 0xe4, 0x62, 0x01, 0x49, 0x48, 0x30, 0x2a, 0x30, - 0x6a, 0xf0, 0x19, 0x89, 0xea, 0xa1, 0x19, 0xa3, 0xe7, 0x9c, 0x9f, 0x92, 0x1a, 0x04, 0x56, 0x22, - 0x24, 0xc1, 0xc5, 0x9e, 0x9b, 0x5a, 0x5c, 0x9c, 0x98, 0x9e, 0x2a, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, - 0x19, 0x04, 0xe3, 0x0a, 0x89, 0x70, 0xb1, 0x96, 0x14, 0x25, 0x26, 0xa7, 0x4a, 0x30, 0x83, 0xc5, - 0x21, 0x1c, 0x21, 0x59, 0x2e, 0xae, 0x92, 0xc4, 0xa2, 0xf4, 0xd4, 0x92, 0xf8, 0xd2, 0xa2, 0x4c, - 0x09, 0x16, 0xb0, 0x14, 0x27, 0x44, 0x24, 0xb4, 0x28, 0xd3, 0x29, 0x8a, 0x4b, 0x38, 0x39, 0x3f, - 0x17, 0xdd, 0x42, 0x27, 0x6e, 0x88, 0xc3, 0x02, 0x40, 0x0e, 0x0d, 0x60, 0x8c, 0xe2, 0x2a, 0x2a, - 0x48, 0x86, 0x4a, 0x2d, 0x62, 0x62, 0x76, 0x0e, 0x8a, 0x58, 0xc5, 0xc4, 0xef, 0x5c, 0x6c, 0xac, - 0x17, 0x54, 0x90, 0xac, 0x17, 0x66, 0xe8, 0x04, 0x12, 0x3f, 0x05, 0x16, 0x89, 0x09, 0x2a, 0x48, - 0x8e, 0x81, 0x8a, 0x24, 0xb1, 0x81, 0xfd, 0x69, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x18, 0x1f, - 0xa0, 0x1d, 0x34, 0x01, 0x00, 0x00, +var file_cs3_rpc_v1beta1_status_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_cs3_rpc_v1beta1_status_proto_goTypes = []interface{}{ + (*Status)(nil), // 0: cs3.rpc.v1beta1.Status + (Code)(0), // 1: cs3.rpc.v1beta1.Code + (*v1beta1.OpaqueEntry)(nil), // 2: cs3.types.v1beta1.OpaqueEntry +} +var file_cs3_rpc_v1beta1_status_proto_depIdxs = []int32{ + 1, // 0: cs3.rpc.v1beta1.Status.code:type_name -> cs3.rpc.v1beta1.Code + 2, // 1: cs3.rpc.v1beta1.Status.InnerError:type_name -> cs3.types.v1beta1.OpaqueEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_cs3_rpc_v1beta1_status_proto_init() } +func file_cs3_rpc_v1beta1_status_proto_init() { + if File_cs3_rpc_v1beta1_status_proto != nil { + return + } + file_cs3_rpc_v1beta1_code_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_rpc_v1beta1_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_rpc_v1beta1_status_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_rpc_v1beta1_status_proto_goTypes, + DependencyIndexes: file_cs3_rpc_v1beta1_status_proto_depIdxs, + MessageInfos: file_cs3_rpc_v1beta1_status_proto_msgTypes, + }.Build() + File_cs3_rpc_v1beta1_status_proto = out.File + file_cs3_rpc_v1beta1_status_proto_rawDesc = nil + file_cs3_rpc_v1beta1_status_proto_goTypes = nil + file_cs3_rpc_v1beta1_status_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/collaboration_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/collaboration_api.pb.go index 2b190625f24..66b30622625 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/collaboration_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/collaboration_api.pb.go @@ -1,34 +1,52 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/sharing/collaboration/v1beta1/collaboration_api.proto package collaborationv1beta1 import ( - context "context" - fmt "fmt" v1beta12 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 CreateShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -37,59 +55,67 @@ type CreateShareRequest struct { ResourceInfo *v1beta11.ResourceInfo `protobuf:"bytes,2,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"` // REQUIRED. // The share grant for the share. - Grant *ShareGrant `protobuf:"bytes,3,opt,name=grant,proto3" json:"grant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Grant *ShareGrant `protobuf:"bytes,3,opt,name=grant,proto3" json:"grant,omitempty"` } -func (m *CreateShareRequest) Reset() { *m = CreateShareRequest{} } -func (m *CreateShareRequest) String() string { return proto.CompactTextString(m) } -func (*CreateShareRequest) ProtoMessage() {} -func (*CreateShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{0} +func (x *CreateShareRequest) Reset() { + *x = CreateShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateShareRequest.Unmarshal(m, b) -} -func (m *CreateShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateShareRequest.Marshal(b, m, deterministic) -} -func (m *CreateShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateShareRequest.Merge(m, src) +func (x *CreateShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateShareRequest) XXX_Size() int { - return xxx_messageInfo_CreateShareRequest.Size(m) -} -func (m *CreateShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateShareRequest.DiscardUnknown(m) + +func (*CreateShareRequest) ProtoMessage() {} + +func (x *CreateShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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) } -var xxx_messageInfo_CreateShareRequest proto.InternalMessageInfo +// Deprecated: Use CreateShareRequest.ProtoReflect.Descriptor instead. +func (*CreateShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{0} +} -func (m *CreateShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateShareRequest) GetResourceInfo() *v1beta11.ResourceInfo { - if m != nil { - return m.ResourceInfo +func (x *CreateShareRequest) GetResourceInfo() *v1beta11.ResourceInfo { + if x != nil { + return x.ResourceInfo } return nil } -func (m *CreateShareRequest) GetGrant() *ShareGrant { - if m != nil { - return m.Grant +func (x *CreateShareRequest) GetGrant() *ShareGrant { + if x != nil { + return x.Grant } return nil } type CreateShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -98,59 +124,67 @@ type CreateShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The created share. - Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *CreateShareResponse) Reset() { *m = CreateShareResponse{} } -func (m *CreateShareResponse) String() string { return proto.CompactTextString(m) } -func (*CreateShareResponse) ProtoMessage() {} -func (*CreateShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{1} +func (x *CreateShareResponse) Reset() { + *x = CreateShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateShareResponse.Unmarshal(m, b) -} -func (m *CreateShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateShareResponse.Marshal(b, m, deterministic) -} -func (m *CreateShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateShareResponse.Merge(m, src) +func (x *CreateShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateShareResponse) XXX_Size() int { - return xxx_messageInfo_CreateShareResponse.Size(m) -} -func (m *CreateShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateShareResponse.DiscardUnknown(m) + +func (*CreateShareResponse) ProtoMessage() {} + +func (x *CreateShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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) } -var xxx_messageInfo_CreateShareResponse proto.InternalMessageInfo +// Deprecated: Use CreateShareResponse.ProtoReflect.Descriptor instead. +func (*CreateShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{1} +} -func (m *CreateShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *CreateShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *CreateShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateShareResponse) GetShare() *Share { - if m != nil { - return m.Share +func (x *CreateShareResponse) GetShare() *Share { + if x != nil { + return x.Share } return nil } type UpdateShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -162,159 +196,84 @@ type UpdateShareRequest struct { Field *UpdateShareRequest_UpdateField `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"` // The update mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // REQUIRED. // The share containing the new data - Share *Share `protobuf:"bytes,5,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *Share `protobuf:"bytes,5,opt,name=share,proto3" json:"share,omitempty"` } -func (m *UpdateShareRequest) Reset() { *m = UpdateShareRequest{} } -func (m *UpdateShareRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateShareRequest) ProtoMessage() {} -func (*UpdateShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{2} +func (x *UpdateShareRequest) Reset() { + *x = UpdateShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateShareRequest.Unmarshal(m, b) -} -func (m *UpdateShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateShareRequest.Marshal(b, m, deterministic) -} -func (m *UpdateShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateShareRequest.Merge(m, src) -} -func (m *UpdateShareRequest) XXX_Size() int { - return xxx_messageInfo_UpdateShareRequest.Size(m) -} -func (m *UpdateShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateShareRequest.DiscardUnknown(m) +func (x *UpdateShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UpdateShareRequest proto.InternalMessageInfo +func (*UpdateShareRequest) ProtoMessage() {} -func (m *UpdateShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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 nil + return mi.MessageOf(x) } -func (m *UpdateShareRequest) GetRef() *ShareReference { - if m != nil { - return m.Ref - } - return nil +// Deprecated: Use UpdateShareRequest.ProtoReflect.Descriptor instead. +func (*UpdateShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{2} } -func (m *UpdateShareRequest) GetField() *UpdateShareRequest_UpdateField { - if m != nil { - return m.Field +func (x *UpdateShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UpdateShareRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask +func (x *UpdateShareRequest) GetRef() *ShareReference { + if x != nil { + return x.Ref } return nil } -func (m *UpdateShareRequest) GetShare() *Share { - if m != nil { - return m.Share +func (x *UpdateShareRequest) GetField() *UpdateShareRequest_UpdateField { + if x != nil { + return x.Field } return nil } -// REQUIRED. -type UpdateShareRequest_UpdateField struct { - // One of the update fields MUST be specified. - // - // Types that are valid to be assigned to Field: - // *UpdateShareRequest_UpdateField_Permissions - // *UpdateShareRequest_UpdateField_DisplayName - Field isUpdateShareRequest_UpdateField_Field `protobuf_oneof:"field"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateShareRequest_UpdateField) Reset() { *m = UpdateShareRequest_UpdateField{} } -func (m *UpdateShareRequest_UpdateField) String() string { return proto.CompactTextString(m) } -func (*UpdateShareRequest_UpdateField) ProtoMessage() {} -func (*UpdateShareRequest_UpdateField) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{2, 0} -} - -func (m *UpdateShareRequest_UpdateField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateShareRequest_UpdateField.Unmarshal(m, b) -} -func (m *UpdateShareRequest_UpdateField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateShareRequest_UpdateField.Marshal(b, m, deterministic) -} -func (m *UpdateShareRequest_UpdateField) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateShareRequest_UpdateField.Merge(m, src) -} -func (m *UpdateShareRequest_UpdateField) XXX_Size() int { - return xxx_messageInfo_UpdateShareRequest_UpdateField.Size(m) -} -func (m *UpdateShareRequest_UpdateField) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateShareRequest_UpdateField.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateShareRequest_UpdateField proto.InternalMessageInfo - -type isUpdateShareRequest_UpdateField_Field interface { - isUpdateShareRequest_UpdateField_Field() -} - -type UpdateShareRequest_UpdateField_Permissions struct { - Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3,oneof"` -} - -type UpdateShareRequest_UpdateField_DisplayName struct { - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof"` -} - -func (*UpdateShareRequest_UpdateField_Permissions) isUpdateShareRequest_UpdateField_Field() {} - -func (*UpdateShareRequest_UpdateField_DisplayName) isUpdateShareRequest_UpdateField_Field() {} - -func (m *UpdateShareRequest_UpdateField) GetField() isUpdateShareRequest_UpdateField_Field { - if m != nil { - return m.Field +func (x *UpdateShareRequest) GetUpdateMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.UpdateMask } return nil } -func (m *UpdateShareRequest_UpdateField) GetPermissions() *SharePermissions { - if x, ok := m.GetField().(*UpdateShareRequest_UpdateField_Permissions); ok { - return x.Permissions +func (x *UpdateShareRequest) GetShare() *Share { + if x != nil { + return x.Share } return nil } -func (m *UpdateShareRequest_UpdateField) GetDisplayName() string { - if x, ok := m.GetField().(*UpdateShareRequest_UpdateField_DisplayName); ok { - return x.DisplayName - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UpdateShareRequest_UpdateField) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UpdateShareRequest_UpdateField_Permissions)(nil), - (*UpdateShareRequest_UpdateField_DisplayName)(nil), - } -} - type UpdateShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -323,59 +282,67 @@ type UpdateShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The updated share. - Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *UpdateShareResponse) Reset() { *m = UpdateShareResponse{} } -func (m *UpdateShareResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateShareResponse) ProtoMessage() {} -func (*UpdateShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{3} +func (x *UpdateShareResponse) Reset() { + *x = UpdateShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateShareResponse.Unmarshal(m, b) -} -func (m *UpdateShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateShareResponse.Marshal(b, m, deterministic) +func (x *UpdateShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateShareResponse.Merge(m, src) -} -func (m *UpdateShareResponse) XXX_Size() int { - return xxx_messageInfo_UpdateShareResponse.Size(m) -} -func (m *UpdateShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateShareResponse.DiscardUnknown(m) + +func (*UpdateShareResponse) ProtoMessage() {} + +func (x *UpdateShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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) } -var xxx_messageInfo_UpdateShareResponse proto.InternalMessageInfo +// Deprecated: Use UpdateShareResponse.ProtoReflect.Descriptor instead. +func (*UpdateShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{3} +} -func (m *UpdateShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *UpdateShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *UpdateShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UpdateShareResponse) GetShare() *Share { - if m != nil { - return m.Share +func (x *UpdateShareResponse) GetShare() *Share { + if x != nil { + return x.Share } return nil } type ListSharesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -390,66 +357,74 @@ type ListSharesRequest struct { PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListSharesRequest) Reset() { *m = ListSharesRequest{} } -func (m *ListSharesRequest) String() string { return proto.CompactTextString(m) } -func (*ListSharesRequest) ProtoMessage() {} -func (*ListSharesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{4} +func (x *ListSharesRequest) Reset() { + *x = ListSharesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListSharesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSharesRequest.Unmarshal(m, b) -} -func (m *ListSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSharesRequest.Marshal(b, m, deterministic) +func (x *ListSharesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListSharesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSharesRequest.Merge(m, src) -} -func (m *ListSharesRequest) XXX_Size() int { - return xxx_messageInfo_ListSharesRequest.Size(m) -} -func (m *ListSharesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSharesRequest.DiscardUnknown(m) + +func (*ListSharesRequest) ProtoMessage() {} + +func (x *ListSharesRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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) } -var xxx_messageInfo_ListSharesRequest proto.InternalMessageInfo +// Deprecated: Use ListSharesRequest.ProtoReflect.Descriptor instead. +func (*ListSharesRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{4} +} -func (m *ListSharesRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListSharesRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListSharesRequest) GetFilters() []*Filter { - if m != nil { - return m.Filters +func (x *ListSharesRequest) GetFilters() []*Filter { + if x != nil { + return x.Filters } return nil } -func (m *ListSharesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListSharesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListSharesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListSharesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type ListSharesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -463,219 +438,251 @@ type ListSharesResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListSharesResponse) Reset() { *m = ListSharesResponse{} } -func (m *ListSharesResponse) String() string { return proto.CompactTextString(m) } -func (*ListSharesResponse) ProtoMessage() {} -func (*ListSharesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{5} +func (x *ListSharesResponse) Reset() { + *x = ListSharesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListSharesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSharesResponse.Unmarshal(m, b) -} -func (m *ListSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSharesResponse.Marshal(b, m, deterministic) +func (x *ListSharesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListSharesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSharesResponse.Merge(m, src) -} -func (m *ListSharesResponse) XXX_Size() int { - return xxx_messageInfo_ListSharesResponse.Size(m) -} -func (m *ListSharesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSharesResponse.DiscardUnknown(m) + +func (*ListSharesResponse) ProtoMessage() {} + +func (x *ListSharesResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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) } -var xxx_messageInfo_ListSharesResponse proto.InternalMessageInfo +// Deprecated: Use ListSharesResponse.ProtoReflect.Descriptor instead. +func (*ListSharesResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{5} +} -func (m *ListSharesResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *ListSharesResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *ListSharesResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListSharesResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListSharesResponse) GetShares() []*Share { - if m != nil { - return m.Shares +func (x *ListSharesResponse) GetShares() []*Share { + if x != nil { + return x.Shares } return nil } -func (m *ListSharesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListSharesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type RemoveShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference to which the action should be performed. - Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *RemoveShareRequest) Reset() { *m = RemoveShareRequest{} } -func (m *RemoveShareRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveShareRequest) ProtoMessage() {} -func (*RemoveShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{6} +func (x *RemoveShareRequest) Reset() { + *x = RemoveShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveShareRequest.Unmarshal(m, b) -} -func (m *RemoveShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveShareRequest.Marshal(b, m, deterministic) -} -func (m *RemoveShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveShareRequest.Merge(m, src) +func (x *RemoveShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveShareRequest) XXX_Size() int { - return xxx_messageInfo_RemoveShareRequest.Size(m) -} -func (m *RemoveShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveShareRequest.DiscardUnknown(m) + +func (*RemoveShareRequest) ProtoMessage() {} + +func (x *RemoveShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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) } -var xxx_messageInfo_RemoveShareRequest proto.InternalMessageInfo +// Deprecated: Use RemoveShareRequest.ProtoReflect.Descriptor instead. +func (*RemoveShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{6} +} -func (m *RemoveShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RemoveShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *RemoveShareRequest) GetRef() *ShareReference { - if m != nil { - return m.Ref +func (x *RemoveShareRequest) GetRef() *ShareReference { + if x != nil { + return x.Ref } return nil } type RemoveShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *RemoveShareResponse) Reset() { *m = RemoveShareResponse{} } -func (m *RemoveShareResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveShareResponse) ProtoMessage() {} -func (*RemoveShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{7} +func (x *RemoveShareResponse) Reset() { + *x = RemoveShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveShareResponse.Unmarshal(m, b) -} -func (m *RemoveShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveShareResponse.Marshal(b, m, deterministic) -} -func (m *RemoveShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveShareResponse.Merge(m, src) +func (x *RemoveShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveShareResponse) XXX_Size() int { - return xxx_messageInfo_RemoveShareResponse.Size(m) -} -func (m *RemoveShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveShareResponse.DiscardUnknown(m) + +func (*RemoveShareResponse) ProtoMessage() {} + +func (x *RemoveShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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) } -var xxx_messageInfo_RemoveShareResponse proto.InternalMessageInfo +// Deprecated: Use RemoveShareResponse.ProtoReflect.Descriptor instead. +func (*RemoveShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{7} +} -func (m *RemoveShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *RemoveShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *RemoveShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RemoveShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference to which the action should be performed. - Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *GetShareRequest) Reset() { *m = GetShareRequest{} } -func (m *GetShareRequest) String() string { return proto.CompactTextString(m) } -func (*GetShareRequest) ProtoMessage() {} -func (*GetShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{8} +func (x *GetShareRequest) Reset() { + *x = GetShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetShareRequest.Unmarshal(m, b) -} -func (m *GetShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetShareRequest.Marshal(b, m, deterministic) -} -func (m *GetShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetShareRequest.Merge(m, src) -} -func (m *GetShareRequest) XXX_Size() int { - return xxx_messageInfo_GetShareRequest.Size(m) +func (x *GetShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetShareRequest.DiscardUnknown(m) + +func (*GetShareRequest) ProtoMessage() {} + +func (x *GetShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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) } -var xxx_messageInfo_GetShareRequest proto.InternalMessageInfo +// Deprecated: Use GetShareRequest.ProtoReflect.Descriptor instead. +func (*GetShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{8} +} -func (m *GetShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetShareRequest) GetRef() *ShareReference { - if m != nil { - return m.Ref +func (x *GetShareRequest) GetRef() *ShareReference { + if x != nil { + return x.Ref } return nil } type GetShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -684,59 +691,67 @@ type GetShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The share. - Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *GetShareResponse) Reset() { *m = GetShareResponse{} } -func (m *GetShareResponse) String() string { return proto.CompactTextString(m) } -func (*GetShareResponse) ProtoMessage() {} -func (*GetShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{9} +func (x *GetShareResponse) Reset() { + *x = GetShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetShareResponse.Unmarshal(m, b) -} -func (m *GetShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetShareResponse.Marshal(b, m, deterministic) +func (x *GetShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetShareResponse.Merge(m, src) -} -func (m *GetShareResponse) XXX_Size() int { - return xxx_messageInfo_GetShareResponse.Size(m) -} -func (m *GetShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetShareResponse.DiscardUnknown(m) + +func (*GetShareResponse) ProtoMessage() {} + +func (x *GetShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_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) } -var xxx_messageInfo_GetShareResponse proto.InternalMessageInfo +// Deprecated: Use GetShareResponse.ProtoReflect.Descriptor instead. +func (*GetShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{9} +} -func (m *GetShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *GetShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *GetShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetShareResponse) GetShare() *Share { - if m != nil { - return m.Share +func (x *GetShareResponse) GetShare() *Share { + if x != nil { + return x.Share } return nil } type ListReceivedSharesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -751,66 +766,74 @@ type ListReceivedSharesRequest struct { PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListReceivedSharesRequest) Reset() { *m = ListReceivedSharesRequest{} } -func (m *ListReceivedSharesRequest) String() string { return proto.CompactTextString(m) } -func (*ListReceivedSharesRequest) ProtoMessage() {} -func (*ListReceivedSharesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{10} +func (x *ListReceivedSharesRequest) Reset() { + *x = ListReceivedSharesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListReceivedSharesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListReceivedSharesRequest.Unmarshal(m, b) -} -func (m *ListReceivedSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListReceivedSharesRequest.Marshal(b, m, deterministic) -} -func (m *ListReceivedSharesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReceivedSharesRequest.Merge(m, src) +func (x *ListReceivedSharesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListReceivedSharesRequest) XXX_Size() int { - return xxx_messageInfo_ListReceivedSharesRequest.Size(m) -} -func (m *ListReceivedSharesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListReceivedSharesRequest.DiscardUnknown(m) + +func (*ListReceivedSharesRequest) ProtoMessage() {} + +func (x *ListReceivedSharesRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListReceivedSharesRequest proto.InternalMessageInfo +// Deprecated: Use ListReceivedSharesRequest.ProtoReflect.Descriptor instead. +func (*ListReceivedSharesRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{10} +} -func (m *ListReceivedSharesRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListReceivedSharesRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListReceivedSharesRequest) GetFilters() []*Filter { - if m != nil { - return m.Filters +func (x *ListReceivedSharesRequest) GetFilters() []*Filter { + if x != nil { + return x.Filters } return nil } -func (m *ListReceivedSharesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListReceivedSharesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListReceivedSharesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListReceivedSharesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type ListReceivedSharesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -824,67 +847,75 @@ type ListReceivedSharesResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListReceivedSharesResponse) Reset() { *m = ListReceivedSharesResponse{} } -func (m *ListReceivedSharesResponse) String() string { return proto.CompactTextString(m) } -func (*ListReceivedSharesResponse) ProtoMessage() {} -func (*ListReceivedSharesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{11} +func (x *ListReceivedSharesResponse) Reset() { + *x = ListReceivedSharesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListReceivedSharesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListReceivedSharesResponse.Unmarshal(m, b) -} -func (m *ListReceivedSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListReceivedSharesResponse.Marshal(b, m, deterministic) +func (x *ListReceivedSharesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListReceivedSharesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReceivedSharesResponse.Merge(m, src) -} -func (m *ListReceivedSharesResponse) XXX_Size() int { - return xxx_messageInfo_ListReceivedSharesResponse.Size(m) -} -func (m *ListReceivedSharesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListReceivedSharesResponse.DiscardUnknown(m) + +func (*ListReceivedSharesResponse) ProtoMessage() {} + +func (x *ListReceivedSharesResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListReceivedSharesResponse proto.InternalMessageInfo +// Deprecated: Use ListReceivedSharesResponse.ProtoReflect.Descriptor instead. +func (*ListReceivedSharesResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{11} +} -func (m *ListReceivedSharesResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *ListReceivedSharesResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *ListReceivedSharesResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListReceivedSharesResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListReceivedSharesResponse) GetShares() []*ReceivedShare { - if m != nil { - return m.Shares +func (x *ListReceivedSharesResponse) GetShares() []*ReceivedShare { + if x != nil { + return x.Shares } return nil } -func (m *ListReceivedSharesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListReceivedSharesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } // TODO(labkode): clean up display_name ? we'll use storage links for that. type UpdateReceivedShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -893,59 +924,67 @@ type UpdateReceivedShareRequest struct { Share *ReceivedShare `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` // The update mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } -func (m *UpdateReceivedShareRequest) Reset() { *m = UpdateReceivedShareRequest{} } -func (m *UpdateReceivedShareRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateReceivedShareRequest) ProtoMessage() {} -func (*UpdateReceivedShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{12} +func (x *UpdateReceivedShareRequest) Reset() { + *x = UpdateReceivedShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateReceivedShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateReceivedShareRequest.Unmarshal(m, b) -} -func (m *UpdateReceivedShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateReceivedShareRequest.Marshal(b, m, deterministic) -} -func (m *UpdateReceivedShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateReceivedShareRequest.Merge(m, src) -} -func (m *UpdateReceivedShareRequest) XXX_Size() int { - return xxx_messageInfo_UpdateReceivedShareRequest.Size(m) +func (x *UpdateReceivedShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateReceivedShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateReceivedShareRequest.DiscardUnknown(m) + +func (*UpdateReceivedShareRequest) ProtoMessage() {} + +func (x *UpdateReceivedShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateReceivedShareRequest proto.InternalMessageInfo +// Deprecated: Use UpdateReceivedShareRequest.ProtoReflect.Descriptor instead. +func (*UpdateReceivedShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{12} +} -func (m *UpdateReceivedShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateReceivedShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UpdateReceivedShareRequest) GetShare() *ReceivedShare { - if m != nil { - return m.Share +func (x *UpdateReceivedShareRequest) GetShare() *ReceivedShare { + if x != nil { + return x.Share } return nil } -func (m *UpdateReceivedShareRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask +func (x *UpdateReceivedShareRequest) GetUpdateMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.UpdateMask } return nil } type UpdateReceivedShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -954,110 +993,126 @@ type UpdateReceivedShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The updated share. - Share *ReceivedShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *ReceivedShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *UpdateReceivedShareResponse) Reset() { *m = UpdateReceivedShareResponse{} } -func (m *UpdateReceivedShareResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateReceivedShareResponse) ProtoMessage() {} -func (*UpdateReceivedShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{13} +func (x *UpdateReceivedShareResponse) Reset() { + *x = UpdateReceivedShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateReceivedShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateReceivedShareResponse.Unmarshal(m, b) -} -func (m *UpdateReceivedShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateReceivedShareResponse.Marshal(b, m, deterministic) +func (x *UpdateReceivedShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateReceivedShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateReceivedShareResponse.Merge(m, src) -} -func (m *UpdateReceivedShareResponse) XXX_Size() int { - return xxx_messageInfo_UpdateReceivedShareResponse.Size(m) -} -func (m *UpdateReceivedShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateReceivedShareResponse.DiscardUnknown(m) + +func (*UpdateReceivedShareResponse) ProtoMessage() {} + +func (x *UpdateReceivedShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateReceivedShareResponse proto.InternalMessageInfo +// Deprecated: Use UpdateReceivedShareResponse.ProtoReflect.Descriptor instead. +func (*UpdateReceivedShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{13} +} -func (m *UpdateReceivedShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *UpdateReceivedShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *UpdateReceivedShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateReceivedShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UpdateReceivedShareResponse) GetShare() *ReceivedShare { - if m != nil { - return m.Share +func (x *UpdateReceivedShareResponse) GetShare() *ReceivedShare { + if x != nil { + return x.Share } return nil } type GetReceivedShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference of the received share. - Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *GetReceivedShareRequest) Reset() { *m = GetReceivedShareRequest{} } -func (m *GetReceivedShareRequest) String() string { return proto.CompactTextString(m) } -func (*GetReceivedShareRequest) ProtoMessage() {} -func (*GetReceivedShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{14} +func (x *GetReceivedShareRequest) Reset() { + *x = GetReceivedShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetReceivedShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetReceivedShareRequest.Unmarshal(m, b) -} -func (m *GetReceivedShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetReceivedShareRequest.Marshal(b, m, deterministic) -} -func (m *GetReceivedShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReceivedShareRequest.Merge(m, src) -} -func (m *GetReceivedShareRequest) XXX_Size() int { - return xxx_messageInfo_GetReceivedShareRequest.Size(m) +func (x *GetReceivedShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetReceivedShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetReceivedShareRequest.DiscardUnknown(m) + +func (*GetReceivedShareRequest) ProtoMessage() {} + +func (x *GetReceivedShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetReceivedShareRequest proto.InternalMessageInfo +// Deprecated: Use GetReceivedShareRequest.ProtoReflect.Descriptor instead. +func (*GetReceivedShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{14} +} -func (m *GetReceivedShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetReceivedShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetReceivedShareRequest) GetRef() *ShareReference { - if m != nil { - return m.Ref +func (x *GetReceivedShareRequest) GetRef() *ShareReference { + if x != nil { + return x.Ref } return nil } type GetReceivedShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1066,516 +1121,812 @@ type GetReceivedShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The share. - Share *ReceivedShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *ReceivedShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *GetReceivedShareResponse) Reset() { *m = GetReceivedShareResponse{} } -func (m *GetReceivedShareResponse) String() string { return proto.CompactTextString(m) } -func (*GetReceivedShareResponse) ProtoMessage() {} -func (*GetReceivedShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{15} +func (x *GetReceivedShareResponse) Reset() { + *x = GetReceivedShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetReceivedShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetReceivedShareResponse.Unmarshal(m, b) -} -func (m *GetReceivedShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetReceivedShareResponse.Marshal(b, m, deterministic) -} -func (m *GetReceivedShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReceivedShareResponse.Merge(m, src) -} -func (m *GetReceivedShareResponse) XXX_Size() int { - return xxx_messageInfo_GetReceivedShareResponse.Size(m) -} -func (m *GetReceivedShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetReceivedShareResponse.DiscardUnknown(m) +func (x *GetReceivedShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetReceivedShareResponse proto.InternalMessageInfo +func (*GetReceivedShareResponse) ProtoMessage() {} -func (m *GetReceivedShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *GetReceivedShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *GetReceivedShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil +// Deprecated: Use GetReceivedShareResponse.ProtoReflect.Descriptor instead. +func (*GetReceivedShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{15} } -func (m *GetReceivedShareResponse) GetShare() *ReceivedShare { - if m != nil { - return m.Share +func (x *GetReceivedShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func init() { - proto.RegisterType((*CreateShareRequest)(nil), "cs3.sharing.collaboration.v1beta1.CreateShareRequest") - proto.RegisterType((*CreateShareResponse)(nil), "cs3.sharing.collaboration.v1beta1.CreateShareResponse") - proto.RegisterType((*UpdateShareRequest)(nil), "cs3.sharing.collaboration.v1beta1.UpdateShareRequest") - proto.RegisterType((*UpdateShareRequest_UpdateField)(nil), "cs3.sharing.collaboration.v1beta1.UpdateShareRequest.UpdateField") - proto.RegisterType((*UpdateShareResponse)(nil), "cs3.sharing.collaboration.v1beta1.UpdateShareResponse") - proto.RegisterType((*ListSharesRequest)(nil), "cs3.sharing.collaboration.v1beta1.ListSharesRequest") - proto.RegisterType((*ListSharesResponse)(nil), "cs3.sharing.collaboration.v1beta1.ListSharesResponse") - proto.RegisterType((*RemoveShareRequest)(nil), "cs3.sharing.collaboration.v1beta1.RemoveShareRequest") - proto.RegisterType((*RemoveShareResponse)(nil), "cs3.sharing.collaboration.v1beta1.RemoveShareResponse") - proto.RegisterType((*GetShareRequest)(nil), "cs3.sharing.collaboration.v1beta1.GetShareRequest") - proto.RegisterType((*GetShareResponse)(nil), "cs3.sharing.collaboration.v1beta1.GetShareResponse") - proto.RegisterType((*ListReceivedSharesRequest)(nil), "cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest") - proto.RegisterType((*ListReceivedSharesResponse)(nil), "cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse") - proto.RegisterType((*UpdateReceivedShareRequest)(nil), "cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest") - proto.RegisterType((*UpdateReceivedShareResponse)(nil), "cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse") - proto.RegisterType((*GetReceivedShareRequest)(nil), "cs3.sharing.collaboration.v1beta1.GetReceivedShareRequest") - proto.RegisterType((*GetReceivedShareResponse)(nil), "cs3.sharing.collaboration.v1beta1.GetReceivedShareResponse") -} - -func init() { - proto.RegisterFile("cs3/sharing/collaboration/v1beta1/collaboration_api.proto", fileDescriptor_2b58cdfce2e5a7f0) -} - -var fileDescriptor_2b58cdfce2e5a7f0 = []byte{ - // 988 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0x66, 0xe2, 0x3a, 0x4d, 0x9e, 0x5b, 0xb5, 0x4c, 0x41, 0x75, 0xb7, 0x54, 0x6a, 0x8d, 0x40, - 0x01, 0xc1, 0x1a, 0xc7, 0x14, 0x09, 0x4a, 0x2b, 0x1a, 0x4b, 0x49, 0x2b, 0x01, 0xb5, 0x36, 0x40, - 0x25, 0x14, 0xc9, 0x9a, 0xac, 0x9f, 0xdd, 0x55, 0xec, 0x9d, 0xed, 0xcc, 0x38, 0x22, 0x55, 0xff, - 0x00, 0x82, 0x4b, 0xa5, 0xfe, 0x02, 0xc4, 0x89, 0x3b, 0x48, 0xfc, 0x01, 0x10, 0x5c, 0xb8, 0x70, - 0xe5, 0xc2, 0x4f, 0xe0, 0xc6, 0x0d, 0xcd, 0xec, 0xd8, 0xde, 0x8d, 0x0d, 0x19, 0x1b, 0x2b, 0x6a, - 0x6e, 0xf6, 0xec, 0xf7, 0x7d, 0xf3, 0xbe, 0x37, 0x6f, 0xdf, 0x9b, 0x85, 0x77, 0x43, 0x59, 0xaf, - 0xca, 0x07, 0x4c, 0x44, 0x71, 0xb7, 0x1a, 0xf2, 0x5e, 0x8f, 0xed, 0x72, 0xc1, 0x54, 0xc4, 0xe3, - 0xea, 0x7e, 0x6d, 0x17, 0x15, 0xab, 0xe5, 0x57, 0x5b, 0x2c, 0x89, 0xfc, 0x44, 0x70, 0xc5, 0xe9, - 0xb5, 0x50, 0xd6, 0x7d, 0x4b, 0xf5, 0x73, 0x20, 0xdf, 0x52, 0xbd, 0x97, 0xb4, 0xba, 0x48, 0xc2, - 0x91, 0x96, 0x54, 0x4c, 0x0d, 0x64, 0x2a, 0xe0, 0xd5, 0x8e, 0xde, 0x5b, 0xa0, 0xe4, 0x03, 0x11, - 0xe2, 0x90, 0xf2, 0x86, 0xa1, 0x28, 0x2e, 0x58, 0x17, 0xab, 0x89, 0xe0, 0xfb, 0x51, 0x1b, 0xc5, - 0xbf, 0xa2, 0xaf, 0x68, 0xb4, 0x3a, 0x48, 0x50, 0x8e, 0x20, 0xe6, 0x9f, 0x7d, 0x7c, 0xb5, 0xcb, - 0x79, 0xb7, 0x67, 0x74, 0x14, 0xdf, 0x1d, 0x74, 0xaa, 0x9d, 0x08, 0x7b, 0xed, 0x56, 0x9f, 0xc9, - 0xbd, 0x14, 0x51, 0xf9, 0x83, 0x00, 0x6d, 0x08, 0x64, 0x0a, 0xb7, 0x1f, 0x30, 0x81, 0x01, 0x3e, - 0x1c, 0xa0, 0x54, 0xb4, 0x06, 0xcb, 0x3c, 0x61, 0x0f, 0x07, 0x58, 0x26, 0x57, 0xc9, 0x5a, 0x69, - 0xfd, 0x92, 0xaf, 0x53, 0x91, 0x4a, 0xdb, 0x8d, 0xfc, 0x7b, 0x06, 0x10, 0x58, 0x20, 0xbd, 0x07, - 0x67, 0x87, 0xd1, 0xb5, 0xa2, 0xb8, 0xc3, 0xcb, 0x4b, 0x86, 0xf9, 0xba, 0x61, 0x5a, 0x43, 0xfe, - 0xd0, 0xd0, 0x48, 0x24, 0xb0, 0x94, 0xbb, 0x71, 0x87, 0x07, 0x67, 0x44, 0xe6, 0x1f, 0x6d, 0x40, - 0xb1, 0x2b, 0x58, 0xac, 0xca, 0x05, 0x23, 0xf4, 0xa6, 0x7f, 0xe4, 0x69, 0xf8, 0xc6, 0xc3, 0x96, - 0x26, 0x05, 0x29, 0xb7, 0xf2, 0x23, 0x81, 0x0b, 0x39, 0x7f, 0x32, 0xe1, 0xb1, 0x44, 0x5a, 0x85, - 0xe5, 0xf4, 0xa4, 0xac, 0xc1, 0x8b, 0x46, 0x5d, 0x24, 0xe1, 0x58, 0xcb, 0x3c, 0x0e, 0x2c, 0x2c, - 0x93, 0x91, 0x25, 0xd7, 0x8c, 0xdc, 0x82, 0xa2, 0x0e, 0x17, 0xad, 0x81, 0x35, 0x57, 0x03, 0x41, - 0x4a, 0xab, 0xfc, 0x5d, 0x00, 0xfa, 0x69, 0xd2, 0x5e, 0xc0, 0xd9, 0x34, 0xa0, 0x20, 0xb0, 0x63, - 0x23, 0xaf, 0x39, 0xc7, 0x81, 0x1d, 0x14, 0x18, 0x87, 0x18, 0x68, 0x36, 0xbd, 0x0f, 0x45, 0x53, - 0x3e, 0xd6, 0xce, 0x6d, 0x07, 0x99, 0xc9, 0xe8, 0xed, 0xd2, 0xa6, 0x16, 0x0a, 0x52, 0x3d, 0x7a, - 0x03, 0x4a, 0x03, 0xb3, 0x6a, 0x0a, 0xb3, 0x7c, 0xca, 0xc8, 0x7b, 0x7e, 0x5a, 0xbb, 0xfe, 0xb0, - 0x76, 0x7d, 0xc3, 0xf9, 0x88, 0xc9, 0xbd, 0x00, 0x52, 0xb8, 0xfe, 0x3d, 0x4e, 0x72, 0x71, 0xae, - 0x24, 0x7b, 0x4f, 0x09, 0x94, 0x32, 0x31, 0xd1, 0xfb, 0x50, 0x4a, 0x50, 0xf4, 0x23, 0x29, 0x23, - 0x1e, 0x4b, 0x9b, 0xb2, 0xba, 0xab, 0x6a, 0x73, 0x4c, 0xbd, 0xf3, 0x5c, 0x90, 0x55, 0xa2, 0x2f, - 0xc3, 0x99, 0x76, 0x24, 0x93, 0x1e, 0x3b, 0x68, 0xc5, 0xac, 0x9f, 0x16, 0xc5, 0xaa, 0x06, 0xd9, - 0xd5, 0x8f, 0x59, 0x1f, 0x37, 0x4e, 0xdb, 0x1c, 0x9b, 0xba, 0xcd, 0x65, 0xef, 0x04, 0xd5, 0xed, - 0xcf, 0x04, 0x9e, 0xff, 0x30, 0x92, 0xca, 0x2c, 0xca, 0xff, 0x55, 0xb6, 0xa7, 0x3b, 0x51, 0x4f, - 0xa1, 0xd0, 0xe7, 0x50, 0x58, 0x2b, 0xad, 0xbf, 0xe6, 0x10, 0xca, 0xa6, 0x61, 0x04, 0x43, 0x26, - 0xbd, 0x0c, 0xab, 0x09, 0xeb, 0x62, 0x4b, 0x46, 0x8f, 0x52, 0x47, 0xc5, 0x60, 0x45, 0x2f, 0x6c, - 0x47, 0x8f, 0x90, 0x5e, 0x01, 0x30, 0x0f, 0x15, 0xdf, 0xc3, 0xd8, 0x54, 0xde, 0x6a, 0x60, 0xe0, - 0x9f, 0xe8, 0x85, 0xca, 0x9f, 0x04, 0x68, 0xd6, 0xc9, 0x31, 0x1e, 0xc2, 0x07, 0xb0, 0x6c, 0xb2, - 0x29, 0xcb, 0x05, 0x63, 0xdd, 0xfd, 0x14, 0x2c, 0x8f, 0xbe, 0x0a, 0xe7, 0x62, 0xfc, 0x42, 0xb5, - 0x26, 0x0c, 0x9e, 0xd5, 0xcb, 0xcd, 0x91, 0xc9, 0xaf, 0x09, 0xd0, 0x00, 0xfb, 0x7c, 0xff, 0x99, - 0x68, 0x33, 0x95, 0x03, 0xb8, 0x90, 0x8b, 0xe6, 0xf8, 0x72, 0x5e, 0xf9, 0x92, 0xc0, 0xb9, 0x2d, - 0x54, 0xcf, 0x44, 0x1a, 0x7e, 0x20, 0x70, 0x7e, 0x1c, 0xcb, 0x09, 0x7a, 0xfb, 0x7f, 0x23, 0x70, - 0x49, 0xbf, 0x33, 0x01, 0x86, 0x18, 0xed, 0x63, 0x7b, 0x91, 0x5d, 0xa0, 0xb0, 0x98, 0x2e, 0x70, - 0xea, 0x3f, 0xbb, 0x40, 0xf1, 0x70, 0x17, 0xf8, 0x8b, 0x80, 0x37, 0xcd, 0xd1, 0x31, 0x1e, 0xca, - 0x9d, 0x43, 0xdd, 0xe0, 0x2d, 0x87, 0x14, 0xe4, 0xc2, 0x9d, 0xb9, 0x2b, 0xfc, 0x4e, 0xc0, 0x4b, - 0x07, 0x50, 0x5e, 0x67, 0xfe, 0x73, 0xdc, 0x1c, 0x16, 0x56, 0xea, 0x7a, 0x76, 0x0b, 0x29, 0xfd, - 0xf0, 0x75, 0xa1, 0x30, 0xcb, 0x75, 0xa1, 0xf2, 0x0b, 0x81, 0xcb, 0x53, 0x6d, 0x1d, 0xe3, 0x61, - 0x6e, 0xe6, 0xdf, 0xb0, 0x79, 0x13, 0x51, 0x79, 0x42, 0xe0, 0xe2, 0x16, 0xaa, 0x45, 0x9d, 0xcf, - 0x42, 0xda, 0xd6, 0x4f, 0x04, 0xca, 0x93, 0x31, 0x9d, 0xbc, 0xe4, 0xae, 0x7f, 0xbf, 0x02, 0xe7, - 0x1b, 0x59, 0xf8, 0xed, 0xe6, 0x5d, 0xfa, 0x18, 0x4a, 0x99, 0x8f, 0x09, 0x7a, 0xdd, 0x41, 0x7c, - 0xf2, 0xe3, 0xca, 0x7b, 0x67, 0x56, 0x9a, 0x4d, 0xdf, 0x63, 0x28, 0x65, 0x26, 0xa3, 0xd3, 0xee, - 0x93, 0x73, 0xdd, 0x69, 0xf7, 0x69, 0x03, 0x58, 0xc2, 0xca, 0x70, 0x1e, 0xd1, 0x75, 0x07, 0x8d, - 0x43, 0x83, 0xd4, 0xab, 0xcf, 0xc4, 0xb1, 0x9b, 0x1e, 0x00, 0x8c, 0xef, 0x5f, 0xf4, 0x6d, 0x07, - 0x89, 0x89, 0x8b, 0xa7, 0x77, 0x7d, 0x46, 0xd6, 0x38, 0xdb, 0x99, 0x0b, 0xb8, 0x53, 0xb6, 0x27, - 0x3f, 0x77, 0x9c, 0xb2, 0x3d, 0xed, 0x9e, 0xff, 0xc4, 0xde, 0x3c, 0xf3, 0x33, 0x87, 0xbe, 0xef, - 0xe8, 0x65, 0xea, 0xf0, 0xf5, 0x6e, 0xce, 0xc9, 0xb6, 0x31, 0x3d, 0x1d, 0x7d, 0x93, 0xe4, 0x00, - 0xf4, 0xa6, 0xb3, 0xc7, 0x69, 0xad, 0xca, 0xbb, 0x35, 0x2f, 0xdd, 0x86, 0xf5, 0x55, 0x7a, 0x53, - 0xca, 0xc7, 0xf4, 0x9e, 0x5b, 0xb5, 0x4d, 0x0d, 0xe8, 0xc6, 0x5c, 0xdc, 0x34, 0x9a, 0x8d, 0x6f, - 0x09, 0xbc, 0x12, 0xf2, 0xfe, 0xd1, 0x12, 0x1b, 0x2f, 0xe6, 0xdb, 0x4b, 0x12, 0x35, 0xf5, 0xe8, - 0x6a, 0x92, 0xcf, 0x5f, 0xc8, 0xe1, 0x2d, 0xfc, 0x9b, 0xa5, 0x42, 0x63, 0xbb, 0xf1, 0xdd, 0xd2, - 0xb5, 0x86, 0xac, 0x9b, 0xce, 0xab, 0x85, 0x73, 0x0a, 0xfe, 0x67, 0xb5, 0x0d, 0x8d, 0xfc, 0xd5, - 0x60, 0x76, 0x2c, 0x66, 0x27, 0x87, 0xd9, 0xb1, 0x98, 0xdd, 0x65, 0x33, 0x27, 0xeb, 0xff, 0x04, - 0x00, 0x00, 0xff, 0xff, 0x8a, 0x3c, 0x5e, 0x81, 0x1e, 0x13, 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 - -// CollaborationAPIClient is the client API for CollaborationAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CollaborationAPIClient interface { - // Creates a new share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_LOCKED if the resource reference already locked. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreateShare(ctx context.Context, in *CreateShareRequest, opts ...grpc.CallOption) (*CreateShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemoveShare(ctx context.Context, in *RemoveShareRequest, opts ...grpc.CallOption) (*RemoveShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetShare(ctx context.Context, in *GetShareRequest, opts ...grpc.CallOption) (*GetShareResponse, error) - // List the shares the authenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListShares(ctx context.Context, in *ListSharesRequest, opts ...grpc.CallOption) (*ListSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateShare(ctx context.Context, in *UpdateShareRequest, opts ...grpc.CallOption) (*UpdateShareResponse, error) - // List all shares the authenticated principal has received. - ListReceivedShares(ctx context.Context, in *ListReceivedSharesRequest, opts ...grpc.CallOption) (*ListReceivedSharesResponse, error) - // Update the received share to change the share state or the display name. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateReceivedShare(ctx context.Context, in *UpdateReceivedShareRequest, opts ...grpc.CallOption) (*UpdateReceivedShareResponse, error) - // Get the information for the given received share reference. - // MUST return CODE_NOT_FOUND if the received share reference does not exist. - GetReceivedShare(ctx context.Context, in *GetReceivedShareRequest, opts ...grpc.CallOption) (*GetReceivedShareResponse, error) -} - -type collaborationAPIClient struct { - cc *grpc.ClientConn -} - -func NewCollaborationAPIClient(cc *grpc.ClientConn) CollaborationAPIClient { - return &collaborationAPIClient{cc} -} - -func (c *collaborationAPIClient) CreateShare(ctx context.Context, in *CreateShareRequest, opts ...grpc.CallOption) (*CreateShareResponse, error) { - out := new(CreateShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/CreateShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *collaborationAPIClient) RemoveShare(ctx context.Context, in *RemoveShareRequest, opts ...grpc.CallOption) (*RemoveShareResponse, error) { - out := new(RemoveShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/RemoveShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *collaborationAPIClient) GetShare(ctx context.Context, in *GetShareRequest, opts ...grpc.CallOption) (*GetShareResponse, error) { - out := new(GetShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/GetShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *collaborationAPIClient) ListShares(ctx context.Context, in *ListSharesRequest, opts ...grpc.CallOption) (*ListSharesResponse, error) { - out := new(ListSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/ListShares", in, out, opts...) - if err != nil { - return nil, err +func (x *GetReceivedShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - return out, nil + return nil } -func (c *collaborationAPIClient) UpdateShare(ctx context.Context, in *UpdateShareRequest, opts ...grpc.CallOption) (*UpdateShareResponse, error) { - out := new(UpdateShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/UpdateShare", in, out, opts...) - if err != nil { - return nil, err +func (x *GetReceivedShareResponse) GetShare() *ReceivedShare { + if x != nil { + return x.Share } - return out, nil + return nil } -func (c *collaborationAPIClient) ListReceivedShares(ctx context.Context, in *ListReceivedSharesRequest, opts ...grpc.CallOption) (*ListReceivedSharesResponse, error) { - out := new(ListReceivedSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/ListReceivedShares", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +// REQUIRED. +type UpdateShareRequest_UpdateField struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (c *collaborationAPIClient) UpdateReceivedShare(ctx context.Context, in *UpdateReceivedShareRequest, opts ...grpc.CallOption) (*UpdateReceivedShareResponse, error) { - out := new(UpdateReceivedShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/UpdateReceivedShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil + // One of the update fields MUST be specified. + // + // Types that are assignable to Field: + // + // *UpdateShareRequest_UpdateField_Permissions + // *UpdateShareRequest_UpdateField_DisplayName + Field isUpdateShareRequest_UpdateField_Field `protobuf_oneof:"field"` } -func (c *collaborationAPIClient) GetReceivedShare(ctx context.Context, in *GetReceivedShareRequest, opts ...grpc.CallOption) (*GetReceivedShareResponse, error) { - out := new(GetReceivedShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/GetReceivedShare", in, out, opts...) - if err != nil { - return nil, err +func (x *UpdateShareRequest_UpdateField) Reset() { + *x = UpdateShareRequest_UpdateField{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -// CollaborationAPIServer is the server API for CollaborationAPI service. -type CollaborationAPIServer interface { - // Creates a new share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_LOCKED if the resource reference already locked. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreateShare(context.Context, *CreateShareRequest) (*CreateShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemoveShare(context.Context, *RemoveShareRequest) (*RemoveShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetShare(context.Context, *GetShareRequest) (*GetShareResponse, error) - // List the shares the authenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListShares(context.Context, *ListSharesRequest) (*ListSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateShare(context.Context, *UpdateShareRequest) (*UpdateShareResponse, error) - // List all shares the authenticated principal has received. - ListReceivedShares(context.Context, *ListReceivedSharesRequest) (*ListReceivedSharesResponse, error) - // Update the received share to change the share state or the display name. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateReceivedShare(context.Context, *UpdateReceivedShareRequest) (*UpdateReceivedShareResponse, error) - // Get the information for the given received share reference. - // MUST return CODE_NOT_FOUND if the received share reference does not exist. - GetReceivedShare(context.Context, *GetReceivedShareRequest) (*GetReceivedShareResponse, error) +func (x *UpdateShareRequest_UpdateField) String() string { + return protoimpl.X.MessageStringOf(x) } -// UnimplementedCollaborationAPIServer can be embedded to have forward compatible implementations. -type UnimplementedCollaborationAPIServer struct { -} +func (*UpdateShareRequest_UpdateField) ProtoMessage() {} -func (*UnimplementedCollaborationAPIServer) CreateShare(ctx context.Context, req *CreateShareRequest) (*CreateShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateShare not implemented") -} -func (*UnimplementedCollaborationAPIServer) RemoveShare(ctx context.Context, req *RemoveShareRequest) (*RemoveShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveShare not implemented") -} -func (*UnimplementedCollaborationAPIServer) GetShare(ctx context.Context, req *GetShareRequest) (*GetShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetShare not implemented") -} -func (*UnimplementedCollaborationAPIServer) ListShares(ctx context.Context, req *ListSharesRequest) (*ListSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListShares not implemented") -} -func (*UnimplementedCollaborationAPIServer) UpdateShare(ctx context.Context, req *UpdateShareRequest) (*UpdateShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateShare not implemented") -} -func (*UnimplementedCollaborationAPIServer) ListReceivedShares(ctx context.Context, req *ListReceivedSharesRequest) (*ListReceivedSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListReceivedShares not implemented") -} -func (*UnimplementedCollaborationAPIServer) UpdateReceivedShare(ctx context.Context, req *UpdateReceivedShareRequest) (*UpdateReceivedShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateReceivedShare not implemented") -} -func (*UnimplementedCollaborationAPIServer) GetReceivedShare(ctx context.Context, req *GetReceivedShareRequest) (*GetReceivedShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetReceivedShare not implemented") +func (x *UpdateShareRequest_UpdateField) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[16] + 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) } -func RegisterCollaborationAPIServer(s *grpc.Server, srv CollaborationAPIServer) { - s.RegisterService(&_CollaborationAPI_serviceDesc, srv) +// Deprecated: Use UpdateShareRequest_UpdateField.ProtoReflect.Descriptor instead. +func (*UpdateShareRequest_UpdateField) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP(), []int{2, 0} } -func _CollaborationAPI_CreateShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CollaborationAPIServer).CreateShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/CreateShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CollaborationAPIServer).CreateShare(ctx, req.(*CreateShareRequest)) +func (m *UpdateShareRequest_UpdateField) GetField() isUpdateShareRequest_UpdateField_Field { + if m != nil { + return m.Field } - return interceptor(ctx, in, info, handler) + return nil } -func _CollaborationAPI_RemoveShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CollaborationAPIServer).RemoveShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/RemoveShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CollaborationAPIServer).RemoveShare(ctx, req.(*RemoveShareRequest)) +func (x *UpdateShareRequest_UpdateField) GetPermissions() *SharePermissions { + if x, ok := x.GetField().(*UpdateShareRequest_UpdateField_Permissions); ok { + return x.Permissions } - return interceptor(ctx, in, info, handler) + return nil } -func _CollaborationAPI_GetShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CollaborationAPIServer).GetShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/GetShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CollaborationAPIServer).GetShare(ctx, req.(*GetShareRequest)) +func (x *UpdateShareRequest_UpdateField) GetDisplayName() string { + if x, ok := x.GetField().(*UpdateShareRequest_UpdateField_DisplayName); ok { + return x.DisplayName } - return interceptor(ctx, in, info, handler) + return "" } -func _CollaborationAPI_ListShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CollaborationAPIServer).ListShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/ListShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CollaborationAPIServer).ListShares(ctx, req.(*ListSharesRequest)) - } - return interceptor(ctx, in, info, handler) +type isUpdateShareRequest_UpdateField_Field interface { + isUpdateShareRequest_UpdateField_Field() } -func _CollaborationAPI_UpdateShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CollaborationAPIServer).UpdateShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/UpdateShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CollaborationAPIServer).UpdateShare(ctx, req.(*UpdateShareRequest)) - } - return interceptor(ctx, in, info, handler) +type UpdateShareRequest_UpdateField_Permissions struct { + // Update the permissions. + Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3,oneof"` } -func _CollaborationAPI_ListReceivedShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListReceivedSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CollaborationAPIServer).ListReceivedShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/ListReceivedShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CollaborationAPIServer).ListReceivedShares(ctx, req.(*ListReceivedSharesRequest)) - } - return interceptor(ctx, in, info, handler) +type UpdateShareRequest_UpdateField_DisplayName struct { + // Update the display name. + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof"` } -func _CollaborationAPI_UpdateReceivedShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateReceivedShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CollaborationAPIServer).UpdateReceivedShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/UpdateReceivedShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CollaborationAPIServer).UpdateReceivedShare(ctx, req.(*UpdateReceivedShareRequest)) - } - return interceptor(ctx, in, info, handler) -} +func (*UpdateShareRequest_UpdateField_Permissions) isUpdateShareRequest_UpdateField_Field() {} -func _CollaborationAPI_GetReceivedShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetReceivedShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CollaborationAPIServer).GetReceivedShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/GetReceivedShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CollaborationAPIServer).GetReceivedShare(ctx, req.(*GetReceivedShareRequest)) - } - return interceptor(ctx, in, info, handler) -} +func (*UpdateShareRequest_UpdateField_DisplayName) isUpdateShareRequest_UpdateField_Field() {} -var _CollaborationAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.sharing.collaboration.v1beta1.CollaborationAPI", - HandlerType: (*CollaborationAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateShare", - Handler: _CollaborationAPI_CreateShare_Handler, - }, - { - MethodName: "RemoveShare", - Handler: _CollaborationAPI_RemoveShare_Handler, - }, - { - MethodName: "GetShare", - Handler: _CollaborationAPI_GetShare_Handler, - }, - { - MethodName: "ListShares", - Handler: _CollaborationAPI_ListShares_Handler, - }, - { - MethodName: "UpdateShare", - Handler: _CollaborationAPI_UpdateShare_Handler, - }, - { - MethodName: "ListReceivedShares", - Handler: _CollaborationAPI_ListReceivedShares_Handler, - }, - { - MethodName: "UpdateReceivedShare", - Handler: _CollaborationAPI_UpdateReceivedShare_Handler, - }, - { - MethodName: "GetReceivedShare", - Handler: _CollaborationAPI_GetReceivedShare_Handler, +var File_cs3_sharing_collaboration_v1beta1_collaboration_api_proto protoreflect.FileDescriptor + +var file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDesc = []byte{ + 0x0a, 0x39, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, + 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x63, 0x73, + 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, + 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, + 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, + 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x43, 0x0a, 0x05, 0x67, 0x72, 0x61, + 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x22, 0xb9, + 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x05, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x22, 0xf9, 0x03, 0x0a, 0x12, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x57, 0x0a, 0x05, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, + 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, + 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, + 0x3e, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, + 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x1a, + 0x94, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, + 0x57, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x07, 0x0a, + 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xb9, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, + 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, + 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe2, 0x01, 0x0a, + 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x03, 0x72, + 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, + 0x22, 0x79, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x0f, + 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x43, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0xb6, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x12, 0x3e, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x22, 0xcf, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x12, 0x43, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x22, 0xf2, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x48, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, + 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd4, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, + 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, + 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xc9, + 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x17, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x03, 0x72, 0x65, 0x66, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0xc6, + 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x46, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, + 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x32, 0xb5, 0x08, 0x0a, 0x10, 0x43, 0x6f, 0x6c, 0x6c, + 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x50, 0x49, 0x12, 0x7c, 0x0a, 0x0b, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x35, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, + 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x0b, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, + 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, + 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x34, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, + 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, + 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x91, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x3c, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, + 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, + 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x94, 0x01, 0x0a, 0x13, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x12, 0x3d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x3e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x3a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, + 0xba, 0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x15, 0x43, 0x6f, 0x6c, 0x6c, 0x61, + 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, + 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, + 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6f, 0x6c, + 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x3b, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x53, 0x43, 0xaa, 0x02, 0x21, + 0x43, 0x73, 0x33, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, + 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xca, 0x02, 0x21, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5c, + 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x2d, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x5c, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x24, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x53, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescOnce sync.Once + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescData = file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDesc +) + +func file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescGZIP() []byte { + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescOnce.Do(func() { + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescData) + }) + return file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDescData +} + +var file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_goTypes = []interface{}{ + (*CreateShareRequest)(nil), // 0: cs3.sharing.collaboration.v1beta1.CreateShareRequest + (*CreateShareResponse)(nil), // 1: cs3.sharing.collaboration.v1beta1.CreateShareResponse + (*UpdateShareRequest)(nil), // 2: cs3.sharing.collaboration.v1beta1.UpdateShareRequest + (*UpdateShareResponse)(nil), // 3: cs3.sharing.collaboration.v1beta1.UpdateShareResponse + (*ListSharesRequest)(nil), // 4: cs3.sharing.collaboration.v1beta1.ListSharesRequest + (*ListSharesResponse)(nil), // 5: cs3.sharing.collaboration.v1beta1.ListSharesResponse + (*RemoveShareRequest)(nil), // 6: cs3.sharing.collaboration.v1beta1.RemoveShareRequest + (*RemoveShareResponse)(nil), // 7: cs3.sharing.collaboration.v1beta1.RemoveShareResponse + (*GetShareRequest)(nil), // 8: cs3.sharing.collaboration.v1beta1.GetShareRequest + (*GetShareResponse)(nil), // 9: cs3.sharing.collaboration.v1beta1.GetShareResponse + (*ListReceivedSharesRequest)(nil), // 10: cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest + (*ListReceivedSharesResponse)(nil), // 11: cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse + (*UpdateReceivedShareRequest)(nil), // 12: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest + (*UpdateReceivedShareResponse)(nil), // 13: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse + (*GetReceivedShareRequest)(nil), // 14: cs3.sharing.collaboration.v1beta1.GetReceivedShareRequest + (*GetReceivedShareResponse)(nil), // 15: cs3.sharing.collaboration.v1beta1.GetReceivedShareResponse + (*UpdateShareRequest_UpdateField)(nil), // 16: cs3.sharing.collaboration.v1beta1.UpdateShareRequest.UpdateField + (*v1beta1.Opaque)(nil), // 17: cs3.types.v1beta1.Opaque + (*v1beta11.ResourceInfo)(nil), // 18: cs3.storage.provider.v1beta1.ResourceInfo + (*ShareGrant)(nil), // 19: cs3.sharing.collaboration.v1beta1.ShareGrant + (*v1beta12.Status)(nil), // 20: cs3.rpc.v1beta1.Status + (*Share)(nil), // 21: cs3.sharing.collaboration.v1beta1.Share + (*ShareReference)(nil), // 22: cs3.sharing.collaboration.v1beta1.ShareReference + (*fieldmaskpb.FieldMask)(nil), // 23: google.protobuf.FieldMask + (*Filter)(nil), // 24: cs3.sharing.collaboration.v1beta1.Filter + (*ReceivedShare)(nil), // 25: cs3.sharing.collaboration.v1beta1.ReceivedShare + (*SharePermissions)(nil), // 26: cs3.sharing.collaboration.v1beta1.SharePermissions +} +var file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_depIdxs = []int32{ + 17, // 0: cs3.sharing.collaboration.v1beta1.CreateShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 18, // 1: cs3.sharing.collaboration.v1beta1.CreateShareRequest.resource_info:type_name -> cs3.storage.provider.v1beta1.ResourceInfo + 19, // 2: cs3.sharing.collaboration.v1beta1.CreateShareRequest.grant:type_name -> cs3.sharing.collaboration.v1beta1.ShareGrant + 20, // 3: cs3.sharing.collaboration.v1beta1.CreateShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 17, // 4: cs3.sharing.collaboration.v1beta1.CreateShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 5: cs3.sharing.collaboration.v1beta1.CreateShareResponse.share:type_name -> cs3.sharing.collaboration.v1beta1.Share + 17, // 6: cs3.sharing.collaboration.v1beta1.UpdateShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 22, // 7: cs3.sharing.collaboration.v1beta1.UpdateShareRequest.ref:type_name -> cs3.sharing.collaboration.v1beta1.ShareReference + 16, // 8: cs3.sharing.collaboration.v1beta1.UpdateShareRequest.field:type_name -> cs3.sharing.collaboration.v1beta1.UpdateShareRequest.UpdateField + 23, // 9: cs3.sharing.collaboration.v1beta1.UpdateShareRequest.update_mask:type_name -> google.protobuf.FieldMask + 21, // 10: cs3.sharing.collaboration.v1beta1.UpdateShareRequest.share:type_name -> cs3.sharing.collaboration.v1beta1.Share + 20, // 11: cs3.sharing.collaboration.v1beta1.UpdateShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 17, // 12: cs3.sharing.collaboration.v1beta1.UpdateShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 13: cs3.sharing.collaboration.v1beta1.UpdateShareResponse.share:type_name -> cs3.sharing.collaboration.v1beta1.Share + 17, // 14: cs3.sharing.collaboration.v1beta1.ListSharesRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 24, // 15: cs3.sharing.collaboration.v1beta1.ListSharesRequest.filters:type_name -> cs3.sharing.collaboration.v1beta1.Filter + 20, // 16: cs3.sharing.collaboration.v1beta1.ListSharesResponse.status:type_name -> cs3.rpc.v1beta1.Status + 17, // 17: cs3.sharing.collaboration.v1beta1.ListSharesResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 18: cs3.sharing.collaboration.v1beta1.ListSharesResponse.shares:type_name -> cs3.sharing.collaboration.v1beta1.Share + 17, // 19: cs3.sharing.collaboration.v1beta1.RemoveShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 22, // 20: cs3.sharing.collaboration.v1beta1.RemoveShareRequest.ref:type_name -> cs3.sharing.collaboration.v1beta1.ShareReference + 20, // 21: cs3.sharing.collaboration.v1beta1.RemoveShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 17, // 22: cs3.sharing.collaboration.v1beta1.RemoveShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 17, // 23: cs3.sharing.collaboration.v1beta1.GetShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 22, // 24: cs3.sharing.collaboration.v1beta1.GetShareRequest.ref:type_name -> cs3.sharing.collaboration.v1beta1.ShareReference + 20, // 25: cs3.sharing.collaboration.v1beta1.GetShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 17, // 26: cs3.sharing.collaboration.v1beta1.GetShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 27: cs3.sharing.collaboration.v1beta1.GetShareResponse.share:type_name -> cs3.sharing.collaboration.v1beta1.Share + 17, // 28: cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 24, // 29: cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest.filters:type_name -> cs3.sharing.collaboration.v1beta1.Filter + 20, // 30: cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse.status:type_name -> cs3.rpc.v1beta1.Status + 17, // 31: cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 25, // 32: cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse.shares:type_name -> cs3.sharing.collaboration.v1beta1.ReceivedShare + 17, // 33: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 25, // 34: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest.share:type_name -> cs3.sharing.collaboration.v1beta1.ReceivedShare + 23, // 35: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest.update_mask:type_name -> google.protobuf.FieldMask + 20, // 36: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 17, // 37: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 25, // 38: cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse.share:type_name -> cs3.sharing.collaboration.v1beta1.ReceivedShare + 17, // 39: cs3.sharing.collaboration.v1beta1.GetReceivedShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 22, // 40: cs3.sharing.collaboration.v1beta1.GetReceivedShareRequest.ref:type_name -> cs3.sharing.collaboration.v1beta1.ShareReference + 20, // 41: cs3.sharing.collaboration.v1beta1.GetReceivedShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 17, // 42: cs3.sharing.collaboration.v1beta1.GetReceivedShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 25, // 43: cs3.sharing.collaboration.v1beta1.GetReceivedShareResponse.share:type_name -> cs3.sharing.collaboration.v1beta1.ReceivedShare + 26, // 44: cs3.sharing.collaboration.v1beta1.UpdateShareRequest.UpdateField.permissions:type_name -> cs3.sharing.collaboration.v1beta1.SharePermissions + 0, // 45: cs3.sharing.collaboration.v1beta1.CollaborationAPI.CreateShare:input_type -> cs3.sharing.collaboration.v1beta1.CreateShareRequest + 6, // 46: cs3.sharing.collaboration.v1beta1.CollaborationAPI.RemoveShare:input_type -> cs3.sharing.collaboration.v1beta1.RemoveShareRequest + 8, // 47: cs3.sharing.collaboration.v1beta1.CollaborationAPI.GetShare:input_type -> cs3.sharing.collaboration.v1beta1.GetShareRequest + 4, // 48: cs3.sharing.collaboration.v1beta1.CollaborationAPI.ListShares:input_type -> cs3.sharing.collaboration.v1beta1.ListSharesRequest + 2, // 49: cs3.sharing.collaboration.v1beta1.CollaborationAPI.UpdateShare:input_type -> cs3.sharing.collaboration.v1beta1.UpdateShareRequest + 10, // 50: cs3.sharing.collaboration.v1beta1.CollaborationAPI.ListReceivedShares:input_type -> cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest + 12, // 51: cs3.sharing.collaboration.v1beta1.CollaborationAPI.UpdateReceivedShare:input_type -> cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest + 14, // 52: cs3.sharing.collaboration.v1beta1.CollaborationAPI.GetReceivedShare:input_type -> cs3.sharing.collaboration.v1beta1.GetReceivedShareRequest + 1, // 53: cs3.sharing.collaboration.v1beta1.CollaborationAPI.CreateShare:output_type -> cs3.sharing.collaboration.v1beta1.CreateShareResponse + 7, // 54: cs3.sharing.collaboration.v1beta1.CollaborationAPI.RemoveShare:output_type -> cs3.sharing.collaboration.v1beta1.RemoveShareResponse + 9, // 55: cs3.sharing.collaboration.v1beta1.CollaborationAPI.GetShare:output_type -> cs3.sharing.collaboration.v1beta1.GetShareResponse + 5, // 56: cs3.sharing.collaboration.v1beta1.CollaborationAPI.ListShares:output_type -> cs3.sharing.collaboration.v1beta1.ListSharesResponse + 3, // 57: cs3.sharing.collaboration.v1beta1.CollaborationAPI.UpdateShare:output_type -> cs3.sharing.collaboration.v1beta1.UpdateShareResponse + 11, // 58: cs3.sharing.collaboration.v1beta1.CollaborationAPI.ListReceivedShares:output_type -> cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse + 13, // 59: cs3.sharing.collaboration.v1beta1.CollaborationAPI.UpdateReceivedShare:output_type -> cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse + 15, // 60: cs3.sharing.collaboration.v1beta1.CollaborationAPI.GetReceivedShare:output_type -> cs3.sharing.collaboration.v1beta1.GetReceivedShareResponse + 53, // [53:61] is the sub-list for method output_type + 45, // [45:53] is the sub-list for method input_type + 45, // [45:45] is the sub-list for extension type_name + 45, // [45:45] is the sub-list for extension extendee + 0, // [0:45] is the sub-list for field type_name +} + +func init() { file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_init() } +func file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_init() { + if File_cs3_sharing_collaboration_v1beta1_collaboration_api_proto != nil { + return + } + file_cs3_sharing_collaboration_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSharesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSharesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReceivedSharesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReceivedSharesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateReceivedShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateReceivedShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReceivedShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReceivedShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateShareRequest_UpdateField); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes[16].OneofWrappers = []interface{}{ + (*UpdateShareRequest_UpdateField_Permissions)(nil), + (*UpdateShareRequest_UpdateField_DisplayName)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 17, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/sharing/collaboration/v1beta1/collaboration_api.proto", + GoTypes: file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_goTypes, + DependencyIndexes: file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_depIdxs, + MessageInfos: file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_msgTypes, + }.Build() + File_cs3_sharing_collaboration_v1beta1_collaboration_api_proto = out.File + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_rawDesc = nil + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_goTypes = nil + file_cs3_sharing_collaboration_v1beta1_collaboration_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/collaboration_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/collaboration_api_grpc.pb.go new file mode 100644 index 00000000000..ad44b129b06 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/collaboration_api_grpc.pb.go @@ -0,0 +1,424 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/sharing/collaboration/v1beta1/collaboration_api.proto + +package collaborationv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + CollaborationAPI_CreateShare_FullMethodName = "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/CreateShare" + CollaborationAPI_RemoveShare_FullMethodName = "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/RemoveShare" + CollaborationAPI_GetShare_FullMethodName = "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/GetShare" + CollaborationAPI_ListShares_FullMethodName = "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/ListShares" + CollaborationAPI_UpdateShare_FullMethodName = "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/UpdateShare" + CollaborationAPI_ListReceivedShares_FullMethodName = "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/ListReceivedShares" + CollaborationAPI_UpdateReceivedShare_FullMethodName = "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/UpdateReceivedShare" + CollaborationAPI_GetReceivedShare_FullMethodName = "/cs3.sharing.collaboration.v1beta1.CollaborationAPI/GetReceivedShare" +) + +// CollaborationAPIClient is the client API for CollaborationAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type CollaborationAPIClient interface { + // Creates a new share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_LOCKED if the resource reference already locked. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreateShare(ctx context.Context, in *CreateShareRequest, opts ...grpc.CallOption) (*CreateShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemoveShare(ctx context.Context, in *RemoveShareRequest, opts ...grpc.CallOption) (*RemoveShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetShare(ctx context.Context, in *GetShareRequest, opts ...grpc.CallOption) (*GetShareResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListShares(ctx context.Context, in *ListSharesRequest, opts ...grpc.CallOption) (*ListSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateShare(ctx context.Context, in *UpdateShareRequest, opts ...grpc.CallOption) (*UpdateShareResponse, error) + // List all shares the authenticated principal has received. + ListReceivedShares(ctx context.Context, in *ListReceivedSharesRequest, opts ...grpc.CallOption) (*ListReceivedSharesResponse, error) + // Update the received share to change the share state or the display name. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateReceivedShare(ctx context.Context, in *UpdateReceivedShareRequest, opts ...grpc.CallOption) (*UpdateReceivedShareResponse, error) + // Get the information for the given received share reference. + // MUST return CODE_NOT_FOUND if the received share reference does not exist. + GetReceivedShare(ctx context.Context, in *GetReceivedShareRequest, opts ...grpc.CallOption) (*GetReceivedShareResponse, error) +} + +type collaborationAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewCollaborationAPIClient(cc grpc.ClientConnInterface) CollaborationAPIClient { + return &collaborationAPIClient{cc} +} + +func (c *collaborationAPIClient) CreateShare(ctx context.Context, in *CreateShareRequest, opts ...grpc.CallOption) (*CreateShareResponse, error) { + out := new(CreateShareResponse) + err := c.cc.Invoke(ctx, CollaborationAPI_CreateShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *collaborationAPIClient) RemoveShare(ctx context.Context, in *RemoveShareRequest, opts ...grpc.CallOption) (*RemoveShareResponse, error) { + out := new(RemoveShareResponse) + err := c.cc.Invoke(ctx, CollaborationAPI_RemoveShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *collaborationAPIClient) GetShare(ctx context.Context, in *GetShareRequest, opts ...grpc.CallOption) (*GetShareResponse, error) { + out := new(GetShareResponse) + err := c.cc.Invoke(ctx, CollaborationAPI_GetShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *collaborationAPIClient) ListShares(ctx context.Context, in *ListSharesRequest, opts ...grpc.CallOption) (*ListSharesResponse, error) { + out := new(ListSharesResponse) + err := c.cc.Invoke(ctx, CollaborationAPI_ListShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *collaborationAPIClient) UpdateShare(ctx context.Context, in *UpdateShareRequest, opts ...grpc.CallOption) (*UpdateShareResponse, error) { + out := new(UpdateShareResponse) + err := c.cc.Invoke(ctx, CollaborationAPI_UpdateShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *collaborationAPIClient) ListReceivedShares(ctx context.Context, in *ListReceivedSharesRequest, opts ...grpc.CallOption) (*ListReceivedSharesResponse, error) { + out := new(ListReceivedSharesResponse) + err := c.cc.Invoke(ctx, CollaborationAPI_ListReceivedShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *collaborationAPIClient) UpdateReceivedShare(ctx context.Context, in *UpdateReceivedShareRequest, opts ...grpc.CallOption) (*UpdateReceivedShareResponse, error) { + out := new(UpdateReceivedShareResponse) + err := c.cc.Invoke(ctx, CollaborationAPI_UpdateReceivedShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *collaborationAPIClient) GetReceivedShare(ctx context.Context, in *GetReceivedShareRequest, opts ...grpc.CallOption) (*GetReceivedShareResponse, error) { + out := new(GetReceivedShareResponse) + err := c.cc.Invoke(ctx, CollaborationAPI_GetReceivedShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CollaborationAPIServer is the server API for CollaborationAPI service. +// All implementations should embed UnimplementedCollaborationAPIServer +// for forward compatibility +type CollaborationAPIServer interface { + // Creates a new share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_LOCKED if the resource reference already locked. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreateShare(context.Context, *CreateShareRequest) (*CreateShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemoveShare(context.Context, *RemoveShareRequest) (*RemoveShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetShare(context.Context, *GetShareRequest) (*GetShareResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListShares(context.Context, *ListSharesRequest) (*ListSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateShare(context.Context, *UpdateShareRequest) (*UpdateShareResponse, error) + // List all shares the authenticated principal has received. + ListReceivedShares(context.Context, *ListReceivedSharesRequest) (*ListReceivedSharesResponse, error) + // Update the received share to change the share state or the display name. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateReceivedShare(context.Context, *UpdateReceivedShareRequest) (*UpdateReceivedShareResponse, error) + // Get the information for the given received share reference. + // MUST return CODE_NOT_FOUND if the received share reference does not exist. + GetReceivedShare(context.Context, *GetReceivedShareRequest) (*GetReceivedShareResponse, error) +} + +// UnimplementedCollaborationAPIServer should be embedded to have forward compatible implementations. +type UnimplementedCollaborationAPIServer struct { +} + +func (UnimplementedCollaborationAPIServer) CreateShare(context.Context, *CreateShareRequest) (*CreateShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShare not implemented") +} +func (UnimplementedCollaborationAPIServer) RemoveShare(context.Context, *RemoveShareRequest) (*RemoveShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveShare not implemented") +} +func (UnimplementedCollaborationAPIServer) GetShare(context.Context, *GetShareRequest) (*GetShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetShare not implemented") +} +func (UnimplementedCollaborationAPIServer) ListShares(context.Context, *ListSharesRequest) (*ListSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListShares not implemented") +} +func (UnimplementedCollaborationAPIServer) UpdateShare(context.Context, *UpdateShareRequest) (*UpdateShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateShare not implemented") +} +func (UnimplementedCollaborationAPIServer) ListReceivedShares(context.Context, *ListReceivedSharesRequest) (*ListReceivedSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListReceivedShares not implemented") +} +func (UnimplementedCollaborationAPIServer) UpdateReceivedShare(context.Context, *UpdateReceivedShareRequest) (*UpdateReceivedShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateReceivedShare not implemented") +} +func (UnimplementedCollaborationAPIServer) GetReceivedShare(context.Context, *GetReceivedShareRequest) (*GetReceivedShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReceivedShare not implemented") +} + +// UnsafeCollaborationAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to CollaborationAPIServer will +// result in compilation errors. +type UnsafeCollaborationAPIServer interface { + mustEmbedUnimplementedCollaborationAPIServer() +} + +func RegisterCollaborationAPIServer(s grpc.ServiceRegistrar, srv CollaborationAPIServer) { + s.RegisterService(&CollaborationAPI_ServiceDesc, srv) +} + +func _CollaborationAPI_CreateShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CollaborationAPIServer).CreateShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: CollaborationAPI_CreateShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CollaborationAPIServer).CreateShare(ctx, req.(*CreateShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CollaborationAPI_RemoveShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CollaborationAPIServer).RemoveShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: CollaborationAPI_RemoveShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CollaborationAPIServer).RemoveShare(ctx, req.(*RemoveShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CollaborationAPI_GetShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CollaborationAPIServer).GetShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: CollaborationAPI_GetShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CollaborationAPIServer).GetShare(ctx, req.(*GetShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CollaborationAPI_ListShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CollaborationAPIServer).ListShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: CollaborationAPI_ListShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CollaborationAPIServer).ListShares(ctx, req.(*ListSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CollaborationAPI_UpdateShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CollaborationAPIServer).UpdateShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: CollaborationAPI_UpdateShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CollaborationAPIServer).UpdateShare(ctx, req.(*UpdateShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CollaborationAPI_ListReceivedShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListReceivedSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CollaborationAPIServer).ListReceivedShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: CollaborationAPI_ListReceivedShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CollaborationAPIServer).ListReceivedShares(ctx, req.(*ListReceivedSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CollaborationAPI_UpdateReceivedShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateReceivedShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CollaborationAPIServer).UpdateReceivedShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: CollaborationAPI_UpdateReceivedShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CollaborationAPIServer).UpdateReceivedShare(ctx, req.(*UpdateReceivedShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CollaborationAPI_GetReceivedShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetReceivedShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CollaborationAPIServer).GetReceivedShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: CollaborationAPI_GetReceivedShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CollaborationAPIServer).GetReceivedShare(ctx, req.(*GetReceivedShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// CollaborationAPI_ServiceDesc is the grpc.ServiceDesc for CollaborationAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var CollaborationAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.sharing.collaboration.v1beta1.CollaborationAPI", + HandlerType: (*CollaborationAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateShare", + Handler: _CollaborationAPI_CreateShare_Handler, + }, + { + MethodName: "RemoveShare", + Handler: _CollaborationAPI_RemoveShare_Handler, + }, + { + MethodName: "GetShare", + Handler: _CollaborationAPI_GetShare_Handler, + }, + { + MethodName: "ListShares", + Handler: _CollaborationAPI_ListShares_Handler, + }, + { + MethodName: "UpdateShare", + Handler: _CollaborationAPI_UpdateShare_Handler, + }, + { + MethodName: "ListReceivedShares", + Handler: _CollaborationAPI_ListReceivedShares_Handler, + }, + { + MethodName: "UpdateReceivedShare", + Handler: _CollaborationAPI_UpdateReceivedShare_Handler, + }, + { + MethodName: "GetReceivedShare", + Handler: _CollaborationAPI_GetReceivedShare_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/sharing/collaboration/v1beta1/collaboration_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/resources.pb.go index d81a843ec5c..2ff25c19df7 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1/resources.pb.go @@ -1,27 +1,45 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/sharing/collaboration/v1beta1/resources.proto package collaborationv1beta1 import ( - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // The state of the share. type ShareState int32 @@ -41,26 +59,47 @@ const ( ShareState_SHARE_STATE_REJECTED ShareState = 3 ) -var ShareState_name = map[int32]string{ - 0: "SHARE_STATE_INVALID", - 1: "SHARE_STATE_PENDING", - 2: "SHARE_STATE_ACCEPTED", - 3: "SHARE_STATE_REJECTED", -} +// Enum value maps for ShareState. +var ( + ShareState_name = map[int32]string{ + 0: "SHARE_STATE_INVALID", + 1: "SHARE_STATE_PENDING", + 2: "SHARE_STATE_ACCEPTED", + 3: "SHARE_STATE_REJECTED", + } + ShareState_value = map[string]int32{ + "SHARE_STATE_INVALID": 0, + "SHARE_STATE_PENDING": 1, + "SHARE_STATE_ACCEPTED": 2, + "SHARE_STATE_REJECTED": 3, + } +) -var ShareState_value = map[string]int32{ - "SHARE_STATE_INVALID": 0, - "SHARE_STATE_PENDING": 1, - "SHARE_STATE_ACCEPTED": 2, - "SHARE_STATE_REJECTED": 3, +func (x ShareState) Enum() *ShareState { + p := new(ShareState) + *p = x + return p } func (x ShareState) String() string { - return proto.EnumName(ShareState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ShareState) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_sharing_collaboration_v1beta1_resources_proto_enumTypes[0].Descriptor() +} + +func (ShareState) Type() protoreflect.EnumType { + return &file_cs3_sharing_collaboration_v1beta1_resources_proto_enumTypes[0] +} + +func (x ShareState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ShareState.Descriptor instead. func (ShareState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{0} + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{0} } // The filter to apply. @@ -78,42 +117,67 @@ const ( Filter_TYPE_STATE Filter_Type = 8 ) -var Filter_Type_name = map[int32]string{ - 0: "TYPE_INVALID", - 1: "TYPE_NO", - 2: "TYPE_RESOURCE_ID", - 3: "TYPE_OWNER", - 4: "TYPE_CREATOR", - 5: "TYPE_GRANTEE_TYPE", - 6: "TYPE_EXCLUDE_DENIALS", - 7: "TYPE_SPACE_ID", - 8: "TYPE_STATE", -} - -var Filter_Type_value = map[string]int32{ - "TYPE_INVALID": 0, - "TYPE_NO": 1, - "TYPE_RESOURCE_ID": 2, - "TYPE_OWNER": 3, - "TYPE_CREATOR": 4, - "TYPE_GRANTEE_TYPE": 5, - "TYPE_EXCLUDE_DENIALS": 6, - "TYPE_SPACE_ID": 7, - "TYPE_STATE": 8, +// Enum value maps for Filter_Type. +var ( + Filter_Type_name = map[int32]string{ + 0: "TYPE_INVALID", + 1: "TYPE_NO", + 2: "TYPE_RESOURCE_ID", + 3: "TYPE_OWNER", + 4: "TYPE_CREATOR", + 5: "TYPE_GRANTEE_TYPE", + 6: "TYPE_EXCLUDE_DENIALS", + 7: "TYPE_SPACE_ID", + 8: "TYPE_STATE", + } + Filter_Type_value = map[string]int32{ + "TYPE_INVALID": 0, + "TYPE_NO": 1, + "TYPE_RESOURCE_ID": 2, + "TYPE_OWNER": 3, + "TYPE_CREATOR": 4, + "TYPE_GRANTEE_TYPE": 5, + "TYPE_EXCLUDE_DENIALS": 6, + "TYPE_SPACE_ID": 7, + "TYPE_STATE": 8, + } +) + +func (x Filter_Type) Enum() *Filter_Type { + p := new(Filter_Type) + *p = x + return p } func (x Filter_Type) String() string { - return proto.EnumName(Filter_Type_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Filter_Type) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_sharing_collaboration_v1beta1_resources_proto_enumTypes[1].Descriptor() +} + +func (Filter_Type) Type() protoreflect.EnumType { + return &file_cs3_sharing_collaboration_v1beta1_resources_proto_enumTypes[1] } +func (x Filter_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Filter_Type.Descriptor instead. func (Filter_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{7, 0} + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{7, 0} } // Shares are relationships between a resource owner // (usually the authenticated user) who grants permissions to a recipient (grantee) // on a specified resource (resource_id). UserShares represents both user and groups. type Share struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // Opaque unique identifier of the share. Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -147,136 +211,148 @@ type Share struct { Mtime *v1beta12.Timestamp `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` // Optional. // The expiration time of the share. - Expiration *v1beta12.Timestamp `protobuf:"bytes,9,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration *v1beta12.Timestamp `protobuf:"bytes,9,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *Share) Reset() { *m = Share{} } -func (m *Share) String() string { return proto.CompactTextString(m) } -func (*Share) ProtoMessage() {} -func (*Share) Descriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{0} +func (x *Share) Reset() { + *x = Share{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Share) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Share.Unmarshal(m, b) -} -func (m *Share) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Share.Marshal(b, m, deterministic) -} -func (m *Share) XXX_Merge(src proto.Message) { - xxx_messageInfo_Share.Merge(m, src) -} -func (m *Share) XXX_Size() int { - return xxx_messageInfo_Share.Size(m) +func (x *Share) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Share) XXX_DiscardUnknown() { - xxx_messageInfo_Share.DiscardUnknown(m) + +func (*Share) ProtoMessage() {} + +func (x *Share) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_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) } -var xxx_messageInfo_Share proto.InternalMessageInfo +// Deprecated: Use Share.ProtoReflect.Descriptor instead. +func (*Share) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *Share) GetId() *ShareId { - if m != nil { - return m.Id +func (x *Share) GetId() *ShareId { + if x != nil { + return x.Id } return nil } -func (m *Share) GetResourceId() *v1beta1.ResourceId { - if m != nil { - return m.ResourceId +func (x *Share) GetResourceId() *v1beta1.ResourceId { + if x != nil { + return x.ResourceId } return nil } -func (m *Share) GetPermissions() *SharePermissions { - if m != nil { - return m.Permissions +func (x *Share) GetPermissions() *SharePermissions { + if x != nil { + return x.Permissions } return nil } -func (m *Share) GetGrantee() *v1beta1.Grantee { - if m != nil { - return m.Grantee +func (x *Share) GetGrantee() *v1beta1.Grantee { + if x != nil { + return x.Grantee } return nil } -func (m *Share) GetOwner() *v1beta11.UserId { - if m != nil { - return m.Owner +func (x *Share) GetOwner() *v1beta11.UserId { + if x != nil { + return x.Owner } return nil } -func (m *Share) GetCreator() *v1beta11.UserId { - if m != nil { - return m.Creator +func (x *Share) GetCreator() *v1beta11.UserId { + if x != nil { + return x.Creator } return nil } -func (m *Share) GetCtime() *v1beta12.Timestamp { - if m != nil { - return m.Ctime +func (x *Share) GetCtime() *v1beta12.Timestamp { + if x != nil { + return x.Ctime } return nil } -func (m *Share) GetMtime() *v1beta12.Timestamp { - if m != nil { - return m.Mtime +func (x *Share) GetMtime() *v1beta12.Timestamp { + if x != nil { + return x.Mtime } return nil } -func (m *Share) GetExpiration() *v1beta12.Timestamp { - if m != nil { - return m.Expiration +func (x *Share) GetExpiration() *v1beta12.Timestamp { + if x != nil { + return x.Expiration } return nil } // The permissions for a share. type SharePermissions struct { - Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SharePermissions) Reset() { *m = SharePermissions{} } -func (m *SharePermissions) String() string { return proto.CompactTextString(m) } -func (*SharePermissions) ProtoMessage() {} -func (*SharePermissions) Descriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{1} + Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` // TODO(labkode): additional permissions for shares like re-sharing and denying } -func (m *SharePermissions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SharePermissions.Unmarshal(m, b) -} -func (m *SharePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SharePermissions.Marshal(b, m, deterministic) -} -func (m *SharePermissions) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharePermissions.Merge(m, src) +func (x *SharePermissions) Reset() { + *x = SharePermissions{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SharePermissions) XXX_Size() int { - return xxx_messageInfo_SharePermissions.Size(m) + +func (x *SharePermissions) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SharePermissions) XXX_DiscardUnknown() { - xxx_messageInfo_SharePermissions.DiscardUnknown(m) + +func (*SharePermissions) ProtoMessage() {} + +func (x *SharePermissions) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_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) } -var xxx_messageInfo_SharePermissions proto.InternalMessageInfo +// Deprecated: Use SharePermissions.ProtoReflect.Descriptor instead. +func (*SharePermissions) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *SharePermissions) GetPermissions() *v1beta1.ResourcePermissions { - if m != nil { - return m.Permissions +func (x *SharePermissions) GetPermissions() *v1beta1.ResourcePermissions { + if x != nil { + return x.Permissions } return nil } @@ -287,6 +363,10 @@ func (m *SharePermissions) GetPermissions() *v1beta1.ResourcePermissions { // resource mount point in case the share will be mounted // in a storage provider. type ReceivedShare struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. Share *Share `protobuf:"bytes,1,opt,name=share,proto3" json:"share,omitempty"` // REQUIRED. @@ -297,61 +377,65 @@ type ReceivedShare struct { MountPoint *v1beta1.Reference `protobuf:"bytes,3,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"` // Optional. // Hide share, default false - Hidden bool `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Hidden bool `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"` } -func (m *ReceivedShare) Reset() { *m = ReceivedShare{} } -func (m *ReceivedShare) String() string { return proto.CompactTextString(m) } -func (*ReceivedShare) ProtoMessage() {} -func (*ReceivedShare) Descriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{2} +func (x *ReceivedShare) Reset() { + *x = ReceivedShare{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReceivedShare) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReceivedShare.Unmarshal(m, b) -} -func (m *ReceivedShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReceivedShare.Marshal(b, m, deterministic) +func (x *ReceivedShare) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReceivedShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReceivedShare.Merge(m, src) -} -func (m *ReceivedShare) XXX_Size() int { - return xxx_messageInfo_ReceivedShare.Size(m) -} -func (m *ReceivedShare) XXX_DiscardUnknown() { - xxx_messageInfo_ReceivedShare.DiscardUnknown(m) + +func (*ReceivedShare) ProtoMessage() {} + +func (x *ReceivedShare) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_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) } -var xxx_messageInfo_ReceivedShare proto.InternalMessageInfo +// Deprecated: Use ReceivedShare.ProtoReflect.Descriptor instead. +func (*ReceivedShare) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{2} +} -func (m *ReceivedShare) GetShare() *Share { - if m != nil { - return m.Share +func (x *ReceivedShare) GetShare() *Share { + if x != nil { + return x.Share } return nil } -func (m *ReceivedShare) GetState() ShareState { - if m != nil { - return m.State +func (x *ReceivedShare) GetState() ShareState { + if x != nil { + return x.State } return ShareState_SHARE_STATE_INVALID } -func (m *ReceivedShare) GetMountPoint() *v1beta1.Reference { - if m != nil { - return m.MountPoint +func (x *ReceivedShare) GetMountPoint() *v1beta1.Reference { + if x != nil { + return x.MountPoint } return nil } -func (m *ReceivedShare) GetHidden() bool { - if m != nil { - return m.Hidden +func (x *ReceivedShare) GetHidden() bool { + if x != nil { + return x.Hidden } return false } @@ -370,59 +454,67 @@ func (m *ReceivedShare) GetHidden() bool { // 3) The resource id = "home:1234" // 4) The grantee for the share = Grantee("type" = "user", "" => "Bob") type ShareKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. Owner *v1beta11.UserId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // REQUIRED. ResourceId *v1beta1.ResourceId `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // REQUIRED. - Grantee *v1beta1.Grantee `protobuf:"bytes,4,opt,name=grantee,proto3" json:"grantee,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Grantee *v1beta1.Grantee `protobuf:"bytes,4,opt,name=grantee,proto3" json:"grantee,omitempty"` } -func (m *ShareKey) Reset() { *m = ShareKey{} } -func (m *ShareKey) String() string { return proto.CompactTextString(m) } -func (*ShareKey) ProtoMessage() {} -func (*ShareKey) Descriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{3} +func (x *ShareKey) Reset() { + *x = ShareKey{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShareKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShareKey.Unmarshal(m, b) -} -func (m *ShareKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShareKey.Marshal(b, m, deterministic) -} -func (m *ShareKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShareKey.Merge(m, src) -} -func (m *ShareKey) XXX_Size() int { - return xxx_messageInfo_ShareKey.Size(m) +func (x *ShareKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShareKey) XXX_DiscardUnknown() { - xxx_messageInfo_ShareKey.DiscardUnknown(m) + +func (*ShareKey) ProtoMessage() {} + +func (x *ShareKey) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_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) } -var xxx_messageInfo_ShareKey proto.InternalMessageInfo +// Deprecated: Use ShareKey.ProtoReflect.Descriptor instead. +func (*ShareKey) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{3} +} -func (m *ShareKey) GetOwner() *v1beta11.UserId { - if m != nil { - return m.Owner +func (x *ShareKey) GetOwner() *v1beta11.UserId { + if x != nil { + return x.Owner } return nil } -func (m *ShareKey) GetResourceId() *v1beta1.ResourceId { - if m != nil { - return m.ResourceId +func (x *ShareKey) GetResourceId() *v1beta1.ResourceId { + if x != nil { + return x.ResourceId } return nil } -func (m *ShareKey) GetGrantee() *v1beta1.Grantee { - if m != nil { - return m.Grantee +func (x *ShareKey) GetGrantee() *v1beta1.Grantee { + if x != nil { + return x.Grantee } return nil } @@ -430,44 +522,52 @@ func (m *ShareKey) GetGrantee() *v1beta1.Grantee { // A share id identifies uniquely a // share in the share provider namespace. // A ShareId MUST be unique inside the share provider. type ShareId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The internal id used by service implementor to // uniquely Collaboration the share in the internal // implementation of the service. - OpaqueId string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OpaqueId string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` } -func (m *ShareId) Reset() { *m = ShareId{} } -func (m *ShareId) String() string { return proto.CompactTextString(m) } -func (*ShareId) ProtoMessage() {} -func (*ShareId) Descriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{4} +func (x *ShareId) Reset() { + *x = ShareId{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShareId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShareId.Unmarshal(m, b) -} -func (m *ShareId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShareId.Marshal(b, m, deterministic) -} -func (m *ShareId) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShareId.Merge(m, src) +func (x *ShareId) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShareId) XXX_Size() int { - return xxx_messageInfo_ShareId.Size(m) -} -func (m *ShareId) XXX_DiscardUnknown() { - xxx_messageInfo_ShareId.DiscardUnknown(m) + +func (*ShareId) ProtoMessage() {} + +func (x *ShareId) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_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) } -var xxx_messageInfo_ShareId proto.InternalMessageInfo +// Deprecated: Use ShareId.ProtoReflect.Descriptor instead. +func (*ShareId) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{4} +} -func (m *ShareId) GetOpaqueId() string { - if m != nil { - return m.OpaqueId +func (x *ShareId) GetOpaqueId() string { + if x != nil { + return x.OpaqueId } return "" } @@ -475,59 +575,52 @@ func (m *ShareId) GetOpaqueId() string { // The mechanism to identify a share // in the share provider namespace. type ShareReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // One of the specifications MUST be specified. // - // Types that are valid to be assigned to Spec: + // Types that are assignable to Spec: + // // *ShareReference_Id // *ShareReference_Key - Spec isShareReference_Spec `protobuf_oneof:"spec"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spec isShareReference_Spec `protobuf_oneof:"spec"` } -func (m *ShareReference) Reset() { *m = ShareReference{} } -func (m *ShareReference) String() string { return proto.CompactTextString(m) } -func (*ShareReference) ProtoMessage() {} -func (*ShareReference) Descriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{5} +func (x *ShareReference) Reset() { + *x = ShareReference{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShareReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShareReference.Unmarshal(m, b) -} -func (m *ShareReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShareReference.Marshal(b, m, deterministic) -} -func (m *ShareReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShareReference.Merge(m, src) -} -func (m *ShareReference) XXX_Size() int { - return xxx_messageInfo_ShareReference.Size(m) -} -func (m *ShareReference) XXX_DiscardUnknown() { - xxx_messageInfo_ShareReference.DiscardUnknown(m) +func (x *ShareReference) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ShareReference proto.InternalMessageInfo +func (*ShareReference) ProtoMessage() {} -type isShareReference_Spec interface { - isShareReference_Spec() -} - -type ShareReference_Id struct { - Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3,oneof"` +func (x *ShareReference) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_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) } -type ShareReference_Key struct { - Key *ShareKey `protobuf:"bytes,2,opt,name=key,proto3,oneof"` +// Deprecated: Use ShareReference.ProtoReflect.Descriptor instead. +func (*ShareReference) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{5} } -func (*ShareReference_Id) isShareReference_Spec() {} - -func (*ShareReference_Key) isShareReference_Spec() {} - func (m *ShareReference) GetSpec() isShareReference_Spec { if m != nil { return m.Spec @@ -535,31 +628,46 @@ func (m *ShareReference) GetSpec() isShareReference_Spec { return nil } -func (m *ShareReference) GetId() *ShareId { - if x, ok := m.GetSpec().(*ShareReference_Id); ok { +func (x *ShareReference) GetId() *ShareId { + if x, ok := x.GetSpec().(*ShareReference_Id); ok { return x.Id } return nil } -func (m *ShareReference) GetKey() *ShareKey { - if x, ok := m.GetSpec().(*ShareReference_Key); ok { +func (x *ShareReference) GetKey() *ShareKey { + if x, ok := x.GetSpec().(*ShareReference_Key); ok { return x.Key } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ShareReference) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ShareReference_Id)(nil), - (*ShareReference_Key)(nil), - } +type isShareReference_Spec interface { + isShareReference_Spec() +} + +type ShareReference_Id struct { + // The id of the share. + Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3,oneof"` +} + +type ShareReference_Key struct { + // The combination of fields that + // make the share unique. + Key *ShareKey `protobuf:"bytes,2,opt,name=key,proto3,oneof"` } +func (*ShareReference_Id) isShareReference_Spec() {} + +func (*ShareReference_Key) isShareReference_Spec() {} + // A share grant specifies the share permissions // for a grantee. type ShareGrant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The grantee of the grant. Grantee *v1beta1.Grantee `protobuf:"bytes,1,opt,name=grantee,proto3" json:"grantee,omitempty"` @@ -568,105 +676,167 @@ type ShareGrant struct { Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` // OPTIONAL // Expiration of the grant. - Expiration *v1beta12.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration *v1beta12.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *ShareGrant) Reset() { *m = ShareGrant{} } -func (m *ShareGrant) String() string { return proto.CompactTextString(m) } -func (*ShareGrant) ProtoMessage() {} -func (*ShareGrant) Descriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{6} +func (x *ShareGrant) Reset() { + *x = ShareGrant{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShareGrant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShareGrant.Unmarshal(m, b) -} -func (m *ShareGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShareGrant.Marshal(b, m, deterministic) -} -func (m *ShareGrant) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShareGrant.Merge(m, src) +func (x *ShareGrant) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShareGrant) XXX_Size() int { - return xxx_messageInfo_ShareGrant.Size(m) -} -func (m *ShareGrant) XXX_DiscardUnknown() { - xxx_messageInfo_ShareGrant.DiscardUnknown(m) + +func (*ShareGrant) ProtoMessage() {} + +func (x *ShareGrant) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_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) } -var xxx_messageInfo_ShareGrant proto.InternalMessageInfo +// Deprecated: Use ShareGrant.ProtoReflect.Descriptor instead. +func (*ShareGrant) Descriptor() ([]byte, []int) { + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{6} +} -func (m *ShareGrant) GetGrantee() *v1beta1.Grantee { - if m != nil { - return m.Grantee +func (x *ShareGrant) GetGrantee() *v1beta1.Grantee { + if x != nil { + return x.Grantee } return nil } -func (m *ShareGrant) GetPermissions() *SharePermissions { - if m != nil { - return m.Permissions +func (x *ShareGrant) GetPermissions() *SharePermissions { + if x != nil { + return x.Permissions } return nil } -func (m *ShareGrant) GetExpiration() *v1beta12.Timestamp { - if m != nil { - return m.Expiration +func (x *ShareGrant) GetExpiration() *v1beta12.Timestamp { + if x != nil { + return x.Expiration } return nil } // Represents a filter to apply to the request. type Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. Type Filter_Type `protobuf:"varint,2,opt,name=type,proto3,enum=cs3.sharing.collaboration.v1beta1.Filter_Type" json:"type,omitempty"` - // Types that are valid to be assigned to Term: + // Types that are assignable to Term: + // // *Filter_ResourceId // *Filter_Owner // *Filter_Creator // *Filter_GranteeType // *Filter_SpaceId // *Filter_State - Term isFilter_Term `protobuf_oneof:"term"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Term isFilter_Term `protobuf_oneof:"term"` +} + +func (x *Filter) Reset() { + *x = Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Filter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Filter) ProtoMessage() {} + +func (x *Filter) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_collaboration_v1beta1_resources_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) } -func (m *Filter) Reset() { *m = Filter{} } -func (m *Filter) String() string { return proto.CompactTextString(m) } -func (*Filter) ProtoMessage() {} +// Deprecated: Use Filter.ProtoReflect.Descriptor instead. func (*Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_cb95b447da150104, []int{7} + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP(), []int{7} } -func (m *Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Filter.Unmarshal(m, b) +func (x *Filter) GetType() Filter_Type { + if x != nil { + return x.Type + } + return Filter_TYPE_INVALID } -func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Filter.Marshal(b, m, deterministic) + +func (m *Filter) GetTerm() isFilter_Term { + if m != nil { + return m.Term + } + return nil } -func (m *Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_Filter.Merge(m, src) + +func (x *Filter) GetResourceId() *v1beta1.ResourceId { + if x, ok := x.GetTerm().(*Filter_ResourceId); ok { + return x.ResourceId + } + return nil } -func (m *Filter) XXX_Size() int { - return xxx_messageInfo_Filter.Size(m) + +func (x *Filter) GetOwner() *v1beta11.UserId { + if x, ok := x.GetTerm().(*Filter_Owner); ok { + return x.Owner + } + return nil } -func (m *Filter) XXX_DiscardUnknown() { - xxx_messageInfo_Filter.DiscardUnknown(m) + +func (x *Filter) GetCreator() *v1beta11.UserId { + if x, ok := x.GetTerm().(*Filter_Creator); ok { + return x.Creator + } + return nil } -var xxx_messageInfo_Filter proto.InternalMessageInfo +func (x *Filter) GetGranteeType() v1beta1.GranteeType { + if x, ok := x.GetTerm().(*Filter_GranteeType); ok { + return x.GranteeType + } + return v1beta1.GranteeType(0) +} -func (m *Filter) GetType() Filter_Type { - if m != nil { - return m.Type +func (x *Filter) GetSpaceId() string { + if x, ok := x.GetTerm().(*Filter_SpaceId); ok { + return x.SpaceId } - return Filter_TYPE_INVALID + return "" +} + +func (x *Filter) GetState() ShareState { + if x, ok := x.GetTerm().(*Filter_State); ok { + return x.State + } + return ShareState_SHARE_STATE_INVALID } type isFilter_Term interface { @@ -709,58 +879,366 @@ func (*Filter_SpaceId) isFilter_Term() {} func (*Filter_State) isFilter_Term() {} -func (m *Filter) GetTerm() isFilter_Term { - if m != nil { - return m.Term - } - return nil -} - -func (m *Filter) GetResourceId() *v1beta1.ResourceId { - if x, ok := m.GetTerm().(*Filter_ResourceId); ok { - return x.ResourceId - } - return nil -} - -func (m *Filter) GetOwner() *v1beta11.UserId { - if x, ok := m.GetTerm().(*Filter_Owner); ok { - return x.Owner - } - return nil -} +var File_cs3_sharing_collaboration_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x31, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, + 0x04, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x49, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x64, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, + 0x55, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x52, 0x07, + 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x32, 0x0a, + 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, + 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, + 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x67, 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x65, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xf6, 0x01, 0x0a, + 0x0d, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x3e, + 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, + 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x43, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, + 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, + 0x69, 0x64, 0x64, 0x65, 0x6e, 0x22, 0xcf, 0x01, 0x0a, 0x08, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4b, + 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x64, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x0b, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x52, 0x07, + 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x22, 0x26, 0x0a, 0x07, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x49, 0x64, 0x22, + 0x97, 0x01, 0x0a, 0x0e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, + 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x3f, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, + 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4b, 0x65, 0x79, 0x48, 0x00, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x42, 0x06, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xe2, 0x01, 0x0a, 0x0a, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, + 0x74, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, + 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x55, 0x0a, 0x0b, 0x70, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, + 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x83, + 0x05, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4b, 0x0a, + 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x48, 0x00, 0x52, 0x0a, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x05, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, 0x05, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x12, 0x4e, 0x0a, 0x0c, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, + 0x64, 0x12, 0x45, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, + 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, + 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, + 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x10, 0x01, + 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, + 0x45, 0x5f, 0x49, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, + 0x57, 0x4e, 0x45, 0x52, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, + 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x45, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x05, 0x12, + 0x18, 0x0a, 0x14, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x43, 0x4c, 0x55, 0x44, 0x45, 0x5f, + 0x44, 0x45, 0x4e, 0x49, 0x41, 0x4c, 0x53, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x49, 0x44, 0x10, 0x07, 0x12, 0x0e, 0x0a, 0x0a, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x08, 0x42, 0x06, 0x0a, 0x04, + 0x74, 0x65, 0x72, 0x6d, 0x2a, 0x72, 0x0a, 0x0a, 0x53, 0x68, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53, + 0x48, 0x41, 0x52, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, + 0x4e, 0x47, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x18, + 0x0a, 0x14, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, + 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x03, 0x42, 0xb3, 0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6c, + 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, + 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x63, + 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x53, 0x43, 0xaa, + 0x02, 0x21, 0x43, 0x73, 0x33, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, + 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0xca, 0x02, 0x21, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x5c, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x2d, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x24, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x53, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x62, 0x6f, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescData = file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDesc +) -func (m *Filter) GetCreator() *v1beta11.UserId { - if x, ok := m.GetTerm().(*Filter_Creator); ok { - return x.Creator +func file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDescData +} + +var file_cs3_sharing_collaboration_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_cs3_sharing_collaboration_v1beta1_resources_proto_goTypes = []interface{}{ + (ShareState)(0), // 0: cs3.sharing.collaboration.v1beta1.ShareState + (Filter_Type)(0), // 1: cs3.sharing.collaboration.v1beta1.Filter.Type + (*Share)(nil), // 2: cs3.sharing.collaboration.v1beta1.Share + (*SharePermissions)(nil), // 3: cs3.sharing.collaboration.v1beta1.SharePermissions + (*ReceivedShare)(nil), // 4: cs3.sharing.collaboration.v1beta1.ReceivedShare + (*ShareKey)(nil), // 5: cs3.sharing.collaboration.v1beta1.ShareKey + (*ShareId)(nil), // 6: cs3.sharing.collaboration.v1beta1.ShareId + (*ShareReference)(nil), // 7: cs3.sharing.collaboration.v1beta1.ShareReference + (*ShareGrant)(nil), // 8: cs3.sharing.collaboration.v1beta1.ShareGrant + (*Filter)(nil), // 9: cs3.sharing.collaboration.v1beta1.Filter + (*v1beta1.ResourceId)(nil), // 10: cs3.storage.provider.v1beta1.ResourceId + (*v1beta1.Grantee)(nil), // 11: cs3.storage.provider.v1beta1.Grantee + (*v1beta11.UserId)(nil), // 12: cs3.identity.user.v1beta1.UserId + (*v1beta12.Timestamp)(nil), // 13: cs3.types.v1beta1.Timestamp + (*v1beta1.ResourcePermissions)(nil), // 14: cs3.storage.provider.v1beta1.ResourcePermissions + (*v1beta1.Reference)(nil), // 15: cs3.storage.provider.v1beta1.Reference + (v1beta1.GranteeType)(0), // 16: cs3.storage.provider.v1beta1.GranteeType +} +var file_cs3_sharing_collaboration_v1beta1_resources_proto_depIdxs = []int32{ + 6, // 0: cs3.sharing.collaboration.v1beta1.Share.id:type_name -> cs3.sharing.collaboration.v1beta1.ShareId + 10, // 1: cs3.sharing.collaboration.v1beta1.Share.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 3, // 2: cs3.sharing.collaboration.v1beta1.Share.permissions:type_name -> cs3.sharing.collaboration.v1beta1.SharePermissions + 11, // 3: cs3.sharing.collaboration.v1beta1.Share.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 12, // 4: cs3.sharing.collaboration.v1beta1.Share.owner:type_name -> cs3.identity.user.v1beta1.UserId + 12, // 5: cs3.sharing.collaboration.v1beta1.Share.creator:type_name -> cs3.identity.user.v1beta1.UserId + 13, // 6: cs3.sharing.collaboration.v1beta1.Share.ctime:type_name -> cs3.types.v1beta1.Timestamp + 13, // 7: cs3.sharing.collaboration.v1beta1.Share.mtime:type_name -> cs3.types.v1beta1.Timestamp + 13, // 8: cs3.sharing.collaboration.v1beta1.Share.expiration:type_name -> cs3.types.v1beta1.Timestamp + 14, // 9: cs3.sharing.collaboration.v1beta1.SharePermissions.permissions:type_name -> cs3.storage.provider.v1beta1.ResourcePermissions + 2, // 10: cs3.sharing.collaboration.v1beta1.ReceivedShare.share:type_name -> cs3.sharing.collaboration.v1beta1.Share + 0, // 11: cs3.sharing.collaboration.v1beta1.ReceivedShare.state:type_name -> cs3.sharing.collaboration.v1beta1.ShareState + 15, // 12: cs3.sharing.collaboration.v1beta1.ReceivedShare.mount_point:type_name -> cs3.storage.provider.v1beta1.Reference + 12, // 13: cs3.sharing.collaboration.v1beta1.ShareKey.owner:type_name -> cs3.identity.user.v1beta1.UserId + 10, // 14: cs3.sharing.collaboration.v1beta1.ShareKey.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 11, // 15: cs3.sharing.collaboration.v1beta1.ShareKey.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 6, // 16: cs3.sharing.collaboration.v1beta1.ShareReference.id:type_name -> cs3.sharing.collaboration.v1beta1.ShareId + 5, // 17: cs3.sharing.collaboration.v1beta1.ShareReference.key:type_name -> cs3.sharing.collaboration.v1beta1.ShareKey + 11, // 18: cs3.sharing.collaboration.v1beta1.ShareGrant.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 3, // 19: cs3.sharing.collaboration.v1beta1.ShareGrant.permissions:type_name -> cs3.sharing.collaboration.v1beta1.SharePermissions + 13, // 20: cs3.sharing.collaboration.v1beta1.ShareGrant.expiration:type_name -> cs3.types.v1beta1.Timestamp + 1, // 21: cs3.sharing.collaboration.v1beta1.Filter.type:type_name -> cs3.sharing.collaboration.v1beta1.Filter.Type + 10, // 22: cs3.sharing.collaboration.v1beta1.Filter.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 12, // 23: cs3.sharing.collaboration.v1beta1.Filter.owner:type_name -> cs3.identity.user.v1beta1.UserId + 12, // 24: cs3.sharing.collaboration.v1beta1.Filter.creator:type_name -> cs3.identity.user.v1beta1.UserId + 16, // 25: cs3.sharing.collaboration.v1beta1.Filter.grantee_type:type_name -> cs3.storage.provider.v1beta1.GranteeType + 0, // 26: cs3.sharing.collaboration.v1beta1.Filter.state:type_name -> cs3.sharing.collaboration.v1beta1.ShareState + 27, // [27:27] is the sub-list for method output_type + 27, // [27:27] is the sub-list for method input_type + 27, // [27:27] is the sub-list for extension type_name + 27, // [27:27] is the sub-list for extension extendee + 0, // [0:27] is the sub-list for field type_name +} + +func init() { file_cs3_sharing_collaboration_v1beta1_resources_proto_init() } +func file_cs3_sharing_collaboration_v1beta1_resources_proto_init() { + if File_cs3_sharing_collaboration_v1beta1_resources_proto != nil { + return } - return nil -} - -func (m *Filter) GetGranteeType() v1beta1.GranteeType { - if x, ok := m.GetTerm().(*Filter_GranteeType); ok { - return x.GranteeType + if !protoimpl.UnsafeEnabled { + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Share); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SharePermissions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReceivedShare); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareGrant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - return v1beta1.GranteeType_GRANTEE_TYPE_INVALID -} - -func (m *Filter) GetSpaceId() string { - if x, ok := m.GetTerm().(*Filter_SpaceId); ok { - return x.SpaceId - } - return "" -} - -func (m *Filter) GetState() ShareState { - if x, ok := m.GetTerm().(*Filter_State); ok { - return x.State + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*ShareReference_Id)(nil), + (*ShareReference_Key)(nil), } - return ShareState_SHARE_STATE_INVALID -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ + file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes[7].OneofWrappers = []interface{}{ (*Filter_ResourceId)(nil), (*Filter_Owner)(nil), (*Filter_Creator)(nil), @@ -768,84 +1246,23 @@ func (*Filter) XXX_OneofWrappers() []interface{} { (*Filter_SpaceId)(nil), (*Filter_State)(nil), } -} - -func init() { - proto.RegisterEnum("cs3.sharing.collaboration.v1beta1.ShareState", ShareState_name, ShareState_value) - proto.RegisterEnum("cs3.sharing.collaboration.v1beta1.Filter_Type", Filter_Type_name, Filter_Type_value) - proto.RegisterType((*Share)(nil), "cs3.sharing.collaboration.v1beta1.Share") - proto.RegisterType((*SharePermissions)(nil), "cs3.sharing.collaboration.v1beta1.SharePermissions") - proto.RegisterType((*ReceivedShare)(nil), "cs3.sharing.collaboration.v1beta1.ReceivedShare") - proto.RegisterType((*ShareKey)(nil), "cs3.sharing.collaboration.v1beta1.ShareKey") - proto.RegisterType((*ShareId)(nil), "cs3.sharing.collaboration.v1beta1.ShareId") - proto.RegisterType((*ShareReference)(nil), "cs3.sharing.collaboration.v1beta1.ShareReference") - proto.RegisterType((*ShareGrant)(nil), "cs3.sharing.collaboration.v1beta1.ShareGrant") - proto.RegisterType((*Filter)(nil), "cs3.sharing.collaboration.v1beta1.Filter") -} - -func init() { - proto.RegisterFile("cs3/sharing/collaboration/v1beta1/resources.proto", fileDescriptor_cb95b447da150104) -} - -var fileDescriptor_cb95b447da150104 = []byte{ - // 934 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4d, 0x6f, 0xe3, 0x44, - 0x18, 0xc7, 0xe3, 0x24, 0x4e, 0xd2, 0x27, 0xbb, 0x95, 0x77, 0x58, 0xc0, 0xda, 0x05, 0x89, 0x46, - 0x5a, 0xe8, 0x2e, 0xe0, 0x28, 0xcd, 0x01, 0x01, 0x0b, 0xab, 0xc4, 0x31, 0x8d, 0x69, 0x95, 0x46, - 0xe3, 0x74, 0x79, 0x51, 0xa5, 0xc8, 0xb5, 0x87, 0xd4, 0xa2, 0xb1, 0xcd, 0xd8, 0x2d, 0xe4, 0xcc, - 0x87, 0xe0, 0xc4, 0x85, 0x23, 0x37, 0xbe, 0x02, 0x47, 0x2e, 0x7c, 0x07, 0x3e, 0x04, 0x67, 0x34, - 0xcf, 0xd8, 0x69, 0x12, 0x69, 0xb7, 0xde, 0x96, 0x9b, 0x67, 0xe6, 0xff, 0x7b, 0xe6, 0x99, 0xe7, - 0x4d, 0x86, 0x8e, 0x97, 0x74, 0xdb, 0xc9, 0x99, 0xcb, 0x83, 0x70, 0xd6, 0xf6, 0xa2, 0xf3, 0x73, - 0xf7, 0x34, 0xe2, 0x6e, 0x1a, 0x44, 0x61, 0xfb, 0xb2, 0x73, 0xca, 0x52, 0xb7, 0xd3, 0xe6, 0x2c, - 0x89, 0x2e, 0xb8, 0xc7, 0x12, 0x23, 0xe6, 0x51, 0x1a, 0x91, 0x1d, 0x2f, 0xe9, 0x1a, 0x19, 0x62, - 0xac, 0x21, 0x46, 0x86, 0x3c, 0x78, 0x2c, 0xac, 0x06, 0x3e, 0x0b, 0xd3, 0x20, 0x5d, 0xb4, 0x2f, - 0x12, 0xc6, 0x5f, 0x64, 0xed, 0xc1, 0x07, 0xe8, 0x40, 0x1a, 0x71, 0x77, 0xc6, 0xda, 0x31, 0x8f, - 0x2e, 0x03, 0xff, 0x25, 0xea, 0xb7, 0x85, 0x3a, 0x5d, 0xc4, 0x2c, 0x59, 0x4a, 0x70, 0x25, 0x8f, - 0x5b, 0x7f, 0x56, 0x41, 0x75, 0xce, 0x5c, 0xce, 0xc8, 0x27, 0x50, 0x0e, 0x7c, 0x5d, 0x79, 0x47, - 0xd9, 0x6d, 0xee, 0x3d, 0x31, 0xae, 0xf5, 0xd8, 0x40, 0xca, 0xf6, 0x69, 0x39, 0xf0, 0x89, 0x0d, - 0xcd, 0xfc, 0xde, 0x69, 0xe0, 0xeb, 0x65, 0x34, 0xb2, 0x2b, 0x8d, 0x48, 0x47, 0x8d, 0xdc, 0xd1, - 0x25, 0x4f, 0x33, 0xc0, 0xf6, 0x29, 0xf0, 0xe5, 0x37, 0x39, 0x86, 0x66, 0xcc, 0xf8, 0x3c, 0x48, - 0x92, 0x20, 0x0a, 0x13, 0xbd, 0x82, 0xa6, 0xba, 0x45, 0xfd, 0x19, 0x5f, 0xa1, 0x74, 0xd5, 0x0e, - 0x79, 0x06, 0xf5, 0x19, 0x77, 0xc3, 0x94, 0x31, 0xbd, 0x8a, 0x26, 0x1f, 0xbd, 0xdc, 0xbb, 0x7d, - 0x29, 0xa6, 0x39, 0x45, 0x3e, 0x02, 0x35, 0xfa, 0x31, 0x64, 0x5c, 0x57, 0x11, 0xdf, 0x41, 0x3c, - 0x4f, 0x98, 0x21, 0x12, 0xb6, 0x64, 0x8f, 0x13, 0xc6, 0x6d, 0x9f, 0x4a, 0x3d, 0xf9, 0x14, 0xea, - 0x1e, 0x67, 0x6e, 0x1a, 0x71, 0xbd, 0x56, 0x14, 0xcd, 0x09, 0xb2, 0x07, 0xaa, 0x97, 0x06, 0x73, - 0xa6, 0xd7, 0x11, 0x7d, 0x0b, 0x51, 0x99, 0xbf, 0x1c, 0x99, 0x04, 0x73, 0x96, 0xa4, 0xee, 0x3c, - 0xa6, 0x52, 0x2a, 0x98, 0x39, 0x32, 0x8d, 0x22, 0x0c, 0x4a, 0xc9, 0x53, 0x00, 0xf6, 0x53, 0x1c, - 0xc8, 0x90, 0xea, 0x5b, 0x05, 0xc0, 0x15, 0x7d, 0x6b, 0x06, 0xda, 0x66, 0xf4, 0x89, 0xb3, 0x9e, - 0x47, 0x59, 0x57, 0x9d, 0x62, 0x25, 0xf1, 0xa2, 0x2c, 0xb6, 0xfe, 0x55, 0xe0, 0x2e, 0x65, 0x1e, - 0x0b, 0x2e, 0x99, 0x2f, 0xab, 0xf6, 0x73, 0x50, 0x45, 0x59, 0xb0, 0xec, 0x82, 0xdd, 0xa2, 0x85, - 0x42, 0x25, 0x46, 0x4c, 0x50, 0x93, 0xd4, 0x4d, 0x19, 0xd6, 0xec, 0xf6, 0xde, 0x87, 0x45, 0x79, - 0x47, 0x40, 0x54, 0xb2, 0x64, 0x08, 0xcd, 0x79, 0x74, 0x11, 0xa6, 0xd3, 0x38, 0x0a, 0xc2, 0x34, - 0xab, 0xd9, 0xf7, 0xae, 0x7b, 0xeb, 0x77, 0x8c, 0xb3, 0xd0, 0x63, 0x14, 0x90, 0x1d, 0x0b, 0x94, - 0xbc, 0x01, 0xb5, 0xb3, 0xc0, 0xf7, 0x59, 0x88, 0x55, 0xda, 0xa0, 0xd9, 0xaa, 0xf5, 0xb7, 0x02, - 0x0d, 0xbc, 0xf7, 0x80, 0x2d, 0xae, 0x4a, 0xb1, 0xfc, 0x8a, 0xa5, 0xb8, 0xd1, 0xa6, 0x95, 0x5b, - 0xb4, 0xe9, 0x6d, 0xfb, 0xa9, 0xf5, 0x2e, 0xd4, 0xb3, 0x09, 0x42, 0x1e, 0xc2, 0x56, 0x14, 0xbb, - 0x3f, 0x5c, 0x2c, 0x67, 0xc7, 0x16, 0x6d, 0xc8, 0x0d, 0xdb, 0x6f, 0xfd, 0xa2, 0xc0, 0xb6, 0xcc, - 0x58, 0x1e, 0x30, 0xf2, 0xf4, 0x66, 0x93, 0x6a, 0x58, 0xc2, 0x59, 0xf5, 0x0c, 0x2a, 0xdf, 0xb3, - 0x45, 0x16, 0xbb, 0xf7, 0x8b, 0xe2, 0x07, 0x6c, 0x31, 0x2c, 0x51, 0x41, 0xf6, 0x6b, 0x50, 0x4d, - 0x62, 0xe6, 0xb5, 0xfe, 0x51, 0x00, 0xf0, 0x0c, 0xdf, 0xb6, 0x1a, 0x11, 0xe5, 0x46, 0x13, 0x66, - 0x63, 0xf2, 0x95, 0xff, 0xa7, 0xc9, 0xb7, 0xde, 0xda, 0x95, 0x57, 0x6c, 0xed, 0x9f, 0x55, 0xa8, - 0x7d, 0x11, 0x9c, 0xa7, 0x8c, 0x93, 0x3e, 0x54, 0x05, 0x91, 0x75, 0x8a, 0x51, 0xc0, 0x31, 0x09, - 0x1a, 0x93, 0x45, 0xcc, 0x28, 0xb2, 0xe4, 0xe0, 0x56, 0x15, 0x38, 0x2c, 0xad, 0xd5, 0xe0, 0xc7, - 0x79, 0x1f, 0x54, 0x0b, 0xf6, 0xc1, 0xb0, 0x94, 0x77, 0xc2, 0x67, 0x57, 0x43, 0x59, 0x2d, 0x0e, - 0x2f, 0xc7, 0xf2, 0x08, 0xee, 0x64, 0x59, 0x9b, 0x62, 0x48, 0x6a, 0x18, 0x92, 0xc7, 0x85, 0x12, - 0x2e, 0xa2, 0x31, 0x2c, 0xd1, 0xe6, 0xec, 0x6a, 0x49, 0x1e, 0x42, 0x23, 0x89, 0x5d, 0x19, 0x13, - 0x31, 0xe9, 0xb7, 0xc4, 0x65, 0xb8, 0x63, 0xfb, 0xc4, 0xca, 0x47, 0x54, 0xe3, 0x06, 0x23, 0x4a, - 0x3c, 0x19, 0xe9, 0xd6, 0x1f, 0x0a, 0x54, 0xf1, 0x32, 0x0d, 0xee, 0x4c, 0xbe, 0x19, 0x5b, 0x53, - 0x7b, 0xf4, 0xbc, 0x77, 0x68, 0x0f, 0xb4, 0x12, 0x69, 0x42, 0x1d, 0x77, 0x46, 0x47, 0x9a, 0x42, - 0xee, 0x83, 0x86, 0x0b, 0x6a, 0x39, 0x47, 0xc7, 0xd4, 0xb4, 0xa6, 0xf6, 0x40, 0x2b, 0x93, 0x6d, - 0x00, 0xdc, 0x3d, 0xfa, 0x6a, 0x64, 0x51, 0xad, 0xb2, 0x34, 0x62, 0x52, 0xab, 0x37, 0x39, 0xa2, - 0x5a, 0x95, 0xbc, 0x0e, 0xf7, 0x70, 0x67, 0x9f, 0xf6, 0x46, 0x13, 0xcb, 0x9a, 0x8a, 0x85, 0xa6, - 0x12, 0x1d, 0xee, 0xe3, 0xb6, 0xf5, 0xb5, 0x79, 0x78, 0x3c, 0xb0, 0xa6, 0x03, 0x6b, 0x64, 0xf7, - 0x0e, 0x1d, 0xad, 0x46, 0xee, 0xc1, 0x5d, 0x3c, 0x71, 0xc6, 0x3d, 0x79, 0x4b, 0x7d, 0x79, 0x8b, - 0x33, 0xe9, 0x4d, 0x2c, 0xad, 0x21, 0x5a, 0x2d, 0x65, 0x7c, 0xfe, 0x84, 0x67, 0x9d, 0x86, 0x4f, - 0x22, 0x6f, 0xc2, 0x6b, 0xce, 0xb0, 0x47, 0x33, 0xd9, 0xca, 0x3b, 0x36, 0x0e, 0xc6, 0xd6, 0x68, - 0x60, 0x8f, 0xf6, 0x35, 0x45, 0x38, 0xb1, 0x7a, 0xd0, 0x33, 0x4d, 0x6b, 0x3c, 0xb1, 0xc4, 0xbb, - 0x36, 0x4e, 0xa8, 0xf5, 0xa5, 0x65, 0x8a, 0x93, 0x4a, 0xff, 0x57, 0x05, 0x1e, 0x79, 0xd1, 0xfc, - 0xfa, 0x68, 0xf7, 0xb7, 0xf3, 0x0a, 0x4d, 0xc6, 0xe2, 0x9f, 0x6a, 0xac, 0x7c, 0x7b, 0x7f, 0x4d, - 0x98, 0xe9, 0x7e, 0x2b, 0x57, 0x4c, 0xc7, 0xfc, 0xbd, 0xbc, 0x63, 0x26, 0x5d, 0xcc, 0x90, 0xb0, - 0x68, 0xae, 0x59, 0x7c, 0xde, 0xe9, 0x0b, 0xe5, 0x5f, 0xa8, 0x39, 0xc9, 0x34, 0x27, 0x6b, 0x9a, - 0x93, 0x4c, 0x73, 0x5a, 0xc3, 0x1f, 0xb8, 0xee, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x41, 0x35, - 0x12, 0xf0, 0x90, 0x0a, 0x00, 0x00, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDesc, + NumEnums: 2, + NumMessages: 8, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_sharing_collaboration_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_sharing_collaboration_v1beta1_resources_proto_depIdxs, + EnumInfos: file_cs3_sharing_collaboration_v1beta1_resources_proto_enumTypes, + MessageInfos: file_cs3_sharing_collaboration_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_sharing_collaboration_v1beta1_resources_proto = out.File + file_cs3_sharing_collaboration_v1beta1_resources_proto_rawDesc = nil + file_cs3_sharing_collaboration_v1beta1_resources_proto_goTypes = nil + file_cs3_sharing_collaboration_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/link_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/link_api.pb.go index f53cdab4637..1dbf517fd55 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/link_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/link_api.pb.go @@ -1,32 +1,46 @@ +// Copyright 2018-2023 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/sharing/link/v1beta1/link_api.proto package linkv1beta1 import ( - context "context" - fmt "fmt" v1beta13 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // REQUIRED. type UpdatePublicShareRequest_Update_Type int32 @@ -42,34 +56,55 @@ const ( UpdatePublicShareRequest_Update_TYPE_NOTIFYUPLOADSEXTRARECIPIENTS UpdatePublicShareRequest_Update_Type = 7 ) -var UpdatePublicShareRequest_Update_Type_name = map[int32]string{ - 0: "TYPE_INVALID", - 1: "TYPE_PERMISSIONS", - 2: "TYPE_PASSWORD", - 3: "TYPE_EXPIRATION", - 4: "TYPE_DISPLAYNAME", - 5: "TYPE_DESCRIPTION", - 6: "TYPE_NOTIFYUPLOADS", - 7: "TYPE_NOTIFYUPLOADSEXTRARECIPIENTS", -} +// Enum value maps for UpdatePublicShareRequest_Update_Type. +var ( + UpdatePublicShareRequest_Update_Type_name = map[int32]string{ + 0: "TYPE_INVALID", + 1: "TYPE_PERMISSIONS", + 2: "TYPE_PASSWORD", + 3: "TYPE_EXPIRATION", + 4: "TYPE_DISPLAYNAME", + 5: "TYPE_DESCRIPTION", + 6: "TYPE_NOTIFYUPLOADS", + 7: "TYPE_NOTIFYUPLOADSEXTRARECIPIENTS", + } + UpdatePublicShareRequest_Update_Type_value = map[string]int32{ + "TYPE_INVALID": 0, + "TYPE_PERMISSIONS": 1, + "TYPE_PASSWORD": 2, + "TYPE_EXPIRATION": 3, + "TYPE_DISPLAYNAME": 4, + "TYPE_DESCRIPTION": 5, + "TYPE_NOTIFYUPLOADS": 6, + "TYPE_NOTIFYUPLOADSEXTRARECIPIENTS": 7, + } +) -var UpdatePublicShareRequest_Update_Type_value = map[string]int32{ - "TYPE_INVALID": 0, - "TYPE_PERMISSIONS": 1, - "TYPE_PASSWORD": 2, - "TYPE_EXPIRATION": 3, - "TYPE_DISPLAYNAME": 4, - "TYPE_DESCRIPTION": 5, - "TYPE_NOTIFYUPLOADS": 6, - "TYPE_NOTIFYUPLOADSEXTRARECIPIENTS": 7, +func (x UpdatePublicShareRequest_Update_Type) Enum() *UpdatePublicShareRequest_Update_Type { + p := new(UpdatePublicShareRequest_Update_Type) + *p = x + return p } func (x UpdatePublicShareRequest_Update_Type) String() string { - return proto.EnumName(UpdatePublicShareRequest_Update_Type_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UpdatePublicShareRequest_Update_Type) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_sharing_link_v1beta1_link_api_proto_enumTypes[0].Descriptor() +} + +func (UpdatePublicShareRequest_Update_Type) Type() protoreflect.EnumType { + return &file_cs3_sharing_link_v1beta1_link_api_proto_enumTypes[0] +} + +func (x UpdatePublicShareRequest_Update_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use UpdatePublicShareRequest_Update_Type.Descriptor instead. func (UpdatePublicShareRequest_Update_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{2, 0, 0} + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{2, 0, 0} } // REQUIRED. @@ -82,29 +117,54 @@ const ( ListPublicSharesRequest_Filter_TYPE_CREATOR ListPublicSharesRequest_Filter_Type = 3 ) -var ListPublicSharesRequest_Filter_Type_name = map[int32]string{ - 0: "TYPE_INVALID", - 1: "TYPE_RESOURCE_ID", - 2: "TYPE_OWNER", - 3: "TYPE_CREATOR", -} +// Enum value maps for ListPublicSharesRequest_Filter_Type. +var ( + ListPublicSharesRequest_Filter_Type_name = map[int32]string{ + 0: "TYPE_INVALID", + 1: "TYPE_RESOURCE_ID", + 2: "TYPE_OWNER", + 3: "TYPE_CREATOR", + } + ListPublicSharesRequest_Filter_Type_value = map[string]int32{ + "TYPE_INVALID": 0, + "TYPE_RESOURCE_ID": 1, + "TYPE_OWNER": 2, + "TYPE_CREATOR": 3, + } +) -var ListPublicSharesRequest_Filter_Type_value = map[string]int32{ - "TYPE_INVALID": 0, - "TYPE_RESOURCE_ID": 1, - "TYPE_OWNER": 2, - "TYPE_CREATOR": 3, +func (x ListPublicSharesRequest_Filter_Type) Enum() *ListPublicSharesRequest_Filter_Type { + p := new(ListPublicSharesRequest_Filter_Type) + *p = x + return p } func (x ListPublicSharesRequest_Filter_Type) String() string { - return proto.EnumName(ListPublicSharesRequest_Filter_Type_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ListPublicSharesRequest_Filter_Type) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_sharing_link_v1beta1_link_api_proto_enumTypes[1].Descriptor() +} + +func (ListPublicSharesRequest_Filter_Type) Type() protoreflect.EnumType { + return &file_cs3_sharing_link_v1beta1_link_api_proto_enumTypes[1] +} + +func (x ListPublicSharesRequest_Filter_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ListPublicSharesRequest_Filter_Type.Descriptor instead. func (ListPublicSharesRequest_Filter_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{4, 0, 0} + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{4, 0, 0} } type CreatePublicShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -127,87 +187,95 @@ type CreatePublicShareRequest struct { // OPTIONAL // Comma-separated list of extra email addresses to notify when a file is // uploaded to the share. - NotifyUploadsExtraRecipients string `protobuf:"bytes,7,opt,name=notify_uploads_extra_recipients,json=notifyUploadsExtraRecipients,proto3" json:"notify_uploads_extra_recipients,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NotifyUploadsExtraRecipients string `protobuf:"bytes,7,opt,name=notify_uploads_extra_recipients,json=notifyUploadsExtraRecipients,proto3" json:"notify_uploads_extra_recipients,omitempty"` } -func (m *CreatePublicShareRequest) Reset() { *m = CreatePublicShareRequest{} } -func (m *CreatePublicShareRequest) String() string { return proto.CompactTextString(m) } -func (*CreatePublicShareRequest) ProtoMessage() {} -func (*CreatePublicShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{0} +func (x *CreatePublicShareRequest) Reset() { + *x = CreatePublicShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreatePublicShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreatePublicShareRequest.Unmarshal(m, b) -} -func (m *CreatePublicShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreatePublicShareRequest.Marshal(b, m, deterministic) -} -func (m *CreatePublicShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreatePublicShareRequest.Merge(m, src) +func (x *CreatePublicShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreatePublicShareRequest) XXX_Size() int { - return xxx_messageInfo_CreatePublicShareRequest.Size(m) -} -func (m *CreatePublicShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreatePublicShareRequest.DiscardUnknown(m) + +func (*CreatePublicShareRequest) ProtoMessage() {} + +func (x *CreatePublicShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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) } -var xxx_messageInfo_CreatePublicShareRequest proto.InternalMessageInfo +// Deprecated: Use CreatePublicShareRequest.ProtoReflect.Descriptor instead. +func (*CreatePublicShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{0} +} -func (m *CreatePublicShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreatePublicShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreatePublicShareRequest) GetResourceInfo() *v1beta11.ResourceInfo { - if m != nil { - return m.ResourceInfo +func (x *CreatePublicShareRequest) GetResourceInfo() *v1beta11.ResourceInfo { + if x != nil { + return x.ResourceInfo } return nil } -func (m *CreatePublicShareRequest) GetGrant() *Grant { - if m != nil { - return m.Grant +func (x *CreatePublicShareRequest) GetGrant() *Grant { + if x != nil { + return x.Grant } return nil } -func (m *CreatePublicShareRequest) GetDescription() string { - if m != nil { - return m.Description +func (x *CreatePublicShareRequest) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *CreatePublicShareRequest) GetInternal() bool { - if m != nil { - return m.Internal +func (x *CreatePublicShareRequest) GetInternal() bool { + if x != nil { + return x.Internal } return false } -func (m *CreatePublicShareRequest) GetNotifyUploads() bool { - if m != nil { - return m.NotifyUploads +func (x *CreatePublicShareRequest) GetNotifyUploads() bool { + if x != nil { + return x.NotifyUploads } return false } -func (m *CreatePublicShareRequest) GetNotifyUploadsExtraRecipients() string { - if m != nil { - return m.NotifyUploadsExtraRecipients +func (x *CreatePublicShareRequest) GetNotifyUploadsExtraRecipients() string { + if x != nil { + return x.NotifyUploadsExtraRecipients } return "" } type CreatePublicShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -216,211 +284,134 @@ type CreatePublicShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The created share. - Share *PublicShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *PublicShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *CreatePublicShareResponse) Reset() { *m = CreatePublicShareResponse{} } -func (m *CreatePublicShareResponse) String() string { return proto.CompactTextString(m) } -func (*CreatePublicShareResponse) ProtoMessage() {} -func (*CreatePublicShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{1} +func (x *CreatePublicShareResponse) Reset() { + *x = CreatePublicShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreatePublicShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreatePublicShareResponse.Unmarshal(m, b) +func (x *CreatePublicShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreatePublicShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreatePublicShareResponse.Marshal(b, m, deterministic) -} -func (m *CreatePublicShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreatePublicShareResponse.Merge(m, src) -} -func (m *CreatePublicShareResponse) XXX_Size() int { - return xxx_messageInfo_CreatePublicShareResponse.Size(m) -} -func (m *CreatePublicShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreatePublicShareResponse.DiscardUnknown(m) + +func (*CreatePublicShareResponse) ProtoMessage() {} + +func (x *CreatePublicShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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) } -var xxx_messageInfo_CreatePublicShareResponse proto.InternalMessageInfo +// Deprecated: Use CreatePublicShareResponse.ProtoReflect.Descriptor instead. +func (*CreatePublicShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{1} +} -func (m *CreatePublicShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *CreatePublicShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *CreatePublicShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreatePublicShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreatePublicShareResponse) GetShare() *PublicShare { - if m != nil { - return m.Share +func (x *CreatePublicShareResponse) GetShare() *PublicShare { + if x != nil { + return x.Share } return nil } type UpdatePublicShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // REQUIRED. // The reference to the public share. - Ref *PublicShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - Update *UpdatePublicShareRequest_Update `protobuf:"bytes,3,opt,name=update,proto3" json:"update,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *PublicShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // Available fields to update. + Update *UpdatePublicShareRequest_Update `protobuf:"bytes,3,opt,name=update,proto3" json:"update,omitempty"` } -func (m *UpdatePublicShareRequest) Reset() { *m = UpdatePublicShareRequest{} } -func (m *UpdatePublicShareRequest) String() string { return proto.CompactTextString(m) } -func (*UpdatePublicShareRequest) ProtoMessage() {} -func (*UpdatePublicShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{2} +func (x *UpdatePublicShareRequest) Reset() { + *x = UpdatePublicShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdatePublicShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdatePublicShareRequest.Unmarshal(m, b) -} -func (m *UpdatePublicShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdatePublicShareRequest.Marshal(b, m, deterministic) -} -func (m *UpdatePublicShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdatePublicShareRequest.Merge(m, src) -} -func (m *UpdatePublicShareRequest) XXX_Size() int { - return xxx_messageInfo_UpdatePublicShareRequest.Size(m) -} -func (m *UpdatePublicShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdatePublicShareRequest.DiscardUnknown(m) +func (x *UpdatePublicShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UpdatePublicShareRequest proto.InternalMessageInfo +func (*UpdatePublicShareRequest) ProtoMessage() {} -func (m *UpdatePublicShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdatePublicShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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 nil + return mi.MessageOf(x) } -func (m *UpdatePublicShareRequest) GetRef() *PublicShareReference { - if m != nil { - return m.Ref - } - return nil +// Deprecated: Use UpdatePublicShareRequest.ProtoReflect.Descriptor instead. +func (*UpdatePublicShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{2} } -func (m *UpdatePublicShareRequest) GetUpdate() *UpdatePublicShareRequest_Update { - if m != nil { - return m.Update +func (x *UpdatePublicShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -// REQUIRED. -type UpdatePublicShareRequest_Update struct { - // REQUIRED. - // Defines the field to update. - Type UpdatePublicShareRequest_Update_Type `protobuf:"varint,3,opt,name=type,proto3,enum=cs3.sharing.link.v1beta1.UpdatePublicShareRequest_Update_Type" json:"type,omitempty"` - // REQUIRED. - // Contains the field that will be updated. - Grant *Grant `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant,omitempty"` - // OPTIONAL - // Defines the public link display name. - DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // OPTIONAL - // Defines the public link description. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // OPTIONAL - // Whether to notify the owner of a share when a file is uploaded to it. - NotifyUploads bool `protobuf:"varint,7,opt,name=notify_uploads,json=notifyUploads,proto3" json:"notify_uploads,omitempty"` - // OPTIONAL - // Comma-separated list of extra email addresses to notify when a file is - // uploaded to the share. - NotifyUploadsExtraRecipients string `protobuf:"bytes,8,opt,name=notify_uploads_extra_recipients,json=notifyUploadsExtraRecipients,proto3" json:"notify_uploads_extra_recipients,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdatePublicShareRequest_Update) Reset() { *m = UpdatePublicShareRequest_Update{} } -func (m *UpdatePublicShareRequest_Update) String() string { return proto.CompactTextString(m) } -func (*UpdatePublicShareRequest_Update) ProtoMessage() {} -func (*UpdatePublicShareRequest_Update) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{2, 0} -} - -func (m *UpdatePublicShareRequest_Update) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdatePublicShareRequest_Update.Unmarshal(m, b) -} -func (m *UpdatePublicShareRequest_Update) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdatePublicShareRequest_Update.Marshal(b, m, deterministic) -} -func (m *UpdatePublicShareRequest_Update) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdatePublicShareRequest_Update.Merge(m, src) -} -func (m *UpdatePublicShareRequest_Update) XXX_Size() int { - return xxx_messageInfo_UpdatePublicShareRequest_Update.Size(m) -} -func (m *UpdatePublicShareRequest_Update) XXX_DiscardUnknown() { - xxx_messageInfo_UpdatePublicShareRequest_Update.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdatePublicShareRequest_Update proto.InternalMessageInfo - -func (m *UpdatePublicShareRequest_Update) GetType() UpdatePublicShareRequest_Update_Type { - if m != nil { - return m.Type - } - return UpdatePublicShareRequest_Update_TYPE_INVALID -} - -func (m *UpdatePublicShareRequest_Update) GetGrant() *Grant { - if m != nil { - return m.Grant +func (x *UpdatePublicShareRequest) GetRef() *PublicShareReference { + if x != nil { + return x.Ref } return nil } -func (m *UpdatePublicShareRequest_Update) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *UpdatePublicShareRequest_Update) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *UpdatePublicShareRequest_Update) GetNotifyUploads() bool { - if m != nil { - return m.NotifyUploads - } - return false -} - -func (m *UpdatePublicShareRequest_Update) GetNotifyUploadsExtraRecipients() string { - if m != nil { - return m.NotifyUploadsExtraRecipients +func (x *UpdatePublicShareRequest) GetUpdate() *UpdatePublicShareRequest_Update { + if x != nil { + return x.Update } - return "" + return nil } type UpdatePublicShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -429,59 +420,67 @@ type UpdatePublicShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The updated public share. - Share *PublicShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *PublicShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *UpdatePublicShareResponse) Reset() { *m = UpdatePublicShareResponse{} } -func (m *UpdatePublicShareResponse) String() string { return proto.CompactTextString(m) } -func (*UpdatePublicShareResponse) ProtoMessage() {} -func (*UpdatePublicShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{3} +func (x *UpdatePublicShareResponse) Reset() { + *x = UpdatePublicShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdatePublicShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdatePublicShareResponse.Unmarshal(m, b) -} -func (m *UpdatePublicShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdatePublicShareResponse.Marshal(b, m, deterministic) -} -func (m *UpdatePublicShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdatePublicShareResponse.Merge(m, src) +func (x *UpdatePublicShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdatePublicShareResponse) XXX_Size() int { - return xxx_messageInfo_UpdatePublicShareResponse.Size(m) -} -func (m *UpdatePublicShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdatePublicShareResponse.DiscardUnknown(m) + +func (*UpdatePublicShareResponse) ProtoMessage() {} + +func (x *UpdatePublicShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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) } -var xxx_messageInfo_UpdatePublicShareResponse proto.InternalMessageInfo +// Deprecated: Use UpdatePublicShareResponse.ProtoReflect.Descriptor instead. +func (*UpdatePublicShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{3} +} -func (m *UpdatePublicShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *UpdatePublicShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *UpdatePublicShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdatePublicShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UpdatePublicShareResponse) GetShare() *PublicShare { - if m != nil { - return m.Share +func (x *UpdatePublicShareResponse) GetShare() *PublicShare { + if x != nil { + return x.Share } return nil } type ListPublicSharesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -499,178 +498,81 @@ type ListPublicSharesRequest struct { PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListPublicSharesRequest) Reset() { *m = ListPublicSharesRequest{} } -func (m *ListPublicSharesRequest) String() string { return proto.CompactTextString(m) } -func (*ListPublicSharesRequest) ProtoMessage() {} -func (*ListPublicSharesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{4} -} - -func (m *ListPublicSharesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPublicSharesRequest.Unmarshal(m, b) -} -func (m *ListPublicSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPublicSharesRequest.Marshal(b, m, deterministic) -} -func (m *ListPublicSharesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPublicSharesRequest.Merge(m, src) -} -func (m *ListPublicSharesRequest) XXX_Size() int { - return xxx_messageInfo_ListPublicSharesRequest.Size(m) -} -func (m *ListPublicSharesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListPublicSharesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPublicSharesRequest proto.InternalMessageInfo - -func (m *ListPublicSharesRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *ListPublicSharesRequest) GetFilters() []*ListPublicSharesRequest_Filter { - if m != nil { - return m.Filters - } - return nil -} - -func (m *ListPublicSharesRequest) GetSign() bool { - if m != nil { - return m.Sign - } - return false -} - -func (m *ListPublicSharesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 + PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListPublicSharesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListPublicSharesRequest) Reset() { + *x = ListPublicSharesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" -} - -// REQUIRED. -// represents a filter to apply to the request. -type ListPublicSharesRequest_Filter struct { - Type ListPublicSharesRequest_Filter_Type `protobuf:"varint,2,opt,name=type,proto3,enum=cs3.sharing.link.v1beta1.ListPublicSharesRequest_Filter_Type" json:"type,omitempty"` - // Types that are valid to be assigned to Term: - // *ListPublicSharesRequest_Filter_ResourceId - // *ListPublicSharesRequest_Filter_Owner - // *ListPublicSharesRequest_Filter_Creator - Term isListPublicSharesRequest_Filter_Term `protobuf_oneof:"term"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListPublicSharesRequest_Filter) Reset() { *m = ListPublicSharesRequest_Filter{} } -func (m *ListPublicSharesRequest_Filter) String() string { return proto.CompactTextString(m) } -func (*ListPublicSharesRequest_Filter) ProtoMessage() {} -func (*ListPublicSharesRequest_Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{4, 0} } -func (m *ListPublicSharesRequest_Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPublicSharesRequest_Filter.Unmarshal(m, b) -} -func (m *ListPublicSharesRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPublicSharesRequest_Filter.Marshal(b, m, deterministic) -} -func (m *ListPublicSharesRequest_Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPublicSharesRequest_Filter.Merge(m, src) -} -func (m *ListPublicSharesRequest_Filter) XXX_Size() int { - return xxx_messageInfo_ListPublicSharesRequest_Filter.Size(m) -} -func (m *ListPublicSharesRequest_Filter) XXX_DiscardUnknown() { - xxx_messageInfo_ListPublicSharesRequest_Filter.DiscardUnknown(m) +func (x *ListPublicSharesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListPublicSharesRequest_Filter proto.InternalMessageInfo +func (*ListPublicSharesRequest) ProtoMessage() {} -func (m *ListPublicSharesRequest_Filter) GetType() ListPublicSharesRequest_Filter_Type { - if m != nil { - return m.Type +func (x *ListPublicSharesRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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 ListPublicSharesRequest_Filter_TYPE_INVALID -} - -type isListPublicSharesRequest_Filter_Term interface { - isListPublicSharesRequest_Filter_Term() -} - -type ListPublicSharesRequest_Filter_ResourceId struct { - ResourceId *v1beta11.ResourceId `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3,oneof"` + return mi.MessageOf(x) } -type ListPublicSharesRequest_Filter_Owner struct { - Owner *v1beta13.UserId `protobuf:"bytes,4,opt,name=owner,proto3,oneof"` -} - -type ListPublicSharesRequest_Filter_Creator struct { - Creator *v1beta13.UserId `protobuf:"bytes,5,opt,name=creator,proto3,oneof"` +// Deprecated: Use ListPublicSharesRequest.ProtoReflect.Descriptor instead. +func (*ListPublicSharesRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{4} } -func (*ListPublicSharesRequest_Filter_ResourceId) isListPublicSharesRequest_Filter_Term() {} - -func (*ListPublicSharesRequest_Filter_Owner) isListPublicSharesRequest_Filter_Term() {} - -func (*ListPublicSharesRequest_Filter_Creator) isListPublicSharesRequest_Filter_Term() {} - -func (m *ListPublicSharesRequest_Filter) GetTerm() isListPublicSharesRequest_Filter_Term { - if m != nil { - return m.Term +func (x *ListPublicSharesRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListPublicSharesRequest_Filter) GetResourceId() *v1beta11.ResourceId { - if x, ok := m.GetTerm().(*ListPublicSharesRequest_Filter_ResourceId); ok { - return x.ResourceId +func (x *ListPublicSharesRequest) GetFilters() []*ListPublicSharesRequest_Filter { + if x != nil { + return x.Filters } return nil } -func (m *ListPublicSharesRequest_Filter) GetOwner() *v1beta13.UserId { - if x, ok := m.GetTerm().(*ListPublicSharesRequest_Filter_Owner); ok { - return x.Owner +func (x *ListPublicSharesRequest) GetSign() bool { + if x != nil { + return x.Sign } - return nil + return false } -func (m *ListPublicSharesRequest_Filter) GetCreator() *v1beta13.UserId { - if x, ok := m.GetTerm().(*ListPublicSharesRequest_Filter_Creator); ok { - return x.Creator +func (x *ListPublicSharesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } - return nil + return 0 } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListPublicSharesRequest_Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListPublicSharesRequest_Filter_ResourceId)(nil), - (*ListPublicSharesRequest_Filter_Owner)(nil), - (*ListPublicSharesRequest_Filter_Creator)(nil), +func (x *ListPublicSharesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } + return "" } type ListPublicSharesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -684,168 +586,192 @@ type ListPublicSharesResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListPublicSharesResponse) Reset() { *m = ListPublicSharesResponse{} } -func (m *ListPublicSharesResponse) String() string { return proto.CompactTextString(m) } -func (*ListPublicSharesResponse) ProtoMessage() {} -func (*ListPublicSharesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{5} +func (x *ListPublicSharesResponse) Reset() { + *x = ListPublicSharesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListPublicSharesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPublicSharesResponse.Unmarshal(m, b) -} -func (m *ListPublicSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPublicSharesResponse.Marshal(b, m, deterministic) -} -func (m *ListPublicSharesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPublicSharesResponse.Merge(m, src) -} -func (m *ListPublicSharesResponse) XXX_Size() int { - return xxx_messageInfo_ListPublicSharesResponse.Size(m) +func (x *ListPublicSharesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListPublicSharesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListPublicSharesResponse.DiscardUnknown(m) + +func (*ListPublicSharesResponse) ProtoMessage() {} + +func (x *ListPublicSharesResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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) } -var xxx_messageInfo_ListPublicSharesResponse proto.InternalMessageInfo +// Deprecated: Use ListPublicSharesResponse.ProtoReflect.Descriptor instead. +func (*ListPublicSharesResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{5} +} -func (m *ListPublicSharesResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *ListPublicSharesResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *ListPublicSharesResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListPublicSharesResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListPublicSharesResponse) GetShare() []*PublicShare { - if m != nil { - return m.Share +func (x *ListPublicSharesResponse) GetShare() []*PublicShare { + if x != nil { + return x.Share } return nil } -func (m *ListPublicSharesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListPublicSharesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type RemovePublicShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference to which the action should be performed. - Ref *PublicShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *PublicShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *RemovePublicShareRequest) Reset() { *m = RemovePublicShareRequest{} } -func (m *RemovePublicShareRequest) String() string { return proto.CompactTextString(m) } -func (*RemovePublicShareRequest) ProtoMessage() {} -func (*RemovePublicShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{6} +func (x *RemovePublicShareRequest) Reset() { + *x = RemovePublicShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemovePublicShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemovePublicShareRequest.Unmarshal(m, b) -} -func (m *RemovePublicShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemovePublicShareRequest.Marshal(b, m, deterministic) +func (x *RemovePublicShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemovePublicShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemovePublicShareRequest.Merge(m, src) -} -func (m *RemovePublicShareRequest) XXX_Size() int { - return xxx_messageInfo_RemovePublicShareRequest.Size(m) -} -func (m *RemovePublicShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemovePublicShareRequest.DiscardUnknown(m) + +func (*RemovePublicShareRequest) ProtoMessage() {} + +func (x *RemovePublicShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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) } -var xxx_messageInfo_RemovePublicShareRequest proto.InternalMessageInfo +// Deprecated: Use RemovePublicShareRequest.ProtoReflect.Descriptor instead. +func (*RemovePublicShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{6} +} -func (m *RemovePublicShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RemovePublicShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *RemovePublicShareRequest) GetRef() *PublicShareReference { - if m != nil { - return m.Ref +func (x *RemovePublicShareRequest) GetRef() *PublicShareReference { + if x != nil { + return x.Ref } return nil } type RemovePublicShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *RemovePublicShareResponse) Reset() { *m = RemovePublicShareResponse{} } -func (m *RemovePublicShareResponse) String() string { return proto.CompactTextString(m) } -func (*RemovePublicShareResponse) ProtoMessage() {} -func (*RemovePublicShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{7} +func (x *RemovePublicShareResponse) Reset() { + *x = RemovePublicShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemovePublicShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemovePublicShareResponse.Unmarshal(m, b) -} -func (m *RemovePublicShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemovePublicShareResponse.Marshal(b, m, deterministic) +func (x *RemovePublicShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemovePublicShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemovePublicShareResponse.Merge(m, src) -} -func (m *RemovePublicShareResponse) XXX_Size() int { - return xxx_messageInfo_RemovePublicShareResponse.Size(m) -} -func (m *RemovePublicShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemovePublicShareResponse.DiscardUnknown(m) + +func (*RemovePublicShareResponse) ProtoMessage() {} + +func (x *RemovePublicShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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) } -var xxx_messageInfo_RemovePublicShareResponse proto.InternalMessageInfo +// Deprecated: Use RemovePublicShareResponse.ProtoReflect.Descriptor instead. +func (*RemovePublicShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{7} +} -func (m *RemovePublicShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *RemovePublicShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *RemovePublicShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RemovePublicShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetPublicShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -854,59 +780,67 @@ type GetPublicShareRequest struct { Ref *PublicShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // OPTIONAL. // If a signature should be included in the share. - Sign bool `protobuf:"varint,3,opt,name=sign,proto3" json:"sign,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Sign bool `protobuf:"varint,3,opt,name=sign,proto3" json:"sign,omitempty"` } -func (m *GetPublicShareRequest) Reset() { *m = GetPublicShareRequest{} } -func (m *GetPublicShareRequest) String() string { return proto.CompactTextString(m) } -func (*GetPublicShareRequest) ProtoMessage() {} -func (*GetPublicShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{8} +func (x *GetPublicShareRequest) Reset() { + *x = GetPublicShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetPublicShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPublicShareRequest.Unmarshal(m, b) -} -func (m *GetPublicShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPublicShareRequest.Marshal(b, m, deterministic) +func (x *GetPublicShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetPublicShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPublicShareRequest.Merge(m, src) -} -func (m *GetPublicShareRequest) XXX_Size() int { - return xxx_messageInfo_GetPublicShareRequest.Size(m) -} -func (m *GetPublicShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetPublicShareRequest.DiscardUnknown(m) + +func (*GetPublicShareRequest) ProtoMessage() {} + +func (x *GetPublicShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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) } -var xxx_messageInfo_GetPublicShareRequest proto.InternalMessageInfo +// Deprecated: Use GetPublicShareRequest.ProtoReflect.Descriptor instead. +func (*GetPublicShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{8} +} -func (m *GetPublicShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetPublicShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetPublicShareRequest) GetRef() *PublicShareReference { - if m != nil { - return m.Ref +func (x *GetPublicShareRequest) GetRef() *PublicShareReference { + if x != nil { + return x.Ref } return nil } -func (m *GetPublicShareRequest) GetSign() bool { - if m != nil { - return m.Sign +func (x *GetPublicShareRequest) GetSign() bool { + if x != nil { + return x.Sign } return false } type GetPublicShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -915,59 +849,67 @@ type GetPublicShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The share. - Share *PublicShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *PublicShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *GetPublicShareResponse) Reset() { *m = GetPublicShareResponse{} } -func (m *GetPublicShareResponse) String() string { return proto.CompactTextString(m) } -func (*GetPublicShareResponse) ProtoMessage() {} -func (*GetPublicShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{9} +func (x *GetPublicShareResponse) Reset() { + *x = GetPublicShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetPublicShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPublicShareResponse.Unmarshal(m, b) +func (x *GetPublicShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetPublicShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPublicShareResponse.Marshal(b, m, deterministic) -} -func (m *GetPublicShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPublicShareResponse.Merge(m, src) -} -func (m *GetPublicShareResponse) XXX_Size() int { - return xxx_messageInfo_GetPublicShareResponse.Size(m) -} -func (m *GetPublicShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetPublicShareResponse.DiscardUnknown(m) + +func (*GetPublicShareResponse) ProtoMessage() {} + +func (x *GetPublicShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_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) } -var xxx_messageInfo_GetPublicShareResponse proto.InternalMessageInfo +// Deprecated: Use GetPublicShareResponse.ProtoReflect.Descriptor instead. +func (*GetPublicShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{9} +} -func (m *GetPublicShareResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *GetPublicShareResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *GetPublicShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetPublicShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetPublicShareResponse) GetShare() *PublicShare { - if m != nil { - return m.Share +func (x *GetPublicShareResponse) GetShare() *PublicShare { + if x != nil { + return x.Share } return nil } type GetPublicShareByTokenRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -979,66 +921,74 @@ type GetPublicShareByTokenRequest struct { Authentication *PublicShareAuthentication `protobuf:"bytes,3,opt,name=authentication,proto3" json:"authentication,omitempty"` // OPTIONAL. // If a signature should be included in the share. - Sign bool `protobuf:"varint,4,opt,name=sign,proto3" json:"sign,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Sign bool `protobuf:"varint,4,opt,name=sign,proto3" json:"sign,omitempty"` } -func (m *GetPublicShareByTokenRequest) Reset() { *m = GetPublicShareByTokenRequest{} } -func (m *GetPublicShareByTokenRequest) String() string { return proto.CompactTextString(m) } -func (*GetPublicShareByTokenRequest) ProtoMessage() {} -func (*GetPublicShareByTokenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{10} +func (x *GetPublicShareByTokenRequest) Reset() { + *x = GetPublicShareByTokenRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetPublicShareByTokenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPublicShareByTokenRequest.Unmarshal(m, b) +func (x *GetPublicShareByTokenRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetPublicShareByTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPublicShareByTokenRequest.Marshal(b, m, deterministic) -} -func (m *GetPublicShareByTokenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPublicShareByTokenRequest.Merge(m, src) -} -func (m *GetPublicShareByTokenRequest) XXX_Size() int { - return xxx_messageInfo_GetPublicShareByTokenRequest.Size(m) -} -func (m *GetPublicShareByTokenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetPublicShareByTokenRequest.DiscardUnknown(m) + +func (*GetPublicShareByTokenRequest) ProtoMessage() {} + +func (x *GetPublicShareByTokenRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetPublicShareByTokenRequest proto.InternalMessageInfo +// Deprecated: Use GetPublicShareByTokenRequest.ProtoReflect.Descriptor instead. +func (*GetPublicShareByTokenRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{10} +} -func (m *GetPublicShareByTokenRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetPublicShareByTokenRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetPublicShareByTokenRequest) GetToken() string { - if m != nil { - return m.Token +func (x *GetPublicShareByTokenRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *GetPublicShareByTokenRequest) GetAuthentication() *PublicShareAuthentication { - if m != nil { - return m.Authentication +func (x *GetPublicShareByTokenRequest) GetAuthentication() *PublicShareAuthentication { + if x != nil { + return x.Authentication } return nil } -func (m *GetPublicShareByTokenRequest) GetSign() bool { - if m != nil { - return m.Sign +func (x *GetPublicShareByTokenRequest) GetSign() bool { + if x != nil { + return x.Sign } return false } type GetPublicShareByTokenResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1050,460 +1000,876 @@ type GetPublicShareByTokenResponse struct { Share *PublicShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` // OPTIONAL. // The share password hash. - PasswordHash string `protobuf:"bytes,4,opt,name=password_hash,json=passwordHash,proto3" json:"password_hash,omitempty"` // Deprecated: Do not use. - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // + // Deprecated: Marked as deprecated in cs3/sharing/link/v1beta1/link_api.proto. + PasswordHash string `protobuf:"bytes,4,opt,name=password_hash,json=passwordHash,proto3" json:"password_hash,omitempty"` } -func (m *GetPublicShareByTokenResponse) Reset() { *m = GetPublicShareByTokenResponse{} } -func (m *GetPublicShareByTokenResponse) String() string { return proto.CompactTextString(m) } -func (*GetPublicShareByTokenResponse) ProtoMessage() {} -func (*GetPublicShareByTokenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fd835bb71eb73d1e, []int{11} +func (x *GetPublicShareByTokenResponse) Reset() { + *x = GetPublicShareByTokenResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetPublicShareByTokenResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPublicShareByTokenResponse.Unmarshal(m, b) -} -func (m *GetPublicShareByTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPublicShareByTokenResponse.Marshal(b, m, deterministic) -} -func (m *GetPublicShareByTokenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPublicShareByTokenResponse.Merge(m, src) -} -func (m *GetPublicShareByTokenResponse) XXX_Size() int { - return xxx_messageInfo_GetPublicShareByTokenResponse.Size(m) +func (x *GetPublicShareByTokenResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetPublicShareByTokenResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetPublicShareByTokenResponse.DiscardUnknown(m) + +func (*GetPublicShareByTokenResponse) ProtoMessage() {} + +func (x *GetPublicShareByTokenResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetPublicShareByTokenResponse proto.InternalMessageInfo +// Deprecated: Use GetPublicShareByTokenResponse.ProtoReflect.Descriptor instead. +func (*GetPublicShareByTokenResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{11} +} -func (m *GetPublicShareByTokenResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *GetPublicShareByTokenResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *GetPublicShareByTokenResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetPublicShareByTokenResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetPublicShareByTokenResponse) GetShare() *PublicShare { - if m != nil { - return m.Share +func (x *GetPublicShareByTokenResponse) GetShare() *PublicShare { + if x != nil { + return x.Share } return nil } -// Deprecated: Do not use. -func (m *GetPublicShareByTokenResponse) GetPasswordHash() string { - if m != nil { - return m.PasswordHash +// Deprecated: Marked as deprecated in cs3/sharing/link/v1beta1/link_api.proto. +func (x *GetPublicShareByTokenResponse) GetPasswordHash() string { + if x != nil { + return x.PasswordHash } return "" } -func init() { - proto.RegisterEnum("cs3.sharing.link.v1beta1.UpdatePublicShareRequest_Update_Type", UpdatePublicShareRequest_Update_Type_name, UpdatePublicShareRequest_Update_Type_value) - proto.RegisterEnum("cs3.sharing.link.v1beta1.ListPublicSharesRequest_Filter_Type", ListPublicSharesRequest_Filter_Type_name, ListPublicSharesRequest_Filter_Type_value) - proto.RegisterType((*CreatePublicShareRequest)(nil), "cs3.sharing.link.v1beta1.CreatePublicShareRequest") - proto.RegisterType((*CreatePublicShareResponse)(nil), "cs3.sharing.link.v1beta1.CreatePublicShareResponse") - proto.RegisterType((*UpdatePublicShareRequest)(nil), "cs3.sharing.link.v1beta1.UpdatePublicShareRequest") - proto.RegisterType((*UpdatePublicShareRequest_Update)(nil), "cs3.sharing.link.v1beta1.UpdatePublicShareRequest.Update") - proto.RegisterType((*UpdatePublicShareResponse)(nil), "cs3.sharing.link.v1beta1.UpdatePublicShareResponse") - proto.RegisterType((*ListPublicSharesRequest)(nil), "cs3.sharing.link.v1beta1.ListPublicSharesRequest") - proto.RegisterType((*ListPublicSharesRequest_Filter)(nil), "cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter") - proto.RegisterType((*ListPublicSharesResponse)(nil), "cs3.sharing.link.v1beta1.ListPublicSharesResponse") - proto.RegisterType((*RemovePublicShareRequest)(nil), "cs3.sharing.link.v1beta1.RemovePublicShareRequest") - proto.RegisterType((*RemovePublicShareResponse)(nil), "cs3.sharing.link.v1beta1.RemovePublicShareResponse") - proto.RegisterType((*GetPublicShareRequest)(nil), "cs3.sharing.link.v1beta1.GetPublicShareRequest") - proto.RegisterType((*GetPublicShareResponse)(nil), "cs3.sharing.link.v1beta1.GetPublicShareResponse") - proto.RegisterType((*GetPublicShareByTokenRequest)(nil), "cs3.sharing.link.v1beta1.GetPublicShareByTokenRequest") - proto.RegisterType((*GetPublicShareByTokenResponse)(nil), "cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse") -} - -func init() { - proto.RegisterFile("cs3/sharing/link/v1beta1/link_api.proto", fileDescriptor_fd835bb71eb73d1e) -} - -var fileDescriptor_fd835bb71eb73d1e = []byte{ - // 1249 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0x5b, 0x8f, 0xdb, 0xc4, - 0x17, 0xaf, 0x73, 0xdb, 0xed, 0xd9, 0x4b, 0xdd, 0xf9, 0xf7, 0xdf, 0xba, 0x61, 0xab, 0x6e, 0x23, - 0x95, 0x2e, 0x08, 0x39, 0xec, 0xae, 0xb8, 0x54, 0xa8, 0x88, 0x24, 0xeb, 0xb6, 0x16, 0x69, 0xe2, - 0x8e, 0xb3, 0xbd, 0x40, 0xa5, 0xc8, 0x75, 0x26, 0x1b, 0xab, 0x59, 0xdb, 0x9d, 0x99, 0xb4, 0x4d, - 0x55, 0x09, 0xf1, 0x86, 0x78, 0xe1, 0x2b, 0x20, 0x1e, 0xf9, 0x06, 0x48, 0xbc, 0xf0, 0xca, 0x27, - 0xe0, 0x9d, 0x27, 0x9e, 0xf8, 0x02, 0x08, 0x21, 0x8f, 0x27, 0xd9, 0x64, 0xb3, 0x0e, 0x49, 0x8b, - 0xa0, 0xfb, 0x96, 0x39, 0xe7, 0xf7, 0x3b, 0x73, 0xe6, 0xdc, 0x66, 0x1c, 0xb8, 0xe2, 0xb2, 0xed, - 0x22, 0xeb, 0x38, 0xd4, 0xf3, 0xf7, 0x8a, 0x5d, 0xcf, 0x7f, 0x54, 0x7c, 0xb2, 0xf9, 0x90, 0x70, - 0x67, 0x53, 0x2c, 0x9a, 0x4e, 0xe8, 0xe9, 0x21, 0x0d, 0x78, 0x80, 0x34, 0x97, 0x6d, 0xeb, 0x12, - 0xa8, 0x47, 0x3a, 0x5d, 0x02, 0xf3, 0x6f, 0x45, 0x26, 0xbc, 0x16, 0xf1, 0xb9, 0xc7, 0xfb, 0xc5, - 0x1e, 0x23, 0x74, 0x68, 0x83, 0x12, 0x16, 0xf4, 0xa8, 0x4b, 0x58, 0x6c, 0x24, 0xbf, 0x16, 0x41, - 0x69, 0xe8, 0x0e, 0x01, 0x8c, 0x3b, 0xbc, 0x37, 0xd0, 0x6e, 0x24, 0xfa, 0x72, 0xd8, 0xce, 0x3b, - 0x02, 0xc9, 0x03, 0xea, 0xec, 0x91, 0x62, 0x48, 0x83, 0x27, 0x5e, 0x6b, 0xca, 0xae, 0x17, 0x22, - 0x34, 0xef, 0x87, 0x84, 0x0d, 0x21, 0x62, 0x15, 0xab, 0x0b, 0x5f, 0xa6, 0x41, 0xab, 0x50, 0xe2, - 0x70, 0x62, 0xf5, 0x1e, 0x76, 0x3d, 0xd7, 0xee, 0x38, 0x94, 0x60, 0xf2, 0xb8, 0x47, 0x18, 0x47, - 0x9b, 0x90, 0x0b, 0x42, 0xe7, 0x71, 0x8f, 0x68, 0xca, 0xba, 0xb2, 0xb1, 0xb4, 0x75, 0x5e, 0x8f, - 0xe2, 0x10, 0xd3, 0xa5, 0x31, 0xbd, 0x2e, 0x00, 0x58, 0x02, 0x51, 0x1d, 0x56, 0x06, 0x1e, 0x34, - 0x3d, 0xbf, 0x1d, 0x68, 0x29, 0xc1, 0x7c, 0x5b, 0x30, 0xa5, 0xd3, 0xfa, 0xc0, 0xe9, 0xa1, 0x11, - 0x2c, 0x29, 0xa6, 0xdf, 0x0e, 0xf0, 0x32, 0x1d, 0x59, 0xa1, 0xf7, 0x20, 0xbb, 0x47, 0x1d, 0x9f, - 0x6b, 0x69, 0x61, 0xe8, 0xa2, 0x9e, 0x94, 0x0a, 0xfd, 0x46, 0x04, 0xc3, 0x31, 0x1a, 0xad, 0xc3, - 0x52, 0x8b, 0x30, 0x97, 0x7a, 0x21, 0xf7, 0x02, 0x5f, 0xcb, 0xac, 0x2b, 0x1b, 0x27, 0xf1, 0xa8, - 0x08, 0xe5, 0x61, 0xd1, 0xf3, 0x39, 0xa1, 0xbe, 0xd3, 0xd5, 0xb2, 0xeb, 0xca, 0xc6, 0x22, 0x1e, - 0xae, 0xd1, 0x65, 0x58, 0xf5, 0x03, 0xee, 0xb5, 0xfb, 0xcd, 0x5e, 0xd8, 0x0d, 0x9c, 0x16, 0xd3, - 0x72, 0x02, 0xb1, 0x12, 0x4b, 0x77, 0x63, 0x21, 0x32, 0xe0, 0xe2, 0x38, 0xac, 0x49, 0x9e, 0x71, - 0xea, 0x34, 0x29, 0x71, 0xbd, 0xd0, 0x23, 0x3e, 0x67, 0xda, 0x82, 0xd8, 0x78, 0x6d, 0x8c, 0x67, - 0x44, 0x20, 0x3c, 0xc4, 0x14, 0x7e, 0x54, 0xe0, 0xfc, 0x11, 0x39, 0x60, 0x61, 0xe0, 0x33, 0x82, - 0x8a, 0x90, 0x8b, 0x0b, 0x45, 0x26, 0xe1, 0x9c, 0x88, 0x00, 0x0d, 0xdd, 0xe1, 0xc1, 0x6d, 0xa1, - 0xc6, 0x12, 0x36, 0x92, 0xb5, 0xd4, 0xac, 0x59, 0xfb, 0x08, 0xb2, 0x51, 0x48, 0x89, 0x0c, 0xf2, - 0xe5, 0xe4, 0x20, 0x8f, 0x7a, 0x18, 0x73, 0x0a, 0xbf, 0x67, 0x41, 0xdb, 0x0d, 0x5b, 0xff, 0x58, - 0x09, 0x7d, 0x02, 0x69, 0x4a, 0xda, 0xd2, 0x79, 0x7d, 0x36, 0x57, 0x48, 0x9b, 0x50, 0xe2, 0xbb, - 0x04, 0x47, 0x54, 0x74, 0x1b, 0x72, 0x3d, 0xe1, 0x90, 0x3c, 0xcf, 0xd5, 0x64, 0x23, 0x49, 0x8e, - 0x4b, 0x05, 0x96, 0x86, 0xf2, 0x5f, 0x67, 0x20, 0x17, 0x8b, 0x10, 0x86, 0x4c, 0xe4, 0xbf, 0xb0, - 0xbd, 0xba, 0xf5, 0xf1, 0x4b, 0xdb, 0xd6, 0x1b, 0xfd, 0x90, 0x60, 0x61, 0xeb, 0xa0, 0xca, 0x33, - 0x73, 0x55, 0xf9, 0x25, 0x58, 0x6e, 0x79, 0x2c, 0xec, 0x3a, 0xfd, 0xa6, 0xef, 0xec, 0x13, 0x51, - 0xc7, 0x51, 0x99, 0xc7, 0xb2, 0x9a, 0xb3, 0x4f, 0x0e, 0x37, 0x42, 0x6e, 0xb2, 0x11, 0x26, 0x8b, - 0x7d, 0xe1, 0x25, 0x8b, 0x7d, 0x71, 0x86, 0x62, 0xff, 0x49, 0x81, 0x4c, 0x74, 0x70, 0xa4, 0xc2, - 0x72, 0xe3, 0xbe, 0x65, 0x34, 0xcd, 0xda, 0x9d, 0x52, 0xd5, 0xdc, 0x51, 0x4f, 0xa0, 0x33, 0xa0, - 0x0a, 0x89, 0x65, 0xe0, 0x5b, 0xa6, 0x6d, 0x9b, 0xf5, 0x9a, 0xad, 0x2a, 0xe8, 0x34, 0xac, 0xc4, - 0xd2, 0x92, 0x6d, 0xdf, 0xad, 0xe3, 0x1d, 0x35, 0x85, 0xfe, 0x07, 0xa7, 0x84, 0xc8, 0xb8, 0x67, - 0x99, 0xb8, 0xd4, 0x30, 0xeb, 0x35, 0x35, 0x3d, 0x64, 0xef, 0x98, 0xb6, 0x55, 0x2d, 0xdd, 0xaf, - 0x95, 0x6e, 0x19, 0x6a, 0xe6, 0x40, 0x6a, 0xd8, 0x15, 0x6c, 0x5a, 0x02, 0x9b, 0x45, 0x67, 0x01, - 0x09, 0x69, 0xad, 0xde, 0x30, 0xaf, 0xdf, 0xdf, 0xb5, 0xaa, 0xf5, 0xd2, 0x8e, 0xad, 0xe6, 0xd0, - 0x65, 0xb8, 0x34, 0x29, 0x37, 0xee, 0x35, 0x70, 0x09, 0x1b, 0x15, 0xd3, 0x32, 0x8d, 0x5a, 0xc3, - 0x56, 0x17, 0x44, 0xc3, 0x1e, 0x91, 0xdc, 0x63, 0xd3, 0xb0, 0x19, 0x38, 0x57, 0xf5, 0x18, 0x1f, - 0x51, 0xb1, 0x57, 0xe8, 0x57, 0x0c, 0x0b, 0x6d, 0xaf, 0xcb, 0x09, 0x65, 0x5a, 0x6a, 0x3d, 0xbd, - 0xb1, 0xb4, 0xf5, 0x61, 0xb2, 0x37, 0x09, 0xdb, 0xea, 0xd7, 0x85, 0x01, 0x3c, 0x30, 0x84, 0x10, - 0x64, 0x98, 0xb7, 0xe7, 0x8b, 0xe3, 0x2d, 0x62, 0xf1, 0x1b, 0xbd, 0x01, 0x27, 0x43, 0x67, 0x8f, - 0x34, 0x99, 0xf7, 0x9c, 0x88, 0x3e, 0xc9, 0xe2, 0xc5, 0x48, 0x60, 0x7b, 0xcf, 0x09, 0xba, 0x00, - 0x20, 0x94, 0x3c, 0x78, 0x44, 0x7c, 0xd9, 0x07, 0x02, 0xde, 0x88, 0x04, 0xf9, 0x3f, 0x52, 0x90, - 0x8b, 0xf7, 0x40, 0xb7, 0x65, 0xfb, 0xa6, 0x44, 0xfb, 0x5e, 0x7b, 0x59, 0x5f, 0x47, 0xbb, 0xf7, - 0x53, 0x58, 0x3a, 0xb8, 0xf4, 0x5a, 0x32, 0x27, 0x1b, 0x33, 0x5e, 0x79, 0xad, 0x9b, 0x27, 0x30, - 0x0c, 0xaf, 0xbc, 0x16, 0xba, 0x0a, 0xd9, 0xe0, 0xa9, 0x4f, 0xa8, 0x1c, 0x05, 0x97, 0x84, 0x99, - 0xc1, 0x0b, 0x43, 0x8f, 0x5e, 0x18, 0x07, 0x03, 0x86, 0x11, 0x2a, 0xf8, 0x31, 0x03, 0x5d, 0x83, - 0x05, 0x37, 0xba, 0x47, 0x02, 0x2a, 0x22, 0x30, 0x23, 0x79, 0xc0, 0x29, 0x58, 0x7f, 0xdb, 0x99, - 0xd8, 0xb0, 0xeb, 0xbb, 0xb8, 0x62, 0x34, 0xcd, 0x1d, 0x55, 0x41, 0xab, 0x00, 0x42, 0x5a, 0xbf, - 0x5b, 0x33, 0xb0, 0x9a, 0x1a, 0xf2, 0x2a, 0xd8, 0x28, 0x35, 0xea, 0x58, 0x4d, 0x97, 0x73, 0x90, - 0xe1, 0x84, 0xee, 0x17, 0x7e, 0x55, 0x40, 0x9b, 0x0c, 0xe7, 0x7f, 0xd3, 0x2f, 0xe9, 0x79, 0xfb, - 0x05, 0xbd, 0x09, 0xa7, 0x7c, 0xf2, 0x8c, 0x37, 0x47, 0x0a, 0x2c, 0x7e, 0x4f, 0xac, 0x44, 0x62, - 0x6b, 0x50, 0x64, 0x85, 0x6f, 0x14, 0xd0, 0x30, 0xd9, 0x0f, 0x9e, 0xbc, 0x2e, 0x17, 0x61, 0xe1, - 0x0b, 0x38, 0x7f, 0x84, 0x43, 0xff, 0x5e, 0xdc, 0x0b, 0xdf, 0x2a, 0xf0, 0xff, 0x1b, 0x84, 0xbf, - 0x2e, 0x0f, 0x83, 0x23, 0xc6, 0x4a, 0xe1, 0x07, 0x05, 0xce, 0x1e, 0x76, 0xf1, 0xb8, 0x4c, 0xf2, - 0x5f, 0x14, 0x58, 0x1b, 0xf7, 0xbd, 0xdc, 0x17, 0xb5, 0xf8, 0x0a, 0x51, 0x3e, 0x03, 0xd9, 0xb8, - 0xc6, 0x53, 0xa2, 0xc6, 0xe3, 0x05, 0xfa, 0x1c, 0x56, 0x9d, 0x1e, 0xef, 0x44, 0x83, 0xc4, 0x75, - 0xc4, 0x4b, 0x22, 0xf6, 0x77, 0x7b, 0x26, 0x7f, 0x4b, 0x63, 0x54, 0x7c, 0xc8, 0xd4, 0x30, 0x2d, - 0x99, 0x91, 0xb4, 0xfc, 0xa6, 0xc0, 0x85, 0x84, 0xa3, 0x1d, 0x93, 0xec, 0xa0, 0x2b, 0xb0, 0x12, - 0x3a, 0x8c, 0x3d, 0x0d, 0x68, 0xab, 0xd9, 0x71, 0x58, 0x27, 0x9e, 0x1a, 0xe5, 0x94, 0xa6, 0xe0, - 0xe5, 0x81, 0xe2, 0xa6, 0xc3, 0x3a, 0x5b, 0x7f, 0x66, 0x61, 0xa1, 0xea, 0xf9, 0x8f, 0x4a, 0x96, - 0x89, 0x5e, 0xc0, 0xe9, 0x89, 0x6f, 0x01, 0xb4, 0x95, 0xbc, 0x6f, 0xd2, 0xc7, 0x5b, 0x7e, 0x7b, - 0x2e, 0x8e, 0x8c, 0xe9, 0x0b, 0x38, 0x3d, 0x31, 0x30, 0xa6, 0xed, 0x9e, 0x34, 0xee, 0xa6, 0xed, - 0x9e, 0x3c, 0x91, 0x18, 0xac, 0x8e, 0xa7, 0x1c, 0x15, 0xa7, 0x3c, 0x84, 0x8f, 0x1a, 0x2b, 0xf9, - 0x77, 0x67, 0x27, 0xc8, 0x4d, 0xbf, 0x9a, 0x18, 0x51, 0xb2, 0xd0, 0xd0, 0xfb, 0xb3, 0xda, 0x1a, - 0x6f, 0xba, 0xfc, 0x07, 0x73, 0xf3, 0xa4, 0x2b, 0x7d, 0x50, 0x0f, 0xdf, 0x92, 0x68, 0x73, 0xee, - 0x07, 0x4a, 0x7e, 0x6b, 0x1e, 0xca, 0x41, 0xe2, 0x27, 0x5e, 0xb4, 0xd3, 0x12, 0x9f, 0xf4, 0x6d, - 0x33, 0x2d, 0xf1, 0x89, 0x4f, 0xe6, 0xf2, 0x53, 0x58, 0x73, 0x83, 0xfd, 0x44, 0x66, 0x79, 0x59, - 0x74, 0x47, 0xe8, 0x59, 0x34, 0xe0, 0x81, 0xa5, 0x7c, 0xb6, 0x14, 0x69, 0xa5, 0xf2, 0xbb, 0x54, - 0xba, 0x62, 0x57, 0xbf, 0x4f, 0x69, 0x15, 0xb6, 0xad, 0xdb, 0x92, 0x1d, 0xe1, 0xf5, 0x3b, 0x9b, - 0xe5, 0x08, 0xf0, 0xb3, 0x50, 0x3d, 0x90, 0xaa, 0x07, 0x91, 0xea, 0x81, 0x54, 0x3d, 0xcc, 0x89, - 0x7f, 0x41, 0xb6, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xcd, 0x0c, 0x89, 0x0a, 0x12, 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 - -// LinkAPIClient is the client API for LinkAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LinkAPIClient interface { - // Creates a new share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreatePublicShare(ctx context.Context, in *CreatePublicShareRequest, opts ...grpc.CallOption) (*CreatePublicShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemovePublicShare(ctx context.Context, in *RemovePublicShareRequest, opts ...grpc.CallOption) (*RemovePublicShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetPublicShare(ctx context.Context, in *GetPublicShareRequest, opts ...grpc.CallOption) (*GetPublicShareResponse, error) - // Gets share information for a single share by its unlisted token. - // MUST return CODE_NOT_FOUND if the share does not exist. - GetPublicShareByToken(ctx context.Context, in *GetPublicShareByTokenRequest, opts ...grpc.CallOption) (*GetPublicShareByTokenResponse, error) - // List the shares the authenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListPublicShares(ctx context.Context, in *ListPublicSharesRequest, opts ...grpc.CallOption) (*ListPublicSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdatePublicShare(ctx context.Context, in *UpdatePublicShareRequest, opts ...grpc.CallOption) (*UpdatePublicShareResponse, error) -} - -type linkAPIClient struct { - cc *grpc.ClientConn -} +// REQUIRED. +type UpdatePublicShareRequest_Update struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func NewLinkAPIClient(cc *grpc.ClientConn) LinkAPIClient { - return &linkAPIClient{cc} + // REQUIRED. + // Defines the field to update. + Type UpdatePublicShareRequest_Update_Type `protobuf:"varint,3,opt,name=type,proto3,enum=cs3.sharing.link.v1beta1.UpdatePublicShareRequest_Update_Type" json:"type,omitempty"` + // REQUIRED. + // Contains the field that will be updated. + Grant *Grant `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant,omitempty"` + // OPTIONAL + // Defines the public link display name. + DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // OPTIONAL + // Defines the public link description. + Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` + // OPTIONAL + // Whether to notify the owner of a share when a file is uploaded to it. + NotifyUploads bool `protobuf:"varint,7,opt,name=notify_uploads,json=notifyUploads,proto3" json:"notify_uploads,omitempty"` + // OPTIONAL + // Comma-separated list of extra email addresses to notify when a file is + // uploaded to the share. + NotifyUploadsExtraRecipients string `protobuf:"bytes,8,opt,name=notify_uploads_extra_recipients,json=notifyUploadsExtraRecipients,proto3" json:"notify_uploads_extra_recipients,omitempty"` } -func (c *linkAPIClient) CreatePublicShare(ctx context.Context, in *CreatePublicShareRequest, opts ...grpc.CallOption) (*CreatePublicShareResponse, error) { - out := new(CreatePublicShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.link.v1beta1.LinkAPI/CreatePublicShare", in, out, opts...) - if err != nil { - return nil, err +func (x *UpdatePublicShareRequest_Update) Reset() { + *x = UpdatePublicShareRequest_Update{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -func (c *linkAPIClient) RemovePublicShare(ctx context.Context, in *RemovePublicShareRequest, opts ...grpc.CallOption) (*RemovePublicShareResponse, error) { - out := new(RemovePublicShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.link.v1beta1.LinkAPI/RemovePublicShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (x *UpdatePublicShareRequest_Update) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *linkAPIClient) GetPublicShare(ctx context.Context, in *GetPublicShareRequest, opts ...grpc.CallOption) (*GetPublicShareResponse, error) { - out := new(GetPublicShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.link.v1beta1.LinkAPI/GetPublicShare", in, out, opts...) - if err != nil { - return nil, err +func (*UpdatePublicShareRequest_Update) ProtoMessage() {} + +func (x *UpdatePublicShareRequest_Update) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return out, nil + return mi.MessageOf(x) } -func (c *linkAPIClient) GetPublicShareByToken(ctx context.Context, in *GetPublicShareByTokenRequest, opts ...grpc.CallOption) (*GetPublicShareByTokenResponse, error) { - out := new(GetPublicShareByTokenResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.link.v1beta1.LinkAPI/GetPublicShareByToken", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// Deprecated: Use UpdatePublicShareRequest_Update.ProtoReflect.Descriptor instead. +func (*UpdatePublicShareRequest_Update) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{2, 0} } -func (c *linkAPIClient) ListPublicShares(ctx context.Context, in *ListPublicSharesRequest, opts ...grpc.CallOption) (*ListPublicSharesResponse, error) { - out := new(ListPublicSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.link.v1beta1.LinkAPI/ListPublicShares", in, out, opts...) - if err != nil { - return nil, err +func (x *UpdatePublicShareRequest_Update) GetType() UpdatePublicShareRequest_Update_Type { + if x != nil { + return x.Type } - return out, nil + return UpdatePublicShareRequest_Update_TYPE_INVALID } -func (c *linkAPIClient) UpdatePublicShare(ctx context.Context, in *UpdatePublicShareRequest, opts ...grpc.CallOption) (*UpdatePublicShareResponse, error) { - out := new(UpdatePublicShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.link.v1beta1.LinkAPI/UpdatePublicShare", in, out, opts...) - if err != nil { - return nil, err +func (x *UpdatePublicShareRequest_Update) GetGrant() *Grant { + if x != nil { + return x.Grant } - return out, nil + return nil } -// LinkAPIServer is the server API for LinkAPI service. -type LinkAPIServer interface { - // Creates a new share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING. - CreatePublicShare(context.Context, *CreatePublicShareRequest) (*CreatePublicShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - RemovePublicShare(context.Context, *RemovePublicShareRequest) (*RemovePublicShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetPublicShare(context.Context, *GetPublicShareRequest) (*GetPublicShareResponse, error) - // Gets share information for a single share by its unlisted token. - // MUST return CODE_NOT_FOUND if the share does not exist. - GetPublicShareByToken(context.Context, *GetPublicShareByTokenRequest) (*GetPublicShareByTokenResponse, error) - // List the shares the authenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListPublicShares(context.Context, *ListPublicSharesRequest) (*ListPublicSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdatePublicShare(context.Context, *UpdatePublicShareRequest) (*UpdatePublicShareResponse, error) +func (x *UpdatePublicShareRequest_Update) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" } -// UnimplementedLinkAPIServer can be embedded to have forward compatible implementations. -type UnimplementedLinkAPIServer struct { +func (x *UpdatePublicShareRequest_Update) GetDescription() string { + if x != nil { + return x.Description + } + return "" } -func (*UnimplementedLinkAPIServer) CreatePublicShare(ctx context.Context, req *CreatePublicShareRequest) (*CreatePublicShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreatePublicShare not implemented") +func (x *UpdatePublicShareRequest_Update) GetNotifyUploads() bool { + if x != nil { + return x.NotifyUploads + } + return false } -func (*UnimplementedLinkAPIServer) RemovePublicShare(ctx context.Context, req *RemovePublicShareRequest) (*RemovePublicShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemovePublicShare not implemented") + +func (x *UpdatePublicShareRequest_Update) GetNotifyUploadsExtraRecipients() string { + if x != nil { + return x.NotifyUploadsExtraRecipients + } + return "" } -func (*UnimplementedLinkAPIServer) GetPublicShare(ctx context.Context, req *GetPublicShareRequest) (*GetPublicShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPublicShare not implemented") + +// REQUIRED. +// represents a filter to apply to the request. +type ListPublicSharesRequest_Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type ListPublicSharesRequest_Filter_Type `protobuf:"varint,2,opt,name=type,proto3,enum=cs3.sharing.link.v1beta1.ListPublicSharesRequest_Filter_Type" json:"type,omitempty"` + // Types that are assignable to Term: + // + // *ListPublicSharesRequest_Filter_ResourceId + // *ListPublicSharesRequest_Filter_Owner + // *ListPublicSharesRequest_Filter_Creator + Term isListPublicSharesRequest_Filter_Term `protobuf_oneof:"term"` } -func (*UnimplementedLinkAPIServer) GetPublicShareByToken(ctx context.Context, req *GetPublicShareByTokenRequest) (*GetPublicShareByTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPublicShareByToken not implemented") + +func (x *ListPublicSharesRequest_Filter) Reset() { + *x = ListPublicSharesRequest_Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (*UnimplementedLinkAPIServer) ListPublicShares(ctx context.Context, req *ListPublicSharesRequest) (*ListPublicSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPublicShares not implemented") + +func (x *ListPublicSharesRequest_Filter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (*UnimplementedLinkAPIServer) UpdatePublicShare(ctx context.Context, req *UpdatePublicShareRequest) (*UpdatePublicShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePublicShare not implemented") + +func (*ListPublicSharesRequest_Filter) ProtoMessage() {} + +func (x *ListPublicSharesRequest_Filter) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func RegisterLinkAPIServer(s *grpc.Server, srv LinkAPIServer) { - s.RegisterService(&_LinkAPI_serviceDesc, srv) +// Deprecated: Use ListPublicSharesRequest_Filter.ProtoReflect.Descriptor instead. +func (*ListPublicSharesRequest_Filter) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP(), []int{4, 0} } -func _LinkAPI_CreatePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreatePublicShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LinkAPIServer).CreatePublicShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.link.v1beta1.LinkAPI/CreatePublicShare", +func (x *ListPublicSharesRequest_Filter) GetType() ListPublicSharesRequest_Filter_Type { + if x != nil { + return x.Type } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LinkAPIServer).CreatePublicShare(ctx, req.(*CreatePublicShareRequest)) - } - return interceptor(ctx, in, info, handler) + return ListPublicSharesRequest_Filter_TYPE_INVALID } -func _LinkAPI_RemovePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemovePublicShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LinkAPIServer).RemovePublicShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.link.v1beta1.LinkAPI/RemovePublicShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LinkAPIServer).RemovePublicShare(ctx, req.(*RemovePublicShareRequest)) +func (m *ListPublicSharesRequest_Filter) GetTerm() isListPublicSharesRequest_Filter_Term { + if m != nil { + return m.Term } - return interceptor(ctx, in, info, handler) + return nil } -func _LinkAPI_GetPublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPublicShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LinkAPIServer).GetPublicShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.link.v1beta1.LinkAPI/GetPublicShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LinkAPIServer).GetPublicShare(ctx, req.(*GetPublicShareRequest)) +func (x *ListPublicSharesRequest_Filter) GetResourceId() *v1beta11.ResourceId { + if x, ok := x.GetTerm().(*ListPublicSharesRequest_Filter_ResourceId); ok { + return x.ResourceId } - return interceptor(ctx, in, info, handler) + return nil } -func _LinkAPI_GetPublicShareByToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPublicShareByTokenRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LinkAPIServer).GetPublicShareByToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.link.v1beta1.LinkAPI/GetPublicShareByToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LinkAPIServer).GetPublicShareByToken(ctx, req.(*GetPublicShareByTokenRequest)) +func (x *ListPublicSharesRequest_Filter) GetOwner() *v1beta13.UserId { + if x, ok := x.GetTerm().(*ListPublicSharesRequest_Filter_Owner); ok { + return x.Owner } - return interceptor(ctx, in, info, handler) + return nil } -func _LinkAPI_ListPublicShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPublicSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LinkAPIServer).ListPublicShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.link.v1beta1.LinkAPI/ListPublicShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LinkAPIServer).ListPublicShares(ctx, req.(*ListPublicSharesRequest)) +func (x *ListPublicSharesRequest_Filter) GetCreator() *v1beta13.UserId { + if x, ok := x.GetTerm().(*ListPublicSharesRequest_Filter_Creator); ok { + return x.Creator } - return interceptor(ctx, in, info, handler) + return nil } -func _LinkAPI_UpdatePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePublicShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LinkAPIServer).UpdatePublicShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.link.v1beta1.LinkAPI/UpdatePublicShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LinkAPIServer).UpdatePublicShare(ctx, req.(*UpdatePublicShareRequest)) - } - return interceptor(ctx, in, info, handler) +type isListPublicSharesRequest_Filter_Term interface { + isListPublicSharesRequest_Filter_Term() } -var _LinkAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.sharing.link.v1beta1.LinkAPI", - HandlerType: (*LinkAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreatePublicShare", - Handler: _LinkAPI_CreatePublicShare_Handler, - }, - { - MethodName: "RemovePublicShare", - Handler: _LinkAPI_RemovePublicShare_Handler, - }, - { - MethodName: "GetPublicShare", - Handler: _LinkAPI_GetPublicShare_Handler, - }, - { - MethodName: "GetPublicShareByToken", - Handler: _LinkAPI_GetPublicShareByToken_Handler, - }, - { - MethodName: "ListPublicShares", - Handler: _LinkAPI_ListPublicShares_Handler, - }, - { - MethodName: "UpdatePublicShare", - Handler: _LinkAPI_UpdatePublicShare_Handler, +type ListPublicSharesRequest_Filter_ResourceId struct { + ResourceId *v1beta11.ResourceId `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3,oneof"` +} + +type ListPublicSharesRequest_Filter_Owner struct { + Owner *v1beta13.UserId `protobuf:"bytes,4,opt,name=owner,proto3,oneof"` +} + +type ListPublicSharesRequest_Filter_Creator struct { + Creator *v1beta13.UserId `protobuf:"bytes,5,opt,name=creator,proto3,oneof"` +} + +func (*ListPublicSharesRequest_Filter_ResourceId) isListPublicSharesRequest_Filter_Term() {} + +func (*ListPublicSharesRequest_Filter_Owner) isListPublicSharesRequest_Filter_Term() {} + +func (*ListPublicSharesRequest_Filter_Creator) isListPublicSharesRequest_Filter_Term() {} + +var File_cs3_sharing_link_v1beta1_link_api_proto protoreflect.FileDescriptor + +var file_cs3_sharing_link_v1beta1_link_api_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6c, 0x69, + 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x73, + 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x03, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x72, 0x61, 0x6e, 0x74, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, + 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x5f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, + 0x12, 0x45, 0x0a, 0x1f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x75, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, + 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1c, 0x6e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x52, 0x65, 0x63, + 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x22, 0xef, 0x05, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x51, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x8a, 0x04, 0x0a, 0x06, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x52, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x67, 0x72, + 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, + 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x5f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, + 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x45, 0x0a, + 0x1f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x5f, + 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, + 0x65, 0x6e, 0x74, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, + 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, + 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, + 0x4f, 0x4e, 0x53, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, + 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x14, 0x0a, + 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x4e, 0x41, 0x4d, + 0x45, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x53, 0x43, + 0x52, 0x49, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x53, 0x10, + 0x06, 0x12, 0x25, 0x0a, 0x21, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, + 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x53, 0x45, 0x58, 0x54, 0x52, 0x41, 0x52, 0x45, 0x43, 0x49, + 0x50, 0x49, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x07, 0x22, 0xbc, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x22, 0xef, 0x04, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x52, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, + 0x67, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x1b, + 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0xfc, 0x02, 0x0a, 0x06, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4b, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x12, 0x3d, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, + 0x50, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x44, 0x10, 0x01, 0x12, + 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x02, 0x12, + 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, 0x10, + 0x03, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x65, 0x72, 0x6d, 0x22, 0xe3, 0x01, 0x0a, 0x18, 0x4c, 0x69, + 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, + 0x8f, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x40, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, + 0x66, 0x22, 0x7f, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x40, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, + 0x66, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x04, 0x73, 0x69, 0x67, 0x6e, 0x22, 0xb9, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, + 0x65, 0x22, 0xd8, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x5b, 0x0a, 0x0e, 0x61, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, + 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, + 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x67, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x73, 0x69, 0x67, 0x6e, 0x22, 0xe9, 0x01, 0x0a, + 0x1d, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x42, + 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, + 0x27, 0x0a, 0x0d, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x70, 0x61, 0x73, 0x73, + 0x77, 0x6f, 0x72, 0x64, 0x48, 0x61, 0x73, 0x68, 0x32, 0xfe, 0x05, 0x0a, 0x07, 0x4c, 0x69, 0x6e, + 0x6b, 0x41, 0x50, 0x49, 0x12, 0x7c, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x73, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, + 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, + 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x79, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x73, 0x12, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x11, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, + 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xf2, 0x01, 0x0a, 0x1c, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, + 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0c, 0x4c, 0x69, 0x6e, 0x6b, + 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, + 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x3b, 0x6c, 0x69, 0x6e, 0x6b, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, + 0x43, 0x53, 0x4c, 0xaa, 0x02, 0x18, 0x43, 0x73, 0x33, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, + 0x18, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x4c, 0x69, 0x6e, + 0x6b, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x24, 0x43, 0x73, 0x33, 0x5c, + 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x4c, 0x69, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x1b, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x3a, + 0x3a, 0x4c, 0x69, 0x6e, 0x6b, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_sharing_link_v1beta1_link_api_proto_rawDescOnce sync.Once + file_cs3_sharing_link_v1beta1_link_api_proto_rawDescData = file_cs3_sharing_link_v1beta1_link_api_proto_rawDesc +) + +func file_cs3_sharing_link_v1beta1_link_api_proto_rawDescGZIP() []byte { + file_cs3_sharing_link_v1beta1_link_api_proto_rawDescOnce.Do(func() { + file_cs3_sharing_link_v1beta1_link_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_sharing_link_v1beta1_link_api_proto_rawDescData) + }) + return file_cs3_sharing_link_v1beta1_link_api_proto_rawDescData +} + +var file_cs3_sharing_link_v1beta1_link_api_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_cs3_sharing_link_v1beta1_link_api_proto_goTypes = []interface{}{ + (UpdatePublicShareRequest_Update_Type)(0), // 0: cs3.sharing.link.v1beta1.UpdatePublicShareRequest.Update.Type + (ListPublicSharesRequest_Filter_Type)(0), // 1: cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter.Type + (*CreatePublicShareRequest)(nil), // 2: cs3.sharing.link.v1beta1.CreatePublicShareRequest + (*CreatePublicShareResponse)(nil), // 3: cs3.sharing.link.v1beta1.CreatePublicShareResponse + (*UpdatePublicShareRequest)(nil), // 4: cs3.sharing.link.v1beta1.UpdatePublicShareRequest + (*UpdatePublicShareResponse)(nil), // 5: cs3.sharing.link.v1beta1.UpdatePublicShareResponse + (*ListPublicSharesRequest)(nil), // 6: cs3.sharing.link.v1beta1.ListPublicSharesRequest + (*ListPublicSharesResponse)(nil), // 7: cs3.sharing.link.v1beta1.ListPublicSharesResponse + (*RemovePublicShareRequest)(nil), // 8: cs3.sharing.link.v1beta1.RemovePublicShareRequest + (*RemovePublicShareResponse)(nil), // 9: cs3.sharing.link.v1beta1.RemovePublicShareResponse + (*GetPublicShareRequest)(nil), // 10: cs3.sharing.link.v1beta1.GetPublicShareRequest + (*GetPublicShareResponse)(nil), // 11: cs3.sharing.link.v1beta1.GetPublicShareResponse + (*GetPublicShareByTokenRequest)(nil), // 12: cs3.sharing.link.v1beta1.GetPublicShareByTokenRequest + (*GetPublicShareByTokenResponse)(nil), // 13: cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse + (*UpdatePublicShareRequest_Update)(nil), // 14: cs3.sharing.link.v1beta1.UpdatePublicShareRequest.Update + (*ListPublicSharesRequest_Filter)(nil), // 15: cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter + (*v1beta1.Opaque)(nil), // 16: cs3.types.v1beta1.Opaque + (*v1beta11.ResourceInfo)(nil), // 17: cs3.storage.provider.v1beta1.ResourceInfo + (*Grant)(nil), // 18: cs3.sharing.link.v1beta1.Grant + (*v1beta12.Status)(nil), // 19: cs3.rpc.v1beta1.Status + (*PublicShare)(nil), // 20: cs3.sharing.link.v1beta1.PublicShare + (*PublicShareReference)(nil), // 21: cs3.sharing.link.v1beta1.PublicShareReference + (*PublicShareAuthentication)(nil), // 22: cs3.sharing.link.v1beta1.PublicShareAuthentication + (*v1beta11.ResourceId)(nil), // 23: cs3.storage.provider.v1beta1.ResourceId + (*v1beta13.UserId)(nil), // 24: cs3.identity.user.v1beta1.UserId +} +var file_cs3_sharing_link_v1beta1_link_api_proto_depIdxs = []int32{ + 16, // 0: cs3.sharing.link.v1beta1.CreatePublicShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 17, // 1: cs3.sharing.link.v1beta1.CreatePublicShareRequest.resource_info:type_name -> cs3.storage.provider.v1beta1.ResourceInfo + 18, // 2: cs3.sharing.link.v1beta1.CreatePublicShareRequest.grant:type_name -> cs3.sharing.link.v1beta1.Grant + 19, // 3: cs3.sharing.link.v1beta1.CreatePublicShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 16, // 4: cs3.sharing.link.v1beta1.CreatePublicShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 20, // 5: cs3.sharing.link.v1beta1.CreatePublicShareResponse.share:type_name -> cs3.sharing.link.v1beta1.PublicShare + 16, // 6: cs3.sharing.link.v1beta1.UpdatePublicShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 7: cs3.sharing.link.v1beta1.UpdatePublicShareRequest.ref:type_name -> cs3.sharing.link.v1beta1.PublicShareReference + 14, // 8: cs3.sharing.link.v1beta1.UpdatePublicShareRequest.update:type_name -> cs3.sharing.link.v1beta1.UpdatePublicShareRequest.Update + 19, // 9: cs3.sharing.link.v1beta1.UpdatePublicShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 16, // 10: cs3.sharing.link.v1beta1.UpdatePublicShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 20, // 11: cs3.sharing.link.v1beta1.UpdatePublicShareResponse.share:type_name -> cs3.sharing.link.v1beta1.PublicShare + 16, // 12: cs3.sharing.link.v1beta1.ListPublicSharesRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 15, // 13: cs3.sharing.link.v1beta1.ListPublicSharesRequest.filters:type_name -> cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter + 19, // 14: cs3.sharing.link.v1beta1.ListPublicSharesResponse.status:type_name -> cs3.rpc.v1beta1.Status + 16, // 15: cs3.sharing.link.v1beta1.ListPublicSharesResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 20, // 16: cs3.sharing.link.v1beta1.ListPublicSharesResponse.share:type_name -> cs3.sharing.link.v1beta1.PublicShare + 16, // 17: cs3.sharing.link.v1beta1.RemovePublicShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 18: cs3.sharing.link.v1beta1.RemovePublicShareRequest.ref:type_name -> cs3.sharing.link.v1beta1.PublicShareReference + 19, // 19: cs3.sharing.link.v1beta1.RemovePublicShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 16, // 20: cs3.sharing.link.v1beta1.RemovePublicShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 21: cs3.sharing.link.v1beta1.GetPublicShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 22: cs3.sharing.link.v1beta1.GetPublicShareRequest.ref:type_name -> cs3.sharing.link.v1beta1.PublicShareReference + 19, // 23: cs3.sharing.link.v1beta1.GetPublicShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 16, // 24: cs3.sharing.link.v1beta1.GetPublicShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 20, // 25: cs3.sharing.link.v1beta1.GetPublicShareResponse.share:type_name -> cs3.sharing.link.v1beta1.PublicShare + 16, // 26: cs3.sharing.link.v1beta1.GetPublicShareByTokenRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 22, // 27: cs3.sharing.link.v1beta1.GetPublicShareByTokenRequest.authentication:type_name -> cs3.sharing.link.v1beta1.PublicShareAuthentication + 19, // 28: cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse.status:type_name -> cs3.rpc.v1beta1.Status + 16, // 29: cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 20, // 30: cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse.share:type_name -> cs3.sharing.link.v1beta1.PublicShare + 0, // 31: cs3.sharing.link.v1beta1.UpdatePublicShareRequest.Update.type:type_name -> cs3.sharing.link.v1beta1.UpdatePublicShareRequest.Update.Type + 18, // 32: cs3.sharing.link.v1beta1.UpdatePublicShareRequest.Update.grant:type_name -> cs3.sharing.link.v1beta1.Grant + 1, // 33: cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter.type:type_name -> cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter.Type + 23, // 34: cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 24, // 35: cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter.owner:type_name -> cs3.identity.user.v1beta1.UserId + 24, // 36: cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter.creator:type_name -> cs3.identity.user.v1beta1.UserId + 2, // 37: cs3.sharing.link.v1beta1.LinkAPI.CreatePublicShare:input_type -> cs3.sharing.link.v1beta1.CreatePublicShareRequest + 8, // 38: cs3.sharing.link.v1beta1.LinkAPI.RemovePublicShare:input_type -> cs3.sharing.link.v1beta1.RemovePublicShareRequest + 10, // 39: cs3.sharing.link.v1beta1.LinkAPI.GetPublicShare:input_type -> cs3.sharing.link.v1beta1.GetPublicShareRequest + 12, // 40: cs3.sharing.link.v1beta1.LinkAPI.GetPublicShareByToken:input_type -> cs3.sharing.link.v1beta1.GetPublicShareByTokenRequest + 6, // 41: cs3.sharing.link.v1beta1.LinkAPI.ListPublicShares:input_type -> cs3.sharing.link.v1beta1.ListPublicSharesRequest + 4, // 42: cs3.sharing.link.v1beta1.LinkAPI.UpdatePublicShare:input_type -> cs3.sharing.link.v1beta1.UpdatePublicShareRequest + 3, // 43: cs3.sharing.link.v1beta1.LinkAPI.CreatePublicShare:output_type -> cs3.sharing.link.v1beta1.CreatePublicShareResponse + 9, // 44: cs3.sharing.link.v1beta1.LinkAPI.RemovePublicShare:output_type -> cs3.sharing.link.v1beta1.RemovePublicShareResponse + 11, // 45: cs3.sharing.link.v1beta1.LinkAPI.GetPublicShare:output_type -> cs3.sharing.link.v1beta1.GetPublicShareResponse + 13, // 46: cs3.sharing.link.v1beta1.LinkAPI.GetPublicShareByToken:output_type -> cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse + 7, // 47: cs3.sharing.link.v1beta1.LinkAPI.ListPublicShares:output_type -> cs3.sharing.link.v1beta1.ListPublicSharesResponse + 5, // 48: cs3.sharing.link.v1beta1.LinkAPI.UpdatePublicShare:output_type -> cs3.sharing.link.v1beta1.UpdatePublicShareResponse + 43, // [43:49] is the sub-list for method output_type + 37, // [37:43] is the sub-list for method input_type + 37, // [37:37] is the sub-list for extension type_name + 37, // [37:37] is the sub-list for extension extendee + 0, // [0:37] is the sub-list for field type_name +} + +func init() { file_cs3_sharing_link_v1beta1_link_api_proto_init() } +func file_cs3_sharing_link_v1beta1_link_api_proto_init() { + if File_cs3_sharing_link_v1beta1_link_api_proto != nil { + return + } + file_cs3_sharing_link_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreatePublicShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreatePublicShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePublicShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePublicShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListPublicSharesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListPublicSharesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemovePublicShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemovePublicShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPublicShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPublicShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPublicShareByTokenRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPublicShareByTokenResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePublicShareRequest_Update); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListPublicSharesRequest_Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes[13].OneofWrappers = []interface{}{ + (*ListPublicSharesRequest_Filter_ResourceId)(nil), + (*ListPublicSharesRequest_Filter_Owner)(nil), + (*ListPublicSharesRequest_Filter_Creator)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_sharing_link_v1beta1_link_api_proto_rawDesc, + NumEnums: 2, + NumMessages: 14, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/sharing/link/v1beta1/link_api.proto", + GoTypes: file_cs3_sharing_link_v1beta1_link_api_proto_goTypes, + DependencyIndexes: file_cs3_sharing_link_v1beta1_link_api_proto_depIdxs, + EnumInfos: file_cs3_sharing_link_v1beta1_link_api_proto_enumTypes, + MessageInfos: file_cs3_sharing_link_v1beta1_link_api_proto_msgTypes, + }.Build() + File_cs3_sharing_link_v1beta1_link_api_proto = out.File + file_cs3_sharing_link_v1beta1_link_api_proto_rawDesc = nil + file_cs3_sharing_link_v1beta1_link_api_proto_goTypes = nil + file_cs3_sharing_link_v1beta1_link_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/link_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/link_api_grpc.pb.go new file mode 100644 index 00000000000..25a9cf8ebb2 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/link_api_grpc.pb.go @@ -0,0 +1,342 @@ +// Copyright 2018-2023 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/sharing/link/v1beta1/link_api.proto + +package linkv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + LinkAPI_CreatePublicShare_FullMethodName = "/cs3.sharing.link.v1beta1.LinkAPI/CreatePublicShare" + LinkAPI_RemovePublicShare_FullMethodName = "/cs3.sharing.link.v1beta1.LinkAPI/RemovePublicShare" + LinkAPI_GetPublicShare_FullMethodName = "/cs3.sharing.link.v1beta1.LinkAPI/GetPublicShare" + LinkAPI_GetPublicShareByToken_FullMethodName = "/cs3.sharing.link.v1beta1.LinkAPI/GetPublicShareByToken" + LinkAPI_ListPublicShares_FullMethodName = "/cs3.sharing.link.v1beta1.LinkAPI/ListPublicShares" + LinkAPI_UpdatePublicShare_FullMethodName = "/cs3.sharing.link.v1beta1.LinkAPI/UpdatePublicShare" +) + +// LinkAPIClient is the client API for LinkAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type LinkAPIClient interface { + // Creates a new share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreatePublicShare(ctx context.Context, in *CreatePublicShareRequest, opts ...grpc.CallOption) (*CreatePublicShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemovePublicShare(ctx context.Context, in *RemovePublicShareRequest, opts ...grpc.CallOption) (*RemovePublicShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetPublicShare(ctx context.Context, in *GetPublicShareRequest, opts ...grpc.CallOption) (*GetPublicShareResponse, error) + // Gets share information for a single share by its unlisted token. + // MUST return CODE_NOT_FOUND if the share does not exist. + GetPublicShareByToken(ctx context.Context, in *GetPublicShareByTokenRequest, opts ...grpc.CallOption) (*GetPublicShareByTokenResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListPublicShares(ctx context.Context, in *ListPublicSharesRequest, opts ...grpc.CallOption) (*ListPublicSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdatePublicShare(ctx context.Context, in *UpdatePublicShareRequest, opts ...grpc.CallOption) (*UpdatePublicShareResponse, error) +} + +type linkAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewLinkAPIClient(cc grpc.ClientConnInterface) LinkAPIClient { + return &linkAPIClient{cc} +} + +func (c *linkAPIClient) CreatePublicShare(ctx context.Context, in *CreatePublicShareRequest, opts ...grpc.CallOption) (*CreatePublicShareResponse, error) { + out := new(CreatePublicShareResponse) + err := c.cc.Invoke(ctx, LinkAPI_CreatePublicShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *linkAPIClient) RemovePublicShare(ctx context.Context, in *RemovePublicShareRequest, opts ...grpc.CallOption) (*RemovePublicShareResponse, error) { + out := new(RemovePublicShareResponse) + err := c.cc.Invoke(ctx, LinkAPI_RemovePublicShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *linkAPIClient) GetPublicShare(ctx context.Context, in *GetPublicShareRequest, opts ...grpc.CallOption) (*GetPublicShareResponse, error) { + out := new(GetPublicShareResponse) + err := c.cc.Invoke(ctx, LinkAPI_GetPublicShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *linkAPIClient) GetPublicShareByToken(ctx context.Context, in *GetPublicShareByTokenRequest, opts ...grpc.CallOption) (*GetPublicShareByTokenResponse, error) { + out := new(GetPublicShareByTokenResponse) + err := c.cc.Invoke(ctx, LinkAPI_GetPublicShareByToken_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *linkAPIClient) ListPublicShares(ctx context.Context, in *ListPublicSharesRequest, opts ...grpc.CallOption) (*ListPublicSharesResponse, error) { + out := new(ListPublicSharesResponse) + err := c.cc.Invoke(ctx, LinkAPI_ListPublicShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *linkAPIClient) UpdatePublicShare(ctx context.Context, in *UpdatePublicShareRequest, opts ...grpc.CallOption) (*UpdatePublicShareResponse, error) { + out := new(UpdatePublicShareResponse) + err := c.cc.Invoke(ctx, LinkAPI_UpdatePublicShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// LinkAPIServer is the server API for LinkAPI service. +// All implementations should embed UnimplementedLinkAPIServer +// for forward compatibility +type LinkAPIServer interface { + // Creates a new share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING. + CreatePublicShare(context.Context, *CreatePublicShareRequest) (*CreatePublicShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + RemovePublicShare(context.Context, *RemovePublicShareRequest) (*RemovePublicShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetPublicShare(context.Context, *GetPublicShareRequest) (*GetPublicShareResponse, error) + // Gets share information for a single share by its unlisted token. + // MUST return CODE_NOT_FOUND if the share does not exist. + GetPublicShareByToken(context.Context, *GetPublicShareByTokenRequest) (*GetPublicShareByTokenResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListPublicShares(context.Context, *ListPublicSharesRequest) (*ListPublicSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdatePublicShare(context.Context, *UpdatePublicShareRequest) (*UpdatePublicShareResponse, error) +} + +// UnimplementedLinkAPIServer should be embedded to have forward compatible implementations. +type UnimplementedLinkAPIServer struct { +} + +func (UnimplementedLinkAPIServer) CreatePublicShare(context.Context, *CreatePublicShareRequest) (*CreatePublicShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreatePublicShare not implemented") +} +func (UnimplementedLinkAPIServer) RemovePublicShare(context.Context, *RemovePublicShareRequest) (*RemovePublicShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemovePublicShare not implemented") +} +func (UnimplementedLinkAPIServer) GetPublicShare(context.Context, *GetPublicShareRequest) (*GetPublicShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPublicShare not implemented") +} +func (UnimplementedLinkAPIServer) GetPublicShareByToken(context.Context, *GetPublicShareByTokenRequest) (*GetPublicShareByTokenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPublicShareByToken not implemented") +} +func (UnimplementedLinkAPIServer) ListPublicShares(context.Context, *ListPublicSharesRequest) (*ListPublicSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListPublicShares not implemented") +} +func (UnimplementedLinkAPIServer) UpdatePublicShare(context.Context, *UpdatePublicShareRequest) (*UpdatePublicShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdatePublicShare not implemented") +} + +// UnsafeLinkAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to LinkAPIServer will +// result in compilation errors. +type UnsafeLinkAPIServer interface { + mustEmbedUnimplementedLinkAPIServer() +} + +func RegisterLinkAPIServer(s grpc.ServiceRegistrar, srv LinkAPIServer) { + s.RegisterService(&LinkAPI_ServiceDesc, srv) +} + +func _LinkAPI_CreatePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreatePublicShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LinkAPIServer).CreatePublicShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: LinkAPI_CreatePublicShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LinkAPIServer).CreatePublicShare(ctx, req.(*CreatePublicShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _LinkAPI_RemovePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemovePublicShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LinkAPIServer).RemovePublicShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: LinkAPI_RemovePublicShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LinkAPIServer).RemovePublicShare(ctx, req.(*RemovePublicShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _LinkAPI_GetPublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPublicShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LinkAPIServer).GetPublicShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: LinkAPI_GetPublicShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LinkAPIServer).GetPublicShare(ctx, req.(*GetPublicShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _LinkAPI_GetPublicShareByToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPublicShareByTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LinkAPIServer).GetPublicShareByToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: LinkAPI_GetPublicShareByToken_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LinkAPIServer).GetPublicShareByToken(ctx, req.(*GetPublicShareByTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _LinkAPI_ListPublicShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListPublicSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LinkAPIServer).ListPublicShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: LinkAPI_ListPublicShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LinkAPIServer).ListPublicShares(ctx, req.(*ListPublicSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _LinkAPI_UpdatePublicShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdatePublicShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(LinkAPIServer).UpdatePublicShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: LinkAPI_UpdatePublicShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(LinkAPIServer).UpdatePublicShare(ctx, req.(*UpdatePublicShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// LinkAPI_ServiceDesc is the grpc.ServiceDesc for LinkAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var LinkAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.sharing.link.v1beta1.LinkAPI", + HandlerType: (*LinkAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreatePublicShare", + Handler: _LinkAPI_CreatePublicShare_Handler, + }, + { + MethodName: "RemovePublicShare", + Handler: _LinkAPI_RemovePublicShare_Handler, + }, + { + MethodName: "GetPublicShare", + Handler: _LinkAPI_GetPublicShare_Handler, + }, + { + MethodName: "GetPublicShareByToken", + Handler: _LinkAPI_GetPublicShareByToken_Handler, + }, + { + MethodName: "ListPublicShares", + Handler: _LinkAPI_ListPublicShares_Handler, + }, + { + MethodName: "UpdatePublicShare", + Handler: _LinkAPI_UpdatePublicShare_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/sharing/link/v1beta1/link_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/resources.pb.go index 52718a1c018..ddbdaf81063 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1/resources.pb.go @@ -1,27 +1,45 @@ +// Copyright 2018-2023 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/sharing/link/v1beta1/resources.proto package linkv1beta1 import ( - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // Public share are relationships between a resource owner // (usually the authenticated user) who grants permissions to a recipient (grantee) @@ -30,6 +48,10 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // This is not needed if when getting the shares a stat operation is launched against the // the storage provider. type PublicShare struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // Opaque unique identifier of the share. Id *PublicShareId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -93,185 +115,197 @@ type PublicShare struct { // OPTIONAL // Comma-separated list of extra email addresses to notify when a file is // uploaded to the share. - NotifyUploadsExtraRecipients string `protobuf:"bytes,16,opt,name=notify_uploads_extra_recipients,json=notifyUploadsExtraRecipients,proto3" json:"notify_uploads_extra_recipients,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NotifyUploadsExtraRecipients string `protobuf:"bytes,16,opt,name=notify_uploads_extra_recipients,json=notifyUploadsExtraRecipients,proto3" json:"notify_uploads_extra_recipients,omitempty"` } -func (m *PublicShare) Reset() { *m = PublicShare{} } -func (m *PublicShare) String() string { return proto.CompactTextString(m) } -func (*PublicShare) ProtoMessage() {} -func (*PublicShare) Descriptor() ([]byte, []int) { - return fileDescriptor_2f13c61869aaebc4, []int{0} +func (x *PublicShare) Reset() { + *x = PublicShare{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PublicShare) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicShare.Unmarshal(m, b) +func (x *PublicShare) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PublicShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicShare.Marshal(b, m, deterministic) -} -func (m *PublicShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicShare.Merge(m, src) -} -func (m *PublicShare) XXX_Size() int { - return xxx_messageInfo_PublicShare.Size(m) -} -func (m *PublicShare) XXX_DiscardUnknown() { - xxx_messageInfo_PublicShare.DiscardUnknown(m) + +func (*PublicShare) ProtoMessage() {} + +func (x *PublicShare) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_resources_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) } -var xxx_messageInfo_PublicShare proto.InternalMessageInfo +// Deprecated: Use PublicShare.ProtoReflect.Descriptor instead. +func (*PublicShare) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *PublicShare) GetId() *PublicShareId { - if m != nil { - return m.Id +func (x *PublicShare) GetId() *PublicShareId { + if x != nil { + return x.Id } return nil } -func (m *PublicShare) GetToken() string { - if m != nil { - return m.Token +func (x *PublicShare) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *PublicShare) GetResourceId() *v1beta1.ResourceId { - if m != nil { - return m.ResourceId +func (x *PublicShare) GetResourceId() *v1beta1.ResourceId { + if x != nil { + return x.ResourceId } return nil } -func (m *PublicShare) GetPermissions() *PublicSharePermissions { - if m != nil { - return m.Permissions +func (x *PublicShare) GetPermissions() *PublicSharePermissions { + if x != nil { + return x.Permissions } return nil } -func (m *PublicShare) GetOwner() *v1beta11.UserId { - if m != nil { - return m.Owner +func (x *PublicShare) GetOwner() *v1beta11.UserId { + if x != nil { + return x.Owner } return nil } -func (m *PublicShare) GetCreator() *v1beta11.UserId { - if m != nil { - return m.Creator +func (x *PublicShare) GetCreator() *v1beta11.UserId { + if x != nil { + return x.Creator } return nil } -func (m *PublicShare) GetCtime() *v1beta12.Timestamp { - if m != nil { - return m.Ctime +func (x *PublicShare) GetCtime() *v1beta12.Timestamp { + if x != nil { + return x.Ctime } return nil } -func (m *PublicShare) GetMtime() *v1beta12.Timestamp { - if m != nil { - return m.Mtime +func (x *PublicShare) GetMtime() *v1beta12.Timestamp { + if x != nil { + return x.Mtime } return nil } -func (m *PublicShare) GetPasswordProtected() bool { - if m != nil { - return m.PasswordProtected +func (x *PublicShare) GetPasswordProtected() bool { + if x != nil { + return x.PasswordProtected } return false } -func (m *PublicShare) GetExpiration() *v1beta12.Timestamp { - if m != nil { - return m.Expiration +func (x *PublicShare) GetExpiration() *v1beta12.Timestamp { + if x != nil { + return x.Expiration } return nil } -func (m *PublicShare) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *PublicShare) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *PublicShare) GetSignature() *ShareSignature { - if m != nil { - return m.Signature +func (x *PublicShare) GetSignature() *ShareSignature { + if x != nil { + return x.Signature } return nil } -func (m *PublicShare) GetQuicklink() bool { - if m != nil { - return m.Quicklink +func (x *PublicShare) GetQuicklink() bool { + if x != nil { + return x.Quicklink } return false } -func (m *PublicShare) GetDescription() string { - if m != nil { - return m.Description +func (x *PublicShare) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *PublicShare) GetNotifyUploads() bool { - if m != nil { - return m.NotifyUploads +func (x *PublicShare) GetNotifyUploads() bool { + if x != nil { + return x.NotifyUploads } return false } -func (m *PublicShare) GetNotifyUploadsExtraRecipients() string { - if m != nil { - return m.NotifyUploadsExtraRecipients +func (x *PublicShare) GetNotifyUploadsExtraRecipients() string { + if x != nil { + return x.NotifyUploadsExtraRecipients } return "" } // The permissions for a share. type PublicSharePermissions struct { - Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PublicSharePermissions) Reset() { *m = PublicSharePermissions{} } -func (m *PublicSharePermissions) String() string { return proto.CompactTextString(m) } -func (*PublicSharePermissions) ProtoMessage() {} -func (*PublicSharePermissions) Descriptor() ([]byte, []int) { - return fileDescriptor_2f13c61869aaebc4, []int{1} + Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` // TODO(labkode): additional permissions for shares like re-sharing } -func (m *PublicSharePermissions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicSharePermissions.Unmarshal(m, b) -} -func (m *PublicSharePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicSharePermissions.Marshal(b, m, deterministic) -} -func (m *PublicSharePermissions) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicSharePermissions.Merge(m, src) +func (x *PublicSharePermissions) Reset() { + *x = PublicSharePermissions{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PublicSharePermissions) XXX_Size() int { - return xxx_messageInfo_PublicSharePermissions.Size(m) + +func (x *PublicSharePermissions) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PublicSharePermissions) XXX_DiscardUnknown() { - xxx_messageInfo_PublicSharePermissions.DiscardUnknown(m) + +func (*PublicSharePermissions) ProtoMessage() {} + +func (x *PublicSharePermissions) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_resources_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) } -var xxx_messageInfo_PublicSharePermissions proto.InternalMessageInfo +// Deprecated: Use PublicSharePermissions.ProtoReflect.Descriptor instead. +func (*PublicSharePermissions) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *PublicSharePermissions) GetPermissions() *v1beta1.ResourcePermissions { - if m != nil { - return m.Permissions +func (x *PublicSharePermissions) GetPermissions() *v1beta1.ResourcePermissions { + if x != nil { + return x.Permissions } return nil } @@ -279,44 +313,52 @@ func (m *PublicSharePermissions) GetPermissions() *v1beta1.ResourcePermissions { // A share id identifies uniquely a // share in the share provider namespace. // A ShareId MUST be unique inside the share provider. type PublicShareId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The internal id used by service implementor to // uniquely identity the share in the internal // implementation of the service. - OpaqueId string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OpaqueId string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` } -func (m *PublicShareId) Reset() { *m = PublicShareId{} } -func (m *PublicShareId) String() string { return proto.CompactTextString(m) } -func (*PublicShareId) ProtoMessage() {} -func (*PublicShareId) Descriptor() ([]byte, []int) { - return fileDescriptor_2f13c61869aaebc4, []int{2} +func (x *PublicShareId) Reset() { + *x = PublicShareId{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PublicShareId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicShareId.Unmarshal(m, b) -} -func (m *PublicShareId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicShareId.Marshal(b, m, deterministic) -} -func (m *PublicShareId) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicShareId.Merge(m, src) +func (x *PublicShareId) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PublicShareId) XXX_Size() int { - return xxx_messageInfo_PublicShareId.Size(m) -} -func (m *PublicShareId) XXX_DiscardUnknown() { - xxx_messageInfo_PublicShareId.DiscardUnknown(m) + +func (*PublicShareId) ProtoMessage() {} + +func (x *PublicShareId) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_resources_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) } -var xxx_messageInfo_PublicShareId proto.InternalMessageInfo +// Deprecated: Use PublicShareId.ProtoReflect.Descriptor instead. +func (*PublicShareId) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_resources_proto_rawDescGZIP(), []int{2} +} -func (m *PublicShareId) GetOpaqueId() string { - if m != nil { - return m.OpaqueId +func (x *PublicShareId) GetOpaqueId() string { + if x != nil { + return x.OpaqueId } return "" } @@ -324,59 +366,52 @@ func (m *PublicShareId) GetOpaqueId() string { // The mechanism to identify a share // in the share provider namespace. type PublicShareReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // One of the specifications MUST be specified. // - // Types that are valid to be assigned to Spec: + // Types that are assignable to Spec: + // // *PublicShareReference_Id // *PublicShareReference_Token - Spec isPublicShareReference_Spec `protobuf_oneof:"spec"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spec isPublicShareReference_Spec `protobuf_oneof:"spec"` } -func (m *PublicShareReference) Reset() { *m = PublicShareReference{} } -func (m *PublicShareReference) String() string { return proto.CompactTextString(m) } -func (*PublicShareReference) ProtoMessage() {} -func (*PublicShareReference) Descriptor() ([]byte, []int) { - return fileDescriptor_2f13c61869aaebc4, []int{3} +func (x *PublicShareReference) Reset() { + *x = PublicShareReference{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PublicShareReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicShareReference.Unmarshal(m, b) -} -func (m *PublicShareReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicShareReference.Marshal(b, m, deterministic) -} -func (m *PublicShareReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicShareReference.Merge(m, src) -} -func (m *PublicShareReference) XXX_Size() int { - return xxx_messageInfo_PublicShareReference.Size(m) -} -func (m *PublicShareReference) XXX_DiscardUnknown() { - xxx_messageInfo_PublicShareReference.DiscardUnknown(m) +func (x *PublicShareReference) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PublicShareReference proto.InternalMessageInfo +func (*PublicShareReference) ProtoMessage() {} -type isPublicShareReference_Spec interface { - isPublicShareReference_Spec() -} - -type PublicShareReference_Id struct { - Id *PublicShareId `protobuf:"bytes,1,opt,name=id,proto3,oneof"` +func (x *PublicShareReference) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_resources_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) } -type PublicShareReference_Token struct { - Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"` +// Deprecated: Use PublicShareReference.ProtoReflect.Descriptor instead. +func (*PublicShareReference) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_resources_proto_rawDescGZIP(), []int{3} } -func (*PublicShareReference_Id) isPublicShareReference_Spec() {} - -func (*PublicShareReference_Token) isPublicShareReference_Spec() {} - func (m *PublicShareReference) GetSpec() isPublicShareReference_Spec { if m != nil { return m.Spec @@ -384,81 +419,84 @@ func (m *PublicShareReference) GetSpec() isPublicShareReference_Spec { return nil } -func (m *PublicShareReference) GetId() *PublicShareId { - if x, ok := m.GetSpec().(*PublicShareReference_Id); ok { +func (x *PublicShareReference) GetId() *PublicShareId { + if x, ok := x.GetSpec().(*PublicShareReference_Id); ok { return x.Id } return nil } -func (m *PublicShareReference) GetToken() string { - if x, ok := m.GetSpec().(*PublicShareReference_Token); ok { +func (x *PublicShareReference) GetToken() string { + if x, ok := x.GetSpec().(*PublicShareReference_Token); ok { return x.Token } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PublicShareReference) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PublicShareReference_Id)(nil), - (*PublicShareReference_Token)(nil), - } +type isPublicShareReference_Spec interface { + isPublicShareReference_Spec() +} + +type PublicShareReference_Id struct { + // The id of the share. + Id *PublicShareId `protobuf:"bytes,1,opt,name=id,proto3,oneof"` +} + +type PublicShareReference_Token struct { + // The token to identify the public share. + Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"` } +func (*PublicShareReference_Id) isPublicShareReference_Spec() {} + +func (*PublicShareReference_Token) isPublicShareReference_Spec() {} + // The mechanism to authenticate a request to // GetPublicShareByToken. type PublicShareAuthentication struct { - // Types that are valid to be assigned to Spec: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Spec: + // // *PublicShareAuthentication_Password // *PublicShareAuthentication_Signature - Spec isPublicShareAuthentication_Spec `protobuf_oneof:"spec"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spec isPublicShareAuthentication_Spec `protobuf_oneof:"spec"` } -func (m *PublicShareAuthentication) Reset() { *m = PublicShareAuthentication{} } -func (m *PublicShareAuthentication) String() string { return proto.CompactTextString(m) } -func (*PublicShareAuthentication) ProtoMessage() {} -func (*PublicShareAuthentication) Descriptor() ([]byte, []int) { - return fileDescriptor_2f13c61869aaebc4, []int{4} +func (x *PublicShareAuthentication) Reset() { + *x = PublicShareAuthentication{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PublicShareAuthentication) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicShareAuthentication.Unmarshal(m, b) -} -func (m *PublicShareAuthentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicShareAuthentication.Marshal(b, m, deterministic) -} -func (m *PublicShareAuthentication) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicShareAuthentication.Merge(m, src) -} -func (m *PublicShareAuthentication) XXX_Size() int { - return xxx_messageInfo_PublicShareAuthentication.Size(m) -} -func (m *PublicShareAuthentication) XXX_DiscardUnknown() { - xxx_messageInfo_PublicShareAuthentication.DiscardUnknown(m) +func (x *PublicShareAuthentication) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PublicShareAuthentication proto.InternalMessageInfo +func (*PublicShareAuthentication) ProtoMessage() {} -type isPublicShareAuthentication_Spec interface { - isPublicShareAuthentication_Spec() -} - -type PublicShareAuthentication_Password struct { - Password string `protobuf:"bytes,1,opt,name=password,proto3,oneof"` +func (x *PublicShareAuthentication) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_resources_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) } -type PublicShareAuthentication_Signature struct { - Signature *ShareSignature `protobuf:"bytes,2,opt,name=signature,proto3,oneof"` +// Deprecated: Use PublicShareAuthentication.ProtoReflect.Descriptor instead. +func (*PublicShareAuthentication) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_resources_proto_rawDescGZIP(), []int{4} } -func (*PublicShareAuthentication_Password) isPublicShareAuthentication_Spec() {} - -func (*PublicShareAuthentication_Signature) isPublicShareAuthentication_Spec() {} - func (m *PublicShareAuthentication) GetSpec() isPublicShareAuthentication_Spec { if m != nil { return m.Spec @@ -466,83 +504,105 @@ func (m *PublicShareAuthentication) GetSpec() isPublicShareAuthentication_Spec { return nil } -func (m *PublicShareAuthentication) GetPassword() string { - if x, ok := m.GetSpec().(*PublicShareAuthentication_Password); ok { +func (x *PublicShareAuthentication) GetPassword() string { + if x, ok := x.GetSpec().(*PublicShareAuthentication_Password); ok { return x.Password } return "" } -func (m *PublicShareAuthentication) GetSignature() *ShareSignature { - if x, ok := m.GetSpec().(*PublicShareAuthentication_Signature); ok { +func (x *PublicShareAuthentication) GetSignature() *ShareSignature { + if x, ok := x.GetSpec().(*PublicShareAuthentication_Signature); ok { return x.Signature } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PublicShareAuthentication) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PublicShareAuthentication_Password)(nil), - (*PublicShareAuthentication_Signature)(nil), - } +type isPublicShareAuthentication_Spec interface { + isPublicShareAuthentication_Spec() +} + +type PublicShareAuthentication_Password struct { + // The password of the share. + Password string `protobuf:"bytes,1,opt,name=password,proto3,oneof"` +} + +type PublicShareAuthentication_Signature struct { + // The signature issued by GetPublicShareByToken. + Signature *ShareSignature `protobuf:"bytes,2,opt,name=signature,proto3,oneof"` } +func (*PublicShareAuthentication_Password) isPublicShareAuthentication_Spec() {} + +func (*PublicShareAuthentication_Signature) isPublicShareAuthentication_Spec() {} + // A time constrained token which can be used to // authenticate link share requests. type ShareSignature struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The signature value. Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // REQUIRED. // The time until the signature becomes invalid. - SignatureExpiration *v1beta12.Timestamp `protobuf:"bytes,2,opt,name=signature_expiration,json=signatureExpiration,proto3" json:"signature_expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SignatureExpiration *v1beta12.Timestamp `protobuf:"bytes,2,opt,name=signature_expiration,json=signatureExpiration,proto3" json:"signature_expiration,omitempty"` } -func (m *ShareSignature) Reset() { *m = ShareSignature{} } -func (m *ShareSignature) String() string { return proto.CompactTextString(m) } -func (*ShareSignature) ProtoMessage() {} -func (*ShareSignature) Descriptor() ([]byte, []int) { - return fileDescriptor_2f13c61869aaebc4, []int{5} +func (x *ShareSignature) Reset() { + *x = ShareSignature{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShareSignature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShareSignature.Unmarshal(m, b) -} -func (m *ShareSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShareSignature.Marshal(b, m, deterministic) -} -func (m *ShareSignature) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShareSignature.Merge(m, src) +func (x *ShareSignature) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShareSignature) XXX_Size() int { - return xxx_messageInfo_ShareSignature.Size(m) -} -func (m *ShareSignature) XXX_DiscardUnknown() { - xxx_messageInfo_ShareSignature.DiscardUnknown(m) + +func (*ShareSignature) ProtoMessage() {} + +func (x *ShareSignature) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_resources_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) } -var xxx_messageInfo_ShareSignature proto.InternalMessageInfo +// Deprecated: Use ShareSignature.ProtoReflect.Descriptor instead. +func (*ShareSignature) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_resources_proto_rawDescGZIP(), []int{5} +} -func (m *ShareSignature) GetSignature() string { - if m != nil { - return m.Signature +func (x *ShareSignature) GetSignature() string { + if x != nil { + return x.Signature } return "" } -func (m *ShareSignature) GetSignatureExpiration() *v1beta12.Timestamp { - if m != nil { - return m.SignatureExpiration +func (x *ShareSignature) GetSignatureExpiration() *v1beta12.Timestamp { + if x != nil { + return x.SignatureExpiration } return nil } // Defines the restrictions for the public share. type Grant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The permissions for the share. Permissions *PublicSharePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` @@ -551,120 +611,359 @@ type Grant struct { Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // OPTIONAL. // An expiration date to protect the access to the public share. - Expiration *v1beta12.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration *v1beta12.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *Grant) Reset() { *m = Grant{} } -func (m *Grant) String() string { return proto.CompactTextString(m) } -func (*Grant) ProtoMessage() {} -func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_2f13c61869aaebc4, []int{6} +func (x *Grant) Reset() { + *x = Grant{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Grant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Grant.Unmarshal(m, b) -} -func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Grant.Marshal(b, m, deterministic) +func (x *Grant) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Grant) XXX_Merge(src proto.Message) { - xxx_messageInfo_Grant.Merge(m, src) -} -func (m *Grant) XXX_Size() int { - return xxx_messageInfo_Grant.Size(m) -} -func (m *Grant) XXX_DiscardUnknown() { - xxx_messageInfo_Grant.DiscardUnknown(m) + +func (*Grant) ProtoMessage() {} + +func (x *Grant) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_link_v1beta1_resources_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) } -var xxx_messageInfo_Grant proto.InternalMessageInfo +// Deprecated: Use Grant.ProtoReflect.Descriptor instead. +func (*Grant) Descriptor() ([]byte, []int) { + return file_cs3_sharing_link_v1beta1_resources_proto_rawDescGZIP(), []int{6} +} -func (m *Grant) GetPermissions() *PublicSharePermissions { - if m != nil { - return m.Permissions +func (x *Grant) GetPermissions() *PublicSharePermissions { + if x != nil { + return x.Permissions } return nil } -func (m *Grant) GetPassword() string { - if m != nil { - return m.Password +func (x *Grant) GetPassword() string { + if x != nil { + return x.Password } return "" } -func (m *Grant) GetExpiration() *v1beta12.Timestamp { - if m != nil { - return m.Expiration +func (x *Grant) GetExpiration() *v1beta12.Timestamp { + if x != nil { + return x.Expiration } return nil } -func init() { - proto.RegisterType((*PublicShare)(nil), "cs3.sharing.link.v1beta1.PublicShare") - proto.RegisterType((*PublicSharePermissions)(nil), "cs3.sharing.link.v1beta1.PublicSharePermissions") - proto.RegisterType((*PublicShareId)(nil), "cs3.sharing.link.v1beta1.PublicShareId") - proto.RegisterType((*PublicShareReference)(nil), "cs3.sharing.link.v1beta1.PublicShareReference") - proto.RegisterType((*PublicShareAuthentication)(nil), "cs3.sharing.link.v1beta1.PublicShareAuthentication") - proto.RegisterType((*ShareSignature)(nil), "cs3.sharing.link.v1beta1.ShareSignature") - proto.RegisterType((*Grant)(nil), "cs3.sharing.link.v1beta1.Grant") -} - -func init() { - proto.RegisterFile("cs3/sharing/link/v1beta1/resources.proto", fileDescriptor_2f13c61869aaebc4) -} - -var fileDescriptor_2f13c61869aaebc4 = []byte{ - // 753 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdd, 0x4e, 0x1b, 0x47, - 0x14, 0x66, 0x0d, 0x36, 0xf6, 0x59, 0x70, 0xdb, 0x29, 0x42, 0x53, 0xea, 0xaa, 0xc6, 0x52, 0x55, - 0x57, 0xa2, 0xeb, 0x1a, 0x5f, 0xa0, 0xaa, 0xbd, 0xa9, 0x11, 0xad, 0x2d, 0xa1, 0xc6, 0x5a, 0x87, - 0x5c, 0x44, 0x48, 0xd6, 0xb0, 0x3b, 0xc0, 0x08, 0xef, 0xce, 0x32, 0x33, 0x0b, 0xf8, 0x2a, 0x0f, - 0x90, 0xb7, 0xc8, 0x65, 0xee, 0xf3, 0x12, 0x79, 0x89, 0xbc, 0x4a, 0x34, 0xb3, 0x3f, 0x5e, 0x47, - 0x38, 0x32, 0x51, 0xee, 0x3c, 0xe7, 0x7c, 0xdf, 0x37, 0x67, 0xf6, 0x7c, 0xe7, 0x18, 0xda, 0x9e, - 0xec, 0x75, 0xe4, 0x35, 0x11, 0x2c, 0xbc, 0xea, 0x4c, 0x59, 0x78, 0xd3, 0xb9, 0xeb, 0x5e, 0x50, - 0x45, 0xba, 0x1d, 0x41, 0x25, 0x8f, 0x85, 0x47, 0xa5, 0x13, 0x09, 0xae, 0x38, 0xc2, 0x9e, 0xec, - 0x39, 0x29, 0xd2, 0xd1, 0x48, 0x27, 0x45, 0xee, 0xfd, 0xa6, 0x35, 0x98, 0x4f, 0x43, 0xc5, 0xd4, - 0xac, 0x13, 0x4b, 0x2a, 0x96, 0x89, 0xec, 0x1d, 0x98, 0xeb, 0x14, 0x17, 0xe4, 0x8a, 0x76, 0x22, - 0xc1, 0xef, 0x98, 0xff, 0x19, 0xf4, 0x4f, 0x1a, 0xad, 0x66, 0x11, 0x95, 0x39, 0xc4, 0x9c, 0x92, - 0x74, 0xeb, 0x43, 0x05, 0xec, 0x51, 0x7c, 0x31, 0x65, 0xde, 0xf8, 0x9a, 0x08, 0x8a, 0x8e, 0xa0, - 0xc4, 0x7c, 0x6c, 0x35, 0xad, 0xb6, 0x7d, 0xf8, 0xab, 0xb3, 0xac, 0x5c, 0xa7, 0x40, 0x19, 0xfa, - 0x6e, 0x89, 0xf9, 0x68, 0x07, 0xca, 0x8a, 0xdf, 0xd0, 0x10, 0x97, 0x9a, 0x56, 0xbb, 0xe6, 0x26, - 0x07, 0x34, 0x04, 0x3b, 0x2b, 0x68, 0xc2, 0x7c, 0xbc, 0x6e, 0x74, 0xdb, 0x89, 0x6e, 0xf2, 0x02, - 0x27, 0x7b, 0x41, 0xae, 0xed, 0xa6, 0x84, 0xa1, 0xef, 0x82, 0xc8, 0x7f, 0x23, 0x17, 0xec, 0x88, - 0x8a, 0x80, 0x49, 0xc9, 0x78, 0x28, 0xf1, 0x86, 0x91, 0xfa, 0x63, 0xa5, 0x12, 0x47, 0x73, 0x9e, - 0x5b, 0x14, 0x41, 0x47, 0x50, 0xe6, 0xf7, 0x21, 0x15, 0xb8, 0x6c, 0xd4, 0xf6, 0x8d, 0x5a, 0xd6, - 0x05, 0x47, 0x77, 0x21, 0x97, 0x3b, 0x93, 0x54, 0x0c, 0x7d, 0x37, 0xc1, 0xa3, 0xbf, 0x60, 0xd3, - 0x13, 0x94, 0x28, 0x2e, 0x70, 0x65, 0x55, 0x6a, 0xc6, 0x40, 0x87, 0x50, 0xf6, 0x14, 0x0b, 0x28, - 0xde, 0x34, 0xd4, 0x86, 0xa1, 0x26, 0x4d, 0xc9, 0x28, 0xcf, 0x59, 0x40, 0xa5, 0x22, 0x41, 0xe4, - 0x26, 0x50, 0xcd, 0x09, 0x0c, 0xa7, 0xba, 0x0a, 0xc7, 0x40, 0xd1, 0xef, 0x80, 0x22, 0x22, 0xe5, - 0x3d, 0x17, 0xfe, 0x44, 0x77, 0x9b, 0x7a, 0x8a, 0xfa, 0xb8, 0xd6, 0xb4, 0xda, 0x55, 0xf7, 0xbb, - 0x2c, 0x33, 0xca, 0x12, 0xe8, 0x6f, 0x00, 0xfa, 0x10, 0x31, 0x41, 0x14, 0xe3, 0x21, 0x86, 0x15, - 0xee, 0x29, 0xe0, 0xd1, 0x3e, 0x6c, 0xf9, 0x4c, 0x46, 0x53, 0x32, 0x9b, 0x84, 0x24, 0xa0, 0xd8, - 0x36, 0x36, 0xb0, 0xd3, 0xd8, 0xff, 0x24, 0xa0, 0xe8, 0x5f, 0xa8, 0x49, 0x76, 0x15, 0x12, 0x15, - 0x0b, 0x8a, 0xb7, 0x8a, 0x56, 0x78, 0xac, 0x7f, 0xa6, 0x73, 0xe3, 0x0c, 0xef, 0xce, 0xa9, 0xa8, - 0x01, 0xb5, 0xdb, 0x98, 0x79, 0x37, 0x1a, 0x8e, 0xb7, 0xcd, 0x73, 0xe6, 0x01, 0xd4, 0x04, 0xdb, - 0xa7, 0xd2, 0x13, 0x2c, 0x32, 0xef, 0xa8, 0xa7, 0x75, 0xcc, 0x43, 0xe8, 0x17, 0xa8, 0x87, 0x5c, - 0xb1, 0xcb, 0xd9, 0x24, 0x8e, 0xa6, 0x9c, 0xf8, 0x12, 0x7f, 0x63, 0x44, 0xb6, 0x93, 0xe8, 0x59, - 0x12, 0x44, 0x27, 0xf0, 0xf3, 0x22, 0x6c, 0x42, 0x1f, 0x94, 0x20, 0x13, 0x41, 0x3d, 0x16, 0x31, - 0x1a, 0x2a, 0x89, 0xbf, 0x35, 0xe2, 0x8d, 0x05, 0xde, 0x89, 0x06, 0xb9, 0x39, 0xa6, 0x15, 0xc0, - 0xee, 0xe3, 0x56, 0x44, 0xe3, 0x45, 0x47, 0x27, 0x43, 0xd7, 0x5d, 0x6d, 0x38, 0x96, 0x59, 0xba, - 0x75, 0x00, 0xdb, 0x0b, 0xc3, 0x89, 0x7e, 0x84, 0x1a, 0x8f, 0xc8, 0x6d, 0x6c, 0x06, 0x30, 0x19, - 0xce, 0x6a, 0x12, 0x18, 0xfa, 0xad, 0x5b, 0xd8, 0x29, 0xa0, 0x5d, 0x7a, 0x49, 0x05, 0x0d, 0x3d, - 0x8a, 0xfe, 0xfc, 0x82, 0x35, 0x30, 0x58, 0x33, 0x8b, 0x60, 0x77, 0x61, 0x11, 0x0c, 0xd6, 0xd2, - 0x55, 0xd0, 0xaf, 0xc0, 0x86, 0x8c, 0xa8, 0xd7, 0x7a, 0x6d, 0xc1, 0x0f, 0x05, 0xde, 0x3f, 0xb1, - 0xba, 0xd6, 0x43, 0xe3, 0x25, 0x36, 0x6a, 0x40, 0x35, 0x73, 0xa6, 0xb9, 0x5e, 0x0b, 0xe4, 0x11, - 0x34, 0x28, 0x3a, 0xa8, 0xf4, 0x34, 0x07, 0x0d, 0xd6, 0x0a, 0x1e, 0xca, 0xab, 0x79, 0x05, 0xf5, - 0x45, 0x98, 0x76, 0xd7, 0xfc, 0x0e, 0x53, 0x42, 0xd1, 0x7b, 0xcf, 0x60, 0x27, 0x3f, 0x4c, 0x0a, - 0xe3, 0x52, 0x5a, 0x61, 0x5c, 0xbe, 0xcf, 0x99, 0x27, 0x39, 0xb1, 0xf5, 0xce, 0x82, 0xf2, 0x7f, - 0x82, 0x84, 0xea, 0xd3, 0x05, 0x67, 0x7d, 0x8d, 0x05, 0xb7, 0x57, 0xf8, 0x9c, 0x69, 0xef, 0xf3, - 0x8f, 0xb9, 0x38, 0xef, 0xeb, 0x4f, 0x9b, 0xf7, 0xfe, 0x0c, 0x1a, 0x1e, 0x0f, 0x96, 0x56, 0xd7, - 0xaf, 0x67, 0x4e, 0x95, 0x7a, 0xc3, 0xf0, 0x91, 0xf5, 0xd2, 0xd6, 0xf9, 0x34, 0xfd, 0xa6, 0xb4, - 0x7e, 0x3c, 0x3e, 0x7d, 0x5b, 0xc2, 0xc7, 0xb2, 0x67, 0xfa, 0xa4, 0xf9, 0xa7, 0x9a, 0xff, 0xa2, - 0xdb, 0xd7, 0x80, 0xf7, 0x26, 0x75, 0x9e, 0xa6, 0xce, 0x75, 0xea, 0x3c, 0x4d, 0x5d, 0x54, 0xcc, - 0x5f, 0x57, 0xef, 0x63, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x46, 0xa1, 0x6b, 0x78, 0x07, 0x00, - 0x00, +var File_cs3_sharing_link_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_sharing_link_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6c, 0x69, + 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, + 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdf, 0x06, 0x0a, + 0x0b, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x37, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, + 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x49, 0x0a, 0x0b, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x52, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x05, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x05, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x63, + 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x70, 0x61, 0x73, 0x73, + 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x72, + 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x12, 0x1c, 0x0a, 0x09, 0x71, 0x75, 0x69, 0x63, 0x6b, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x71, 0x75, 0x69, 0x63, 0x6b, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x20, + 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x75, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x45, 0x0a, 0x1f, 0x6e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x5f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, + 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x1c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x45, + 0x78, 0x74, 0x72, 0x61, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x6d, + 0x0a, 0x16, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2c, 0x0a, + 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x12, 0x1b, + 0x0a, 0x09, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x14, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, + 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, + 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x8b, + 0x01, 0x0a, 0x19, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, 0x61, 0x72, 0x65, 0x41, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x08, + 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x48, 0x0a, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x53, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x7f, 0x0a, 0x0e, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x4f, 0x0a, 0x14, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x13, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb5, 0x01, + 0x0a, 0x05, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xf4, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, + 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, + 0x6c, 0x69, 0x6e, 0x6b, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x53, + 0x4c, 0xaa, 0x02, 0x18, 0x43, 0x73, 0x33, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x4c, 0x69, 0x6e, 0x6b, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x18, 0x43, + 0x73, 0x33, 0x5c, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x4c, 0x69, 0x6e, 0x6b, 0x5c, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x24, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x4c, 0x69, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x1b, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4c, + 0x69, 0x6e, 0x6b, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_sharing_link_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_sharing_link_v1beta1_resources_proto_rawDescData = file_cs3_sharing_link_v1beta1_resources_proto_rawDesc +) + +func file_cs3_sharing_link_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_sharing_link_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_sharing_link_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_sharing_link_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_sharing_link_v1beta1_resources_proto_rawDescData +} + +var file_cs3_sharing_link_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_cs3_sharing_link_v1beta1_resources_proto_goTypes = []interface{}{ + (*PublicShare)(nil), // 0: cs3.sharing.link.v1beta1.PublicShare + (*PublicSharePermissions)(nil), // 1: cs3.sharing.link.v1beta1.PublicSharePermissions + (*PublicShareId)(nil), // 2: cs3.sharing.link.v1beta1.PublicShareId + (*PublicShareReference)(nil), // 3: cs3.sharing.link.v1beta1.PublicShareReference + (*PublicShareAuthentication)(nil), // 4: cs3.sharing.link.v1beta1.PublicShareAuthentication + (*ShareSignature)(nil), // 5: cs3.sharing.link.v1beta1.ShareSignature + (*Grant)(nil), // 6: cs3.sharing.link.v1beta1.Grant + (*v1beta1.ResourceId)(nil), // 7: cs3.storage.provider.v1beta1.ResourceId + (*v1beta11.UserId)(nil), // 8: cs3.identity.user.v1beta1.UserId + (*v1beta12.Timestamp)(nil), // 9: cs3.types.v1beta1.Timestamp + (*v1beta1.ResourcePermissions)(nil), // 10: cs3.storage.provider.v1beta1.ResourcePermissions +} +var file_cs3_sharing_link_v1beta1_resources_proto_depIdxs = []int32{ + 2, // 0: cs3.sharing.link.v1beta1.PublicShare.id:type_name -> cs3.sharing.link.v1beta1.PublicShareId + 7, // 1: cs3.sharing.link.v1beta1.PublicShare.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 1, // 2: cs3.sharing.link.v1beta1.PublicShare.permissions:type_name -> cs3.sharing.link.v1beta1.PublicSharePermissions + 8, // 3: cs3.sharing.link.v1beta1.PublicShare.owner:type_name -> cs3.identity.user.v1beta1.UserId + 8, // 4: cs3.sharing.link.v1beta1.PublicShare.creator:type_name -> cs3.identity.user.v1beta1.UserId + 9, // 5: cs3.sharing.link.v1beta1.PublicShare.ctime:type_name -> cs3.types.v1beta1.Timestamp + 9, // 6: cs3.sharing.link.v1beta1.PublicShare.mtime:type_name -> cs3.types.v1beta1.Timestamp + 9, // 7: cs3.sharing.link.v1beta1.PublicShare.expiration:type_name -> cs3.types.v1beta1.Timestamp + 5, // 8: cs3.sharing.link.v1beta1.PublicShare.signature:type_name -> cs3.sharing.link.v1beta1.ShareSignature + 10, // 9: cs3.sharing.link.v1beta1.PublicSharePermissions.permissions:type_name -> cs3.storage.provider.v1beta1.ResourcePermissions + 2, // 10: cs3.sharing.link.v1beta1.PublicShareReference.id:type_name -> cs3.sharing.link.v1beta1.PublicShareId + 5, // 11: cs3.sharing.link.v1beta1.PublicShareAuthentication.signature:type_name -> cs3.sharing.link.v1beta1.ShareSignature + 9, // 12: cs3.sharing.link.v1beta1.ShareSignature.signature_expiration:type_name -> cs3.types.v1beta1.Timestamp + 1, // 13: cs3.sharing.link.v1beta1.Grant.permissions:type_name -> cs3.sharing.link.v1beta1.PublicSharePermissions + 9, // 14: cs3.sharing.link.v1beta1.Grant.expiration:type_name -> cs3.types.v1beta1.Timestamp + 15, // [15:15] is the sub-list for method output_type + 15, // [15:15] is the sub-list for method input_type + 15, // [15:15] is the sub-list for extension type_name + 15, // [15:15] is the sub-list for extension extendee + 0, // [0:15] is the sub-list for field type_name +} + +func init() { file_cs3_sharing_link_v1beta1_resources_proto_init() } +func file_cs3_sharing_link_v1beta1_resources_proto_init() { + if File_cs3_sharing_link_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublicShare); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublicSharePermissions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublicShareId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublicShareReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublicShareAuthentication); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareSignature); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Grant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*PublicShareReference_Id)(nil), + (*PublicShareReference_Token)(nil), + } + file_cs3_sharing_link_v1beta1_resources_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*PublicShareAuthentication_Password)(nil), + (*PublicShareAuthentication_Signature)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_sharing_link_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_sharing_link_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_sharing_link_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_sharing_link_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_sharing_link_v1beta1_resources_proto = out.File + file_cs3_sharing_link_v1beta1_resources_proto_rawDesc = nil + file_cs3_sharing_link_v1beta1_resources_proto_goTypes = nil + file_cs3_sharing_link_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/ocm_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/ocm_api.pb.go index 4335b67e5d5..1a9a76364c9 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/ocm_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/ocm_api.pb.go @@ -1,34 +1,48 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/sharing/ocm/v1beta1/ocm_api.proto package ocmv1beta1 import ( - context "context" - fmt "fmt" v1beta14 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/ocm/provider/v1beta1" v1beta13 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // REQUIRED. // The filter to apply. @@ -44,35 +58,60 @@ const ( ListOCMSharesRequest_Filter_TYPE_CREATOR_PROVIDER ListOCMSharesRequest_Filter_Type = 6 ) -var ListOCMSharesRequest_Filter_Type_name = map[int32]string{ - 0: "TYPE_INVALID", - 1: "TYPE_NO", - 2: "TYPE_RESOURCE_ID", - 3: "TYPE_OWNER", - 4: "TYPE_CREATOR", - 5: "TYPE_OWNER_PROVIDER", - 6: "TYPE_CREATOR_PROVIDER", -} +// Enum value maps for ListOCMSharesRequest_Filter_Type. +var ( + ListOCMSharesRequest_Filter_Type_name = map[int32]string{ + 0: "TYPE_INVALID", + 1: "TYPE_NO", + 2: "TYPE_RESOURCE_ID", + 3: "TYPE_OWNER", + 4: "TYPE_CREATOR", + 5: "TYPE_OWNER_PROVIDER", + 6: "TYPE_CREATOR_PROVIDER", + } + ListOCMSharesRequest_Filter_Type_value = map[string]int32{ + "TYPE_INVALID": 0, + "TYPE_NO": 1, + "TYPE_RESOURCE_ID": 2, + "TYPE_OWNER": 3, + "TYPE_CREATOR": 4, + "TYPE_OWNER_PROVIDER": 5, + "TYPE_CREATOR_PROVIDER": 6, + } +) -var ListOCMSharesRequest_Filter_Type_value = map[string]int32{ - "TYPE_INVALID": 0, - "TYPE_NO": 1, - "TYPE_RESOURCE_ID": 2, - "TYPE_OWNER": 3, - "TYPE_CREATOR": 4, - "TYPE_OWNER_PROVIDER": 5, - "TYPE_CREATOR_PROVIDER": 6, +func (x ListOCMSharesRequest_Filter_Type) Enum() *ListOCMSharesRequest_Filter_Type { + p := new(ListOCMSharesRequest_Filter_Type) + *p = x + return p } func (x ListOCMSharesRequest_Filter_Type) String() string { - return proto.EnumName(ListOCMSharesRequest_Filter_Type_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ListOCMSharesRequest_Filter_Type) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_enumTypes[0].Descriptor() +} + +func (ListOCMSharesRequest_Filter_Type) Type() protoreflect.EnumType { + return &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_enumTypes[0] +} + +func (x ListOCMSharesRequest_Filter_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ListOCMSharesRequest_Filter_Type.Descriptor instead. func (ListOCMSharesRequest_Filter_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{4, 0, 0} + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{4, 0, 0} } type CreateOCMShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -89,80 +128,88 @@ type CreateOCMShareRequest struct { AccessMethods []*AccessMethod `protobuf:"bytes,5,rep,name=access_methods,json=accessMethods,proto3" json:"access_methods,omitempty"` // OPTIONAL. // The expiration time for the ocm share. - Expiration *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *CreateOCMShareRequest) Reset() { *m = CreateOCMShareRequest{} } -func (m *CreateOCMShareRequest) String() string { return proto.CompactTextString(m) } -func (*CreateOCMShareRequest) ProtoMessage() {} -func (*CreateOCMShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{0} +func (x *CreateOCMShareRequest) Reset() { + *x = CreateOCMShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateOCMShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateOCMShareRequest.Unmarshal(m, b) +func (x *CreateOCMShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateOCMShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateOCMShareRequest.Marshal(b, m, deterministic) -} -func (m *CreateOCMShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateOCMShareRequest.Merge(m, src) -} -func (m *CreateOCMShareRequest) XXX_Size() int { - return xxx_messageInfo_CreateOCMShareRequest.Size(m) -} -func (m *CreateOCMShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateOCMShareRequest.DiscardUnknown(m) + +func (*CreateOCMShareRequest) ProtoMessage() {} + +func (x *CreateOCMShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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) } -var xxx_messageInfo_CreateOCMShareRequest proto.InternalMessageInfo +// Deprecated: Use CreateOCMShareRequest.ProtoReflect.Descriptor instead. +func (*CreateOCMShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{0} +} -func (m *CreateOCMShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateOCMShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateOCMShareRequest) GetResourceId() *v1beta11.ResourceId { - if m != nil { - return m.ResourceId +func (x *CreateOCMShareRequest) GetResourceId() *v1beta11.ResourceId { + if x != nil { + return x.ResourceId } return nil } -func (m *CreateOCMShareRequest) GetGrantee() *v1beta11.Grantee { - if m != nil { - return m.Grantee +func (x *CreateOCMShareRequest) GetGrantee() *v1beta11.Grantee { + if x != nil { + return x.Grantee } return nil } -func (m *CreateOCMShareRequest) GetRecipientMeshProvider() *v1beta12.ProviderInfo { - if m != nil { - return m.RecipientMeshProvider +func (x *CreateOCMShareRequest) GetRecipientMeshProvider() *v1beta12.ProviderInfo { + if x != nil { + return x.RecipientMeshProvider } return nil } -func (m *CreateOCMShareRequest) GetAccessMethods() []*AccessMethod { - if m != nil { - return m.AccessMethods +func (x *CreateOCMShareRequest) GetAccessMethods() []*AccessMethod { + if x != nil { + return x.AccessMethods } return nil } -func (m *CreateOCMShareRequest) GetExpiration() *v1beta1.Timestamp { - if m != nil { - return m.Expiration +func (x *CreateOCMShareRequest) GetExpiration() *v1beta1.Timestamp { + if x != nil { + return x.Expiration } return nil } type CreateOCMShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -174,258 +221,199 @@ type CreateOCMShareResponse struct { Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` // OPTIONAL. // Display name of the recipient of the share. - RecipientDisplayName string `protobuf:"bytes,4,opt,name=recipient_display_name,json=recipientDisplayName,proto3" json:"recipient_display_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RecipientDisplayName string `protobuf:"bytes,4,opt,name=recipient_display_name,json=recipientDisplayName,proto3" json:"recipient_display_name,omitempty"` } -func (m *CreateOCMShareResponse) Reset() { *m = CreateOCMShareResponse{} } -func (m *CreateOCMShareResponse) String() string { return proto.CompactTextString(m) } -func (*CreateOCMShareResponse) ProtoMessage() {} -func (*CreateOCMShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{1} +func (x *CreateOCMShareResponse) Reset() { + *x = CreateOCMShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateOCMShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateOCMShareResponse.Unmarshal(m, b) +func (x *CreateOCMShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateOCMShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateOCMShareResponse.Marshal(b, m, deterministic) -} -func (m *CreateOCMShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateOCMShareResponse.Merge(m, src) -} -func (m *CreateOCMShareResponse) XXX_Size() int { - return xxx_messageInfo_CreateOCMShareResponse.Size(m) -} -func (m *CreateOCMShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateOCMShareResponse.DiscardUnknown(m) + +func (*CreateOCMShareResponse) ProtoMessage() {} + +func (x *CreateOCMShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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) } -var xxx_messageInfo_CreateOCMShareResponse proto.InternalMessageInfo +// Deprecated: Use CreateOCMShareResponse.ProtoReflect.Descriptor instead. +func (*CreateOCMShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{1} +} -func (m *CreateOCMShareResponse) GetStatus() *v1beta13.Status { - if m != nil { - return m.Status +func (x *CreateOCMShareResponse) GetStatus() *v1beta13.Status { + if x != nil { + return x.Status } return nil } -func (m *CreateOCMShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateOCMShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateOCMShareResponse) GetShare() *Share { - if m != nil { - return m.Share +func (x *CreateOCMShareResponse) GetShare() *Share { + if x != nil { + return x.Share } return nil } -func (m *CreateOCMShareResponse) GetRecipientDisplayName() string { - if m != nil { - return m.RecipientDisplayName +func (x *CreateOCMShareResponse) GetRecipientDisplayName() string { + if x != nil { + return x.RecipientDisplayName } return "" } type UpdateOCMShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. - Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - Field []*UpdateOCMShareRequest_UpdateField `protobuf:"bytes,3,rep,name=field,proto3" json:"field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateOCMShareRequest) Reset() { *m = UpdateOCMShareRequest{} } -func (m *UpdateOCMShareRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateOCMShareRequest) ProtoMessage() {} -func (*UpdateOCMShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{2} -} - -func (m *UpdateOCMShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateOCMShareRequest.Unmarshal(m, b) -} -func (m *UpdateOCMShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateOCMShareRequest.Marshal(b, m, deterministic) -} -func (m *UpdateOCMShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOCMShareRequest.Merge(m, src) -} -func (m *UpdateOCMShareRequest) XXX_Size() int { - return xxx_messageInfo_UpdateOCMShareRequest.Size(m) -} -func (m *UpdateOCMShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateOCMShareRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateOCMShareRequest proto.InternalMessageInfo - -func (m *UpdateOCMShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *UpdateOCMShareRequest) GetRef() *ShareReference { - if m != nil { - return m.Ref - } - return nil + Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` + Field []*UpdateOCMShareRequest_UpdateField `protobuf:"bytes,3,rep,name=field,proto3" json:"field,omitempty"` } -func (m *UpdateOCMShareRequest) GetField() []*UpdateOCMShareRequest_UpdateField { - if m != nil { - return m.Field +func (x *UpdateOCMShareRequest) Reset() { + *x = UpdateOCMShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil -} - -// REQUIRED. -type UpdateOCMShareRequest_UpdateField struct { - // One of the update fields MUST be specified. - // - // Types that are valid to be assigned to Field: - // *UpdateOCMShareRequest_UpdateField_Expiration - // *UpdateOCMShareRequest_UpdateField_AccessMethods - Field isUpdateOCMShareRequest_UpdateField_Field `protobuf_oneof:"field"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *UpdateOCMShareRequest_UpdateField) Reset() { *m = UpdateOCMShareRequest_UpdateField{} } -func (m *UpdateOCMShareRequest_UpdateField) String() string { return proto.CompactTextString(m) } -func (*UpdateOCMShareRequest_UpdateField) ProtoMessage() {} -func (*UpdateOCMShareRequest_UpdateField) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{2, 0} -} - -func (m *UpdateOCMShareRequest_UpdateField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateOCMShareRequest_UpdateField.Unmarshal(m, b) -} -func (m *UpdateOCMShareRequest_UpdateField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateOCMShareRequest_UpdateField.Marshal(b, m, deterministic) +func (x *UpdateOCMShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateOCMShareRequest_UpdateField) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOCMShareRequest_UpdateField.Merge(m, src) -} -func (m *UpdateOCMShareRequest_UpdateField) XXX_Size() int { - return xxx_messageInfo_UpdateOCMShareRequest_UpdateField.Size(m) -} -func (m *UpdateOCMShareRequest_UpdateField) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateOCMShareRequest_UpdateField.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateOCMShareRequest_UpdateField proto.InternalMessageInfo -type isUpdateOCMShareRequest_UpdateField_Field interface { - isUpdateOCMShareRequest_UpdateField_Field() -} +func (*UpdateOCMShareRequest) ProtoMessage() {} -type UpdateOCMShareRequest_UpdateField_Expiration struct { - Expiration *v1beta1.Timestamp `protobuf:"bytes,1,opt,name=expiration,proto3,oneof"` +func (x *UpdateOCMShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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) } -type UpdateOCMShareRequest_UpdateField_AccessMethods struct { - AccessMethods *AccessMethod `protobuf:"bytes,2,opt,name=access_methods,json=accessMethods,proto3,oneof"` +// Deprecated: Use UpdateOCMShareRequest.ProtoReflect.Descriptor instead. +func (*UpdateOCMShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{2} } -func (*UpdateOCMShareRequest_UpdateField_Expiration) isUpdateOCMShareRequest_UpdateField_Field() {} - -func (*UpdateOCMShareRequest_UpdateField_AccessMethods) isUpdateOCMShareRequest_UpdateField_Field() {} - -func (m *UpdateOCMShareRequest_UpdateField) GetField() isUpdateOCMShareRequest_UpdateField_Field { - if m != nil { - return m.Field +func (x *UpdateOCMShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UpdateOCMShareRequest_UpdateField) GetExpiration() *v1beta1.Timestamp { - if x, ok := m.GetField().(*UpdateOCMShareRequest_UpdateField_Expiration); ok { - return x.Expiration +func (x *UpdateOCMShareRequest) GetRef() *ShareReference { + if x != nil { + return x.Ref } return nil } -func (m *UpdateOCMShareRequest_UpdateField) GetAccessMethods() *AccessMethod { - if x, ok := m.GetField().(*UpdateOCMShareRequest_UpdateField_AccessMethods); ok { - return x.AccessMethods +func (x *UpdateOCMShareRequest) GetField() []*UpdateOCMShareRequest_UpdateField { + if x != nil { + return x.Field } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UpdateOCMShareRequest_UpdateField) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UpdateOCMShareRequest_UpdateField_Expiration)(nil), - (*UpdateOCMShareRequest_UpdateField_AccessMethods)(nil), - } -} - type UpdateOCMShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *UpdateOCMShareResponse) Reset() { *m = UpdateOCMShareResponse{} } -func (m *UpdateOCMShareResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateOCMShareResponse) ProtoMessage() {} -func (*UpdateOCMShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{3} +func (x *UpdateOCMShareResponse) Reset() { + *x = UpdateOCMShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateOCMShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateOCMShareResponse.Unmarshal(m, b) -} -func (m *UpdateOCMShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateOCMShareResponse.Marshal(b, m, deterministic) +func (x *UpdateOCMShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateOCMShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOCMShareResponse.Merge(m, src) -} -func (m *UpdateOCMShareResponse) XXX_Size() int { - return xxx_messageInfo_UpdateOCMShareResponse.Size(m) -} -func (m *UpdateOCMShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateOCMShareResponse.DiscardUnknown(m) + +func (*UpdateOCMShareResponse) ProtoMessage() {} + +func (x *UpdateOCMShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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) } -var xxx_messageInfo_UpdateOCMShareResponse proto.InternalMessageInfo +// Deprecated: Use UpdateOCMShareResponse.ProtoReflect.Descriptor instead. +func (*UpdateOCMShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{3} +} -func (m *UpdateOCMShareResponse) GetStatus() *v1beta13.Status { - if m != nil { - return m.Status +func (x *UpdateOCMShareResponse) GetStatus() *v1beta13.Status { + if x != nil { + return x.Status } return nil } -func (m *UpdateOCMShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateOCMShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type ListOCMSharesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -440,172 +428,74 @@ type ListOCMSharesRequest struct { PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListOCMSharesRequest) Reset() { *m = ListOCMSharesRequest{} } -func (m *ListOCMSharesRequest) String() string { return proto.CompactTextString(m) } -func (*ListOCMSharesRequest) ProtoMessage() {} -func (*ListOCMSharesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{4} -} - -func (m *ListOCMSharesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListOCMSharesRequest.Unmarshal(m, b) -} -func (m *ListOCMSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListOCMSharesRequest.Marshal(b, m, deterministic) -} -func (m *ListOCMSharesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOCMSharesRequest.Merge(m, src) -} -func (m *ListOCMSharesRequest) XXX_Size() int { - return xxx_messageInfo_ListOCMSharesRequest.Size(m) -} -func (m *ListOCMSharesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListOCMSharesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListOCMSharesRequest proto.InternalMessageInfo - -func (m *ListOCMSharesRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *ListOCMSharesRequest) GetFilters() []*ListOCMSharesRequest_Filter { - if m != nil { - return m.Filters - } - return nil -} - -func (m *ListOCMSharesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListOCMSharesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListOCMSharesRequest) Reset() { + *x = ListOCMSharesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" -} - -// REQUIRED. -// represents a filter to apply to the request. -type ListOCMSharesRequest_Filter struct { - // REQUIRED. - Type ListOCMSharesRequest_Filter_Type `protobuf:"varint,2,opt,name=type,proto3,enum=cs3.sharing.ocm.v1beta1.ListOCMSharesRequest_Filter_Type" json:"type,omitempty"` - // Types that are valid to be assigned to Term: - // *ListOCMSharesRequest_Filter_ResourceId - // *ListOCMSharesRequest_Filter_Owner - // *ListOCMSharesRequest_Filter_Creator - Term isListOCMSharesRequest_Filter_Term `protobuf_oneof:"term"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListOCMSharesRequest_Filter) Reset() { *m = ListOCMSharesRequest_Filter{} } -func (m *ListOCMSharesRequest_Filter) String() string { return proto.CompactTextString(m) } -func (*ListOCMSharesRequest_Filter) ProtoMessage() {} -func (*ListOCMSharesRequest_Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{4, 0} } -func (m *ListOCMSharesRequest_Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListOCMSharesRequest_Filter.Unmarshal(m, b) -} -func (m *ListOCMSharesRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListOCMSharesRequest_Filter.Marshal(b, m, deterministic) -} -func (m *ListOCMSharesRequest_Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOCMSharesRequest_Filter.Merge(m, src) -} -func (m *ListOCMSharesRequest_Filter) XXX_Size() int { - return xxx_messageInfo_ListOCMSharesRequest_Filter.Size(m) -} -func (m *ListOCMSharesRequest_Filter) XXX_DiscardUnknown() { - xxx_messageInfo_ListOCMSharesRequest_Filter.DiscardUnknown(m) +func (x *ListOCMSharesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListOCMSharesRequest_Filter proto.InternalMessageInfo +func (*ListOCMSharesRequest) ProtoMessage() {} -func (m *ListOCMSharesRequest_Filter) GetType() ListOCMSharesRequest_Filter_Type { - if m != nil { - return m.Type +func (x *ListOCMSharesRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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 ListOCMSharesRequest_Filter_TYPE_INVALID -} - -type isListOCMSharesRequest_Filter_Term interface { - isListOCMSharesRequest_Filter_Term() -} - -type ListOCMSharesRequest_Filter_ResourceId struct { - ResourceId *v1beta11.ResourceId `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3,oneof"` -} - -type ListOCMSharesRequest_Filter_Owner struct { - Owner *v1beta14.UserId `protobuf:"bytes,4,opt,name=owner,proto3,oneof"` -} - -type ListOCMSharesRequest_Filter_Creator struct { - Creator *v1beta14.UserId `protobuf:"bytes,5,opt,name=creator,proto3,oneof"` + return mi.MessageOf(x) } -func (*ListOCMSharesRequest_Filter_ResourceId) isListOCMSharesRequest_Filter_Term() {} - -func (*ListOCMSharesRequest_Filter_Owner) isListOCMSharesRequest_Filter_Term() {} - -func (*ListOCMSharesRequest_Filter_Creator) isListOCMSharesRequest_Filter_Term() {} - -func (m *ListOCMSharesRequest_Filter) GetTerm() isListOCMSharesRequest_Filter_Term { - if m != nil { - return m.Term - } - return nil +// Deprecated: Use ListOCMSharesRequest.ProtoReflect.Descriptor instead. +func (*ListOCMSharesRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{4} } -func (m *ListOCMSharesRequest_Filter) GetResourceId() *v1beta11.ResourceId { - if x, ok := m.GetTerm().(*ListOCMSharesRequest_Filter_ResourceId); ok { - return x.ResourceId +func (x *ListOCMSharesRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListOCMSharesRequest_Filter) GetOwner() *v1beta14.UserId { - if x, ok := m.GetTerm().(*ListOCMSharesRequest_Filter_Owner); ok { - return x.Owner +func (x *ListOCMSharesRequest) GetFilters() []*ListOCMSharesRequest_Filter { + if x != nil { + return x.Filters } return nil } -func (m *ListOCMSharesRequest_Filter) GetCreator() *v1beta14.UserId { - if x, ok := m.GetTerm().(*ListOCMSharesRequest_Filter_Creator); ok { - return x.Creator +func (x *ListOCMSharesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } - return nil + return 0 } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListOCMSharesRequest_Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListOCMSharesRequest_Filter_ResourceId)(nil), - (*ListOCMSharesRequest_Filter_Owner)(nil), - (*ListOCMSharesRequest_Filter_Creator)(nil), +func (x *ListOCMSharesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } + return "" } type ListOCMSharesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -619,219 +509,251 @@ type ListOCMSharesResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListOCMSharesResponse) Reset() { *m = ListOCMSharesResponse{} } -func (m *ListOCMSharesResponse) String() string { return proto.CompactTextString(m) } -func (*ListOCMSharesResponse) ProtoMessage() {} -func (*ListOCMSharesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{5} +func (x *ListOCMSharesResponse) Reset() { + *x = ListOCMSharesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListOCMSharesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListOCMSharesResponse.Unmarshal(m, b) +func (x *ListOCMSharesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListOCMSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListOCMSharesResponse.Marshal(b, m, deterministic) -} -func (m *ListOCMSharesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOCMSharesResponse.Merge(m, src) -} -func (m *ListOCMSharesResponse) XXX_Size() int { - return xxx_messageInfo_ListOCMSharesResponse.Size(m) -} -func (m *ListOCMSharesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListOCMSharesResponse.DiscardUnknown(m) + +func (*ListOCMSharesResponse) ProtoMessage() {} + +func (x *ListOCMSharesResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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) } -var xxx_messageInfo_ListOCMSharesResponse proto.InternalMessageInfo +// Deprecated: Use ListOCMSharesResponse.ProtoReflect.Descriptor instead. +func (*ListOCMSharesResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{5} +} -func (m *ListOCMSharesResponse) GetStatus() *v1beta13.Status { - if m != nil { - return m.Status +func (x *ListOCMSharesResponse) GetStatus() *v1beta13.Status { + if x != nil { + return x.Status } return nil } -func (m *ListOCMSharesResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListOCMSharesResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListOCMSharesResponse) GetShares() []*Share { - if m != nil { - return m.Shares +func (x *ListOCMSharesResponse) GetShares() []*Share { + if x != nil { + return x.Shares } return nil } -func (m *ListOCMSharesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListOCMSharesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type RemoveOCMShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference to which the action should be performed. - Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *RemoveOCMShareRequest) Reset() { *m = RemoveOCMShareRequest{} } -func (m *RemoveOCMShareRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveOCMShareRequest) ProtoMessage() {} -func (*RemoveOCMShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{6} +func (x *RemoveOCMShareRequest) Reset() { + *x = RemoveOCMShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveOCMShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveOCMShareRequest.Unmarshal(m, b) -} -func (m *RemoveOCMShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveOCMShareRequest.Marshal(b, m, deterministic) +func (x *RemoveOCMShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveOCMShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveOCMShareRequest.Merge(m, src) -} -func (m *RemoveOCMShareRequest) XXX_Size() int { - return xxx_messageInfo_RemoveOCMShareRequest.Size(m) -} -func (m *RemoveOCMShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveOCMShareRequest.DiscardUnknown(m) + +func (*RemoveOCMShareRequest) ProtoMessage() {} + +func (x *RemoveOCMShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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) } -var xxx_messageInfo_RemoveOCMShareRequest proto.InternalMessageInfo +// Deprecated: Use RemoveOCMShareRequest.ProtoReflect.Descriptor instead. +func (*RemoveOCMShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{6} +} -func (m *RemoveOCMShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RemoveOCMShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *RemoveOCMShareRequest) GetRef() *ShareReference { - if m != nil { - return m.Ref +func (x *RemoveOCMShareRequest) GetRef() *ShareReference { + if x != nil { + return x.Ref } return nil } type RemoveOCMShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *RemoveOCMShareResponse) Reset() { *m = RemoveOCMShareResponse{} } -func (m *RemoveOCMShareResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveOCMShareResponse) ProtoMessage() {} -func (*RemoveOCMShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{7} +func (x *RemoveOCMShareResponse) Reset() { + *x = RemoveOCMShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveOCMShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveOCMShareResponse.Unmarshal(m, b) -} -func (m *RemoveOCMShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveOCMShareResponse.Marshal(b, m, deterministic) -} -func (m *RemoveOCMShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveOCMShareResponse.Merge(m, src) -} -func (m *RemoveOCMShareResponse) XXX_Size() int { - return xxx_messageInfo_RemoveOCMShareResponse.Size(m) +func (x *RemoveOCMShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveOCMShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveOCMShareResponse.DiscardUnknown(m) + +func (*RemoveOCMShareResponse) ProtoMessage() {} + +func (x *RemoveOCMShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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) } -var xxx_messageInfo_RemoveOCMShareResponse proto.InternalMessageInfo +// Deprecated: Use RemoveOCMShareResponse.ProtoReflect.Descriptor instead. +func (*RemoveOCMShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{7} +} -func (m *RemoveOCMShareResponse) GetStatus() *v1beta13.Status { - if m != nil { - return m.Status +func (x *RemoveOCMShareResponse) GetStatus() *v1beta13.Status { + if x != nil { + return x.Status } return nil } -func (m *RemoveOCMShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RemoveOCMShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetOCMShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference to which the action should be performed. - Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *GetOCMShareRequest) Reset() { *m = GetOCMShareRequest{} } -func (m *GetOCMShareRequest) String() string { return proto.CompactTextString(m) } -func (*GetOCMShareRequest) ProtoMessage() {} -func (*GetOCMShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{8} +func (x *GetOCMShareRequest) Reset() { + *x = GetOCMShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetOCMShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOCMShareRequest.Unmarshal(m, b) -} -func (m *GetOCMShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOCMShareRequest.Marshal(b, m, deterministic) -} -func (m *GetOCMShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOCMShareRequest.Merge(m, src) -} -func (m *GetOCMShareRequest) XXX_Size() int { - return xxx_messageInfo_GetOCMShareRequest.Size(m) +func (x *GetOCMShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetOCMShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOCMShareRequest.DiscardUnknown(m) + +func (*GetOCMShareRequest) ProtoMessage() {} + +func (x *GetOCMShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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) } -var xxx_messageInfo_GetOCMShareRequest proto.InternalMessageInfo +// Deprecated: Use GetOCMShareRequest.ProtoReflect.Descriptor instead. +func (*GetOCMShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{8} +} -func (m *GetOCMShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetOCMShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetOCMShareRequest) GetRef() *ShareReference { - if m != nil { - return m.Ref +func (x *GetOCMShareRequest) GetRef() *ShareReference { + if x != nil { + return x.Ref } return nil } type GetOCMShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -840,151 +762,175 @@ type GetOCMShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The share. - Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *GetOCMShareResponse) Reset() { *m = GetOCMShareResponse{} } -func (m *GetOCMShareResponse) String() string { return proto.CompactTextString(m) } -func (*GetOCMShareResponse) ProtoMessage() {} -func (*GetOCMShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{9} +func (x *GetOCMShareResponse) Reset() { + *x = GetOCMShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetOCMShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOCMShareResponse.Unmarshal(m, b) -} -func (m *GetOCMShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOCMShareResponse.Marshal(b, m, deterministic) +func (x *GetOCMShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetOCMShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOCMShareResponse.Merge(m, src) -} -func (m *GetOCMShareResponse) XXX_Size() int { - return xxx_messageInfo_GetOCMShareResponse.Size(m) -} -func (m *GetOCMShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetOCMShareResponse.DiscardUnknown(m) + +func (*GetOCMShareResponse) ProtoMessage() {} + +func (x *GetOCMShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_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) } -var xxx_messageInfo_GetOCMShareResponse proto.InternalMessageInfo +// Deprecated: Use GetOCMShareResponse.ProtoReflect.Descriptor instead. +func (*GetOCMShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{9} +} -func (m *GetOCMShareResponse) GetStatus() *v1beta13.Status { - if m != nil { - return m.Status +func (x *GetOCMShareResponse) GetStatus() *v1beta13.Status { + if x != nil { + return x.Status } return nil } -func (m *GetOCMShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetOCMShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetOCMShareResponse) GetShare() *Share { - if m != nil { - return m.Share +func (x *GetOCMShareResponse) GetShare() *Share { + if x != nil { + return x.Share } return nil } type GetOCMShareByTokenRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The unlisted token to identify the public share. - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` } -func (m *GetOCMShareByTokenRequest) Reset() { *m = GetOCMShareByTokenRequest{} } -func (m *GetOCMShareByTokenRequest) String() string { return proto.CompactTextString(m) } -func (*GetOCMShareByTokenRequest) ProtoMessage() {} -func (*GetOCMShareByTokenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{10} +func (x *GetOCMShareByTokenRequest) Reset() { + *x = GetOCMShareByTokenRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetOCMShareByTokenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOCMShareByTokenRequest.Unmarshal(m, b) +func (x *GetOCMShareByTokenRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetOCMShareByTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOCMShareByTokenRequest.Marshal(b, m, deterministic) -} -func (m *GetOCMShareByTokenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOCMShareByTokenRequest.Merge(m, src) -} -func (m *GetOCMShareByTokenRequest) XXX_Size() int { - return xxx_messageInfo_GetOCMShareByTokenRequest.Size(m) -} -func (m *GetOCMShareByTokenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOCMShareByTokenRequest.DiscardUnknown(m) + +func (*GetOCMShareByTokenRequest) ProtoMessage() {} + +func (x *GetOCMShareByTokenRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetOCMShareByTokenRequest proto.InternalMessageInfo +// Deprecated: Use GetOCMShareByTokenRequest.ProtoReflect.Descriptor instead. +func (*GetOCMShareByTokenRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{10} +} -func (m *GetOCMShareByTokenRequest) GetToken() string { - if m != nil { - return m.Token +func (x *GetOCMShareByTokenRequest) GetToken() string { + if x != nil { + return x.Token } return "" } type GetOCMShareByTokenResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // REQUIRED. // The share. - Share *Share `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *Share `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` } -func (m *GetOCMShareByTokenResponse) Reset() { *m = GetOCMShareByTokenResponse{} } -func (m *GetOCMShareByTokenResponse) String() string { return proto.CompactTextString(m) } -func (*GetOCMShareByTokenResponse) ProtoMessage() {} -func (*GetOCMShareByTokenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{11} +func (x *GetOCMShareByTokenResponse) Reset() { + *x = GetOCMShareByTokenResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetOCMShareByTokenResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOCMShareByTokenResponse.Unmarshal(m, b) -} -func (m *GetOCMShareByTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOCMShareByTokenResponse.Marshal(b, m, deterministic) +func (x *GetOCMShareByTokenResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetOCMShareByTokenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOCMShareByTokenResponse.Merge(m, src) -} -func (m *GetOCMShareByTokenResponse) XXX_Size() int { - return xxx_messageInfo_GetOCMShareByTokenResponse.Size(m) -} -func (m *GetOCMShareByTokenResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetOCMShareByTokenResponse.DiscardUnknown(m) + +func (*GetOCMShareByTokenResponse) ProtoMessage() {} + +func (x *GetOCMShareByTokenResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetOCMShareByTokenResponse proto.InternalMessageInfo +// Deprecated: Use GetOCMShareByTokenResponse.ProtoReflect.Descriptor instead. +func (*GetOCMShareByTokenResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{11} +} -func (m *GetOCMShareByTokenResponse) GetStatus() *v1beta13.Status { - if m != nil { - return m.Status +func (x *GetOCMShareByTokenResponse) GetStatus() *v1beta13.Status { + if x != nil { + return x.Status } return nil } -func (m *GetOCMShareByTokenResponse) GetShare() *Share { - if m != nil { - return m.Share +func (x *GetOCMShareByTokenResponse) GetShare() *Share { + if x != nil { + return x.Share } return nil } type ListReceivedOCMSharesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -996,59 +942,67 @@ type ListReceivedOCMSharesRequest struct { PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListReceivedOCMSharesRequest) Reset() { *m = ListReceivedOCMSharesRequest{} } -func (m *ListReceivedOCMSharesRequest) String() string { return proto.CompactTextString(m) } -func (*ListReceivedOCMSharesRequest) ProtoMessage() {} -func (*ListReceivedOCMSharesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{12} +func (x *ListReceivedOCMSharesRequest) Reset() { + *x = ListReceivedOCMSharesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListReceivedOCMSharesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListReceivedOCMSharesRequest.Unmarshal(m, b) +func (x *ListReceivedOCMSharesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListReceivedOCMSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListReceivedOCMSharesRequest.Marshal(b, m, deterministic) -} -func (m *ListReceivedOCMSharesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReceivedOCMSharesRequest.Merge(m, src) -} -func (m *ListReceivedOCMSharesRequest) XXX_Size() int { - return xxx_messageInfo_ListReceivedOCMSharesRequest.Size(m) -} -func (m *ListReceivedOCMSharesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListReceivedOCMSharesRequest.DiscardUnknown(m) + +func (*ListReceivedOCMSharesRequest) ProtoMessage() {} + +func (x *ListReceivedOCMSharesRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListReceivedOCMSharesRequest proto.InternalMessageInfo +// Deprecated: Use ListReceivedOCMSharesRequest.ProtoReflect.Descriptor instead. +func (*ListReceivedOCMSharesRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{12} +} -func (m *ListReceivedOCMSharesRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListReceivedOCMSharesRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListReceivedOCMSharesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListReceivedOCMSharesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListReceivedOCMSharesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListReceivedOCMSharesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type ListReceivedOCMSharesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1062,67 +1016,75 @@ type ListReceivedOCMSharesResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListReceivedOCMSharesResponse) Reset() { *m = ListReceivedOCMSharesResponse{} } -func (m *ListReceivedOCMSharesResponse) String() string { return proto.CompactTextString(m) } -func (*ListReceivedOCMSharesResponse) ProtoMessage() {} -func (*ListReceivedOCMSharesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{13} +func (x *ListReceivedOCMSharesResponse) Reset() { + *x = ListReceivedOCMSharesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListReceivedOCMSharesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListReceivedOCMSharesResponse.Unmarshal(m, b) -} -func (m *ListReceivedOCMSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListReceivedOCMSharesResponse.Marshal(b, m, deterministic) -} -func (m *ListReceivedOCMSharesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReceivedOCMSharesResponse.Merge(m, src) -} -func (m *ListReceivedOCMSharesResponse) XXX_Size() int { - return xxx_messageInfo_ListReceivedOCMSharesResponse.Size(m) +func (x *ListReceivedOCMSharesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListReceivedOCMSharesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListReceivedOCMSharesResponse.DiscardUnknown(m) + +func (*ListReceivedOCMSharesResponse) ProtoMessage() {} + +func (x *ListReceivedOCMSharesResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListReceivedOCMSharesResponse proto.InternalMessageInfo +// Deprecated: Use ListReceivedOCMSharesResponse.ProtoReflect.Descriptor instead. +func (*ListReceivedOCMSharesResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{13} +} -func (m *ListReceivedOCMSharesResponse) GetStatus() *v1beta13.Status { - if m != nil { - return m.Status +func (x *ListReceivedOCMSharesResponse) GetStatus() *v1beta13.Status { + if x != nil { + return x.Status } return nil } -func (m *ListReceivedOCMSharesResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListReceivedOCMSharesResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListReceivedOCMSharesResponse) GetShares() []*ReceivedShare { - if m != nil { - return m.Shares +func (x *ListReceivedOCMSharesResponse) GetShares() []*ReceivedShare { + if x != nil { + return x.Shares } return nil } -func (m *ListReceivedOCMSharesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListReceivedOCMSharesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } // TODO(labkode): clean up display_name ? we'll use storage links for that. type UpdateReceivedOCMShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1131,161 +1093,185 @@ type UpdateReceivedOCMShareRequest struct { Share *ReceivedShare `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` // The update mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } -func (m *UpdateReceivedOCMShareRequest) Reset() { *m = UpdateReceivedOCMShareRequest{} } -func (m *UpdateReceivedOCMShareRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateReceivedOCMShareRequest) ProtoMessage() {} -func (*UpdateReceivedOCMShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{14} +func (x *UpdateReceivedOCMShareRequest) Reset() { + *x = UpdateReceivedOCMShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateReceivedOCMShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateReceivedOCMShareRequest.Unmarshal(m, b) +func (x *UpdateReceivedOCMShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateReceivedOCMShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateReceivedOCMShareRequest.Marshal(b, m, deterministic) -} -func (m *UpdateReceivedOCMShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateReceivedOCMShareRequest.Merge(m, src) -} -func (m *UpdateReceivedOCMShareRequest) XXX_Size() int { - return xxx_messageInfo_UpdateReceivedOCMShareRequest.Size(m) -} -func (m *UpdateReceivedOCMShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateReceivedOCMShareRequest.DiscardUnknown(m) + +func (*UpdateReceivedOCMShareRequest) ProtoMessage() {} + +func (x *UpdateReceivedOCMShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateReceivedOCMShareRequest proto.InternalMessageInfo +// Deprecated: Use UpdateReceivedOCMShareRequest.ProtoReflect.Descriptor instead. +func (*UpdateReceivedOCMShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{14} +} -func (m *UpdateReceivedOCMShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateReceivedOCMShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UpdateReceivedOCMShareRequest) GetShare() *ReceivedShare { - if m != nil { - return m.Share +func (x *UpdateReceivedOCMShareRequest) GetShare() *ReceivedShare { + if x != nil { + return x.Share } return nil } -func (m *UpdateReceivedOCMShareRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask +func (x *UpdateReceivedOCMShareRequest) GetUpdateMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.UpdateMask } return nil } type UpdateReceivedOCMShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *UpdateReceivedOCMShareResponse) Reset() { *m = UpdateReceivedOCMShareResponse{} } -func (m *UpdateReceivedOCMShareResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateReceivedOCMShareResponse) ProtoMessage() {} -func (*UpdateReceivedOCMShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{15} +func (x *UpdateReceivedOCMShareResponse) Reset() { + *x = UpdateReceivedOCMShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateReceivedOCMShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateReceivedOCMShareResponse.Unmarshal(m, b) -} -func (m *UpdateReceivedOCMShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateReceivedOCMShareResponse.Marshal(b, m, deterministic) -} -func (m *UpdateReceivedOCMShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateReceivedOCMShareResponse.Merge(m, src) +func (x *UpdateReceivedOCMShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateReceivedOCMShareResponse) XXX_Size() int { - return xxx_messageInfo_UpdateReceivedOCMShareResponse.Size(m) -} -func (m *UpdateReceivedOCMShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateReceivedOCMShareResponse.DiscardUnknown(m) + +func (*UpdateReceivedOCMShareResponse) ProtoMessage() {} + +func (x *UpdateReceivedOCMShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateReceivedOCMShareResponse proto.InternalMessageInfo +// Deprecated: Use UpdateReceivedOCMShareResponse.ProtoReflect.Descriptor instead. +func (*UpdateReceivedOCMShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{15} +} -func (m *UpdateReceivedOCMShareResponse) GetStatus() *v1beta13.Status { - if m != nil { - return m.Status +func (x *UpdateReceivedOCMShareResponse) GetStatus() *v1beta13.Status { + if x != nil { + return x.Status } return nil } -func (m *UpdateReceivedOCMShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateReceivedOCMShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetReceivedOCMShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference of the received share. - Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *GetReceivedOCMShareRequest) Reset() { *m = GetReceivedOCMShareRequest{} } -func (m *GetReceivedOCMShareRequest) String() string { return proto.CompactTextString(m) } -func (*GetReceivedOCMShareRequest) ProtoMessage() {} -func (*GetReceivedOCMShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{16} +func (x *GetReceivedOCMShareRequest) Reset() { + *x = GetReceivedOCMShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetReceivedOCMShareRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetReceivedOCMShareRequest.Unmarshal(m, b) -} -func (m *GetReceivedOCMShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetReceivedOCMShareRequest.Marshal(b, m, deterministic) -} -func (m *GetReceivedOCMShareRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReceivedOCMShareRequest.Merge(m, src) +func (x *GetReceivedOCMShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetReceivedOCMShareRequest) XXX_Size() int { - return xxx_messageInfo_GetReceivedOCMShareRequest.Size(m) -} -func (m *GetReceivedOCMShareRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetReceivedOCMShareRequest.DiscardUnknown(m) + +func (*GetReceivedOCMShareRequest) ProtoMessage() {} + +func (x *GetReceivedOCMShareRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[16] + 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) } -var xxx_messageInfo_GetReceivedOCMShareRequest proto.InternalMessageInfo +// Deprecated: Use GetReceivedOCMShareRequest.ProtoReflect.Descriptor instead. +func (*GetReceivedOCMShareRequest) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{16} +} -func (m *GetReceivedOCMShareRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetReceivedOCMShareRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetReceivedOCMShareRequest) GetRef() *ShareReference { - if m != nil { - return m.Ref +func (x *GetReceivedOCMShareRequest) GetRef() *ShareReference { + if x != nil { + return x.Ref } return nil } type GetReceivedOCMShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1294,596 +1280,1008 @@ type GetReceivedOCMShareResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The share. - Share *ReceivedShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Share *ReceivedShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` } -func (m *GetReceivedOCMShareResponse) Reset() { *m = GetReceivedOCMShareResponse{} } -func (m *GetReceivedOCMShareResponse) String() string { return proto.CompactTextString(m) } -func (*GetReceivedOCMShareResponse) ProtoMessage() {} -func (*GetReceivedOCMShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{17} +func (x *GetReceivedOCMShareResponse) Reset() { + *x = GetReceivedOCMShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetReceivedOCMShareResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetReceivedOCMShareResponse.Unmarshal(m, b) -} -func (m *GetReceivedOCMShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetReceivedOCMShareResponse.Marshal(b, m, deterministic) +func (x *GetReceivedOCMShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetReceivedOCMShareResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReceivedOCMShareResponse.Merge(m, src) -} -func (m *GetReceivedOCMShareResponse) XXX_Size() int { - return xxx_messageInfo_GetReceivedOCMShareResponse.Size(m) -} -func (m *GetReceivedOCMShareResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetReceivedOCMShareResponse.DiscardUnknown(m) + +func (*GetReceivedOCMShareResponse) ProtoMessage() {} + +func (x *GetReceivedOCMShareResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[17] + 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) } -var xxx_messageInfo_GetReceivedOCMShareResponse proto.InternalMessageInfo +// Deprecated: Use GetReceivedOCMShareResponse.ProtoReflect.Descriptor instead. +func (*GetReceivedOCMShareResponse) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{17} +} -func (m *GetReceivedOCMShareResponse) GetStatus() *v1beta13.Status { - if m != nil { - return m.Status +func (x *GetReceivedOCMShareResponse) GetStatus() *v1beta13.Status { + if x != nil { + return x.Status } return nil } -func (m *GetReceivedOCMShareResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetReceivedOCMShareResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetReceivedOCMShareResponse) GetShare() *ReceivedShare { - if m != nil { - return m.Share +func (x *GetReceivedOCMShareResponse) GetShare() *ReceivedShare { + if x != nil { + return x.Share } return nil } -func init() { - proto.RegisterEnum("cs3.sharing.ocm.v1beta1.ListOCMSharesRequest_Filter_Type", ListOCMSharesRequest_Filter_Type_name, ListOCMSharesRequest_Filter_Type_value) - proto.RegisterType((*CreateOCMShareRequest)(nil), "cs3.sharing.ocm.v1beta1.CreateOCMShareRequest") - proto.RegisterType((*CreateOCMShareResponse)(nil), "cs3.sharing.ocm.v1beta1.CreateOCMShareResponse") - proto.RegisterType((*UpdateOCMShareRequest)(nil), "cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest") - proto.RegisterType((*UpdateOCMShareRequest_UpdateField)(nil), "cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest.UpdateField") - proto.RegisterType((*UpdateOCMShareResponse)(nil), "cs3.sharing.ocm.v1beta1.UpdateOCMShareResponse") - proto.RegisterType((*ListOCMSharesRequest)(nil), "cs3.sharing.ocm.v1beta1.ListOCMSharesRequest") - proto.RegisterType((*ListOCMSharesRequest_Filter)(nil), "cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.Filter") - proto.RegisterType((*ListOCMSharesResponse)(nil), "cs3.sharing.ocm.v1beta1.ListOCMSharesResponse") - proto.RegisterType((*RemoveOCMShareRequest)(nil), "cs3.sharing.ocm.v1beta1.RemoveOCMShareRequest") - proto.RegisterType((*RemoveOCMShareResponse)(nil), "cs3.sharing.ocm.v1beta1.RemoveOCMShareResponse") - proto.RegisterType((*GetOCMShareRequest)(nil), "cs3.sharing.ocm.v1beta1.GetOCMShareRequest") - proto.RegisterType((*GetOCMShareResponse)(nil), "cs3.sharing.ocm.v1beta1.GetOCMShareResponse") - proto.RegisterType((*GetOCMShareByTokenRequest)(nil), "cs3.sharing.ocm.v1beta1.GetOCMShareByTokenRequest") - proto.RegisterType((*GetOCMShareByTokenResponse)(nil), "cs3.sharing.ocm.v1beta1.GetOCMShareByTokenResponse") - proto.RegisterType((*ListReceivedOCMSharesRequest)(nil), "cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesRequest") - proto.RegisterType((*ListReceivedOCMSharesResponse)(nil), "cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse") - proto.RegisterType((*UpdateReceivedOCMShareRequest)(nil), "cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest") - proto.RegisterType((*UpdateReceivedOCMShareResponse)(nil), "cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareResponse") - proto.RegisterType((*GetReceivedOCMShareRequest)(nil), "cs3.sharing.ocm.v1beta1.GetReceivedOCMShareRequest") - proto.RegisterType((*GetReceivedOCMShareResponse)(nil), "cs3.sharing.ocm.v1beta1.GetReceivedOCMShareResponse") -} - -func init() { - proto.RegisterFile("cs3/sharing/ocm/v1beta1/ocm_api.proto", fileDescriptor_3b1231a7f0a479a0) -} - -var fileDescriptor_3b1231a7f0a479a0 = []byte{ - // 1333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcb, 0x8e, 0x1b, 0x45, - 0x17, 0x4e, 0xdb, 0x63, 0x4f, 0x72, 0xfc, 0x67, 0x7e, 0xab, 0x32, 0xce, 0x38, 0x9d, 0x4c, 0x14, - 0x5a, 0xca, 0x05, 0x11, 0xda, 0x9a, 0x0b, 0x41, 0x81, 0x10, 0x34, 0xf6, 0x38, 0x89, 0x45, 0xc6, - 0xb6, 0x6a, 0x26, 0x41, 0xa0, 0x88, 0x56, 0xa7, 0x5d, 0xb6, 0x5b, 0x99, 0xbe, 0x4c, 0x57, 0x7b, - 0xc8, 0x44, 0x20, 0x45, 0xdc, 0x24, 0x90, 0x58, 0xc0, 0x23, 0xb0, 0x60, 0xc1, 0x86, 0x3d, 0x1b, - 0x24, 0x96, 0x48, 0x6c, 0xd8, 0xf2, 0x02, 0x48, 0xbc, 0x04, 0xaa, 0xea, 0x6a, 0xdb, 0x6d, 0xbb, - 0x7d, 0x49, 0x22, 0x87, 0x5d, 0x77, 0x9d, 0xef, 0x9c, 0xfa, 0xaa, 0xce, 0x57, 0xe7, 0x54, 0xc1, - 0x45, 0x83, 0x6e, 0x14, 0x68, 0x5b, 0xf7, 0x4c, 0xbb, 0x55, 0x70, 0x0c, 0xab, 0x70, 0xb8, 0xf6, - 0x90, 0xf8, 0xfa, 0x1a, 0xfb, 0xd6, 0x74, 0xd7, 0x54, 0x5d, 0xcf, 0xf1, 0x1d, 0xb4, 0x62, 0xd0, - 0x0d, 0x55, 0xc0, 0x54, 0xc7, 0xb0, 0x54, 0x01, 0x93, 0x5f, 0x65, 0xfe, 0x66, 0x83, 0xd8, 0xbe, - 0xe9, 0x1f, 0x15, 0x3a, 0x94, 0x78, 0xdd, 0x08, 0x1e, 0xa1, 0x4e, 0xc7, 0x33, 0x08, 0x0d, 0x62, - 0xc8, 0x57, 0x18, 0x94, 0x4d, 0xe1, 0x7a, 0xce, 0xa1, 0xd9, 0x18, 0x83, 0x3c, 0xc7, 0x90, 0x9e, - 0x6b, 0x74, 0x01, 0xd4, 0xd7, 0xfd, 0x4e, 0x68, 0xbd, 0x1c, 0x47, 0x79, 0x30, 0xcc, 0x55, 0x0e, - 0xf4, 0x1d, 0x4f, 0x6f, 0x91, 0xc9, 0x93, 0xae, 0x32, 0xb4, 0x7f, 0xe4, 0x12, 0xda, 0x85, 0xf0, - 0x3f, 0x61, 0xbe, 0xd0, 0x72, 0x9c, 0xd6, 0x3e, 0x8f, 0xe3, 0x3b, 0x0f, 0x3b, 0xcd, 0x42, 0xd3, - 0x24, 0xfb, 0x0d, 0xcd, 0xd2, 0xe9, 0xa3, 0x00, 0xa1, 0xfc, 0x96, 0x84, 0x5c, 0xc9, 0x23, 0xba, - 0x4f, 0x6a, 0xa5, 0x9d, 0xdd, 0xb6, 0xee, 0x11, 0x4c, 0x0e, 0x3a, 0x84, 0xfa, 0x68, 0x0d, 0xd2, - 0x8e, 0xab, 0x1f, 0x74, 0x48, 0x5e, 0xba, 0x20, 0x5d, 0xc9, 0xac, 0x9f, 0x51, 0xd9, 0x76, 0x06, - 0xd1, 0xc5, 0x5c, 0x6a, 0x8d, 0x03, 0xb0, 0x00, 0xa2, 0x0a, 0x64, 0x42, 0x82, 0x9a, 0xd9, 0xc8, - 0x27, 0xb8, 0xdf, 0x15, 0xee, 0x27, 0x56, 0xa4, 0x86, 0x2b, 0xea, 0x86, 0xc0, 0xc2, 0xa1, 0xd2, - 0xc0, 0xe0, 0x75, 0xbf, 0xd1, 0xbb, 0xb0, 0xd8, 0xf2, 0x74, 0xdb, 0x27, 0x24, 0x9f, 0xe4, 0x61, - 0x2e, 0x8e, 0x0f, 0x73, 0x3b, 0x00, 0xe3, 0xd0, 0x0b, 0x7d, 0x04, 0x2b, 0x1e, 0x31, 0x4c, 0xd7, - 0x24, 0xb6, 0xaf, 0x59, 0x84, 0xb6, 0xb5, 0xd0, 0x27, 0xbf, 0xc0, 0x03, 0x5e, 0xe2, 0x01, 0x99, - 0x2c, 0x86, 0x82, 0xd5, 0xc5, 0x40, 0xc5, 0x6e, 0x3a, 0x38, 0xd7, 0x0d, 0xb3, 0x43, 0x68, 0x3b, - 0x34, 0xa1, 0xbb, 0xb0, 0xa4, 0x1b, 0x06, 0xa1, 0x54, 0xb3, 0x88, 0xdf, 0x76, 0x1a, 0x34, 0x9f, - 0xba, 0x90, 0xec, 0xf1, 0x1c, 0x56, 0x9d, 0xba, 0xc5, 0xe1, 0x3b, 0x1c, 0x8d, 0x4f, 0xea, 0x7d, - 0x7f, 0x14, 0xdd, 0x00, 0x20, 0x8f, 0x5d, 0xd3, 0xd3, 0x7d, 0xd3, 0xb1, 0xf3, 0x69, 0x4e, 0xf0, - 0xdc, 0x88, 0x0d, 0xdf, 0x33, 0x2d, 0x42, 0x7d, 0xdd, 0x72, 0x71, 0x1f, 0x5e, 0xf9, 0x5b, 0x82, - 0xd3, 0x83, 0x49, 0xa4, 0xae, 0x63, 0x53, 0x82, 0x0a, 0x90, 0x0e, 0x74, 0x28, 0xb2, 0xb8, 0xc2, - 0x83, 0x7a, 0xae, 0xd1, 0x0d, 0xb9, 0xcb, 0xcd, 0x58, 0xc0, 0xfa, 0xd2, 0x9e, 0x98, 0x36, 0xed, - 0x9b, 0x90, 0x62, 0xeb, 0x0d, 0x33, 0x75, 0x3e, 0x76, 0x07, 0x02, 0x6a, 0x01, 0x18, 0x6d, 0xc2, - 0xe9, 0x5e, 0x82, 0x1a, 0x26, 0x75, 0xf7, 0xf5, 0x23, 0xcd, 0xd6, 0x2d, 0xc2, 0xf3, 0x73, 0x02, - 0x2f, 0x77, 0xad, 0xdb, 0x81, 0xb1, 0xaa, 0x5b, 0x44, 0x79, 0x9a, 0x84, 0xdc, 0x3d, 0xb7, 0xf1, - 0x62, 0xf4, 0x7a, 0x1d, 0x92, 0x1e, 0x69, 0x8a, 0x85, 0x5e, 0x9e, 0x40, 0x9b, 0x34, 0x89, 0x47, - 0x6c, 0x83, 0x60, 0xe6, 0x83, 0xea, 0x90, 0xe2, 0x67, 0x29, 0x9f, 0xe4, 0x59, 0x7f, 0x2b, 0xd6, - 0x79, 0x24, 0x59, 0x31, 0x7a, 0x8b, 0x45, 0xc0, 0x41, 0x20, 0xf9, 0x47, 0x09, 0x32, 0x7d, 0xc3, - 0xe8, 0x66, 0x44, 0x12, 0xd2, 0x64, 0x49, 0xdc, 0x39, 0xd6, 0x2f, 0x0a, 0x54, 0x1d, 0x12, 0x68, - 0xa2, 0xff, 0x20, 0x4d, 0x10, 0xe8, 0x9d, 0x63, 0x03, 0x12, 0x2d, 0x2e, 0x8a, 0x15, 0x2b, 0x9f, - 0xc0, 0xe9, 0xc1, 0x45, 0xcd, 0x4f, 0x6c, 0xca, 0xf7, 0x29, 0x58, 0xbe, 0x6b, 0x52, 0x3f, 0x9c, - 0x9c, 0x3e, 0x47, 0xfe, 0xab, 0xb0, 0xd8, 0x34, 0xf7, 0x7d, 0xe2, 0xb1, 0xbd, 0x61, 0x69, 0xdc, - 0x8c, 0xdd, 0x9b, 0x51, 0x53, 0xaa, 0xb7, 0xb8, 0x33, 0x0e, 0x83, 0xa0, 0xb3, 0x70, 0xc2, 0xd5, - 0x5b, 0x44, 0xa3, 0xe6, 0x93, 0xe0, 0x30, 0xa4, 0xf0, 0x71, 0x36, 0xb0, 0x6b, 0x3e, 0x21, 0x68, - 0x15, 0x80, 0x1b, 0x7d, 0xe7, 0x11, 0xb1, 0x85, 0xc6, 0x39, 0x7c, 0x8f, 0x0d, 0xc8, 0xbf, 0x24, - 0x21, 0x1d, 0xc4, 0x43, 0x3b, 0xb0, 0xc0, 0x68, 0xf3, 0x3d, 0x59, 0x5a, 0xbf, 0xfe, 0x2c, 0x9c, - 0xd4, 0xbd, 0x23, 0x97, 0x60, 0x1e, 0x06, 0xbd, 0x17, 0xad, 0xca, 0xc9, 0xd9, 0xaa, 0x32, 0x53, - 0x55, 0x5f, 0x5d, 0xbe, 0x0e, 0x29, 0xe7, 0x63, 0xbb, 0x5b, 0x44, 0x5f, 0xe1, 0x61, 0xc2, 0x56, - 0xaa, 0xb2, 0x56, 0xda, 0x53, 0x3e, 0x25, 0x1e, 0xf7, 0x0f, 0x3c, 0xd0, 0x3b, 0xb0, 0x68, 0xb0, - 0x22, 0xe5, 0x78, 0xf9, 0xd4, 0xf4, 0xce, 0xa1, 0x8f, 0xf2, 0x9d, 0x04, 0x0b, 0x6c, 0x55, 0x28, - 0x0b, 0xff, 0xdb, 0xfb, 0xa0, 0x5e, 0xd6, 0x2a, 0xd5, 0xfb, 0x5b, 0x77, 0x2b, 0xdb, 0xd9, 0x63, - 0x28, 0x03, 0x8b, 0x7c, 0xa4, 0x5a, 0xcb, 0x4a, 0x68, 0x19, 0xb2, 0xfc, 0x07, 0x97, 0x77, 0x6b, - 0xf7, 0x70, 0xa9, 0xac, 0x55, 0xb6, 0xb3, 0x09, 0xb4, 0x04, 0xc0, 0x47, 0x6b, 0xef, 0x57, 0xcb, - 0x38, 0x9b, 0xec, 0x06, 0x29, 0xe1, 0xf2, 0xd6, 0x5e, 0x0d, 0x67, 0x17, 0xd0, 0x0a, 0x9c, 0xea, - 0x21, 0xb4, 0x3a, 0xae, 0xdd, 0xaf, 0x6c, 0x97, 0x71, 0x36, 0x85, 0xce, 0x40, 0xae, 0x1f, 0xda, - 0x33, 0xa5, 0x8b, 0x69, 0x58, 0xf0, 0x89, 0x67, 0x29, 0x7f, 0x49, 0x90, 0x1b, 0xc8, 0xc6, 0x1c, - 0xeb, 0xef, 0x35, 0x48, 0xf3, 0x92, 0x4a, 0x45, 0x31, 0x9a, 0x54, 0x80, 0x05, 0x1a, 0x5d, 0x82, - 0xff, 0xdb, 0xe4, 0xb1, 0xaf, 0x0d, 0xc9, 0xf2, 0x24, 0x1b, 0xae, 0x87, 0xd2, 0x54, 0xbe, 0x94, - 0x20, 0x87, 0x89, 0xe5, 0x1c, 0xbe, 0xdc, 0x9a, 0xcb, 0x0a, 0xcf, 0x20, 0x8d, 0x39, 0x16, 0x9e, - 0xcf, 0x24, 0x40, 0xb7, 0x89, 0xff, 0x72, 0xb7, 0xe0, 0x67, 0x09, 0x4e, 0x45, 0x48, 0xfc, 0xd7, - 0xdb, 0xbc, 0xb2, 0x06, 0x67, 0xfa, 0x08, 0x17, 0x8f, 0xb8, 0xa4, 0xc2, 0xcd, 0x5b, 0x86, 0x54, - 0xa0, 0x3b, 0x89, 0xeb, 0x2e, 0xf8, 0x51, 0x3e, 0x97, 0x40, 0x1e, 0xe5, 0xf3, 0xac, 0x6b, 0xed, - 0x12, 0x4f, 0xcc, 0x42, 0xfc, 0x5b, 0x09, 0xce, 0xb1, 0x33, 0x8d, 0x89, 0x41, 0xcc, 0x43, 0xd2, - 0x78, 0x11, 0x0d, 0x27, 0xd2, 0x20, 0x12, 0x63, 0x1b, 0x44, 0x72, 0xa0, 0x41, 0x28, 0xff, 0x48, - 0xb0, 0x1a, 0xc3, 0x67, 0x8e, 0x22, 0xb8, 0x39, 0x50, 0x6b, 0x2e, 0xc5, 0x6e, 0x66, 0xc8, 0xf3, - 0xd9, 0x6a, 0xce, 0x1f, 0x12, 0xac, 0x06, 0xb7, 0x8c, 0xc1, 0xf5, 0x3e, 0xc7, 0xf6, 0xdf, 0x88, - 0x0a, 0x61, 0x5a, 0xee, 0xe2, 0xc2, 0xfa, 0x36, 0x64, 0x3a, 0x9c, 0x11, 0x7f, 0x3f, 0x89, 0x53, - 0x20, 0xab, 0xc1, 0x13, 0x4b, 0x0d, 0x9f, 0x58, 0x2a, 0xbf, 0xbd, 0xed, 0xe8, 0xf4, 0x11, 0x86, - 0x00, 0xce, 0xbe, 0x95, 0x2f, 0x24, 0x38, 0x1f, 0xb7, 0x9e, 0x39, 0x16, 0xb1, 0x6f, 0x82, 0xa3, - 0xf5, 0x02, 0xf7, 0xf4, 0x39, 0x8a, 0xd9, 0xaf, 0x12, 0x9c, 0x1d, 0x49, 0x66, 0x8e, 0x7a, 0xbe, - 0x11, 0x2d, 0x6a, 0xb3, 0x49, 0x62, 0xfd, 0xcf, 0xe3, 0x90, 0xae, 0x19, 0xd6, 0x56, 0xbd, 0x82, - 0x0e, 0x60, 0x29, 0xfa, 0x04, 0x43, 0x6a, 0x6c, 0xac, 0x91, 0x0f, 0x6e, 0xb9, 0x30, 0x35, 0x5e, - 0xec, 0xcf, 0x01, 0x2c, 0x45, 0xfb, 0xe1, 0x98, 0x29, 0x47, 0xf6, 0xef, 0x31, 0x53, 0xc6, 0x34, - 0xda, 0x36, 0x64, 0xfa, 0x2a, 0x33, 0x7a, 0x2d, 0xd6, 0x7f, 0xb8, 0x53, 0xca, 0x57, 0xa7, 0x03, - 0x8b, 0x99, 0x3e, 0x8d, 0x74, 0x5b, 0xd1, 0x03, 0xd0, 0xfa, 0x34, 0x31, 0xa2, 0x4d, 0x46, 0xde, - 0x98, 0xc9, 0x47, 0x4c, 0x6f, 0xc3, 0xc9, 0xc8, 0x85, 0x0e, 0xbd, 0x3e, 0xd3, 0x35, 0x5c, 0x56, - 0xa7, 0x85, 0xf7, 0x72, 0x19, 0x7d, 0x54, 0x8d, 0xc9, 0xe5, 0xc8, 0x27, 0xe5, 0x98, 0x5c, 0xc6, - 0xbc, 0xd6, 0xbe, 0x12, 0x97, 0xd6, 0xa1, 0x86, 0x82, 0xde, 0x18, 0x4b, 0x3e, 0xae, 0x21, 0xca, - 0xd7, 0x66, 0x75, 0x13, 0x44, 0xbe, 0x96, 0xc2, 0x17, 0xe5, 0x20, 0x06, 0x5d, 0x9b, 0xb0, 0xa8, - 0x98, 0x42, 0x26, 0xbf, 0x39, 0xb3, 0x9f, 0xe0, 0xf2, 0x34, 0xb8, 0x60, 0x0d, 0x11, 0x19, 0x2b, - 0xa2, 0x38, 0x16, 0x9b, 0xb3, 0x39, 0x05, 0x14, 0x8a, 0x1e, 0x9c, 0x35, 0x1c, 0x2b, 0xce, 0xb5, - 0x98, 0x61, 0x05, 0xc7, 0x35, 0xeb, 0xac, 0xdf, 0xd4, 0xa5, 0x0f, 0xc1, 0x31, 0x2c, 0x61, 0xfa, - 0x21, 0x91, 0x2c, 0xed, 0xd6, 0x7e, 0x4a, 0xac, 0x94, 0xe8, 0x06, 0x2f, 0xb8, 0xcc, 0xb5, 0x66, - 0x58, 0xea, 0xfd, 0xb5, 0x22, 0xb3, 0xff, 0xce, 0x2d, 0x0f, 0x84, 0xe5, 0x41, 0xcd, 0xb0, 0x1e, - 0x08, 0xcb, 0xc3, 0x34, 0x6f, 0x5f, 0x1b, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x14, 0xd1, 0x72, - 0x91, 0x5a, 0x15, 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 - -// OcmAPIClient is the client API for OcmAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OcmAPIClient interface { - // Creates a new ocm share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING, and MUST be sent - // to the remote system using the OCM API at: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post - CreateOCMShare(ctx context.Context, in *CreateOCMShareRequest, opts ...grpc.CallOption) (*CreateOCMShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - // This action SHALL be notified to the remote system - // using the OCM API at: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post - RemoveOCMShare(ctx context.Context, in *RemoveOCMShareRequest, opts ...grpc.CallOption) (*RemoveOCMShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetOCMShare(ctx context.Context, in *GetOCMShareRequest, opts ...grpc.CallOption) (*GetOCMShareResponse, error) - // Gets share information for a single share by its unlisted token. - // MUST return CODE_NOT_FOUND if the share does not exist. - GetOCMShareByToken(ctx context.Context, in *GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*GetOCMShareByTokenResponse, error) - // List the shares the authenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListOCMShares(ctx context.Context, in *ListOCMSharesRequest, opts ...grpc.CallOption) (*ListOCMSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - // This action SHALL be notified to the remote system - // using the OCM API at: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post - UpdateOCMShare(ctx context.Context, in *UpdateOCMShareRequest, opts ...grpc.CallOption) (*UpdateOCMShareResponse, error) - // List all shares the authenticated principal has received. - ListReceivedOCMShares(ctx context.Context, in *ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*ListReceivedOCMSharesResponse, error) - // Update the received share to change the share state or the display name. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateReceivedOCMShare(ctx context.Context, in *UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*UpdateReceivedOCMShareResponse, error) - // Get the information for the given received share reference. - // MUST return CODE_NOT_FOUND if the received share reference does not exist. - GetReceivedOCMShare(ctx context.Context, in *GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*GetReceivedOCMShareResponse, error) -} - -type ocmAPIClient struct { - cc *grpc.ClientConn -} - -func NewOcmAPIClient(cc *grpc.ClientConn) OcmAPIClient { - return &ocmAPIClient{cc} -} - -func (c *ocmAPIClient) CreateOCMShare(ctx context.Context, in *CreateOCMShareRequest, opts ...grpc.CallOption) (*CreateOCMShareResponse, error) { - out := new(CreateOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.ocm.v1beta1.OcmAPI/CreateOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ocmAPIClient) RemoveOCMShare(ctx context.Context, in *RemoveOCMShareRequest, opts ...grpc.CallOption) (*RemoveOCMShareResponse, error) { - out := new(RemoveOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.ocm.v1beta1.OcmAPI/RemoveOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ocmAPIClient) GetOCMShare(ctx context.Context, in *GetOCMShareRequest, opts ...grpc.CallOption) (*GetOCMShareResponse, error) { - out := new(GetOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.ocm.v1beta1.OcmAPI/GetOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ocmAPIClient) GetOCMShareByToken(ctx context.Context, in *GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*GetOCMShareByTokenResponse, error) { - out := new(GetOCMShareByTokenResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.ocm.v1beta1.OcmAPI/GetOCMShareByToken", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ocmAPIClient) ListOCMShares(ctx context.Context, in *ListOCMSharesRequest, opts ...grpc.CallOption) (*ListOCMSharesResponse, error) { - out := new(ListOCMSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.ocm.v1beta1.OcmAPI/ListOCMShares", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ocmAPIClient) UpdateOCMShare(ctx context.Context, in *UpdateOCMShareRequest, opts ...grpc.CallOption) (*UpdateOCMShareResponse, error) { - out := new(UpdateOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.ocm.v1beta1.OcmAPI/UpdateOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ocmAPIClient) ListReceivedOCMShares(ctx context.Context, in *ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*ListReceivedOCMSharesResponse, error) { - out := new(ListReceivedOCMSharesResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.ocm.v1beta1.OcmAPI/ListReceivedOCMShares", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ocmAPIClient) UpdateReceivedOCMShare(ctx context.Context, in *UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*UpdateReceivedOCMShareResponse, error) { - out := new(UpdateReceivedOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.ocm.v1beta1.OcmAPI/UpdateReceivedOCMShare", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// REQUIRED. +type UpdateOCMShareRequest_UpdateField struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // One of the update fields MUST be specified. + // + // Types that are assignable to Field: + // + // *UpdateOCMShareRequest_UpdateField_Expiration + // *UpdateOCMShareRequest_UpdateField_AccessMethods + Field isUpdateOCMShareRequest_UpdateField_Field `protobuf_oneof:"field"` } -func (c *ocmAPIClient) GetReceivedOCMShare(ctx context.Context, in *GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*GetReceivedOCMShareResponse, error) { - out := new(GetReceivedOCMShareResponse) - err := c.cc.Invoke(ctx, "/cs3.sharing.ocm.v1beta1.OcmAPI/GetReceivedOCMShare", in, out, opts...) - if err != nil { - return nil, err +func (x *UpdateOCMShareRequest_UpdateField) Reset() { + *x = UpdateOCMShareRequest_UpdateField{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -// OcmAPIServer is the server API for OcmAPI service. -type OcmAPIServer interface { - // Creates a new ocm share. - // MUST return CODE_NOT_FOUND if the resource reference does not exist. - // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of - // (owner, shared_resource, grantee). - // New shares MUST be created in the state SHARE_STATE_PENDING, and MUST be sent - // to the remote system using the OCM API at: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post - CreateOCMShare(context.Context, *CreateOCMShareRequest) (*CreateOCMShareResponse, error) - // Removes a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - // This action SHALL be notified to the remote system - // using the OCM API at: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post - RemoveOCMShare(context.Context, *RemoveOCMShareRequest) (*RemoveOCMShareResponse, error) - // Gets share information for a single share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - GetOCMShare(context.Context, *GetOCMShareRequest) (*GetOCMShareResponse, error) - // Gets share information for a single share by its unlisted token. - // MUST return CODE_NOT_FOUND if the share does not exist. - GetOCMShareByToken(context.Context, *GetOCMShareByTokenRequest) (*GetOCMShareByTokenResponse, error) - // List the shares the authenticated principal has created, - // both as owner and creator. If a filter is specified, only - // shares satisfying the filter MUST be returned. - ListOCMShares(context.Context, *ListOCMSharesRequest) (*ListOCMSharesResponse, error) - // Updates a share. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - // This action SHALL be notified to the remote system - // using the OCM API at: - // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post - UpdateOCMShare(context.Context, *UpdateOCMShareRequest) (*UpdateOCMShareResponse, error) - // List all shares the authenticated principal has received. - ListReceivedOCMShares(context.Context, *ListReceivedOCMSharesRequest) (*ListReceivedOCMSharesResponse, error) - // Update the received share to change the share state or the display name. - // MUST return CODE_NOT_FOUND if the share reference does not exist. - UpdateReceivedOCMShare(context.Context, *UpdateReceivedOCMShareRequest) (*UpdateReceivedOCMShareResponse, error) - // Get the information for the given received share reference. - // MUST return CODE_NOT_FOUND if the received share reference does not exist. - GetReceivedOCMShare(context.Context, *GetReceivedOCMShareRequest) (*GetReceivedOCMShareResponse, error) +func (x *UpdateOCMShareRequest_UpdateField) String() string { + return protoimpl.X.MessageStringOf(x) } -// UnimplementedOcmAPIServer can be embedded to have forward compatible implementations. -type UnimplementedOcmAPIServer struct { +func (*UpdateOCMShareRequest_UpdateField) ProtoMessage() {} + +func (x *UpdateOCMShareRequest_UpdateField) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[18] + 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) } -func (*UnimplementedOcmAPIServer) CreateOCMShare(ctx context.Context, req *CreateOCMShareRequest) (*CreateOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOCMShare not implemented") +// Deprecated: Use UpdateOCMShareRequest_UpdateField.ProtoReflect.Descriptor instead. +func (*UpdateOCMShareRequest_UpdateField) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{2, 0} } -func (*UnimplementedOcmAPIServer) RemoveOCMShare(ctx context.Context, req *RemoveOCMShareRequest) (*RemoveOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveOCMShare not implemented") + +func (m *UpdateOCMShareRequest_UpdateField) GetField() isUpdateOCMShareRequest_UpdateField_Field { + if m != nil { + return m.Field + } + return nil } -func (*UnimplementedOcmAPIServer) GetOCMShare(ctx context.Context, req *GetOCMShareRequest) (*GetOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOCMShare not implemented") + +func (x *UpdateOCMShareRequest_UpdateField) GetExpiration() *v1beta1.Timestamp { + if x, ok := x.GetField().(*UpdateOCMShareRequest_UpdateField_Expiration); ok { + return x.Expiration + } + return nil } -func (*UnimplementedOcmAPIServer) GetOCMShareByToken(ctx context.Context, req *GetOCMShareByTokenRequest) (*GetOCMShareByTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOCMShareByToken not implemented") + +func (x *UpdateOCMShareRequest_UpdateField) GetAccessMethods() *AccessMethod { + if x, ok := x.GetField().(*UpdateOCMShareRequest_UpdateField_AccessMethods); ok { + return x.AccessMethods + } + return nil } -func (*UnimplementedOcmAPIServer) ListOCMShares(ctx context.Context, req *ListOCMSharesRequest) (*ListOCMSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOCMShares not implemented") + +type isUpdateOCMShareRequest_UpdateField_Field interface { + isUpdateOCMShareRequest_UpdateField_Field() } -func (*UnimplementedOcmAPIServer) UpdateOCMShare(ctx context.Context, req *UpdateOCMShareRequest) (*UpdateOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOCMShare not implemented") + +type UpdateOCMShareRequest_UpdateField_Expiration struct { + // Update the expiration. + Expiration *v1beta1.Timestamp `protobuf:"bytes,1,opt,name=expiration,proto3,oneof"` } -func (*UnimplementedOcmAPIServer) ListReceivedOCMShares(ctx context.Context, req *ListReceivedOCMSharesRequest) (*ListReceivedOCMSharesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListReceivedOCMShares not implemented") + +type UpdateOCMShareRequest_UpdateField_AccessMethods struct { + // Update access methods. + AccessMethods *AccessMethod `protobuf:"bytes,2,opt,name=access_methods,json=accessMethods,proto3,oneof"` } -func (*UnimplementedOcmAPIServer) UpdateReceivedOCMShare(ctx context.Context, req *UpdateReceivedOCMShareRequest) (*UpdateReceivedOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateReceivedOCMShare not implemented") + +func (*UpdateOCMShareRequest_UpdateField_Expiration) isUpdateOCMShareRequest_UpdateField_Field() {} + +func (*UpdateOCMShareRequest_UpdateField_AccessMethods) isUpdateOCMShareRequest_UpdateField_Field() {} + +// REQUIRED. +// represents a filter to apply to the request. +type ListOCMSharesRequest_Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // REQUIRED. + Type ListOCMSharesRequest_Filter_Type `protobuf:"varint,2,opt,name=type,proto3,enum=cs3.sharing.ocm.v1beta1.ListOCMSharesRequest_Filter_Type" json:"type,omitempty"` + // Types that are assignable to Term: + // + // *ListOCMSharesRequest_Filter_ResourceId + // *ListOCMSharesRequest_Filter_Owner + // *ListOCMSharesRequest_Filter_Creator + Term isListOCMSharesRequest_Filter_Term `protobuf_oneof:"term"` } -func (*UnimplementedOcmAPIServer) GetReceivedOCMShare(ctx context.Context, req *GetReceivedOCMShareRequest) (*GetReceivedOCMShareResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetReceivedOCMShare not implemented") + +func (x *ListOCMSharesRequest_Filter) Reset() { + *x = ListOCMSharesRequest_Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func RegisterOcmAPIServer(s *grpc.Server, srv OcmAPIServer) { - s.RegisterService(&_OcmAPI_serviceDesc, srv) +func (x *ListOCMSharesRequest_Filter) String() string { + return protoimpl.X.MessageStringOf(x) } -func _OcmAPI_CreateOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmAPIServer).CreateOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.ocm.v1beta1.OcmAPI/CreateOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmAPIServer).CreateOCMShare(ctx, req.(*CreateOCMShareRequest)) +func (*ListOCMSharesRequest_Filter) ProtoMessage() {} + +func (x *ListOCMSharesRequest_Filter) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _OcmAPI_RemoveOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmAPIServer).RemoveOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.ocm.v1beta1.OcmAPI/RemoveOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmAPIServer).RemoveOCMShare(ctx, req.(*RemoveOCMShareRequest)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use ListOCMSharesRequest_Filter.ProtoReflect.Descriptor instead. +func (*ListOCMSharesRequest_Filter) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP(), []int{4, 0} } -func _OcmAPI_GetOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmAPIServer).GetOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.ocm.v1beta1.OcmAPI/GetOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmAPIServer).GetOCMShare(ctx, req.(*GetOCMShareRequest)) +func (x *ListOCMSharesRequest_Filter) GetType() ListOCMSharesRequest_Filter_Type { + if x != nil { + return x.Type } - return interceptor(ctx, in, info, handler) + return ListOCMSharesRequest_Filter_TYPE_INVALID } -func _OcmAPI_GetOCMShareByToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOCMShareByTokenRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmAPIServer).GetOCMShareByToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.ocm.v1beta1.OcmAPI/GetOCMShareByToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmAPIServer).GetOCMShareByToken(ctx, req.(*GetOCMShareByTokenRequest)) +func (m *ListOCMSharesRequest_Filter) GetTerm() isListOCMSharesRequest_Filter_Term { + if m != nil { + return m.Term } - return interceptor(ctx, in, info, handler) + return nil } -func _OcmAPI_ListOCMShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListOCMSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmAPIServer).ListOCMShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.ocm.v1beta1.OcmAPI/ListOCMShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmAPIServer).ListOCMShares(ctx, req.(*ListOCMSharesRequest)) +func (x *ListOCMSharesRequest_Filter) GetResourceId() *v1beta11.ResourceId { + if x, ok := x.GetTerm().(*ListOCMSharesRequest_Filter_ResourceId); ok { + return x.ResourceId } - return interceptor(ctx, in, info, handler) + return nil } -func _OcmAPI_UpdateOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmAPIServer).UpdateOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.ocm.v1beta1.OcmAPI/UpdateOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmAPIServer).UpdateOCMShare(ctx, req.(*UpdateOCMShareRequest)) +func (x *ListOCMSharesRequest_Filter) GetOwner() *v1beta14.UserId { + if x, ok := x.GetTerm().(*ListOCMSharesRequest_Filter_Owner); ok { + return x.Owner } - return interceptor(ctx, in, info, handler) + return nil } -func _OcmAPI_ListReceivedOCMShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListReceivedOCMSharesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmAPIServer).ListReceivedOCMShares(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.ocm.v1beta1.OcmAPI/ListReceivedOCMShares", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmAPIServer).ListReceivedOCMShares(ctx, req.(*ListReceivedOCMSharesRequest)) +func (x *ListOCMSharesRequest_Filter) GetCreator() *v1beta14.UserId { + if x, ok := x.GetTerm().(*ListOCMSharesRequest_Filter_Creator); ok { + return x.Creator } - return interceptor(ctx, in, info, handler) + return nil } -func _OcmAPI_UpdateReceivedOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateReceivedOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmAPIServer).UpdateReceivedOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.ocm.v1beta1.OcmAPI/UpdateReceivedOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmAPIServer).UpdateReceivedOCMShare(ctx, req.(*UpdateReceivedOCMShareRequest)) - } - return interceptor(ctx, in, info, handler) +type isListOCMSharesRequest_Filter_Term interface { + isListOCMSharesRequest_Filter_Term() } -func _OcmAPI_GetReceivedOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetReceivedOCMShareRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OcmAPIServer).GetReceivedOCMShare(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.sharing.ocm.v1beta1.OcmAPI/GetReceivedOCMShare", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OcmAPIServer).GetReceivedOCMShare(ctx, req.(*GetReceivedOCMShareRequest)) - } - return interceptor(ctx, in, info, handler) +type ListOCMSharesRequest_Filter_ResourceId struct { + ResourceId *v1beta11.ResourceId `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3,oneof"` } -var _OcmAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.sharing.ocm.v1beta1.OcmAPI", - HandlerType: (*OcmAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateOCMShare", - Handler: _OcmAPI_CreateOCMShare_Handler, - }, - { - MethodName: "RemoveOCMShare", - Handler: _OcmAPI_RemoveOCMShare_Handler, - }, - { - MethodName: "GetOCMShare", - Handler: _OcmAPI_GetOCMShare_Handler, - }, - { - MethodName: "GetOCMShareByToken", - Handler: _OcmAPI_GetOCMShareByToken_Handler, - }, - { - MethodName: "ListOCMShares", - Handler: _OcmAPI_ListOCMShares_Handler, - }, - { - MethodName: "UpdateOCMShare", - Handler: _OcmAPI_UpdateOCMShare_Handler, - }, - { - MethodName: "ListReceivedOCMShares", - Handler: _OcmAPI_ListReceivedOCMShares_Handler, - }, - { - MethodName: "UpdateReceivedOCMShare", - Handler: _OcmAPI_UpdateReceivedOCMShare_Handler, - }, - { - MethodName: "GetReceivedOCMShare", - Handler: _OcmAPI_GetReceivedOCMShare_Handler, +type ListOCMSharesRequest_Filter_Owner struct { + Owner *v1beta14.UserId `protobuf:"bytes,4,opt,name=owner,proto3,oneof"` +} + +type ListOCMSharesRequest_Filter_Creator struct { + Creator *v1beta14.UserId `protobuf:"bytes,5,opt,name=creator,proto3,oneof"` +} + +func (*ListOCMSharesRequest_Filter_ResourceId) isListOCMSharesRequest_Filter_Term() {} + +func (*ListOCMSharesRequest_Filter_Owner) isListOCMSharesRequest_Filter_Term() {} + +func (*ListOCMSharesRequest_Filter_Creator) isListOCMSharesRequest_Filter_Term() {} + +var File_cs3_sharing_ocm_v1beta1_ocm_api_proto protoreflect.FileDescriptor + +var file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x63, + 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6f, 0x63, 0x6d, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, + 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x73, 0x33, + 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x73, + 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x03, 0x0a, 0x15, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x52, 0x07, 0x67, 0x72, 0x61, + 0x6e, 0x74, 0x65, 0x65, 0x12, 0x5e, 0x0a, 0x17, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, + 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x72, + 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x68, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, + 0x68, 0x6f, 0x64, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x68, 0x6f, + 0x64, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0xe8, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x34, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, + 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, + 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x80, 0x03, 0x0a, 0x15, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, + 0x72, 0x65, 0x66, 0x12, 0x50, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xa6, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x3e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x7c, + 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x92, 0x05, 0x0a, + 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4e, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, + 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0xba, 0x03, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, + 0x4d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4b, + 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x48, 0x00, 0x52, + 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x05, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, + 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x91, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, + 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, + 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x14, 0x0a, + 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x49, + 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, + 0x52, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, + 0x54, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x57, + 0x4e, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x10, 0x05, 0x12, 0x19, + 0x0a, 0x15, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x50, + 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x10, 0x06, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x65, 0x72, + 0x6d, 0x22, 0xdb, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x36, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, + 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, + 0x85, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, + 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0x7c, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0xaf, 0x01, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x22, 0x31, 0x0a, 0x19, + 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, + 0x83, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x42, + 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x34, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, + 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xeb, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, + 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0xcd, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, + 0x61, 0x73, 0x6b, 0x22, 0x84, 0x01, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x1a, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, + 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0xbf, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x73, + 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x32, 0xd2, 0x08, 0x0a, 0x06, 0x4f, 0x63, + 0x6d, 0x41, 0x50, 0x49, 0x12, 0x71, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, + 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x0e, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0b, 0x47, 0x65, + 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x43, 0x4d, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, + 0x12, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, + 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, + 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x89, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x36, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x13, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x12, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, 0x4d, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4f, 0x43, + 0x4d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xea, + 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, + 0x4f, 0x63, 0x6d, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, + 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, + 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x3b, 0x6f, 0x63, 0x6d, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, + 0x03, 0x43, 0x53, 0x4f, 0xaa, 0x02, 0x17, 0x43, 0x73, 0x33, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x4f, 0x63, 0x6d, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, + 0x17, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x4f, 0x63, 0x6d, + 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x23, 0x43, 0x73, 0x33, 0x5c, 0x53, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x4f, 0x63, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x1a, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4f, + 0x63, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescOnce sync.Once + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescData = file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDesc +) + +func file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescGZIP() []byte { + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescOnce.Do(func() { + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescData) + }) + return file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDescData +} + +var file_cs3_sharing_ocm_v1beta1_ocm_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_cs3_sharing_ocm_v1beta1_ocm_api_proto_goTypes = []interface{}{ + (ListOCMSharesRequest_Filter_Type)(0), // 0: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.Filter.Type + (*CreateOCMShareRequest)(nil), // 1: cs3.sharing.ocm.v1beta1.CreateOCMShareRequest + (*CreateOCMShareResponse)(nil), // 2: cs3.sharing.ocm.v1beta1.CreateOCMShareResponse + (*UpdateOCMShareRequest)(nil), // 3: cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest + (*UpdateOCMShareResponse)(nil), // 4: cs3.sharing.ocm.v1beta1.UpdateOCMShareResponse + (*ListOCMSharesRequest)(nil), // 5: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest + (*ListOCMSharesResponse)(nil), // 6: cs3.sharing.ocm.v1beta1.ListOCMSharesResponse + (*RemoveOCMShareRequest)(nil), // 7: cs3.sharing.ocm.v1beta1.RemoveOCMShareRequest + (*RemoveOCMShareResponse)(nil), // 8: cs3.sharing.ocm.v1beta1.RemoveOCMShareResponse + (*GetOCMShareRequest)(nil), // 9: cs3.sharing.ocm.v1beta1.GetOCMShareRequest + (*GetOCMShareResponse)(nil), // 10: cs3.sharing.ocm.v1beta1.GetOCMShareResponse + (*GetOCMShareByTokenRequest)(nil), // 11: cs3.sharing.ocm.v1beta1.GetOCMShareByTokenRequest + (*GetOCMShareByTokenResponse)(nil), // 12: cs3.sharing.ocm.v1beta1.GetOCMShareByTokenResponse + (*ListReceivedOCMSharesRequest)(nil), // 13: cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesRequest + (*ListReceivedOCMSharesResponse)(nil), // 14: cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse + (*UpdateReceivedOCMShareRequest)(nil), // 15: cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest + (*UpdateReceivedOCMShareResponse)(nil), // 16: cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareResponse + (*GetReceivedOCMShareRequest)(nil), // 17: cs3.sharing.ocm.v1beta1.GetReceivedOCMShareRequest + (*GetReceivedOCMShareResponse)(nil), // 18: cs3.sharing.ocm.v1beta1.GetReceivedOCMShareResponse + (*UpdateOCMShareRequest_UpdateField)(nil), // 19: cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest.UpdateField + (*ListOCMSharesRequest_Filter)(nil), // 20: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.Filter + (*v1beta1.Opaque)(nil), // 21: cs3.types.v1beta1.Opaque + (*v1beta11.ResourceId)(nil), // 22: cs3.storage.provider.v1beta1.ResourceId + (*v1beta11.Grantee)(nil), // 23: cs3.storage.provider.v1beta1.Grantee + (*v1beta12.ProviderInfo)(nil), // 24: cs3.ocm.provider.v1beta1.ProviderInfo + (*AccessMethod)(nil), // 25: cs3.sharing.ocm.v1beta1.AccessMethod + (*v1beta1.Timestamp)(nil), // 26: cs3.types.v1beta1.Timestamp + (*v1beta13.Status)(nil), // 27: cs3.rpc.v1beta1.Status + (*Share)(nil), // 28: cs3.sharing.ocm.v1beta1.Share + (*ShareReference)(nil), // 29: cs3.sharing.ocm.v1beta1.ShareReference + (*ReceivedShare)(nil), // 30: cs3.sharing.ocm.v1beta1.ReceivedShare + (*fieldmaskpb.FieldMask)(nil), // 31: google.protobuf.FieldMask + (*v1beta14.UserId)(nil), // 32: cs3.identity.user.v1beta1.UserId +} +var file_cs3_sharing_ocm_v1beta1_ocm_api_proto_depIdxs = []int32{ + 21, // 0: cs3.sharing.ocm.v1beta1.CreateOCMShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 22, // 1: cs3.sharing.ocm.v1beta1.CreateOCMShareRequest.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 23, // 2: cs3.sharing.ocm.v1beta1.CreateOCMShareRequest.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 24, // 3: cs3.sharing.ocm.v1beta1.CreateOCMShareRequest.recipient_mesh_provider:type_name -> cs3.ocm.provider.v1beta1.ProviderInfo + 25, // 4: cs3.sharing.ocm.v1beta1.CreateOCMShareRequest.access_methods:type_name -> cs3.sharing.ocm.v1beta1.AccessMethod + 26, // 5: cs3.sharing.ocm.v1beta1.CreateOCMShareRequest.expiration:type_name -> cs3.types.v1beta1.Timestamp + 27, // 6: cs3.sharing.ocm.v1beta1.CreateOCMShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 21, // 7: cs3.sharing.ocm.v1beta1.CreateOCMShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 28, // 8: cs3.sharing.ocm.v1beta1.CreateOCMShareResponse.share:type_name -> cs3.sharing.ocm.v1beta1.Share + 21, // 9: cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 29, // 10: cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest.ref:type_name -> cs3.sharing.ocm.v1beta1.ShareReference + 19, // 11: cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest.field:type_name -> cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest.UpdateField + 27, // 12: cs3.sharing.ocm.v1beta1.UpdateOCMShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 21, // 13: cs3.sharing.ocm.v1beta1.UpdateOCMShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 14: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 20, // 15: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.filters:type_name -> cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.Filter + 27, // 16: cs3.sharing.ocm.v1beta1.ListOCMSharesResponse.status:type_name -> cs3.rpc.v1beta1.Status + 21, // 17: cs3.sharing.ocm.v1beta1.ListOCMSharesResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 28, // 18: cs3.sharing.ocm.v1beta1.ListOCMSharesResponse.shares:type_name -> cs3.sharing.ocm.v1beta1.Share + 21, // 19: cs3.sharing.ocm.v1beta1.RemoveOCMShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 29, // 20: cs3.sharing.ocm.v1beta1.RemoveOCMShareRequest.ref:type_name -> cs3.sharing.ocm.v1beta1.ShareReference + 27, // 21: cs3.sharing.ocm.v1beta1.RemoveOCMShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 21, // 22: cs3.sharing.ocm.v1beta1.RemoveOCMShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 23: cs3.sharing.ocm.v1beta1.GetOCMShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 29, // 24: cs3.sharing.ocm.v1beta1.GetOCMShareRequest.ref:type_name -> cs3.sharing.ocm.v1beta1.ShareReference + 27, // 25: cs3.sharing.ocm.v1beta1.GetOCMShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 21, // 26: cs3.sharing.ocm.v1beta1.GetOCMShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 28, // 27: cs3.sharing.ocm.v1beta1.GetOCMShareResponse.share:type_name -> cs3.sharing.ocm.v1beta1.Share + 27, // 28: cs3.sharing.ocm.v1beta1.GetOCMShareByTokenResponse.status:type_name -> cs3.rpc.v1beta1.Status + 28, // 29: cs3.sharing.ocm.v1beta1.GetOCMShareByTokenResponse.share:type_name -> cs3.sharing.ocm.v1beta1.Share + 21, // 30: cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 27, // 31: cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse.status:type_name -> cs3.rpc.v1beta1.Status + 21, // 32: cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 30, // 33: cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse.shares:type_name -> cs3.sharing.ocm.v1beta1.ReceivedShare + 21, // 34: cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 30, // 35: cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest.share:type_name -> cs3.sharing.ocm.v1beta1.ReceivedShare + 31, // 36: cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest.update_mask:type_name -> google.protobuf.FieldMask + 27, // 37: cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 21, // 38: cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 21, // 39: cs3.sharing.ocm.v1beta1.GetReceivedOCMShareRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 29, // 40: cs3.sharing.ocm.v1beta1.GetReceivedOCMShareRequest.ref:type_name -> cs3.sharing.ocm.v1beta1.ShareReference + 27, // 41: cs3.sharing.ocm.v1beta1.GetReceivedOCMShareResponse.status:type_name -> cs3.rpc.v1beta1.Status + 21, // 42: cs3.sharing.ocm.v1beta1.GetReceivedOCMShareResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 30, // 43: cs3.sharing.ocm.v1beta1.GetReceivedOCMShareResponse.share:type_name -> cs3.sharing.ocm.v1beta1.ReceivedShare + 26, // 44: cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest.UpdateField.expiration:type_name -> cs3.types.v1beta1.Timestamp + 25, // 45: cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest.UpdateField.access_methods:type_name -> cs3.sharing.ocm.v1beta1.AccessMethod + 0, // 46: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.Filter.type:type_name -> cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.Filter.Type + 22, // 47: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.Filter.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 32, // 48: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.Filter.owner:type_name -> cs3.identity.user.v1beta1.UserId + 32, // 49: cs3.sharing.ocm.v1beta1.ListOCMSharesRequest.Filter.creator:type_name -> cs3.identity.user.v1beta1.UserId + 1, // 50: cs3.sharing.ocm.v1beta1.OcmAPI.CreateOCMShare:input_type -> cs3.sharing.ocm.v1beta1.CreateOCMShareRequest + 7, // 51: cs3.sharing.ocm.v1beta1.OcmAPI.RemoveOCMShare:input_type -> cs3.sharing.ocm.v1beta1.RemoveOCMShareRequest + 9, // 52: cs3.sharing.ocm.v1beta1.OcmAPI.GetOCMShare:input_type -> cs3.sharing.ocm.v1beta1.GetOCMShareRequest + 11, // 53: cs3.sharing.ocm.v1beta1.OcmAPI.GetOCMShareByToken:input_type -> cs3.sharing.ocm.v1beta1.GetOCMShareByTokenRequest + 5, // 54: cs3.sharing.ocm.v1beta1.OcmAPI.ListOCMShares:input_type -> cs3.sharing.ocm.v1beta1.ListOCMSharesRequest + 3, // 55: cs3.sharing.ocm.v1beta1.OcmAPI.UpdateOCMShare:input_type -> cs3.sharing.ocm.v1beta1.UpdateOCMShareRequest + 13, // 56: cs3.sharing.ocm.v1beta1.OcmAPI.ListReceivedOCMShares:input_type -> cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesRequest + 15, // 57: cs3.sharing.ocm.v1beta1.OcmAPI.UpdateReceivedOCMShare:input_type -> cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest + 17, // 58: cs3.sharing.ocm.v1beta1.OcmAPI.GetReceivedOCMShare:input_type -> cs3.sharing.ocm.v1beta1.GetReceivedOCMShareRequest + 2, // 59: cs3.sharing.ocm.v1beta1.OcmAPI.CreateOCMShare:output_type -> cs3.sharing.ocm.v1beta1.CreateOCMShareResponse + 8, // 60: cs3.sharing.ocm.v1beta1.OcmAPI.RemoveOCMShare:output_type -> cs3.sharing.ocm.v1beta1.RemoveOCMShareResponse + 10, // 61: cs3.sharing.ocm.v1beta1.OcmAPI.GetOCMShare:output_type -> cs3.sharing.ocm.v1beta1.GetOCMShareResponse + 12, // 62: cs3.sharing.ocm.v1beta1.OcmAPI.GetOCMShareByToken:output_type -> cs3.sharing.ocm.v1beta1.GetOCMShareByTokenResponse + 6, // 63: cs3.sharing.ocm.v1beta1.OcmAPI.ListOCMShares:output_type -> cs3.sharing.ocm.v1beta1.ListOCMSharesResponse + 4, // 64: cs3.sharing.ocm.v1beta1.OcmAPI.UpdateOCMShare:output_type -> cs3.sharing.ocm.v1beta1.UpdateOCMShareResponse + 14, // 65: cs3.sharing.ocm.v1beta1.OcmAPI.ListReceivedOCMShares:output_type -> cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse + 16, // 66: cs3.sharing.ocm.v1beta1.OcmAPI.UpdateReceivedOCMShare:output_type -> cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareResponse + 18, // 67: cs3.sharing.ocm.v1beta1.OcmAPI.GetReceivedOCMShare:output_type -> cs3.sharing.ocm.v1beta1.GetReceivedOCMShareResponse + 59, // [59:68] is the sub-list for method output_type + 50, // [50:59] is the sub-list for method input_type + 50, // [50:50] is the sub-list for extension type_name + 50, // [50:50] is the sub-list for extension extendee + 0, // [0:50] is the sub-list for field type_name +} + +func init() { file_cs3_sharing_ocm_v1beta1_ocm_api_proto_init() } +func file_cs3_sharing_ocm_v1beta1_ocm_api_proto_init() { + if File_cs3_sharing_ocm_v1beta1_ocm_api_proto != nil { + return + } + file_cs3_sharing_ocm_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOCMShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOCMShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOCMShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOCMShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOCMSharesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOCMSharesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveOCMShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveOCMShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOCMShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOCMShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOCMShareByTokenRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOCMShareByTokenResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReceivedOCMSharesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReceivedOCMSharesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateReceivedOCMShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateReceivedOCMShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReceivedOCMShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReceivedOCMShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOCMShareRequest_UpdateField); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOCMSharesRequest_Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[18].OneofWrappers = []interface{}{ + (*UpdateOCMShareRequest_UpdateField_Expiration)(nil), + (*UpdateOCMShareRequest_UpdateField_AccessMethods)(nil), + } + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes[19].OneofWrappers = []interface{}{ + (*ListOCMSharesRequest_Filter_ResourceId)(nil), + (*ListOCMSharesRequest_Filter_Owner)(nil), + (*ListOCMSharesRequest_Filter_Creator)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 20, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/sharing/ocm/v1beta1/ocm_api.proto", + GoTypes: file_cs3_sharing_ocm_v1beta1_ocm_api_proto_goTypes, + DependencyIndexes: file_cs3_sharing_ocm_v1beta1_ocm_api_proto_depIdxs, + EnumInfos: file_cs3_sharing_ocm_v1beta1_ocm_api_proto_enumTypes, + MessageInfos: file_cs3_sharing_ocm_v1beta1_ocm_api_proto_msgTypes, + }.Build() + File_cs3_sharing_ocm_v1beta1_ocm_api_proto = out.File + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_rawDesc = nil + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_goTypes = nil + file_cs3_sharing_ocm_v1beta1_ocm_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/ocm_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/ocm_api_grpc.pb.go new file mode 100644 index 00000000000..e6dc2c46338 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/ocm_api_grpc.pb.go @@ -0,0 +1,479 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/sharing/ocm/v1beta1/ocm_api.proto + +package ocmv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + OcmAPI_CreateOCMShare_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/CreateOCMShare" + OcmAPI_RemoveOCMShare_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/RemoveOCMShare" + OcmAPI_GetOCMShare_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/GetOCMShare" + OcmAPI_GetOCMShareByToken_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/GetOCMShareByToken" + OcmAPI_ListOCMShares_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/ListOCMShares" + OcmAPI_UpdateOCMShare_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/UpdateOCMShare" + OcmAPI_ListReceivedOCMShares_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/ListReceivedOCMShares" + OcmAPI_UpdateReceivedOCMShare_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/UpdateReceivedOCMShare" + OcmAPI_GetReceivedOCMShare_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/GetReceivedOCMShare" +) + +// OcmAPIClient is the client API for OcmAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type OcmAPIClient interface { + // Creates a new ocm share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING, and MUST be sent + // to the remote system using the OCM API at: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post + CreateOCMShare(ctx context.Context, in *CreateOCMShareRequest, opts ...grpc.CallOption) (*CreateOCMShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + // This action SHALL be notified to the remote system + // using the OCM API at: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post + RemoveOCMShare(ctx context.Context, in *RemoveOCMShareRequest, opts ...grpc.CallOption) (*RemoveOCMShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetOCMShare(ctx context.Context, in *GetOCMShareRequest, opts ...grpc.CallOption) (*GetOCMShareResponse, error) + // Gets share information for a single share by its unlisted token. + // MUST return CODE_NOT_FOUND if the share does not exist. + GetOCMShareByToken(ctx context.Context, in *GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*GetOCMShareByTokenResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListOCMShares(ctx context.Context, in *ListOCMSharesRequest, opts ...grpc.CallOption) (*ListOCMSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + // This action SHALL be notified to the remote system + // using the OCM API at: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post + UpdateOCMShare(ctx context.Context, in *UpdateOCMShareRequest, opts ...grpc.CallOption) (*UpdateOCMShareResponse, error) + // List all shares the authenticated principal has received. + ListReceivedOCMShares(ctx context.Context, in *ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*ListReceivedOCMSharesResponse, error) + // Update the received share to change the share state or the display name. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateReceivedOCMShare(ctx context.Context, in *UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*UpdateReceivedOCMShareResponse, error) + // Get the information for the given received share reference. + // MUST return CODE_NOT_FOUND if the received share reference does not exist. + GetReceivedOCMShare(ctx context.Context, in *GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*GetReceivedOCMShareResponse, error) +} + +type ocmAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewOcmAPIClient(cc grpc.ClientConnInterface) OcmAPIClient { + return &ocmAPIClient{cc} +} + +func (c *ocmAPIClient) CreateOCMShare(ctx context.Context, in *CreateOCMShareRequest, opts ...grpc.CallOption) (*CreateOCMShareResponse, error) { + out := new(CreateOCMShareResponse) + err := c.cc.Invoke(ctx, OcmAPI_CreateOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmAPIClient) RemoveOCMShare(ctx context.Context, in *RemoveOCMShareRequest, opts ...grpc.CallOption) (*RemoveOCMShareResponse, error) { + out := new(RemoveOCMShareResponse) + err := c.cc.Invoke(ctx, OcmAPI_RemoveOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmAPIClient) GetOCMShare(ctx context.Context, in *GetOCMShareRequest, opts ...grpc.CallOption) (*GetOCMShareResponse, error) { + out := new(GetOCMShareResponse) + err := c.cc.Invoke(ctx, OcmAPI_GetOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmAPIClient) GetOCMShareByToken(ctx context.Context, in *GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*GetOCMShareByTokenResponse, error) { + out := new(GetOCMShareByTokenResponse) + err := c.cc.Invoke(ctx, OcmAPI_GetOCMShareByToken_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmAPIClient) ListOCMShares(ctx context.Context, in *ListOCMSharesRequest, opts ...grpc.CallOption) (*ListOCMSharesResponse, error) { + out := new(ListOCMSharesResponse) + err := c.cc.Invoke(ctx, OcmAPI_ListOCMShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmAPIClient) UpdateOCMShare(ctx context.Context, in *UpdateOCMShareRequest, opts ...grpc.CallOption) (*UpdateOCMShareResponse, error) { + out := new(UpdateOCMShareResponse) + err := c.cc.Invoke(ctx, OcmAPI_UpdateOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmAPIClient) ListReceivedOCMShares(ctx context.Context, in *ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*ListReceivedOCMSharesResponse, error) { + out := new(ListReceivedOCMSharesResponse) + err := c.cc.Invoke(ctx, OcmAPI_ListReceivedOCMShares_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmAPIClient) UpdateReceivedOCMShare(ctx context.Context, in *UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*UpdateReceivedOCMShareResponse, error) { + out := new(UpdateReceivedOCMShareResponse) + err := c.cc.Invoke(ctx, OcmAPI_UpdateReceivedOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *ocmAPIClient) GetReceivedOCMShare(ctx context.Context, in *GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*GetReceivedOCMShareResponse, error) { + out := new(GetReceivedOCMShareResponse) + err := c.cc.Invoke(ctx, OcmAPI_GetReceivedOCMShare_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// OcmAPIServer is the server API for OcmAPI service. +// All implementations should embed UnimplementedOcmAPIServer +// for forward compatibility +type OcmAPIServer interface { + // Creates a new ocm share. + // MUST return CODE_NOT_FOUND if the resource reference does not exist. + // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of + // (owner, shared_resource, grantee). + // New shares MUST be created in the state SHARE_STATE_PENDING, and MUST be sent + // to the remote system using the OCM API at: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post + CreateOCMShare(context.Context, *CreateOCMShareRequest) (*CreateOCMShareResponse, error) + // Removes a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + // This action SHALL be notified to the remote system + // using the OCM API at: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post + RemoveOCMShare(context.Context, *RemoveOCMShareRequest) (*RemoveOCMShareResponse, error) + // Gets share information for a single share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + GetOCMShare(context.Context, *GetOCMShareRequest) (*GetOCMShareResponse, error) + // Gets share information for a single share by its unlisted token. + // MUST return CODE_NOT_FOUND if the share does not exist. + GetOCMShareByToken(context.Context, *GetOCMShareByTokenRequest) (*GetOCMShareByTokenResponse, error) + // List the shares the authenticated principal has created, + // both as owner and creator. If a filter is specified, only + // shares satisfying the filter MUST be returned. + ListOCMShares(context.Context, *ListOCMSharesRequest) (*ListOCMSharesResponse, error) + // Updates a share. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + // This action SHALL be notified to the remote system + // using the OCM API at: + // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post + UpdateOCMShare(context.Context, *UpdateOCMShareRequest) (*UpdateOCMShareResponse, error) + // List all shares the authenticated principal has received. + ListReceivedOCMShares(context.Context, *ListReceivedOCMSharesRequest) (*ListReceivedOCMSharesResponse, error) + // Update the received share to change the share state or the display name. + // MUST return CODE_NOT_FOUND if the share reference does not exist. + UpdateReceivedOCMShare(context.Context, *UpdateReceivedOCMShareRequest) (*UpdateReceivedOCMShareResponse, error) + // Get the information for the given received share reference. + // MUST return CODE_NOT_FOUND if the received share reference does not exist. + GetReceivedOCMShare(context.Context, *GetReceivedOCMShareRequest) (*GetReceivedOCMShareResponse, error) +} + +// UnimplementedOcmAPIServer should be embedded to have forward compatible implementations. +type UnimplementedOcmAPIServer struct { +} + +func (UnimplementedOcmAPIServer) CreateOCMShare(context.Context, *CreateOCMShareRequest) (*CreateOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateOCMShare not implemented") +} +func (UnimplementedOcmAPIServer) RemoveOCMShare(context.Context, *RemoveOCMShareRequest) (*RemoveOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveOCMShare not implemented") +} +func (UnimplementedOcmAPIServer) GetOCMShare(context.Context, *GetOCMShareRequest) (*GetOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOCMShare not implemented") +} +func (UnimplementedOcmAPIServer) GetOCMShareByToken(context.Context, *GetOCMShareByTokenRequest) (*GetOCMShareByTokenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOCMShareByToken not implemented") +} +func (UnimplementedOcmAPIServer) ListOCMShares(context.Context, *ListOCMSharesRequest) (*ListOCMSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOCMShares not implemented") +} +func (UnimplementedOcmAPIServer) UpdateOCMShare(context.Context, *UpdateOCMShareRequest) (*UpdateOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateOCMShare not implemented") +} +func (UnimplementedOcmAPIServer) ListReceivedOCMShares(context.Context, *ListReceivedOCMSharesRequest) (*ListReceivedOCMSharesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListReceivedOCMShares not implemented") +} +func (UnimplementedOcmAPIServer) UpdateReceivedOCMShare(context.Context, *UpdateReceivedOCMShareRequest) (*UpdateReceivedOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateReceivedOCMShare not implemented") +} +func (UnimplementedOcmAPIServer) GetReceivedOCMShare(context.Context, *GetReceivedOCMShareRequest) (*GetReceivedOCMShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReceivedOCMShare not implemented") +} + +// UnsafeOcmAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to OcmAPIServer will +// result in compilation errors. +type UnsafeOcmAPIServer interface { + mustEmbedUnimplementedOcmAPIServer() +} + +func RegisterOcmAPIServer(s grpc.ServiceRegistrar, srv OcmAPIServer) { + s.RegisterService(&OcmAPI_ServiceDesc, srv) +} + +func _OcmAPI_CreateOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmAPIServer).CreateOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmAPI_CreateOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmAPIServer).CreateOCMShare(ctx, req.(*CreateOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmAPI_RemoveOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmAPIServer).RemoveOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmAPI_RemoveOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmAPIServer).RemoveOCMShare(ctx, req.(*RemoveOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmAPI_GetOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmAPIServer).GetOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmAPI_GetOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmAPIServer).GetOCMShare(ctx, req.(*GetOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmAPI_GetOCMShareByToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOCMShareByTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmAPIServer).GetOCMShareByToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmAPI_GetOCMShareByToken_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmAPIServer).GetOCMShareByToken(ctx, req.(*GetOCMShareByTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmAPI_ListOCMShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListOCMSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmAPIServer).ListOCMShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmAPI_ListOCMShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmAPIServer).ListOCMShares(ctx, req.(*ListOCMSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmAPI_UpdateOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmAPIServer).UpdateOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmAPI_UpdateOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmAPIServer).UpdateOCMShare(ctx, req.(*UpdateOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmAPI_ListReceivedOCMShares_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListReceivedOCMSharesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmAPIServer).ListReceivedOCMShares(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmAPI_ListReceivedOCMShares_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmAPIServer).ListReceivedOCMShares(ctx, req.(*ListReceivedOCMSharesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmAPI_UpdateReceivedOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateReceivedOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmAPIServer).UpdateReceivedOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmAPI_UpdateReceivedOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmAPIServer).UpdateReceivedOCMShare(ctx, req.(*UpdateReceivedOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OcmAPI_GetReceivedOCMShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetReceivedOCMShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OcmAPIServer).GetReceivedOCMShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: OcmAPI_GetReceivedOCMShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OcmAPIServer).GetReceivedOCMShare(ctx, req.(*GetReceivedOCMShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// OcmAPI_ServiceDesc is the grpc.ServiceDesc for OcmAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var OcmAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.sharing.ocm.v1beta1.OcmAPI", + HandlerType: (*OcmAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateOCMShare", + Handler: _OcmAPI_CreateOCMShare_Handler, + }, + { + MethodName: "RemoveOCMShare", + Handler: _OcmAPI_RemoveOCMShare_Handler, + }, + { + MethodName: "GetOCMShare", + Handler: _OcmAPI_GetOCMShare_Handler, + }, + { + MethodName: "GetOCMShareByToken", + Handler: _OcmAPI_GetOCMShareByToken_Handler, + }, + { + MethodName: "ListOCMShares", + Handler: _OcmAPI_ListOCMShares_Handler, + }, + { + MethodName: "UpdateOCMShare", + Handler: _OcmAPI_UpdateOCMShare_Handler, + }, + { + MethodName: "ListReceivedOCMShares", + Handler: _OcmAPI_ListReceivedOCMShares_Handler, + }, + { + MethodName: "UpdateReceivedOCMShare", + Handler: _OcmAPI_UpdateReceivedOCMShare_Handler, + }, + { + MethodName: "GetReceivedOCMShare", + Handler: _OcmAPI_GetReceivedOCMShare_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/sharing/ocm/v1beta1/ocm_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/resources.pb.go index 283dbc9500f..56b94f65c70 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1/resources.pb.go @@ -1,28 +1,46 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/sharing/ocm/v1beta1/resources.proto package ocmv1beta1 import ( - fmt "fmt" v1beta13 "github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // The state of the share. type ShareState int32 @@ -42,26 +60,47 @@ const ( ShareState_SHARE_STATE_REJECTED ShareState = 3 ) -var ShareState_name = map[int32]string{ - 0: "SHARE_STATE_INVALID", - 1: "SHARE_STATE_PENDING", - 2: "SHARE_STATE_ACCEPTED", - 3: "SHARE_STATE_REJECTED", -} +// Enum value maps for ShareState. +var ( + ShareState_name = map[int32]string{ + 0: "SHARE_STATE_INVALID", + 1: "SHARE_STATE_PENDING", + 2: "SHARE_STATE_ACCEPTED", + 3: "SHARE_STATE_REJECTED", + } + ShareState_value = map[string]int32{ + "SHARE_STATE_INVALID": 0, + "SHARE_STATE_PENDING": 1, + "SHARE_STATE_ACCEPTED": 2, + "SHARE_STATE_REJECTED": 3, + } +) -var ShareState_value = map[string]int32{ - "SHARE_STATE_INVALID": 0, - "SHARE_STATE_PENDING": 1, - "SHARE_STATE_ACCEPTED": 2, - "SHARE_STATE_REJECTED": 3, +func (x ShareState) Enum() *ShareState { + p := new(ShareState) + *p = x + return p } func (x ShareState) String() string { - return proto.EnumName(ShareState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ShareState) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_sharing_ocm_v1beta1_resources_proto_enumTypes[0].Descriptor() +} + +func (ShareState) Type() protoreflect.EnumType { + return &file_cs3_sharing_ocm_v1beta1_resources_proto_enumTypes[0] +} + +func (x ShareState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ShareState.Descriptor instead. func (ShareState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{0} + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{0} } // Defines the type of share based on its recipient. @@ -75,24 +114,45 @@ const ( ShareType_SHARE_TYPE_GROUP ShareType = 2 ) -var ShareType_name = map[int32]string{ - 0: "SHARE_TYPE_INVALID", - 1: "SHARE_TYPE_USER", - 2: "SHARE_TYPE_GROUP", -} +// Enum value maps for ShareType. +var ( + ShareType_name = map[int32]string{ + 0: "SHARE_TYPE_INVALID", + 1: "SHARE_TYPE_USER", + 2: "SHARE_TYPE_GROUP", + } + ShareType_value = map[string]int32{ + "SHARE_TYPE_INVALID": 0, + "SHARE_TYPE_USER": 1, + "SHARE_TYPE_GROUP": 2, + } +) -var ShareType_value = map[string]int32{ - "SHARE_TYPE_INVALID": 0, - "SHARE_TYPE_USER": 1, - "SHARE_TYPE_GROUP": 2, +func (x ShareType) Enum() *ShareType { + p := new(ShareType) + *p = x + return p } func (x ShareType) String() string { - return proto.EnumName(ShareType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ShareType) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_sharing_ocm_v1beta1_resources_proto_enumTypes[1].Descriptor() } +func (ShareType) Type() protoreflect.EnumType { + return &file_cs3_sharing_ocm_v1beta1_resources_proto_enumTypes[1] +} + +func (x ShareType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ShareType.Descriptor instead. func (ShareType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{1} + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{1} } // Shares are relationships between a resource owner @@ -100,6 +160,10 @@ func (ShareType) EnumDescriptor() ([]byte, []int) { // (grantee) on a specified resource (resource_id). UserShares represents both // user and groups. type Share struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // Opaque unique identifier of the share. Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -142,178 +206,194 @@ type Share struct { // REQUIRED. AccessMethods []*AccessMethod `protobuf:"bytes,12,rep,name=access_methods,json=accessMethods,proto3" json:"access_methods,omitempty"` // OPTIONAL. - Opaque *v1beta12.Opaque `protobuf:"bytes,13,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta12.Opaque `protobuf:"bytes,13,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *Share) Reset() { *m = Share{} } -func (m *Share) String() string { return proto.CompactTextString(m) } -func (*Share) ProtoMessage() {} -func (*Share) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{0} +func (x *Share) Reset() { + *x = Share{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Share) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Share.Unmarshal(m, b) -} -func (m *Share) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Share.Marshal(b, m, deterministic) -} -func (m *Share) XXX_Merge(src proto.Message) { - xxx_messageInfo_Share.Merge(m, src) +func (x *Share) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Share) XXX_Size() int { - return xxx_messageInfo_Share.Size(m) -} -func (m *Share) XXX_DiscardUnknown() { - xxx_messageInfo_Share.DiscardUnknown(m) + +func (*Share) ProtoMessage() {} + +func (x *Share) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -var xxx_messageInfo_Share proto.InternalMessageInfo +// Deprecated: Use Share.ProtoReflect.Descriptor instead. +func (*Share) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *Share) GetId() *ShareId { - if m != nil { - return m.Id +func (x *Share) GetId() *ShareId { + if x != nil { + return x.Id } return nil } -func (m *Share) GetResourceId() *v1beta1.ResourceId { - if m != nil { - return m.ResourceId +func (x *Share) GetResourceId() *v1beta1.ResourceId { + if x != nil { + return x.ResourceId } return nil } -func (m *Share) GetName() string { - if m != nil { - return m.Name +func (x *Share) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Share) GetToken() string { - if m != nil { - return m.Token +func (x *Share) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *Share) GetGrantee() *v1beta1.Grantee { - if m != nil { - return m.Grantee +func (x *Share) GetGrantee() *v1beta1.Grantee { + if x != nil { + return x.Grantee } return nil } -func (m *Share) GetOwner() *v1beta11.UserId { - if m != nil { - return m.Owner +func (x *Share) GetOwner() *v1beta11.UserId { + if x != nil { + return x.Owner } return nil } -func (m *Share) GetCreator() *v1beta11.UserId { - if m != nil { - return m.Creator +func (x *Share) GetCreator() *v1beta11.UserId { + if x != nil { + return x.Creator } return nil } -func (m *Share) GetCtime() *v1beta12.Timestamp { - if m != nil { - return m.Ctime +func (x *Share) GetCtime() *v1beta12.Timestamp { + if x != nil { + return x.Ctime } return nil } -func (m *Share) GetMtime() *v1beta12.Timestamp { - if m != nil { - return m.Mtime +func (x *Share) GetMtime() *v1beta12.Timestamp { + if x != nil { + return x.Mtime } return nil } -func (m *Share) GetExpiration() *v1beta12.Timestamp { - if m != nil { - return m.Expiration +func (x *Share) GetExpiration() *v1beta12.Timestamp { + if x != nil { + return x.Expiration } return nil } -func (m *Share) GetShareType() ShareType { - if m != nil { - return m.ShareType +func (x *Share) GetShareType() ShareType { + if x != nil { + return x.ShareType } return ShareType_SHARE_TYPE_INVALID } -func (m *Share) GetAccessMethods() []*AccessMethod { - if m != nil { - return m.AccessMethods +func (x *Share) GetAccessMethods() []*AccessMethod { + if x != nil { + return x.AccessMethods } return nil } -func (m *Share) GetOpaque() *v1beta12.Opaque { - if m != nil { - return m.Opaque +func (x *Share) GetOpaque() *v1beta12.Opaque { + if x != nil { + return x.Opaque } return nil } // The permissions for a share. type SharePermissions struct { - Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` - Reshare bool `protobuf:"varint,2,opt,name=reshare,proto3" json:"reshare,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SharePermissions) Reset() { *m = SharePermissions{} } -func (m *SharePermissions) String() string { return proto.CompactTextString(m) } -func (*SharePermissions) ProtoMessage() {} -func (*SharePermissions) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{1} + Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` + Reshare bool `protobuf:"varint,2,opt,name=reshare,proto3" json:"reshare,omitempty"` } -func (m *SharePermissions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SharePermissions.Unmarshal(m, b) -} -func (m *SharePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SharePermissions.Marshal(b, m, deterministic) -} -func (m *SharePermissions) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharePermissions.Merge(m, src) +func (x *SharePermissions) Reset() { + *x = SharePermissions{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SharePermissions) XXX_Size() int { - return xxx_messageInfo_SharePermissions.Size(m) + +func (x *SharePermissions) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SharePermissions) XXX_DiscardUnknown() { - xxx_messageInfo_SharePermissions.DiscardUnknown(m) + +func (*SharePermissions) ProtoMessage() {} + +func (x *SharePermissions) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -var xxx_messageInfo_SharePermissions proto.InternalMessageInfo +// Deprecated: Use SharePermissions.ProtoReflect.Descriptor instead. +func (*SharePermissions) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *SharePermissions) GetPermissions() *v1beta1.ResourcePermissions { - if m != nil { - return m.Permissions +func (x *SharePermissions) GetPermissions() *v1beta1.ResourcePermissions { + if x != nil { + return x.Permissions } return nil } -func (m *SharePermissions) GetReshare() bool { - if m != nil { - return m.Reshare +func (x *SharePermissions) GetReshare() bool { + if x != nil { + return x.Reshare } return false } // A received share is the share that a grantee will receive. type ReceivedShare struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // Opaque unique identifier of the share. Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -368,133 +448,137 @@ type ReceivedShare struct { Opaque *v1beta12.Opaque `protobuf:"bytes,13,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // Resource type. - ResourceType v1beta1.ResourceType `protobuf:"varint,14,opt,name=resource_type,json=resourceType,proto3,enum=cs3.storage.provider.v1beta1.ResourceType" json:"resource_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ResourceType v1beta1.ResourceType `protobuf:"varint,14,opt,name=resource_type,json=resourceType,proto3,enum=cs3.storage.provider.v1beta1.ResourceType" json:"resource_type,omitempty"` } -func (m *ReceivedShare) Reset() { *m = ReceivedShare{} } -func (m *ReceivedShare) String() string { return proto.CompactTextString(m) } -func (*ReceivedShare) ProtoMessage() {} -func (*ReceivedShare) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{2} +func (x *ReceivedShare) Reset() { + *x = ReceivedShare{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReceivedShare) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReceivedShare.Unmarshal(m, b) -} -func (m *ReceivedShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReceivedShare.Marshal(b, m, deterministic) -} -func (m *ReceivedShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReceivedShare.Merge(m, src) -} -func (m *ReceivedShare) XXX_Size() int { - return xxx_messageInfo_ReceivedShare.Size(m) +func (x *ReceivedShare) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReceivedShare) XXX_DiscardUnknown() { - xxx_messageInfo_ReceivedShare.DiscardUnknown(m) + +func (*ReceivedShare) ProtoMessage() {} + +func (x *ReceivedShare) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -var xxx_messageInfo_ReceivedShare proto.InternalMessageInfo +// Deprecated: Use ReceivedShare.ProtoReflect.Descriptor instead. +func (*ReceivedShare) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{2} +} -func (m *ReceivedShare) GetId() *ShareId { - if m != nil { - return m.Id +func (x *ReceivedShare) GetId() *ShareId { + if x != nil { + return x.Id } return nil } -func (m *ReceivedShare) GetName() string { - if m != nil { - return m.Name +func (x *ReceivedShare) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ReceivedShare) GetRemoteShareId() string { - if m != nil { - return m.RemoteShareId +func (x *ReceivedShare) GetRemoteShareId() string { + if x != nil { + return x.RemoteShareId } return "" } -func (m *ReceivedShare) GetGrantee() *v1beta1.Grantee { - if m != nil { - return m.Grantee +func (x *ReceivedShare) GetGrantee() *v1beta1.Grantee { + if x != nil { + return x.Grantee } return nil } -func (m *ReceivedShare) GetOwner() *v1beta11.UserId { - if m != nil { - return m.Owner +func (x *ReceivedShare) GetOwner() *v1beta11.UserId { + if x != nil { + return x.Owner } return nil } -func (m *ReceivedShare) GetCreator() *v1beta11.UserId { - if m != nil { - return m.Creator +func (x *ReceivedShare) GetCreator() *v1beta11.UserId { + if x != nil { + return x.Creator } return nil } -func (m *ReceivedShare) GetCtime() *v1beta12.Timestamp { - if m != nil { - return m.Ctime +func (x *ReceivedShare) GetCtime() *v1beta12.Timestamp { + if x != nil { + return x.Ctime } return nil } -func (m *ReceivedShare) GetMtime() *v1beta12.Timestamp { - if m != nil { - return m.Mtime +func (x *ReceivedShare) GetMtime() *v1beta12.Timestamp { + if x != nil { + return x.Mtime } return nil } -func (m *ReceivedShare) GetExpiration() *v1beta12.Timestamp { - if m != nil { - return m.Expiration +func (x *ReceivedShare) GetExpiration() *v1beta12.Timestamp { + if x != nil { + return x.Expiration } return nil } -func (m *ReceivedShare) GetShareType() ShareType { - if m != nil { - return m.ShareType +func (x *ReceivedShare) GetShareType() ShareType { + if x != nil { + return x.ShareType } return ShareType_SHARE_TYPE_INVALID } -func (m *ReceivedShare) GetProtocols() []*Protocol { - if m != nil { - return m.Protocols +func (x *ReceivedShare) GetProtocols() []*Protocol { + if x != nil { + return x.Protocols } return nil } -func (m *ReceivedShare) GetState() ShareState { - if m != nil { - return m.State +func (x *ReceivedShare) GetState() ShareState { + if x != nil { + return x.State } return ShareState_SHARE_STATE_INVALID } -func (m *ReceivedShare) GetOpaque() *v1beta12.Opaque { - if m != nil { - return m.Opaque +func (x *ReceivedShare) GetOpaque() *v1beta12.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ReceivedShare) GetResourceType() v1beta1.ResourceType { - if m != nil { - return m.ResourceType +func (x *ReceivedShare) GetResourceType() v1beta1.ResourceType { + if x != nil { + return x.ResourceType } - return v1beta1.ResourceType_RESOURCE_TYPE_INVALID + return v1beta1.ResourceType(0) } // Uniquely identifies a share in the share provider. @@ -511,59 +595,67 @@ func (m *ReceivedShare) GetResourceType() v1beta1.ResourceType { // 3) The resource id = "home:1234" // 4) The grantee for the share = Grantee("type" = "user", "" => "Bob") type ShareKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. Owner *v1beta11.UserId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // REQUIRED. ResourceId *v1beta1.ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // REQUIRED. - Grantee *v1beta1.Grantee `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Grantee *v1beta1.Grantee `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"` } -func (m *ShareKey) Reset() { *m = ShareKey{} } -func (m *ShareKey) String() string { return proto.CompactTextString(m) } -func (*ShareKey) ProtoMessage() {} -func (*ShareKey) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{3} +func (x *ShareKey) Reset() { + *x = ShareKey{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShareKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShareKey.Unmarshal(m, b) -} -func (m *ShareKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShareKey.Marshal(b, m, deterministic) -} -func (m *ShareKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShareKey.Merge(m, src) +func (x *ShareKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShareKey) XXX_Size() int { - return xxx_messageInfo_ShareKey.Size(m) -} -func (m *ShareKey) XXX_DiscardUnknown() { - xxx_messageInfo_ShareKey.DiscardUnknown(m) + +func (*ShareKey) ProtoMessage() {} + +func (x *ShareKey) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -var xxx_messageInfo_ShareKey proto.InternalMessageInfo +// Deprecated: Use ShareKey.ProtoReflect.Descriptor instead. +func (*ShareKey) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{3} +} -func (m *ShareKey) GetOwner() *v1beta11.UserId { - if m != nil { - return m.Owner +func (x *ShareKey) GetOwner() *v1beta11.UserId { + if x != nil { + return x.Owner } return nil } -func (m *ShareKey) GetResourceId() *v1beta1.ResourceId { - if m != nil { - return m.ResourceId +func (x *ShareKey) GetResourceId() *v1beta1.ResourceId { + if x != nil { + return x.ResourceId } return nil } -func (m *ShareKey) GetGrantee() *v1beta1.Grantee { - if m != nil { - return m.Grantee +func (x *ShareKey) GetGrantee() *v1beta1.Grantee { + if x != nil { + return x.Grantee } return nil } @@ -571,45 +663,53 @@ func (m *ShareKey) GetGrantee() *v1beta1.Grantee { // A share id identifies uniquely a share in the share provider namespace. // A ShareId MUST be unique inside the share provider. type ShareId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The internal id used by service implementor to // uniquely identify the share in the internal // implementation of the service. // In the OCM specifications, this corresponds to the `providerId`. - OpaqueId string `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OpaqueId string `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` } -func (m *ShareId) Reset() { *m = ShareId{} } -func (m *ShareId) String() string { return proto.CompactTextString(m) } -func (*ShareId) ProtoMessage() {} -func (*ShareId) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{4} +func (x *ShareId) Reset() { + *x = ShareId{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShareId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShareId.Unmarshal(m, b) -} -func (m *ShareId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShareId.Marshal(b, m, deterministic) +func (x *ShareId) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShareId) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShareId.Merge(m, src) -} -func (m *ShareId) XXX_Size() int { - return xxx_messageInfo_ShareId.Size(m) -} -func (m *ShareId) XXX_DiscardUnknown() { - xxx_messageInfo_ShareId.DiscardUnknown(m) + +func (*ShareId) ProtoMessage() {} + +func (x *ShareId) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -var xxx_messageInfo_ShareId proto.InternalMessageInfo +// Deprecated: Use ShareId.ProtoReflect.Descriptor instead. +func (*ShareId) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{4} +} -func (m *ShareId) GetOpaqueId() string { - if m != nil { - return m.OpaqueId +func (x *ShareId) GetOpaqueId() string { + if x != nil { + return x.OpaqueId } return "" } @@ -617,66 +717,53 @@ func (m *ShareId) GetOpaqueId() string { // The mechanism to identify a share // in the share provider namespace. type ShareReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // One of the specifications MUST be specified. // - // Types that are valid to be assigned to Spec: + // Types that are assignable to Spec: + // // *ShareReference_Id // *ShareReference_Key // *ShareReference_Token - Spec isShareReference_Spec `protobuf_oneof:"spec"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spec isShareReference_Spec `protobuf_oneof:"spec"` } -func (m *ShareReference) Reset() { *m = ShareReference{} } -func (m *ShareReference) String() string { return proto.CompactTextString(m) } -func (*ShareReference) ProtoMessage() {} -func (*ShareReference) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{5} +func (x *ShareReference) Reset() { + *x = ShareReference{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShareReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShareReference.Unmarshal(m, b) -} -func (m *ShareReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShareReference.Marshal(b, m, deterministic) -} -func (m *ShareReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShareReference.Merge(m, src) -} -func (m *ShareReference) XXX_Size() int { - return xxx_messageInfo_ShareReference.Size(m) -} -func (m *ShareReference) XXX_DiscardUnknown() { - xxx_messageInfo_ShareReference.DiscardUnknown(m) +func (x *ShareReference) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ShareReference proto.InternalMessageInfo +func (*ShareReference) ProtoMessage() {} -type isShareReference_Spec interface { - isShareReference_Spec() -} - -type ShareReference_Id struct { - Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3,oneof"` -} - -type ShareReference_Key struct { - Key *ShareKey `protobuf:"bytes,2,opt,name=key,proto3,oneof"` +func (x *ShareReference) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -type ShareReference_Token struct { - Token string `protobuf:"bytes,3,opt,name=token,proto3,oneof"` +// Deprecated: Use ShareReference.ProtoReflect.Descriptor instead. +func (*ShareReference) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{5} } -func (*ShareReference_Id) isShareReference_Spec() {} - -func (*ShareReference_Key) isShareReference_Spec() {} - -func (*ShareReference_Token) isShareReference_Spec() {} - func (m *ShareReference) GetSpec() isShareReference_Spec { if m != nil { return m.Spec @@ -684,158 +771,164 @@ func (m *ShareReference) GetSpec() isShareReference_Spec { return nil } -func (m *ShareReference) GetId() *ShareId { - if x, ok := m.GetSpec().(*ShareReference_Id); ok { +func (x *ShareReference) GetId() *ShareId { + if x, ok := x.GetSpec().(*ShareReference_Id); ok { return x.Id } return nil } -func (m *ShareReference) GetKey() *ShareKey { - if x, ok := m.GetSpec().(*ShareReference_Key); ok { +func (x *ShareReference) GetKey() *ShareKey { + if x, ok := x.GetSpec().(*ShareReference_Key); ok { return x.Key } return nil } -func (m *ShareReference) GetToken() string { - if x, ok := m.GetSpec().(*ShareReference_Token); ok { +func (x *ShareReference) GetToken() string { + if x, ok := x.GetSpec().(*ShareReference_Token); ok { return x.Token } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ShareReference) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ShareReference_Id)(nil), - (*ShareReference_Key)(nil), - (*ShareReference_Token)(nil), - } +type isShareReference_Spec interface { + isShareReference_Spec() } +type ShareReference_Id struct { + // The id of the share. + Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3,oneof"` +} + +type ShareReference_Key struct { + // The combination of fields that + // make the share unique. + Key *ShareKey `protobuf:"bytes,2,opt,name=key,proto3,oneof"` +} + +type ShareReference_Token struct { + // The token of the share. + Token string `protobuf:"bytes,3,opt,name=token,proto3,oneof"` +} + +func (*ShareReference_Id) isShareReference_Spec() {} + +func (*ShareReference_Key) isShareReference_Spec() {} + +func (*ShareReference_Token) isShareReference_Spec() {} + // A share grant specifies the share permissions // for a grantee. type ShareGrant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The grantee of the grant. Grantee *v1beta1.Grantee `protobuf:"bytes,1,opt,name=grantee,proto3" json:"grantee,omitempty"` // REQUIRED. // The share permissions for the grant. - Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` } -func (m *ShareGrant) Reset() { *m = ShareGrant{} } -func (m *ShareGrant) String() string { return proto.CompactTextString(m) } -func (*ShareGrant) ProtoMessage() {} -func (*ShareGrant) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{6} +func (x *ShareGrant) Reset() { + *x = ShareGrant{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShareGrant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShareGrant.Unmarshal(m, b) -} -func (m *ShareGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShareGrant.Marshal(b, m, deterministic) -} -func (m *ShareGrant) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShareGrant.Merge(m, src) +func (x *ShareGrant) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShareGrant) XXX_Size() int { - return xxx_messageInfo_ShareGrant.Size(m) -} -func (m *ShareGrant) XXX_DiscardUnknown() { - xxx_messageInfo_ShareGrant.DiscardUnknown(m) + +func (*ShareGrant) ProtoMessage() {} + +func (x *ShareGrant) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -var xxx_messageInfo_ShareGrant proto.InternalMessageInfo +// Deprecated: Use ShareGrant.ProtoReflect.Descriptor instead. +func (*ShareGrant) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{6} +} -func (m *ShareGrant) GetGrantee() *v1beta1.Grantee { - if m != nil { - return m.Grantee +func (x *ShareGrant) GetGrantee() *v1beta1.Grantee { + if x != nil { + return x.Grantee } return nil } -func (m *ShareGrant) GetPermissions() *SharePermissions { - if m != nil { - return m.Permissions +func (x *ShareGrant) GetPermissions() *SharePermissions { + if x != nil { + return x.Permissions } return nil } // The protocol which is used to give access to a remote OCM user. type Protocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // One of the protocols MUST be specified. // - // Types that are valid to be assigned to Term: + // Types that are assignable to Term: + // // *Protocol_WebdavOptions // *Protocol_WebappOptions // *Protocol_TransferOptions // *Protocol_GenericOptions - Term isProtocol_Term `protobuf_oneof:"term"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Term isProtocol_Term `protobuf_oneof:"term"` } -func (m *Protocol) Reset() { *m = Protocol{} } -func (m *Protocol) String() string { return proto.CompactTextString(m) } -func (*Protocol) ProtoMessage() {} -func (*Protocol) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{7} -} - -func (m *Protocol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Protocol.Unmarshal(m, b) -} -func (m *Protocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Protocol.Marshal(b, m, deterministic) -} -func (m *Protocol) XXX_Merge(src proto.Message) { - xxx_messageInfo_Protocol.Merge(m, src) -} -func (m *Protocol) XXX_Size() int { - return xxx_messageInfo_Protocol.Size(m) -} -func (m *Protocol) XXX_DiscardUnknown() { - xxx_messageInfo_Protocol.DiscardUnknown(m) -} - -var xxx_messageInfo_Protocol proto.InternalMessageInfo - -type isProtocol_Term interface { - isProtocol_Term() +func (x *Protocol) Reset() { + *x = Protocol{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type Protocol_WebdavOptions struct { - WebdavOptions *WebDAVProtocol `protobuf:"bytes,1,opt,name=webdav_options,json=webdavOptions,proto3,oneof"` +func (x *Protocol) String() string { + return protoimpl.X.MessageStringOf(x) } -type Protocol_WebappOptions struct { - WebappOptions *WebappProtocol `protobuf:"bytes,2,opt,name=webapp_options,json=webappOptions,proto3,oneof"` -} +func (*Protocol) ProtoMessage() {} -type Protocol_TransferOptions struct { - TransferOptions *TransferProtocol `protobuf:"bytes,3,opt,name=transfer_options,json=transferOptions,proto3,oneof"` +func (x *Protocol) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -type Protocol_GenericOptions struct { - GenericOptions *v1beta12.Opaque `protobuf:"bytes,4,opt,name=generic_options,json=genericOptions,proto3,oneof"` +// Deprecated: Use Protocol.ProtoReflect.Descriptor instead. +func (*Protocol) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{7} } -func (*Protocol_WebdavOptions) isProtocol_Term() {} - -func (*Protocol_WebappOptions) isProtocol_Term() {} - -func (*Protocol_TransferOptions) isProtocol_Term() {} - -func (*Protocol_GenericOptions) isProtocol_Term() {} - func (m *Protocol) GetTerm() isProtocol_Term { if m != nil { return m.Term @@ -843,46 +936,74 @@ func (m *Protocol) GetTerm() isProtocol_Term { return nil } -func (m *Protocol) GetWebdavOptions() *WebDAVProtocol { - if x, ok := m.GetTerm().(*Protocol_WebdavOptions); ok { +func (x *Protocol) GetWebdavOptions() *WebDAVProtocol { + if x, ok := x.GetTerm().(*Protocol_WebdavOptions); ok { return x.WebdavOptions } return nil } -func (m *Protocol) GetWebappOptions() *WebappProtocol { - if x, ok := m.GetTerm().(*Protocol_WebappOptions); ok { +func (x *Protocol) GetWebappOptions() *WebappProtocol { + if x, ok := x.GetTerm().(*Protocol_WebappOptions); ok { return x.WebappOptions } return nil } -func (m *Protocol) GetTransferOptions() *TransferProtocol { - if x, ok := m.GetTerm().(*Protocol_TransferOptions); ok { +func (x *Protocol) GetTransferOptions() *TransferProtocol { + if x, ok := x.GetTerm().(*Protocol_TransferOptions); ok { return x.TransferOptions } return nil } -func (m *Protocol) GetGenericOptions() *v1beta12.Opaque { - if x, ok := m.GetTerm().(*Protocol_GenericOptions); ok { +func (x *Protocol) GetGenericOptions() *v1beta12.Opaque { + if x, ok := x.GetTerm().(*Protocol_GenericOptions); ok { return x.GenericOptions } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Protocol) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Protocol_WebdavOptions)(nil), - (*Protocol_WebappOptions)(nil), - (*Protocol_TransferOptions)(nil), - (*Protocol_GenericOptions)(nil), - } +type isProtocol_Term interface { + isProtocol_Term() +} + +type Protocol_WebdavOptions struct { + // Options for WebDAV protocol. + WebdavOptions *WebDAVProtocol `protobuf:"bytes,1,opt,name=webdav_options,json=webdavOptions,proto3,oneof"` } +type Protocol_WebappOptions struct { + // Options for Webapp protocol. + WebappOptions *WebappProtocol `protobuf:"bytes,2,opt,name=webapp_options,json=webappOptions,proto3,oneof"` +} + +type Protocol_TransferOptions struct { + // Options for transfer protocol. + TransferOptions *TransferProtocol `protobuf:"bytes,3,opt,name=transfer_options,json=transferOptions,proto3,oneof"` +} + +type Protocol_GenericOptions struct { + // Options for a generic protocol. + // Used to implement future protocols + // in the OCM specs. + GenericOptions *v1beta12.Opaque `protobuf:"bytes,4,opt,name=generic_options,json=genericOptions,proto3,oneof"` +} + +func (*Protocol_WebdavOptions) isProtocol_Term() {} + +func (*Protocol_WebappOptions) isProtocol_Term() {} + +func (*Protocol_TransferOptions) isProtocol_Term() {} + +func (*Protocol_GenericOptions) isProtocol_Term() {} + // Defines the options for the WebDAV protocol. type WebDAVProtocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // Secret used to access the resource. SharedSecret string `protobuf:"bytes,1,opt,name=shared_secret,json=sharedSecret,proto3" json:"shared_secret,omitempty"` @@ -891,112 +1012,128 @@ type WebDAVProtocol struct { Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` // REQUIRED. // WebDAV URI used to access the resource. - Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` } -func (m *WebDAVProtocol) Reset() { *m = WebDAVProtocol{} } -func (m *WebDAVProtocol) String() string { return proto.CompactTextString(m) } -func (*WebDAVProtocol) ProtoMessage() {} -func (*WebDAVProtocol) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{8} +func (x *WebDAVProtocol) Reset() { + *x = WebDAVProtocol{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WebDAVProtocol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDAVProtocol.Unmarshal(m, b) -} -func (m *WebDAVProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDAVProtocol.Marshal(b, m, deterministic) -} -func (m *WebDAVProtocol) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDAVProtocol.Merge(m, src) -} -func (m *WebDAVProtocol) XXX_Size() int { - return xxx_messageInfo_WebDAVProtocol.Size(m) +func (x *WebDAVProtocol) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WebDAVProtocol) XXX_DiscardUnknown() { - xxx_messageInfo_WebDAVProtocol.DiscardUnknown(m) + +func (*WebDAVProtocol) ProtoMessage() {} + +func (x *WebDAVProtocol) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -var xxx_messageInfo_WebDAVProtocol proto.InternalMessageInfo +// Deprecated: Use WebDAVProtocol.ProtoReflect.Descriptor instead. +func (*WebDAVProtocol) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{8} +} -func (m *WebDAVProtocol) GetSharedSecret() string { - if m != nil { - return m.SharedSecret +func (x *WebDAVProtocol) GetSharedSecret() string { + if x != nil { + return x.SharedSecret } return "" } -func (m *WebDAVProtocol) GetPermissions() *SharePermissions { - if m != nil { - return m.Permissions +func (x *WebDAVProtocol) GetPermissions() *SharePermissions { + if x != nil { + return x.Permissions } return nil } -func (m *WebDAVProtocol) GetUri() string { - if m != nil { - return m.Uri +func (x *WebDAVProtocol) GetUri() string { + if x != nil { + return x.Uri } return "" } // Defines the options for the Webapp protocol. type WebappProtocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // Template URI to open the resource with a remote app. UriTemplate string `protobuf:"bytes,1,opt,name=uri_template,json=uriTemplate,proto3" json:"uri_template,omitempty"` // REQUIRED. // View mode for the remote app. - ViewMode v1beta13.ViewMode `protobuf:"varint,2,opt,name=view_mode,json=viewMode,proto3,enum=cs3.app.provider.v1beta1.ViewMode" json:"view_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ViewMode v1beta13.ViewMode `protobuf:"varint,2,opt,name=view_mode,json=viewMode,proto3,enum=cs3.app.provider.v1beta1.ViewMode" json:"view_mode,omitempty"` } -func (m *WebappProtocol) Reset() { *m = WebappProtocol{} } -func (m *WebappProtocol) String() string { return proto.CompactTextString(m) } -func (*WebappProtocol) ProtoMessage() {} -func (*WebappProtocol) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{9} +func (x *WebappProtocol) Reset() { + *x = WebappProtocol{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WebappProtocol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebappProtocol.Unmarshal(m, b) -} -func (m *WebappProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebappProtocol.Marshal(b, m, deterministic) -} -func (m *WebappProtocol) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebappProtocol.Merge(m, src) +func (x *WebappProtocol) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WebappProtocol) XXX_Size() int { - return xxx_messageInfo_WebappProtocol.Size(m) -} -func (m *WebappProtocol) XXX_DiscardUnknown() { - xxx_messageInfo_WebappProtocol.DiscardUnknown(m) + +func (*WebappProtocol) ProtoMessage() {} + +func (x *WebappProtocol) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_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) } -var xxx_messageInfo_WebappProtocol proto.InternalMessageInfo +// Deprecated: Use WebappProtocol.ProtoReflect.Descriptor instead. +func (*WebappProtocol) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{9} +} -func (m *WebappProtocol) GetUriTemplate() string { - if m != nil { - return m.UriTemplate +func (x *WebappProtocol) GetUriTemplate() string { + if x != nil { + return x.UriTemplate } return "" } -func (m *WebappProtocol) GetViewMode() v1beta13.ViewMode { - if m != nil { - return m.ViewMode +func (x *WebappProtocol) GetViewMode() v1beta13.ViewMode { + if x != nil { + return x.ViewMode } - return v1beta13.ViewMode_VIEW_MODE_INVALID + return v1beta13.ViewMode(0) } // Defines the options for the Transfer protocol. type TransferProtocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // Secret used to access the source of the data transfer. SharedSecret string `protobuf:"bytes,1,opt,name=shared_secret,json=sharedSecret,proto3" json:"shared_secret,omitempty"` @@ -1005,116 +1142,169 @@ type TransferProtocol struct { SourceUri string `protobuf:"bytes,2,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` // REQUIRED. // Size in bytes of the source. - Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` } -func (m *TransferProtocol) Reset() { *m = TransferProtocol{} } -func (m *TransferProtocol) String() string { return proto.CompactTextString(m) } -func (*TransferProtocol) ProtoMessage() {} -func (*TransferProtocol) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{10} +func (x *TransferProtocol) Reset() { + *x = TransferProtocol{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TransferProtocol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferProtocol.Unmarshal(m, b) -} -func (m *TransferProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferProtocol.Marshal(b, m, deterministic) +func (x *TransferProtocol) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransferProtocol) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferProtocol.Merge(m, src) -} -func (m *TransferProtocol) XXX_Size() int { - return xxx_messageInfo_TransferProtocol.Size(m) -} -func (m *TransferProtocol) XXX_DiscardUnknown() { - xxx_messageInfo_TransferProtocol.DiscardUnknown(m) + +func (*TransferProtocol) ProtoMessage() {} + +func (x *TransferProtocol) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TransferProtocol proto.InternalMessageInfo +// Deprecated: Use TransferProtocol.ProtoReflect.Descriptor instead. +func (*TransferProtocol) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{10} +} -func (m *TransferProtocol) GetSharedSecret() string { - if m != nil { - return m.SharedSecret +func (x *TransferProtocol) GetSharedSecret() string { + if x != nil { + return x.SharedSecret } return "" } -func (m *TransferProtocol) GetSourceUri() string { - if m != nil { - return m.SourceUri +func (x *TransferProtocol) GetSourceUri() string { + if x != nil { + return x.SourceUri } return "" } -func (m *TransferProtocol) GetSize() uint64 { - if m != nil { - return m.Size +func (x *TransferProtocol) GetSize() uint64 { + if x != nil { + return x.Size } return 0 } // Defines how the recipient accesses an incoming remote OCM share. type AccessMethod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // One of the access method MUST be specified. // - // Types that are valid to be assigned to Term: + // Types that are assignable to Term: + // // *AccessMethod_WebdavOptions // *AccessMethod_WebappOptions // *AccessMethod_TransferOptions // *AccessMethod_GenericOptions - Term isAccessMethod_Term `protobuf_oneof:"term"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Term isAccessMethod_Term `protobuf_oneof:"term"` } -func (m *AccessMethod) Reset() { *m = AccessMethod{} } -func (m *AccessMethod) String() string { return proto.CompactTextString(m) } -func (*AccessMethod) ProtoMessage() {} -func (*AccessMethod) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{11} +func (x *AccessMethod) Reset() { + *x = AccessMethod{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AccessMethod) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccessMethod.Unmarshal(m, b) +func (x *AccessMethod) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccessMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccessMethod.Marshal(b, m, deterministic) + +func (*AccessMethod) ProtoMessage() {} + +func (x *AccessMethod) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *AccessMethod) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessMethod.Merge(m, src) + +// Deprecated: Use AccessMethod.ProtoReflect.Descriptor instead. +func (*AccessMethod) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{11} } -func (m *AccessMethod) XXX_Size() int { - return xxx_messageInfo_AccessMethod.Size(m) + +func (m *AccessMethod) GetTerm() isAccessMethod_Term { + if m != nil { + return m.Term + } + return nil } -func (m *AccessMethod) XXX_DiscardUnknown() { - xxx_messageInfo_AccessMethod.DiscardUnknown(m) + +func (x *AccessMethod) GetWebdavOptions() *WebDAVAccessMethod { + if x, ok := x.GetTerm().(*AccessMethod_WebdavOptions); ok { + return x.WebdavOptions + } + return nil } -var xxx_messageInfo_AccessMethod proto.InternalMessageInfo +func (x *AccessMethod) GetWebappOptions() *WebappAccessMethod { + if x, ok := x.GetTerm().(*AccessMethod_WebappOptions); ok { + return x.WebappOptions + } + return nil +} + +func (x *AccessMethod) GetTransferOptions() *TransferAccessMethod { + if x, ok := x.GetTerm().(*AccessMethod_TransferOptions); ok { + return x.TransferOptions + } + return nil +} + +func (x *AccessMethod) GetGenericOptions() *v1beta12.Opaque { + if x, ok := x.GetTerm().(*AccessMethod_GenericOptions); ok { + return x.GenericOptions + } + return nil +} type isAccessMethod_Term interface { isAccessMethod_Term() } type AccessMethod_WebdavOptions struct { + // Options for the WebDAV access method. WebdavOptions *WebDAVAccessMethod `protobuf:"bytes,1,opt,name=webdav_options,json=webdavOptions,proto3,oneof"` } type AccessMethod_WebappOptions struct { + // Options for the Webapp access method. WebappOptions *WebappAccessMethod `protobuf:"bytes,2,opt,name=webapp_options,json=webappOptions,proto3,oneof"` } type AccessMethod_TransferOptions struct { + // Options for the Transfer access method. TransferOptions *TransferAccessMethod `protobuf:"bytes,3,opt,name=transfer_options,json=transferOptions,proto3,oneof"` } type AccessMethod_GenericOptions struct { + // Options for a generic transfer method. + // Used to implement future access methods. GenericOptions *v1beta12.Opaque `protobuf:"bytes,4,opt,name=generic_options,json=genericOptions,proto3,oneof"` } @@ -1126,278 +1316,743 @@ func (*AccessMethod_TransferOptions) isAccessMethod_Term() {} func (*AccessMethod_GenericOptions) isAccessMethod_Term() {} -func (m *AccessMethod) GetTerm() isAccessMethod_Term { - if m != nil { - return m.Term - } - return nil -} +// Defines the options for the WebDAV access method. +type WebDAVAccessMethod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AccessMethod) GetWebdavOptions() *WebDAVAccessMethod { - if x, ok := m.GetTerm().(*AccessMethod_WebdavOptions); ok { - return x.WebdavOptions - } - return nil + // REQUIRED. + // The permissions for the share. + Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` } -func (m *AccessMethod) GetWebappOptions() *WebappAccessMethod { - if x, ok := m.GetTerm().(*AccessMethod_WebappOptions); ok { - return x.WebappOptions +func (x *WebDAVAccessMethod) Reset() { + *x = WebDAVAccessMethod{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *AccessMethod) GetTransferOptions() *TransferAccessMethod { - if x, ok := m.GetTerm().(*AccessMethod_TransferOptions); ok { - return x.TransferOptions - } - return nil +func (x *WebDAVAccessMethod) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccessMethod) GetGenericOptions() *v1beta12.Opaque { - if x, ok := m.GetTerm().(*AccessMethod_GenericOptions); ok { - return x.GenericOptions - } - return nil -} +func (*WebDAVAccessMethod) ProtoMessage() {} -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AccessMethod) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AccessMethod_WebdavOptions)(nil), - (*AccessMethod_WebappOptions)(nil), - (*AccessMethod_TransferOptions)(nil), - (*AccessMethod_GenericOptions)(nil), +func (x *WebDAVAccessMethod) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } + return mi.MessageOf(x) } -// Defines the options for the WebDAV access method. -type WebDAVAccessMethod struct { - // REQUIRED. - // The permissions for the share. - Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WebDAVAccessMethod) Reset() { *m = WebDAVAccessMethod{} } -func (m *WebDAVAccessMethod) String() string { return proto.CompactTextString(m) } -func (*WebDAVAccessMethod) ProtoMessage() {} +// Deprecated: Use WebDAVAccessMethod.ProtoReflect.Descriptor instead. func (*WebDAVAccessMethod) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{12} + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{12} } -func (m *WebDAVAccessMethod) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDAVAccessMethod.Unmarshal(m, b) -} -func (m *WebDAVAccessMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDAVAccessMethod.Marshal(b, m, deterministic) -} -func (m *WebDAVAccessMethod) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDAVAccessMethod.Merge(m, src) -} -func (m *WebDAVAccessMethod) XXX_Size() int { - return xxx_messageInfo_WebDAVAccessMethod.Size(m) -} -func (m *WebDAVAccessMethod) XXX_DiscardUnknown() { - xxx_messageInfo_WebDAVAccessMethod.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDAVAccessMethod proto.InternalMessageInfo - -func (m *WebDAVAccessMethod) GetPermissions() *v1beta1.ResourcePermissions { - if m != nil { - return m.Permissions +func (x *WebDAVAccessMethod) GetPermissions() *v1beta1.ResourcePermissions { + if x != nil { + return x.Permissions } return nil } // Defines the options for the Webapp access method. type WebappAccessMethod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The view mode for the share. - ViewMode v1beta13.ViewMode `protobuf:"varint,1,opt,name=view_mode,json=viewMode,proto3,enum=cs3.app.provider.v1beta1.ViewMode" json:"view_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ViewMode v1beta13.ViewMode `protobuf:"varint,1,opt,name=view_mode,json=viewMode,proto3,enum=cs3.app.provider.v1beta1.ViewMode" json:"view_mode,omitempty"` } -func (m *WebappAccessMethod) Reset() { *m = WebappAccessMethod{} } -func (m *WebappAccessMethod) String() string { return proto.CompactTextString(m) } -func (*WebappAccessMethod) ProtoMessage() {} -func (*WebappAccessMethod) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{13} +func (x *WebappAccessMethod) Reset() { + *x = WebappAccessMethod{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WebappAccessMethod) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebappAccessMethod.Unmarshal(m, b) -} -func (m *WebappAccessMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebappAccessMethod.Marshal(b, m, deterministic) -} -func (m *WebappAccessMethod) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebappAccessMethod.Merge(m, src) +func (x *WebappAccessMethod) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WebappAccessMethod) XXX_Size() int { - return xxx_messageInfo_WebappAccessMethod.Size(m) -} -func (m *WebappAccessMethod) XXX_DiscardUnknown() { - xxx_messageInfo_WebappAccessMethod.DiscardUnknown(m) + +func (*WebappAccessMethod) ProtoMessage() {} + +func (x *WebappAccessMethod) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WebappAccessMethod proto.InternalMessageInfo +// Deprecated: Use WebappAccessMethod.ProtoReflect.Descriptor instead. +func (*WebappAccessMethod) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{13} +} -func (m *WebappAccessMethod) GetViewMode() v1beta13.ViewMode { - if m != nil { - return m.ViewMode +func (x *WebappAccessMethod) GetViewMode() v1beta13.ViewMode { + if x != nil { + return x.ViewMode } - return v1beta13.ViewMode_VIEW_MODE_INVALID + return v1beta13.ViewMode(0) } // Defines the options for the Transfer access method. type TransferAccessMethod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The destination path of the data transfer. - Destination *v1beta1.Reference `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Destination *v1beta1.Reference `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *TransferAccessMethod) Reset() { *m = TransferAccessMethod{} } -func (m *TransferAccessMethod) String() string { return proto.CompactTextString(m) } -func (*TransferAccessMethod) ProtoMessage() {} -func (*TransferAccessMethod) Descriptor() ([]byte, []int) { - return fileDescriptor_b8b387acee7aaf43, []int{14} +func (x *TransferAccessMethod) Reset() { + *x = TransferAccessMethod{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TransferAccessMethod) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferAccessMethod.Unmarshal(m, b) -} -func (m *TransferAccessMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferAccessMethod.Marshal(b, m, deterministic) -} -func (m *TransferAccessMethod) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferAccessMethod.Merge(m, src) +func (x *TransferAccessMethod) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransferAccessMethod) XXX_Size() int { - return xxx_messageInfo_TransferAccessMethod.Size(m) -} -func (m *TransferAccessMethod) XXX_DiscardUnknown() { - xxx_messageInfo_TransferAccessMethod.DiscardUnknown(m) + +func (*TransferAccessMethod) ProtoMessage() {} + +func (x *TransferAccessMethod) ProtoReflect() protoreflect.Message { + mi := &file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TransferAccessMethod proto.InternalMessageInfo +// Deprecated: Use TransferAccessMethod.ProtoReflect.Descriptor instead. +func (*TransferAccessMethod) Descriptor() ([]byte, []int) { + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP(), []int{14} +} -func (m *TransferAccessMethod) GetDestination() *v1beta1.Reference { - if m != nil { - return m.Destination +func (x *TransferAccessMethod) GetDestination() *v1beta1.Reference { + if x != nil { + return x.Destination } return nil } -func init() { - proto.RegisterEnum("cs3.sharing.ocm.v1beta1.ShareState", ShareState_name, ShareState_value) - proto.RegisterEnum("cs3.sharing.ocm.v1beta1.ShareType", ShareType_name, ShareType_value) - proto.RegisterType((*Share)(nil), "cs3.sharing.ocm.v1beta1.Share") - proto.RegisterType((*SharePermissions)(nil), "cs3.sharing.ocm.v1beta1.SharePermissions") - proto.RegisterType((*ReceivedShare)(nil), "cs3.sharing.ocm.v1beta1.ReceivedShare") - proto.RegisterType((*ShareKey)(nil), "cs3.sharing.ocm.v1beta1.ShareKey") - proto.RegisterType((*ShareId)(nil), "cs3.sharing.ocm.v1beta1.ShareId") - proto.RegisterType((*ShareReference)(nil), "cs3.sharing.ocm.v1beta1.ShareReference") - proto.RegisterType((*ShareGrant)(nil), "cs3.sharing.ocm.v1beta1.ShareGrant") - proto.RegisterType((*Protocol)(nil), "cs3.sharing.ocm.v1beta1.Protocol") - proto.RegisterType((*WebDAVProtocol)(nil), "cs3.sharing.ocm.v1beta1.WebDAVProtocol") - proto.RegisterType((*WebappProtocol)(nil), "cs3.sharing.ocm.v1beta1.WebappProtocol") - proto.RegisterType((*TransferProtocol)(nil), "cs3.sharing.ocm.v1beta1.TransferProtocol") - proto.RegisterType((*AccessMethod)(nil), "cs3.sharing.ocm.v1beta1.AccessMethod") - proto.RegisterType((*WebDAVAccessMethod)(nil), "cs3.sharing.ocm.v1beta1.WebDAVAccessMethod") - proto.RegisterType((*WebappAccessMethod)(nil), "cs3.sharing.ocm.v1beta1.WebappAccessMethod") - proto.RegisterType((*TransferAccessMethod)(nil), "cs3.sharing.ocm.v1beta1.TransferAccessMethod") -} - -func init() { - proto.RegisterFile("cs3/sharing/ocm/v1beta1/resources.proto", fileDescriptor_b8b387acee7aaf43) -} - -var fileDescriptor_b8b387acee7aaf43 = []byte{ - // 1231 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x5d, 0x6f, 0x13, 0x47, - 0x17, 0xce, 0xda, 0x71, 0x62, 0x9f, 0xc4, 0x8e, 0x35, 0x44, 0xb0, 0x2f, 0xbc, 0x48, 0xc9, 0xa2, - 0x42, 0x80, 0xd6, 0x69, 0x88, 0xaa, 0xaa, 0x6a, 0x25, 0xe4, 0x24, 0x16, 0x76, 0x81, 0xd8, 0x1a, - 0x3b, 0xa9, 0x8a, 0x90, 0xac, 0xcd, 0xee, 0x21, 0x4c, 0x61, 0x3f, 0x3a, 0xb3, 0x76, 0xea, 0xde, - 0xf5, 0x3f, 0xf4, 0xaa, 0x55, 0x6f, 0x7a, 0xd9, 0x9f, 0xd2, 0x1b, 0x6e, 0xfa, 0x13, 0xfa, 0x43, - 0xaa, 0x9d, 0x99, 0x75, 0x36, 0x26, 0xfe, 0xc0, 0xc0, 0xdd, 0x7c, 0x3c, 0xcf, 0x33, 0x33, 0x67, - 0xce, 0x73, 0x66, 0xe0, 0x8e, 0x23, 0x76, 0xb7, 0xc5, 0x4b, 0x9b, 0x33, 0xff, 0x74, 0x3b, 0x70, - 0xbc, 0xed, 0xfe, 0xce, 0x09, 0x46, 0xf6, 0xce, 0x36, 0x47, 0x11, 0xf4, 0xb8, 0x83, 0xa2, 0x12, - 0xf2, 0x20, 0x0a, 0xc8, 0x35, 0x47, 0xec, 0x56, 0x34, 0xb0, 0x12, 0x38, 0x5e, 0x45, 0x03, 0xaf, - 0x6f, 0xc5, 0x0a, 0x76, 0x18, 0x6e, 0x87, 0x3c, 0xe8, 0x33, 0x17, 0xf9, 0x38, 0x89, 0xeb, 0x77, - 0x63, 0x24, 0x73, 0xd1, 0x8f, 0x58, 0x34, 0xd8, 0xee, 0x89, 0x09, 0xd0, 0x4f, 0xe5, 0xb6, 0xa2, - 0x80, 0xdb, 0xa7, 0x38, 0x5d, 0xf8, 0x66, 0x8c, 0x8e, 0x06, 0x21, 0x8a, 0x21, 0x44, 0xf6, 0xd4, - 0xb4, 0xf5, 0x26, 0x07, 0xb9, 0xf6, 0x4b, 0x9b, 0x23, 0xf9, 0x1c, 0x32, 0xcc, 0x35, 0x8d, 0x0d, - 0x63, 0x6b, 0xe5, 0xc1, 0x46, 0x65, 0xcc, 0x89, 0x2a, 0x12, 0xdb, 0x70, 0x69, 0x86, 0xb9, 0xa4, - 0x01, 0x2b, 0xc9, 0x6a, 0x5d, 0xe6, 0x9a, 0x19, 0x49, 0xdd, 0x52, 0x54, 0xb5, 0xbd, 0x4a, 0xb2, - 0xbd, 0x21, 0x9f, 0x6a, 0x42, 0xc3, 0xa5, 0xc0, 0x87, 0x6d, 0x42, 0x60, 0xd1, 0xb7, 0x3d, 0x34, - 0xb3, 0x1b, 0xc6, 0x56, 0x81, 0xca, 0x36, 0x59, 0x87, 0x5c, 0x14, 0xbc, 0x42, 0xdf, 0x5c, 0x94, - 0x83, 0xaa, 0x43, 0x1e, 0xc2, 0xf2, 0x29, 0xb7, 0xfd, 0x08, 0xd1, 0xcc, 0xc9, 0x05, 0x3f, 0x99, - 0xbc, 0xe0, 0x23, 0x05, 0xa6, 0x09, 0x8b, 0x7c, 0x09, 0xb9, 0xe0, 0xcc, 0x47, 0x6e, 0x2e, 0x49, - 0xfa, 0xa6, 0xa4, 0x27, 0x91, 0xaf, 0xc4, 0x91, 0x1f, 0x72, 0x8f, 0x04, 0xf2, 0x86, 0x4b, 0x15, - 0x9e, 0x7c, 0x0d, 0xcb, 0x0e, 0x47, 0x3b, 0x0a, 0xb8, 0xb9, 0x3c, 0x2b, 0x35, 0x61, 0x90, 0x07, - 0x90, 0x73, 0x22, 0xe6, 0xa1, 0x99, 0x97, 0xd4, 0xff, 0x4b, 0xaa, 0xba, 0x88, 0x84, 0xd2, 0x61, - 0x1e, 0x8a, 0xc8, 0xf6, 0x42, 0xaa, 0xa0, 0x31, 0xc7, 0x93, 0x9c, 0xc2, 0x2c, 0x1c, 0x09, 0x25, - 0xdf, 0x00, 0xe0, 0x4f, 0x21, 0xe3, 0x76, 0xc4, 0x02, 0xdf, 0x84, 0x19, 0x88, 0x29, 0x3c, 0xa9, - 0x02, 0xc4, 0x97, 0x8e, 0xdd, 0x18, 0x6c, 0xae, 0x6c, 0x18, 0x5b, 0xa5, 0x07, 0xd6, 0xe4, 0x5c, - 0xe8, 0x0c, 0x42, 0xa4, 0x05, 0x91, 0x34, 0xc9, 0x13, 0x28, 0xd9, 0x8e, 0x83, 0x42, 0x74, 0x3d, - 0x8c, 0x5e, 0x06, 0xae, 0x30, 0x57, 0x37, 0xb2, 0xe7, 0xd7, 0x74, 0x89, 0x4c, 0x55, 0xc2, 0x9f, - 0x4a, 0x34, 0x2d, 0xda, 0xa9, 0x9e, 0x20, 0x3b, 0xb0, 0x14, 0x84, 0xf6, 0x8f, 0x3d, 0x34, 0x8b, - 0xf2, 0x28, 0xff, 0xbb, 0xe4, 0x28, 0x4d, 0x09, 0xa0, 0x1a, 0x68, 0xfd, 0x62, 0x40, 0x59, 0xee, - 0xac, 0x85, 0xdc, 0x63, 0x42, 0xb0, 0xc0, 0x17, 0xa4, 0x0d, 0x2b, 0xe1, 0x79, 0x57, 0x67, 0xf9, - 0xce, 0x6c, 0xa9, 0x9a, 0xd2, 0xa1, 0x69, 0x15, 0x62, 0xc2, 0x32, 0x47, 0x79, 0x72, 0x99, 0xfb, - 0x79, 0x9a, 0x74, 0xad, 0x3f, 0x96, 0xa0, 0x48, 0xd1, 0x41, 0xd6, 0x47, 0x77, 0x5e, 0x77, 0x25, - 0x96, 0xc8, 0xa4, 0x2c, 0x71, 0x1b, 0xd6, 0x38, 0x7a, 0x41, 0x84, 0x5d, 0x75, 0x4d, 0xcc, 0xd5, - 0x8e, 0x29, 0xaa, 0x61, 0xcd, 0x4f, 0x9b, 0x64, 0xf1, 0xfd, 0x4c, 0x92, 0x9b, 0xdf, 0x24, 0x4b, - 0xf3, 0x9b, 0x64, 0x79, 0x0e, 0x93, 0xe4, 0xe7, 0x35, 0x49, 0xe1, 0xbd, 0x4c, 0x02, 0xf3, 0x98, - 0xe4, 0x21, 0x14, 0x64, 0xf9, 0x75, 0x82, 0xd7, 0xc2, 0x5c, 0x91, 0xfe, 0xd8, 0x1c, 0xab, 0xd0, - 0xd2, 0x48, 0x7a, 0xce, 0x21, 0x5f, 0x41, 0x4e, 0x44, 0x76, 0x84, 0xe6, 0xaa, 0x5c, 0xfe, 0xd6, - 0xe4, 0xe5, 0xdb, 0x31, 0x94, 0x2a, 0xc6, 0x1c, 0x96, 0x22, 0x4d, 0x28, 0x0e, 0x0b, 0xbd, 0x3c, - 0x74, 0x49, 0xae, 0x7a, 0x6f, 0x36, 0xff, 0xc8, 0xc3, 0xaf, 0xf2, 0x54, 0xcf, 0x7a, 0x63, 0x40, - 0x5e, 0xee, 0xec, 0x31, 0x0e, 0xce, 0x73, 0xcd, 0x78, 0xc7, 0x5c, 0xfb, 0x80, 0xef, 0x4f, 0xca, - 0x30, 0xd9, 0x79, 0x0c, 0x63, 0xdd, 0x86, 0xe5, 0xc4, 0x7c, 0x37, 0xa0, 0xa0, 0xe2, 0xd6, 0xd5, - 0x8e, 0x2f, 0xd0, 0xbc, 0x1a, 0x68, 0xb8, 0xd6, 0xef, 0x06, 0x94, 0x24, 0x90, 0xe2, 0x0b, 0xe4, - 0xe8, 0x3b, 0x71, 0x06, 0xbf, 0x43, 0x69, 0xa8, 0x2f, 0xc8, 0xe2, 0xf0, 0x05, 0x64, 0x5f, 0xe1, - 0x40, 0x1f, 0x79, 0x73, 0x32, 0xe9, 0x31, 0x0e, 0xea, 0x0b, 0x34, 0xc6, 0x93, 0xab, 0xc9, 0x93, - 0x2a, 0xab, 0x46, 0x7d, 0x41, 0x3f, 0xaa, 0x7b, 0x4b, 0xb0, 0x28, 0x42, 0x74, 0xac, 0xdf, 0x0c, - 0x00, 0xc9, 0x91, 0xe7, 0x4b, 0x47, 0xc5, 0x98, 0xab, 0x8c, 0x3c, 0xbe, 0x58, 0x76, 0xd5, 0x76, - 0xef, 0x4e, 0xde, 0xee, 0xb8, 0x72, 0x6b, 0xfd, 0x93, 0x81, 0x7c, 0xe2, 0x05, 0xd2, 0x82, 0xd2, - 0x19, 0x9e, 0xb8, 0x76, 0xbf, 0x1b, 0x84, 0x51, 0xaa, 0xa6, 0xdf, 0x19, 0x2b, 0xfe, 0x1d, 0x9e, - 0x1c, 0x54, 0x8f, 0x13, 0x81, 0xfa, 0x02, 0x2d, 0x2a, 0x81, 0xa6, 0xe2, 0x6b, 0x45, 0x3b, 0x0c, - 0x87, 0x8a, 0x99, 0xe9, 0x8a, 0x76, 0x18, 0x8e, 0x28, 0xda, 0x61, 0x98, 0x28, 0x1e, 0x43, 0x39, - 0xe2, 0xb6, 0x2f, 0x5e, 0x20, 0x1f, 0x6a, 0x66, 0xa7, 0x84, 0xa0, 0xa3, 0x09, 0x29, 0xd5, 0xb5, - 0x44, 0x24, 0xd1, 0x3d, 0x80, 0xb5, 0x53, 0xf4, 0x91, 0x33, 0x67, 0x28, 0xbb, 0x38, 0xc5, 0xca, - 0xf5, 0x05, 0x5a, 0xd2, 0x1c, 0xad, 0x12, 0xdf, 0x79, 0x84, 0xdc, 0xb3, 0x7e, 0x35, 0xa0, 0x74, - 0x31, 0x36, 0xe4, 0x16, 0x14, 0x65, 0xad, 0x72, 0xbb, 0x02, 0x1d, 0x8e, 0x91, 0xce, 0xe2, 0x55, - 0x35, 0xd8, 0x96, 0x63, 0x1f, 0xf4, 0x6e, 0x49, 0x19, 0xb2, 0x3d, 0xce, 0xf4, 0x63, 0x16, 0x37, - 0xad, 0x48, 0xee, 0x2a, 0x15, 0x5f, 0xb2, 0x09, 0xab, 0x3d, 0xce, 0xba, 0x11, 0x7a, 0xe1, 0xeb, - 0xb8, 0xf4, 0xa9, 0x4d, 0xad, 0xf4, 0x38, 0xeb, 0xe8, 0xa1, 0xb8, 0xae, 0xf6, 0x19, 0x9e, 0x75, - 0xbd, 0xc0, 0x55, 0x0f, 0x67, 0x52, 0x99, 0xed, 0x30, 0x7c, 0x3b, 0x5d, 0x8f, 0x19, 0x9e, 0x3d, - 0x0d, 0x5c, 0xa4, 0xf9, 0xbe, 0x6e, 0x59, 0x3f, 0x40, 0x79, 0xf4, 0x06, 0x66, 0x8b, 0xc6, 0x4d, - 0x00, 0x5d, 0x89, 0xe2, 0x73, 0xa8, 0x37, 0xbb, 0xa0, 0x46, 0x8e, 0x38, 0x8b, 0x1f, 0x73, 0xc1, - 0x7e, 0x56, 0xc5, 0x65, 0x91, 0xca, 0xb6, 0xf5, 0x6f, 0x06, 0x56, 0xd3, 0x7f, 0x1f, 0xd2, 0x19, - 0x93, 0xd3, 0xf7, 0xa7, 0xe4, 0x74, 0x5a, 0xe4, 0xed, 0xbc, 0xee, 0x8c, 0xc9, 0xeb, 0xfb, 0x53, - 0xf2, 0xfa, 0x12, 0xd5, 0x54, 0x6e, 0x3f, 0x1b, 0x9b, 0xdb, 0x9f, 0x4d, 0xcd, 0xed, 0x11, 0xe5, - 0x8f, 0x9c, 0xdf, 0x0c, 0xc8, 0xdb, 0x61, 0xfa, 0x28, 0x1f, 0x42, 0xeb, 0x48, 0x2e, 0x35, 0x12, - 0xbb, 0x8b, 0x49, 0x69, 0xcc, 0x91, 0x94, 0x36, 0xac, 0x5f, 0x16, 0xba, 0xf8, 0xfd, 0x73, 0x51, - 0x44, 0xcc, 0x57, 0xff, 0x98, 0x0b, 0x05, 0x70, 0xfc, 0x19, 0xf4, 0xb3, 0x43, 0xd3, 0xdc, 0x7b, - 0x5c, 0xd7, 0x7d, 0xf9, 0x53, 0x20, 0xd7, 0xe0, 0x4a, 0xbb, 0x5e, 0xa5, 0xb5, 0x6e, 0xbb, 0x53, - 0xed, 0xd4, 0xba, 0x8d, 0xc3, 0xe3, 0xea, 0x93, 0xc6, 0x41, 0x79, 0x61, 0x74, 0xa2, 0x55, 0x3b, - 0x3c, 0x68, 0x1c, 0x3e, 0x2a, 0x1b, 0xc4, 0x84, 0xf5, 0xf4, 0x44, 0x75, 0x7f, 0xbf, 0xd6, 0xea, - 0xd4, 0x0e, 0xca, 0x99, 0xd1, 0x19, 0x5a, 0xfb, 0xb6, 0xb6, 0x1f, 0xcf, 0x64, 0xef, 0x1d, 0x42, - 0x61, 0xf8, 0x39, 0x22, 0x57, 0x81, 0x28, 0x58, 0xe7, 0xfb, 0x56, 0x7a, 0xc5, 0x2b, 0xb0, 0x96, - 0x1a, 0x3f, 0x6a, 0xd7, 0x68, 0xd9, 0x20, 0xeb, 0x50, 0x4e, 0x0d, 0x3e, 0xa2, 0xcd, 0xa3, 0x56, - 0x39, 0xb3, 0xd7, 0x83, 0x1b, 0x4e, 0xe0, 0x8d, 0xcb, 0xbe, 0xbd, 0x52, 0x72, 0x7d, 0x42, 0x3a, - 0xbb, 0x65, 0x3c, 0x83, 0xc0, 0xf1, 0xf4, 0xec, 0x9f, 0x99, 0xec, 0x7e, 0xbb, 0xf9, 0x57, 0xe6, - 0xda, 0xbe, 0xd8, 0x95, 0xa5, 0x2a, 0x66, 0x37, 0x1d, 0xaf, 0x72, 0xbc, 0xb3, 0x17, 0xcf, 0xff, - 0x2d, 0x67, 0x9e, 0xeb, 0x99, 0xe7, 0x4d, 0xc7, 0x7b, 0xae, 0x67, 0x4e, 0x96, 0xe4, 0xaf, 0x6c, - 0xf7, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x69, 0x6a, 0x2e, 0x2e, 0x10, 0x00, 0x00, +var File_cs3_sharing_ocm_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_sharing_ocm_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x63, + 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x1a, 0x28, 0x63, 0x73, 0x33, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x73, + 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcf, 0x05, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x30, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x49, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x52, + 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x52, 0x07, 0x67, + 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, + 0x3b, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x05, + 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, + 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x6d, + 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4c, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x72, 0x65, 0x73, 0x68, 0x61, 0x72, 0x65, 0x22, 0x9d, 0x06, 0x0a, 0x0d, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x30, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, + 0x61, 0x6e, 0x74, 0x65, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x65, 0x65, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x05, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, + 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x09, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x12, 0x39, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0xcf, 0x01, 0x0a, 0x08, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x12, 0x49, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x52, + 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x07, 0x67, + 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x65, 0x65, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x22, 0x26, 0x0a, 0x07, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x49, 0x64, 0x22, 0x9b, 0x01, 0x0a, 0x0e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x49, 0x64, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4b, 0x65, 0x79, 0x48, 0x00, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x16, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x22, 0x9a, 0x01, 0x0a, 0x0a, 0x53, 0x68, 0x61, 0x72, 0x65, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, + 0x65, 0x65, 0x12, 0x4b, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0xd4, 0x02, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x50, 0x0a, 0x0e, + 0x77, 0x65, 0x62, 0x64, 0x61, 0x76, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, + 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, + 0x65, 0x62, 0x44, 0x41, 0x56, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x48, 0x00, 0x52, + 0x0d, 0x77, 0x65, 0x62, 0x64, 0x61, 0x76, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, + 0x0a, 0x0e, 0x77, 0x65, 0x62, 0x61, 0x70, 0x70, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x57, 0x65, 0x62, 0x61, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x48, + 0x00, 0x52, 0x0d, 0x77, 0x65, 0x62, 0x61, 0x70, 0x70, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x56, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x69, 0x63, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0e, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, + 0x0a, 0x04, 0x74, 0x65, 0x72, 0x6d, 0x22, 0x94, 0x01, 0x0a, 0x0e, 0x57, 0x65, 0x62, 0x44, 0x41, + 0x56, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x4b, + 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0x74, 0x0a, + 0x0e, 0x57, 0x65, 0x62, 0x61, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, + 0x21, 0x0a, 0x0c, 0x75, 0x72, 0x69, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x72, 0x69, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4d, + 0x6f, 0x64, 0x65, 0x22, 0x6a, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x64, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, + 0xe4, 0x02, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, + 0x12, 0x54, 0x0a, 0x0e, 0x77, 0x65, 0x62, 0x64, 0x61, 0x76, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x44, 0x41, 0x56, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x77, 0x65, 0x62, 0x64, 0x61, 0x76, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x54, 0x0a, 0x0e, 0x77, 0x65, 0x62, 0x61, 0x70, 0x70, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x61, 0x70, 0x70, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x77, + 0x65, 0x62, 0x61, 0x70, 0x70, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x10, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x69, 0x63, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0e, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, + 0x0a, 0x04, 0x74, 0x65, 0x72, 0x6d, 0x22, 0x69, 0x0a, 0x12, 0x57, 0x65, 0x62, 0x44, 0x41, 0x56, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x53, 0x0a, 0x0b, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x55, 0x0a, 0x12, 0x57, 0x65, 0x62, 0x61, 0x70, 0x70, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x3f, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, + 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, + 0x76, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x61, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, + 0x12, 0x49, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0b, + 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x72, 0x0a, 0x0a, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x48, 0x41, + 0x52, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, + 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x53, + 0x48, 0x41, 0x52, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, + 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x03, 0x2a, + 0x4e, 0x0a, 0x09, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, + 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, + 0x49, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x48, 0x41, + 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x02, 0x42, + 0xed, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, + 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, + 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, + 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x63, 0x73, 0x33, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x6f, 0x63, 0x6d, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x53, 0x4f, 0xaa, 0x02, 0x17, 0x43, 0x73, 0x33, 0x2e, 0x53, + 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x63, 0x6d, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0xca, 0x02, 0x17, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, + 0x5c, 0x4f, 0x63, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x23, 0x43, + 0x73, 0x33, 0x5c, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x4f, 0x63, 0x6d, 0x5c, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x1a, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, + 0x67, 0x3a, 0x3a, 0x4f, 0x63, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescData = file_cs3_sharing_ocm_v1beta1_resources_proto_rawDesc +) + +func file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_sharing_ocm_v1beta1_resources_proto_rawDescData +} + +var file_cs3_sharing_ocm_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_cs3_sharing_ocm_v1beta1_resources_proto_goTypes = []interface{}{ + (ShareState)(0), // 0: cs3.sharing.ocm.v1beta1.ShareState + (ShareType)(0), // 1: cs3.sharing.ocm.v1beta1.ShareType + (*Share)(nil), // 2: cs3.sharing.ocm.v1beta1.Share + (*SharePermissions)(nil), // 3: cs3.sharing.ocm.v1beta1.SharePermissions + (*ReceivedShare)(nil), // 4: cs3.sharing.ocm.v1beta1.ReceivedShare + (*ShareKey)(nil), // 5: cs3.sharing.ocm.v1beta1.ShareKey + (*ShareId)(nil), // 6: cs3.sharing.ocm.v1beta1.ShareId + (*ShareReference)(nil), // 7: cs3.sharing.ocm.v1beta1.ShareReference + (*ShareGrant)(nil), // 8: cs3.sharing.ocm.v1beta1.ShareGrant + (*Protocol)(nil), // 9: cs3.sharing.ocm.v1beta1.Protocol + (*WebDAVProtocol)(nil), // 10: cs3.sharing.ocm.v1beta1.WebDAVProtocol + (*WebappProtocol)(nil), // 11: cs3.sharing.ocm.v1beta1.WebappProtocol + (*TransferProtocol)(nil), // 12: cs3.sharing.ocm.v1beta1.TransferProtocol + (*AccessMethod)(nil), // 13: cs3.sharing.ocm.v1beta1.AccessMethod + (*WebDAVAccessMethod)(nil), // 14: cs3.sharing.ocm.v1beta1.WebDAVAccessMethod + (*WebappAccessMethod)(nil), // 15: cs3.sharing.ocm.v1beta1.WebappAccessMethod + (*TransferAccessMethod)(nil), // 16: cs3.sharing.ocm.v1beta1.TransferAccessMethod + (*v1beta1.ResourceId)(nil), // 17: cs3.storage.provider.v1beta1.ResourceId + (*v1beta1.Grantee)(nil), // 18: cs3.storage.provider.v1beta1.Grantee + (*v1beta11.UserId)(nil), // 19: cs3.identity.user.v1beta1.UserId + (*v1beta12.Timestamp)(nil), // 20: cs3.types.v1beta1.Timestamp + (*v1beta12.Opaque)(nil), // 21: cs3.types.v1beta1.Opaque + (*v1beta1.ResourcePermissions)(nil), // 22: cs3.storage.provider.v1beta1.ResourcePermissions + (v1beta1.ResourceType)(0), // 23: cs3.storage.provider.v1beta1.ResourceType + (v1beta13.ViewMode)(0), // 24: cs3.app.provider.v1beta1.ViewMode + (*v1beta1.Reference)(nil), // 25: cs3.storage.provider.v1beta1.Reference +} +var file_cs3_sharing_ocm_v1beta1_resources_proto_depIdxs = []int32{ + 6, // 0: cs3.sharing.ocm.v1beta1.Share.id:type_name -> cs3.sharing.ocm.v1beta1.ShareId + 17, // 1: cs3.sharing.ocm.v1beta1.Share.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 18, // 2: cs3.sharing.ocm.v1beta1.Share.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 19, // 3: cs3.sharing.ocm.v1beta1.Share.owner:type_name -> cs3.identity.user.v1beta1.UserId + 19, // 4: cs3.sharing.ocm.v1beta1.Share.creator:type_name -> cs3.identity.user.v1beta1.UserId + 20, // 5: cs3.sharing.ocm.v1beta1.Share.ctime:type_name -> cs3.types.v1beta1.Timestamp + 20, // 6: cs3.sharing.ocm.v1beta1.Share.mtime:type_name -> cs3.types.v1beta1.Timestamp + 20, // 7: cs3.sharing.ocm.v1beta1.Share.expiration:type_name -> cs3.types.v1beta1.Timestamp + 1, // 8: cs3.sharing.ocm.v1beta1.Share.share_type:type_name -> cs3.sharing.ocm.v1beta1.ShareType + 13, // 9: cs3.sharing.ocm.v1beta1.Share.access_methods:type_name -> cs3.sharing.ocm.v1beta1.AccessMethod + 21, // 10: cs3.sharing.ocm.v1beta1.Share.opaque:type_name -> cs3.types.v1beta1.Opaque + 22, // 11: cs3.sharing.ocm.v1beta1.SharePermissions.permissions:type_name -> cs3.storage.provider.v1beta1.ResourcePermissions + 6, // 12: cs3.sharing.ocm.v1beta1.ReceivedShare.id:type_name -> cs3.sharing.ocm.v1beta1.ShareId + 18, // 13: cs3.sharing.ocm.v1beta1.ReceivedShare.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 19, // 14: cs3.sharing.ocm.v1beta1.ReceivedShare.owner:type_name -> cs3.identity.user.v1beta1.UserId + 19, // 15: cs3.sharing.ocm.v1beta1.ReceivedShare.creator:type_name -> cs3.identity.user.v1beta1.UserId + 20, // 16: cs3.sharing.ocm.v1beta1.ReceivedShare.ctime:type_name -> cs3.types.v1beta1.Timestamp + 20, // 17: cs3.sharing.ocm.v1beta1.ReceivedShare.mtime:type_name -> cs3.types.v1beta1.Timestamp + 20, // 18: cs3.sharing.ocm.v1beta1.ReceivedShare.expiration:type_name -> cs3.types.v1beta1.Timestamp + 1, // 19: cs3.sharing.ocm.v1beta1.ReceivedShare.share_type:type_name -> cs3.sharing.ocm.v1beta1.ShareType + 9, // 20: cs3.sharing.ocm.v1beta1.ReceivedShare.protocols:type_name -> cs3.sharing.ocm.v1beta1.Protocol + 0, // 21: cs3.sharing.ocm.v1beta1.ReceivedShare.state:type_name -> cs3.sharing.ocm.v1beta1.ShareState + 21, // 22: cs3.sharing.ocm.v1beta1.ReceivedShare.opaque:type_name -> cs3.types.v1beta1.Opaque + 23, // 23: cs3.sharing.ocm.v1beta1.ReceivedShare.resource_type:type_name -> cs3.storage.provider.v1beta1.ResourceType + 19, // 24: cs3.sharing.ocm.v1beta1.ShareKey.owner:type_name -> cs3.identity.user.v1beta1.UserId + 17, // 25: cs3.sharing.ocm.v1beta1.ShareKey.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 18, // 26: cs3.sharing.ocm.v1beta1.ShareKey.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 6, // 27: cs3.sharing.ocm.v1beta1.ShareReference.id:type_name -> cs3.sharing.ocm.v1beta1.ShareId + 5, // 28: cs3.sharing.ocm.v1beta1.ShareReference.key:type_name -> cs3.sharing.ocm.v1beta1.ShareKey + 18, // 29: cs3.sharing.ocm.v1beta1.ShareGrant.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 3, // 30: cs3.sharing.ocm.v1beta1.ShareGrant.permissions:type_name -> cs3.sharing.ocm.v1beta1.SharePermissions + 10, // 31: cs3.sharing.ocm.v1beta1.Protocol.webdav_options:type_name -> cs3.sharing.ocm.v1beta1.WebDAVProtocol + 11, // 32: cs3.sharing.ocm.v1beta1.Protocol.webapp_options:type_name -> cs3.sharing.ocm.v1beta1.WebappProtocol + 12, // 33: cs3.sharing.ocm.v1beta1.Protocol.transfer_options:type_name -> cs3.sharing.ocm.v1beta1.TransferProtocol + 21, // 34: cs3.sharing.ocm.v1beta1.Protocol.generic_options:type_name -> cs3.types.v1beta1.Opaque + 3, // 35: cs3.sharing.ocm.v1beta1.WebDAVProtocol.permissions:type_name -> cs3.sharing.ocm.v1beta1.SharePermissions + 24, // 36: cs3.sharing.ocm.v1beta1.WebappProtocol.view_mode:type_name -> cs3.app.provider.v1beta1.ViewMode + 14, // 37: cs3.sharing.ocm.v1beta1.AccessMethod.webdav_options:type_name -> cs3.sharing.ocm.v1beta1.WebDAVAccessMethod + 15, // 38: cs3.sharing.ocm.v1beta1.AccessMethod.webapp_options:type_name -> cs3.sharing.ocm.v1beta1.WebappAccessMethod + 16, // 39: cs3.sharing.ocm.v1beta1.AccessMethod.transfer_options:type_name -> cs3.sharing.ocm.v1beta1.TransferAccessMethod + 21, // 40: cs3.sharing.ocm.v1beta1.AccessMethod.generic_options:type_name -> cs3.types.v1beta1.Opaque + 22, // 41: cs3.sharing.ocm.v1beta1.WebDAVAccessMethod.permissions:type_name -> cs3.storage.provider.v1beta1.ResourcePermissions + 24, // 42: cs3.sharing.ocm.v1beta1.WebappAccessMethod.view_mode:type_name -> cs3.app.provider.v1beta1.ViewMode + 25, // 43: cs3.sharing.ocm.v1beta1.TransferAccessMethod.destination:type_name -> cs3.storage.provider.v1beta1.Reference + 44, // [44:44] is the sub-list for method output_type + 44, // [44:44] is the sub-list for method input_type + 44, // [44:44] is the sub-list for extension type_name + 44, // [44:44] is the sub-list for extension extendee + 0, // [0:44] is the sub-list for field type_name +} + +func init() { file_cs3_sharing_ocm_v1beta1_resources_proto_init() } +func file_cs3_sharing_ocm_v1beta1_resources_proto_init() { + if File_cs3_sharing_ocm_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Share); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SharePermissions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReceivedShare); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareGrant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Protocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebDAVProtocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebappProtocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferProtocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccessMethod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebDAVAccessMethod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebappAccessMethod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferAccessMethod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*ShareReference_Id)(nil), + (*ShareReference_Key)(nil), + (*ShareReference_Token)(nil), + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[7].OneofWrappers = []interface{}{ + (*Protocol_WebdavOptions)(nil), + (*Protocol_WebappOptions)(nil), + (*Protocol_TransferOptions)(nil), + (*Protocol_GenericOptions)(nil), + } + file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes[11].OneofWrappers = []interface{}{ + (*AccessMethod_WebdavOptions)(nil), + (*AccessMethod_WebappOptions)(nil), + (*AccessMethod_TransferOptions)(nil), + (*AccessMethod_GenericOptions)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_sharing_ocm_v1beta1_resources_proto_rawDesc, + NumEnums: 2, + NumMessages: 15, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_sharing_ocm_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_sharing_ocm_v1beta1_resources_proto_depIdxs, + EnumInfos: file_cs3_sharing_ocm_v1beta1_resources_proto_enumTypes, + MessageInfos: file_cs3_sharing_ocm_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_sharing_ocm_v1beta1_resources_proto = out.File + file_cs3_sharing_ocm_v1beta1_resources_proto_rawDesc = nil + file_cs3_sharing_ocm_v1beta1_resources_proto_goTypes = nil + file_cs3_sharing_ocm_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/provider_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/provider_api.pb.go index 70e81e2b5d9..dfa484c3bbd 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/provider_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/provider_api.pb.go @@ -1,116 +1,101 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/storage/provider/v1beta1/provider_api.proto package providerv1beta1 import ( - context "context" - fmt "fmt" - v1beta12 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" + _ "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The filter to apply. -type ListStorageSpacesRequest_Filter_Type int32 - const ( - ListStorageSpacesRequest_Filter_TYPE_INVALID ListStorageSpacesRequest_Filter_Type = 0 - ListStorageSpacesRequest_Filter_TYPE_NO ListStorageSpacesRequest_Filter_Type = 1 - ListStorageSpacesRequest_Filter_TYPE_ID ListStorageSpacesRequest_Filter_Type = 2 - ListStorageSpacesRequest_Filter_TYPE_OWNER ListStorageSpacesRequest_Filter_Type = 3 - ListStorageSpacesRequest_Filter_TYPE_SPACE_TYPE ListStorageSpacesRequest_Filter_Type = 4 - ListStorageSpacesRequest_Filter_TYPE_PATH ListStorageSpacesRequest_Filter_Type = 5 - ListStorageSpacesRequest_Filter_TYPE_USER ListStorageSpacesRequest_Filter_Type = 6 + // 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) ) -var ListStorageSpacesRequest_Filter_Type_name = map[int32]string{ - 0: "TYPE_INVALID", - 1: "TYPE_NO", - 2: "TYPE_ID", - 3: "TYPE_OWNER", - 4: "TYPE_SPACE_TYPE", - 5: "TYPE_PATH", - 6: "TYPE_USER", -} +type GetHomeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -var ListStorageSpacesRequest_Filter_Type_value = map[string]int32{ - "TYPE_INVALID": 0, - "TYPE_NO": 1, - "TYPE_ID": 2, - "TYPE_OWNER": 3, - "TYPE_SPACE_TYPE": 4, - "TYPE_PATH": 5, - "TYPE_USER": 6, + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (x ListStorageSpacesRequest_Filter_Type) String() string { - return proto.EnumName(ListStorageSpacesRequest_Filter_Type_name, int32(x)) +func (x *GetHomeRequest) Reset() { + *x = GetHomeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (ListStorageSpacesRequest_Filter_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{66, 0, 0} +func (x *GetHomeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -type GetHomeRequest struct { - // OPTIONAL. - // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*GetHomeRequest) ProtoMessage() {} -func (m *GetHomeRequest) Reset() { *m = GetHomeRequest{} } -func (m *GetHomeRequest) String() string { return proto.CompactTextString(m) } -func (*GetHomeRequest) ProtoMessage() {} -func (*GetHomeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{0} +func (x *GetHomeRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -func (m *GetHomeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetHomeRequest.Unmarshal(m, b) -} -func (m *GetHomeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetHomeRequest.Marshal(b, m, deterministic) -} -func (m *GetHomeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetHomeRequest.Merge(m, src) -} -func (m *GetHomeRequest) XXX_Size() int { - return xxx_messageInfo_GetHomeRequest.Size(m) -} -func (m *GetHomeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetHomeRequest.DiscardUnknown(m) +// Deprecated: Use GetHomeRequest.ProtoReflect.Descriptor instead. +func (*GetHomeRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{0} } -var xxx_messageInfo_GetHomeRequest proto.InternalMessageInfo - -func (m *GetHomeRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetHomeRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetHomeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -120,59 +105,67 @@ type GetHomeResponse struct { // REQUIRED. // The path to the home in a storage provider. // For example /eos/user/h/hugo in the storage provider with root path /eos/user/. - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` } -func (m *GetHomeResponse) Reset() { *m = GetHomeResponse{} } -func (m *GetHomeResponse) String() string { return proto.CompactTextString(m) } -func (*GetHomeResponse) ProtoMessage() {} -func (*GetHomeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{1} +func (x *GetHomeResponse) Reset() { + *x = GetHomeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetHomeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetHomeResponse.Unmarshal(m, b) -} -func (m *GetHomeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetHomeResponse.Marshal(b, m, deterministic) -} -func (m *GetHomeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetHomeResponse.Merge(m, src) +func (x *GetHomeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetHomeResponse) XXX_Size() int { - return xxx_messageInfo_GetHomeResponse.Size(m) -} -func (m *GetHomeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetHomeResponse.DiscardUnknown(m) + +func (*GetHomeResponse) ProtoMessage() {} + +func (x *GetHomeResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_GetHomeResponse proto.InternalMessageInfo +// Deprecated: Use GetHomeResponse.ProtoReflect.Descriptor instead. +func (*GetHomeResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{1} +} -func (m *GetHomeResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetHomeResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetHomeResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetHomeResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetHomeResponse) GetPath() string { - if m != nil { - return m.Path +func (x *GetHomeResponse) GetPath() string { + if x != nil { + return x.Path } return "" } type AddGrantRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -184,118 +177,136 @@ type AddGrantRequest struct { Grant *Grant `protobuf:"bytes,3,opt,name=grant,proto3" json:"grant,omitempty"` // OPTIONAL. // A lock_id: should the reference be locked, the stored - // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // lock_id SHOULD be equal to the given value. However, + // storage implementations MAY allow for setting grants + // even if the lock does not match. + LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *AddGrantRequest) Reset() { *m = AddGrantRequest{} } -func (m *AddGrantRequest) String() string { return proto.CompactTextString(m) } -func (*AddGrantRequest) ProtoMessage() {} -func (*AddGrantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{2} +func (x *AddGrantRequest) Reset() { + *x = AddGrantRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddGrantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddGrantRequest.Unmarshal(m, b) -} -func (m *AddGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddGrantRequest.Marshal(b, m, deterministic) -} -func (m *AddGrantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddGrantRequest.Merge(m, src) +func (x *AddGrantRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddGrantRequest) XXX_Size() int { - return xxx_messageInfo_AddGrantRequest.Size(m) -} -func (m *AddGrantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddGrantRequest.DiscardUnknown(m) + +func (*AddGrantRequest) ProtoMessage() {} + +func (x *AddGrantRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_AddGrantRequest proto.InternalMessageInfo +// Deprecated: Use AddGrantRequest.ProtoReflect.Descriptor instead. +func (*AddGrantRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{2} +} -func (m *AddGrantRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *AddGrantRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *AddGrantRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *AddGrantRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *AddGrantRequest) GetGrant() *Grant { - if m != nil { - return m.Grant +func (x *AddGrantRequest) GetGrant() *Grant { + if x != nil { + return x.Grant } return nil } -func (m *AddGrantRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *AddGrantRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type AddGrantResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *AddGrantResponse) Reset() { *m = AddGrantResponse{} } -func (m *AddGrantResponse) String() string { return proto.CompactTextString(m) } -func (*AddGrantResponse) ProtoMessage() {} -func (*AddGrantResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{3} +func (x *AddGrantResponse) Reset() { + *x = AddGrantResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddGrantResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddGrantResponse.Unmarshal(m, b) -} -func (m *AddGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddGrantResponse.Marshal(b, m, deterministic) -} -func (m *AddGrantResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddGrantResponse.Merge(m, src) +func (x *AddGrantResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddGrantResponse) XXX_Size() int { - return xxx_messageInfo_AddGrantResponse.Size(m) -} -func (m *AddGrantResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddGrantResponse.DiscardUnknown(m) + +func (*AddGrantResponse) ProtoMessage() {} + +func (x *AddGrantResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_AddGrantResponse proto.InternalMessageInfo +// Deprecated: Use AddGrantResponse.ProtoReflect.Descriptor instead. +func (*AddGrantResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{3} +} -func (m *AddGrantResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *AddGrantResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *AddGrantResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *AddGrantResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type DenyGrantRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -307,322 +318,372 @@ type DenyGrantRequest struct { Grantee *Grantee `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"` // OPTIONAL. // A lock_id: should the reference be locked, the stored - // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // lock_id SHOULD be equal to the given value. However, + // storage implementations MAY allow for setting grants + // even if the lock does not match. + LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *DenyGrantRequest) Reset() { *m = DenyGrantRequest{} } -func (m *DenyGrantRequest) String() string { return proto.CompactTextString(m) } -func (*DenyGrantRequest) ProtoMessage() {} -func (*DenyGrantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{4} +func (x *DenyGrantRequest) Reset() { + *x = DenyGrantRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DenyGrantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DenyGrantRequest.Unmarshal(m, b) +func (x *DenyGrantRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DenyGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DenyGrantRequest.Marshal(b, m, deterministic) -} -func (m *DenyGrantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DenyGrantRequest.Merge(m, src) -} -func (m *DenyGrantRequest) XXX_Size() int { - return xxx_messageInfo_DenyGrantRequest.Size(m) -} -func (m *DenyGrantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DenyGrantRequest.DiscardUnknown(m) + +func (*DenyGrantRequest) ProtoMessage() {} + +func (x *DenyGrantRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_DenyGrantRequest proto.InternalMessageInfo +// Deprecated: Use DenyGrantRequest.ProtoReflect.Descriptor instead. +func (*DenyGrantRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{4} +} -func (m *DenyGrantRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *DenyGrantRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *DenyGrantRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *DenyGrantRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *DenyGrantRequest) GetGrantee() *Grantee { - if m != nil { - return m.Grantee +func (x *DenyGrantRequest) GetGrantee() *Grantee { + if x != nil { + return x.Grantee } return nil } -func (m *DenyGrantRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *DenyGrantRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type DenyGrantResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *DenyGrantResponse) Reset() { *m = DenyGrantResponse{} } -func (m *DenyGrantResponse) String() string { return proto.CompactTextString(m) } -func (*DenyGrantResponse) ProtoMessage() {} -func (*DenyGrantResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{5} +func (x *DenyGrantResponse) Reset() { + *x = DenyGrantResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DenyGrantResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DenyGrantResponse.Unmarshal(m, b) +func (x *DenyGrantResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DenyGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DenyGrantResponse.Marshal(b, m, deterministic) -} -func (m *DenyGrantResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DenyGrantResponse.Merge(m, src) -} -func (m *DenyGrantResponse) XXX_Size() int { - return xxx_messageInfo_DenyGrantResponse.Size(m) -} -func (m *DenyGrantResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DenyGrantResponse.DiscardUnknown(m) + +func (*DenyGrantResponse) ProtoMessage() {} + +func (x *DenyGrantResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_DenyGrantResponse proto.InternalMessageInfo +// Deprecated: Use DenyGrantResponse.ProtoReflect.Descriptor instead. +func (*DenyGrantResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{5} +} -func (m *DenyGrantResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *DenyGrantResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *DenyGrantResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *DenyGrantResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type CreateContainerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference to which the action should be performed. - Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *CreateContainerRequest) Reset() { *m = CreateContainerRequest{} } -func (m *CreateContainerRequest) String() string { return proto.CompactTextString(m) } -func (*CreateContainerRequest) ProtoMessage() {} -func (*CreateContainerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{6} +func (x *CreateContainerRequest) Reset() { + *x = CreateContainerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateContainerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateContainerRequest.Unmarshal(m, b) -} -func (m *CreateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateContainerRequest.Marshal(b, m, deterministic) -} -func (m *CreateContainerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateContainerRequest.Merge(m, src) +func (x *CreateContainerRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateContainerRequest) XXX_Size() int { - return xxx_messageInfo_CreateContainerRequest.Size(m) -} -func (m *CreateContainerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateContainerRequest.DiscardUnknown(m) + +func (*CreateContainerRequest) ProtoMessage() {} + +func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_CreateContainerRequest proto.InternalMessageInfo +// Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead. +func (*CreateContainerRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{6} +} -func (m *CreateContainerRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateContainerRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateContainerRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *CreateContainerRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } type CreateContainerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *CreateContainerResponse) Reset() { *m = CreateContainerResponse{} } -func (m *CreateContainerResponse) String() string { return proto.CompactTextString(m) } -func (*CreateContainerResponse) ProtoMessage() {} -func (*CreateContainerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{7} +func (x *CreateContainerResponse) Reset() { + *x = CreateContainerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateContainerResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateContainerResponse.Unmarshal(m, b) +func (x *CreateContainerResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateContainerResponse.Marshal(b, m, deterministic) -} -func (m *CreateContainerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateContainerResponse.Merge(m, src) -} -func (m *CreateContainerResponse) XXX_Size() int { - return xxx_messageInfo_CreateContainerResponse.Size(m) -} -func (m *CreateContainerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateContainerResponse.DiscardUnknown(m) + +func (*CreateContainerResponse) ProtoMessage() {} + +func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_CreateContainerResponse proto.InternalMessageInfo +// Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead. +func (*CreateContainerResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{7} +} -func (m *CreateContainerResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *CreateContainerResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *CreateContainerResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateContainerResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type TouchFileRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference to which the action should be performed. - Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *TouchFileRequest) Reset() { *m = TouchFileRequest{} } -func (m *TouchFileRequest) String() string { return proto.CompactTextString(m) } -func (*TouchFileRequest) ProtoMessage() {} -func (*TouchFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{8} +func (x *TouchFileRequest) Reset() { + *x = TouchFileRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TouchFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TouchFileRequest.Unmarshal(m, b) -} -func (m *TouchFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TouchFileRequest.Marshal(b, m, deterministic) -} -func (m *TouchFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TouchFileRequest.Merge(m, src) +func (x *TouchFileRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TouchFileRequest) XXX_Size() int { - return xxx_messageInfo_TouchFileRequest.Size(m) -} -func (m *TouchFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TouchFileRequest.DiscardUnknown(m) + +func (*TouchFileRequest) ProtoMessage() {} + +func (x *TouchFileRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_TouchFileRequest proto.InternalMessageInfo +// Deprecated: Use TouchFileRequest.ProtoReflect.Descriptor instead. +func (*TouchFileRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{8} +} -func (m *TouchFileRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *TouchFileRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *TouchFileRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *TouchFileRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } type TouchFileResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *TouchFileResponse) Reset() { *m = TouchFileResponse{} } -func (m *TouchFileResponse) String() string { return proto.CompactTextString(m) } -func (*TouchFileResponse) ProtoMessage() {} -func (*TouchFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{9} +func (x *TouchFileResponse) Reset() { + *x = TouchFileResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TouchFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TouchFileResponse.Unmarshal(m, b) +func (x *TouchFileResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TouchFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TouchFileResponse.Marshal(b, m, deterministic) -} -func (m *TouchFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TouchFileResponse.Merge(m, src) -} -func (m *TouchFileResponse) XXX_Size() int { - return xxx_messageInfo_TouchFileResponse.Size(m) -} -func (m *TouchFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TouchFileResponse.DiscardUnknown(m) + +func (*TouchFileResponse) ProtoMessage() {} + +func (x *TouchFileResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_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) } -var xxx_messageInfo_TouchFileResponse proto.InternalMessageInfo +// Deprecated: Use TouchFileResponse.ProtoReflect.Descriptor instead. +func (*TouchFileResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{9} +} -func (m *TouchFileResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *TouchFileResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *TouchFileResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *TouchFileResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type DeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -632,161 +693,185 @@ type DeleteRequest struct { // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,3,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LockId string `protobuf:"bytes,3,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *DeleteRequest) Reset() { *m = DeleteRequest{} } -func (m *DeleteRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteRequest) ProtoMessage() {} -func (*DeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{10} +func (x *DeleteRequest) Reset() { + *x = DeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteRequest.Unmarshal(m, b) -} -func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic) -} -func (m *DeleteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRequest.Merge(m, src) -} -func (m *DeleteRequest) XXX_Size() int { - return xxx_messageInfo_DeleteRequest.Size(m) +func (x *DeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteRequest.DiscardUnknown(m) + +func (*DeleteRequest) ProtoMessage() {} + +func (x *DeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo +// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead. +func (*DeleteRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{10} +} -func (m *DeleteRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *DeleteRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *DeleteRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *DeleteRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *DeleteRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *DeleteRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type DeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *DeleteResponse) Reset() { *m = DeleteResponse{} } -func (m *DeleteResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteResponse) ProtoMessage() {} -func (*DeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{11} +func (x *DeleteResponse) Reset() { + *x = DeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteResponse.Unmarshal(m, b) +func (x *DeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteResponse.Marshal(b, m, deterministic) -} -func (m *DeleteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteResponse.Merge(m, src) -} -func (m *DeleteResponse) XXX_Size() int { - return xxx_messageInfo_DeleteResponse.Size(m) -} -func (m *DeleteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteResponse.DiscardUnknown(m) + +func (*DeleteResponse) ProtoMessage() {} + +func (x *DeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteResponse proto.InternalMessageInfo +// Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead. +func (*DeleteResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{11} +} -func (m *DeleteResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *DeleteResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *DeleteResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *DeleteResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetPathRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The resource id of the resource. - ResourceId *ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ResourceId *ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` } -func (m *GetPathRequest) Reset() { *m = GetPathRequest{} } -func (m *GetPathRequest) String() string { return proto.CompactTextString(m) } -func (*GetPathRequest) ProtoMessage() {} -func (*GetPathRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{12} +func (x *GetPathRequest) Reset() { + *x = GetPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetPathRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPathRequest.Unmarshal(m, b) -} -func (m *GetPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPathRequest.Marshal(b, m, deterministic) -} -func (m *GetPathRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPathRequest.Merge(m, src) -} -func (m *GetPathRequest) XXX_Size() int { - return xxx_messageInfo_GetPathRequest.Size(m) +func (x *GetPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetPathRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetPathRequest.DiscardUnknown(m) + +func (*GetPathRequest) ProtoMessage() {} + +func (x *GetPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetPathRequest proto.InternalMessageInfo +// Deprecated: Use GetPathRequest.ProtoReflect.Descriptor instead. +func (*GetPathRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{12} +} -func (m *GetPathRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetPathRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetPathRequest) GetResourceId() *ResourceId { - if m != nil { - return m.ResourceId +func (x *GetPathRequest) GetResourceId() *ResourceId { + if x != nil { + return x.ResourceId } return nil } type GetPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -795,110 +880,126 @@ type GetPathResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The path of the resource. - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` } -func (m *GetPathResponse) Reset() { *m = GetPathResponse{} } -func (m *GetPathResponse) String() string { return proto.CompactTextString(m) } -func (*GetPathResponse) ProtoMessage() {} -func (*GetPathResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{13} +func (x *GetPathResponse) Reset() { + *x = GetPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetPathResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPathResponse.Unmarshal(m, b) -} -func (m *GetPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPathResponse.Marshal(b, m, deterministic) -} -func (m *GetPathResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPathResponse.Merge(m, src) +func (x *GetPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetPathResponse) XXX_Size() int { - return xxx_messageInfo_GetPathResponse.Size(m) -} -func (m *GetPathResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetPathResponse.DiscardUnknown(m) + +func (*GetPathResponse) ProtoMessage() {} + +func (x *GetPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetPathResponse proto.InternalMessageInfo +// Deprecated: Use GetPathResponse.ProtoReflect.Descriptor instead. +func (*GetPathResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{13} +} -func (m *GetPathResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetPathResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetPathResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetPathResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetPathResponse) GetPath() string { - if m != nil { - return m.Path +func (x *GetPathResponse) GetPath() string { + if x != nil { + return x.Path } return "" } type GetQuotaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // OPTIONAL. // Limit the quota Response to the given reference - Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *GetQuotaRequest) Reset() { *m = GetQuotaRequest{} } -func (m *GetQuotaRequest) String() string { return proto.CompactTextString(m) } -func (*GetQuotaRequest) ProtoMessage() {} -func (*GetQuotaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{14} +func (x *GetQuotaRequest) Reset() { + *x = GetQuotaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetQuotaRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetQuotaRequest.Unmarshal(m, b) -} -func (m *GetQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetQuotaRequest.Marshal(b, m, deterministic) -} -func (m *GetQuotaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetQuotaRequest.Merge(m, src) +func (x *GetQuotaRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetQuotaRequest) XXX_Size() int { - return xxx_messageInfo_GetQuotaRequest.Size(m) -} -func (m *GetQuotaRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetQuotaRequest.DiscardUnknown(m) + +func (*GetQuotaRequest) ProtoMessage() {} + +func (x *GetQuotaRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetQuotaRequest proto.InternalMessageInfo +// Deprecated: Use GetQuotaRequest.ProtoReflect.Descriptor instead. +func (*GetQuotaRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{14} +} -func (m *GetQuotaRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetQuotaRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetQuotaRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *GetQuotaRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } type GetQuotaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -910,147 +1011,139 @@ type GetQuotaResponse struct { TotalBytes uint64 `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` // REQUIRED. // The number of used bytes. - UsedBytes uint64 `protobuf:"varint,4,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UsedBytes uint64 `protobuf:"varint,4,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"` } -func (m *GetQuotaResponse) Reset() { *m = GetQuotaResponse{} } -func (m *GetQuotaResponse) String() string { return proto.CompactTextString(m) } -func (*GetQuotaResponse) ProtoMessage() {} -func (*GetQuotaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{15} +func (x *GetQuotaResponse) Reset() { + *x = GetQuotaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetQuotaResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetQuotaResponse.Unmarshal(m, b) -} -func (m *GetQuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetQuotaResponse.Marshal(b, m, deterministic) +func (x *GetQuotaResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetQuotaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetQuotaResponse.Merge(m, src) -} -func (m *GetQuotaResponse) XXX_Size() int { - return xxx_messageInfo_GetQuotaResponse.Size(m) -} -func (m *GetQuotaResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetQuotaResponse.DiscardUnknown(m) + +func (*GetQuotaResponse) ProtoMessage() {} + +func (x *GetQuotaResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetQuotaResponse proto.InternalMessageInfo +// Deprecated: Use GetQuotaResponse.ProtoReflect.Descriptor instead. +func (*GetQuotaResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{15} +} -func (m *GetQuotaResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetQuotaResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetQuotaResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetQuotaResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetQuotaResponse) GetTotalBytes() uint64 { - if m != nil { - return m.TotalBytes +func (x *GetQuotaResponse) GetTotalBytes() uint64 { + if x != nil { + return x.TotalBytes } return 0 } -func (m *GetQuotaResponse) GetUsedBytes() uint64 { - if m != nil { - return m.UsedBytes +func (x *GetQuotaResponse) GetUsedBytes() uint64 { + if x != nil { + return x.UsedBytes } return 0 } type InitiateFileUploadRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference to which the action should be performed. Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - // Types that are valid to be assigned to Options: + // Types that are assignable to Options: + // // *InitiateFileUploadRequest_IfNotExist // *InitiateFileUploadRequest_IfMatch // *InitiateFileUploadRequest_IfUnmodifiedSince Options isInitiateFileUploadRequest_Options `protobuf_oneof:"options"` // OPTIONAL. // A lock_id: should the reference exist and be locked, the stored - // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,5,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // lock_id SHOULD be equal to the given value. Additionally, the + // check MUST be enforced by the out-of-band transfer protocol. + LockId string `protobuf:"bytes,5,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *InitiateFileUploadRequest) Reset() { *m = InitiateFileUploadRequest{} } -func (m *InitiateFileUploadRequest) String() string { return proto.CompactTextString(m) } -func (*InitiateFileUploadRequest) ProtoMessage() {} -func (*InitiateFileUploadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{16} +func (x *InitiateFileUploadRequest) Reset() { + *x = InitiateFileUploadRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InitiateFileUploadRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitiateFileUploadRequest.Unmarshal(m, b) -} -func (m *InitiateFileUploadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitiateFileUploadRequest.Marshal(b, m, deterministic) +func (x *InitiateFileUploadRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitiateFileUploadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitiateFileUploadRequest.Merge(m, src) -} -func (m *InitiateFileUploadRequest) XXX_Size() int { - return xxx_messageInfo_InitiateFileUploadRequest.Size(m) -} -func (m *InitiateFileUploadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InitiateFileUploadRequest.DiscardUnknown(m) + +func (*InitiateFileUploadRequest) ProtoMessage() {} + +func (x *InitiateFileUploadRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[16] + 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) } -var xxx_messageInfo_InitiateFileUploadRequest proto.InternalMessageInfo +// Deprecated: Use InitiateFileUploadRequest.ProtoReflect.Descriptor instead. +func (*InitiateFileUploadRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{16} +} -func (m *InitiateFileUploadRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *InitiateFileUploadRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *InitiateFileUploadRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *InitiateFileUploadRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -type isInitiateFileUploadRequest_Options interface { - isInitiateFileUploadRequest_Options() -} - -type InitiateFileUploadRequest_IfNotExist struct { - IfNotExist bool `protobuf:"varint,3,opt,name=if_not_exist,json=ifNotExist,proto3,oneof"` -} - -type InitiateFileUploadRequest_IfMatch struct { - IfMatch string `protobuf:"bytes,4,opt,name=if_match,json=ifMatch,proto3,oneof"` -} - -type InitiateFileUploadRequest_IfUnmodifiedSince struct { - IfUnmodifiedSince *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=if_unmodified_since,json=ifUnmodifiedSince,proto3,oneof"` -} - -func (*InitiateFileUploadRequest_IfNotExist) isInitiateFileUploadRequest_Options() {} - -func (*InitiateFileUploadRequest_IfMatch) isInitiateFileUploadRequest_Options() {} - -func (*InitiateFileUploadRequest_IfUnmodifiedSince) isInitiateFileUploadRequest_Options() {} - func (m *InitiateFileUploadRequest) GetOptions() isInitiateFileUploadRequest_Options { if m != nil { return m.Options @@ -1058,44 +1151,75 @@ func (m *InitiateFileUploadRequest) GetOptions() isInitiateFileUploadRequest_Opt return nil } -func (m *InitiateFileUploadRequest) GetIfNotExist() bool { - if x, ok := m.GetOptions().(*InitiateFileUploadRequest_IfNotExist); ok { +func (x *InitiateFileUploadRequest) GetIfNotExist() bool { + if x, ok := x.GetOptions().(*InitiateFileUploadRequest_IfNotExist); ok { return x.IfNotExist } return false } -func (m *InitiateFileUploadRequest) GetIfMatch() string { - if x, ok := m.GetOptions().(*InitiateFileUploadRequest_IfMatch); ok { +func (x *InitiateFileUploadRequest) GetIfMatch() string { + if x, ok := x.GetOptions().(*InitiateFileUploadRequest_IfMatch); ok { return x.IfMatch } return "" } -func (m *InitiateFileUploadRequest) GetIfUnmodifiedSince() *v1beta1.Timestamp { - if x, ok := m.GetOptions().(*InitiateFileUploadRequest_IfUnmodifiedSince); ok { +func (x *InitiateFileUploadRequest) GetIfUnmodifiedSince() *v1beta1.Timestamp { + if x, ok := x.GetOptions().(*InitiateFileUploadRequest_IfUnmodifiedSince); ok { return x.IfUnmodifiedSince } return nil } -func (m *InitiateFileUploadRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *InitiateFileUploadRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InitiateFileUploadRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InitiateFileUploadRequest_IfNotExist)(nil), - (*InitiateFileUploadRequest_IfMatch)(nil), - (*InitiateFileUploadRequest_IfUnmodifiedSince)(nil), - } +type isInitiateFileUploadRequest_Options interface { + isInitiateFileUploadRequest_Options() +} + +type InitiateFileUploadRequest_IfNotExist struct { + // OPTIONAL. + // Whether the file is to be uploaded in exclusive mode. Defaults to false. + // If true, the request SHALL be processed such that only one of multiple concurrent uploads + // to the same target reference MAY succeed, whereas all others MUST fail with CODE_FAILED_PRECONDITION. + // The semantic is similar to the O_CREAT|O_EXCL POSIX flags. + // The request MUST return CODE_NOT_IMPLEMENTED if the provider does not support this mode. + IfNotExist bool `protobuf:"varint,3,opt,name=if_not_exist,json=ifNotExist,proto3,oneof"` +} + +type InitiateFileUploadRequest_IfMatch struct { + // OPTIONAL. + // Whether the file is to be uploaded if the given etag matches. Default to always upload. + // If the storage provider has a more recent etag for the target file, the request MUST + // return CODE_FAILED_PRECONDITION. + IfMatch string `protobuf:"bytes,4,opt,name=if_match,json=ifMatch,proto3,oneof"` } +type InitiateFileUploadRequest_IfUnmodifiedSince struct { + // OPTIONAL. + // Whether the file is to be uploaded when it has been modified on the server. Defauls to always upload. + // If the resource has been modified on the storage provider after the given timestamp the request MUST + // return CODE_FAILED_PRECONDITION. + IfUnmodifiedSince *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=if_unmodified_since,json=ifUnmodifiedSince,proto3,oneof"` +} + +func (*InitiateFileUploadRequest_IfNotExist) isInitiateFileUploadRequest_Options() {} + +func (*InitiateFileUploadRequest_IfMatch) isInitiateFileUploadRequest_Options() {} + +func (*InitiateFileUploadRequest_IfUnmodifiedSince) isInitiateFileUploadRequest_Options() {} + type InitiateFileUploadResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1104,59 +1228,67 @@ type InitiateFileUploadResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The protocols through which data can be uploaded. - Protocols []*FileUploadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Protocols []*FileUploadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` } -func (m *InitiateFileUploadResponse) Reset() { *m = InitiateFileUploadResponse{} } -func (m *InitiateFileUploadResponse) String() string { return proto.CompactTextString(m) } -func (*InitiateFileUploadResponse) ProtoMessage() {} -func (*InitiateFileUploadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{17} +func (x *InitiateFileUploadResponse) Reset() { + *x = InitiateFileUploadResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InitiateFileUploadResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitiateFileUploadResponse.Unmarshal(m, b) -} -func (m *InitiateFileUploadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitiateFileUploadResponse.Marshal(b, m, deterministic) -} -func (m *InitiateFileUploadResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitiateFileUploadResponse.Merge(m, src) +func (x *InitiateFileUploadResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitiateFileUploadResponse) XXX_Size() int { - return xxx_messageInfo_InitiateFileUploadResponse.Size(m) -} -func (m *InitiateFileUploadResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InitiateFileUploadResponse.DiscardUnknown(m) + +func (*InitiateFileUploadResponse) ProtoMessage() {} + +func (x *InitiateFileUploadResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[17] + 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) } -var xxx_messageInfo_InitiateFileUploadResponse proto.InternalMessageInfo +// Deprecated: Use InitiateFileUploadResponse.ProtoReflect.Descriptor instead. +func (*InitiateFileUploadResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{17} +} -func (m *InitiateFileUploadResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *InitiateFileUploadResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *InitiateFileUploadResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *InitiateFileUploadResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *InitiateFileUploadResponse) GetProtocols() []*FileUploadProtocol { - if m != nil { - return m.Protocols +func (x *InitiateFileUploadResponse) GetProtocols() []*FileUploadProtocol { + if x != nil { + return x.Protocols } return nil } type InitiateFileDownloadRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1166,59 +1298,67 @@ type InitiateFileDownloadRequest struct { // OPTIONAL. // A lock_id: should the reference be locked and the lock type be LOCK_TYPE_EXCL, // the stored lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,3,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LockId string `protobuf:"bytes,3,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *InitiateFileDownloadRequest) Reset() { *m = InitiateFileDownloadRequest{} } -func (m *InitiateFileDownloadRequest) String() string { return proto.CompactTextString(m) } -func (*InitiateFileDownloadRequest) ProtoMessage() {} -func (*InitiateFileDownloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{18} +func (x *InitiateFileDownloadRequest) Reset() { + *x = InitiateFileDownloadRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InitiateFileDownloadRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitiateFileDownloadRequest.Unmarshal(m, b) +func (x *InitiateFileDownloadRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitiateFileDownloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitiateFileDownloadRequest.Marshal(b, m, deterministic) -} -func (m *InitiateFileDownloadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitiateFileDownloadRequest.Merge(m, src) -} -func (m *InitiateFileDownloadRequest) XXX_Size() int { - return xxx_messageInfo_InitiateFileDownloadRequest.Size(m) -} -func (m *InitiateFileDownloadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InitiateFileDownloadRequest.DiscardUnknown(m) + +func (*InitiateFileDownloadRequest) ProtoMessage() {} + +func (x *InitiateFileDownloadRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[18] + 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) } -var xxx_messageInfo_InitiateFileDownloadRequest proto.InternalMessageInfo +// Deprecated: Use InitiateFileDownloadRequest.ProtoReflect.Descriptor instead. +func (*InitiateFileDownloadRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{18} +} -func (m *InitiateFileDownloadRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *InitiateFileDownloadRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *InitiateFileDownloadRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *InitiateFileDownloadRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *InitiateFileDownloadRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *InitiateFileDownloadRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type InitiateFileDownloadResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1227,59 +1367,67 @@ type InitiateFileDownloadResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The protocols through which data can be downloaded. - Protocols []*FileDownloadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Protocols []*FileDownloadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` } -func (m *InitiateFileDownloadResponse) Reset() { *m = InitiateFileDownloadResponse{} } -func (m *InitiateFileDownloadResponse) String() string { return proto.CompactTextString(m) } -func (*InitiateFileDownloadResponse) ProtoMessage() {} -func (*InitiateFileDownloadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{19} +func (x *InitiateFileDownloadResponse) Reset() { + *x = InitiateFileDownloadResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InitiateFileDownloadResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitiateFileDownloadResponse.Unmarshal(m, b) -} -func (m *InitiateFileDownloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitiateFileDownloadResponse.Marshal(b, m, deterministic) -} -func (m *InitiateFileDownloadResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitiateFileDownloadResponse.Merge(m, src) +func (x *InitiateFileDownloadResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitiateFileDownloadResponse) XXX_Size() int { - return xxx_messageInfo_InitiateFileDownloadResponse.Size(m) -} -func (m *InitiateFileDownloadResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InitiateFileDownloadResponse.DiscardUnknown(m) + +func (*InitiateFileDownloadResponse) ProtoMessage() {} + +func (x *InitiateFileDownloadResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[19] + 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) } -var xxx_messageInfo_InitiateFileDownloadResponse proto.InternalMessageInfo +// Deprecated: Use InitiateFileDownloadResponse.ProtoReflect.Descriptor instead. +func (*InitiateFileDownloadResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{19} +} -func (m *InitiateFileDownloadResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *InitiateFileDownloadResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *InitiateFileDownloadResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *InitiateFileDownloadResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *InitiateFileDownloadResponse) GetProtocols() []*FileDownloadProtocol { - if m != nil { - return m.Protocols +func (x *InitiateFileDownloadResponse) GetProtocols() []*FileDownloadProtocol { + if x != nil { + return x.Protocols } return nil } type ListGrantsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1294,66 +1442,74 @@ type ListGrantsRequest struct { PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListGrantsRequest) Reset() { *m = ListGrantsRequest{} } -func (m *ListGrantsRequest) String() string { return proto.CompactTextString(m) } -func (*ListGrantsRequest) ProtoMessage() {} -func (*ListGrantsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{20} +func (x *ListGrantsRequest) Reset() { + *x = ListGrantsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListGrantsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGrantsRequest.Unmarshal(m, b) +func (x *ListGrantsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGrantsRequest.Marshal(b, m, deterministic) -} -func (m *ListGrantsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGrantsRequest.Merge(m, src) -} -func (m *ListGrantsRequest) XXX_Size() int { - return xxx_messageInfo_ListGrantsRequest.Size(m) -} -func (m *ListGrantsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListGrantsRequest.DiscardUnknown(m) + +func (*ListGrantsRequest) ProtoMessage() {} + +func (x *ListGrantsRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[20] + 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) } -var xxx_messageInfo_ListGrantsRequest proto.InternalMessageInfo +// Deprecated: Use ListGrantsRequest.ProtoReflect.Descriptor instead. +func (*ListGrantsRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{20} +} -func (m *ListGrantsRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListGrantsRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListGrantsRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *ListGrantsRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *ListGrantsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListGrantsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListGrantsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListGrantsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type ListGrantsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1367,66 +1523,74 @@ type ListGrantsResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListGrantsResponse) Reset() { *m = ListGrantsResponse{} } -func (m *ListGrantsResponse) String() string { return proto.CompactTextString(m) } -func (*ListGrantsResponse) ProtoMessage() {} -func (*ListGrantsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{21} +func (x *ListGrantsResponse) Reset() { + *x = ListGrantsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListGrantsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGrantsResponse.Unmarshal(m, b) -} -func (m *ListGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGrantsResponse.Marshal(b, m, deterministic) +func (x *ListGrantsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListGrantsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGrantsResponse.Merge(m, src) -} -func (m *ListGrantsResponse) XXX_Size() int { - return xxx_messageInfo_ListGrantsResponse.Size(m) -} -func (m *ListGrantsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListGrantsResponse.DiscardUnknown(m) + +func (*ListGrantsResponse) ProtoMessage() {} + +func (x *ListGrantsResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[21] + 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) } -var xxx_messageInfo_ListGrantsResponse proto.InternalMessageInfo +// Deprecated: Use ListGrantsResponse.ProtoReflect.Descriptor instead. +func (*ListGrantsResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{21} +} -func (m *ListGrantsResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListGrantsResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *ListGrantsResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListGrantsResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListGrantsResponse) GetGrants() []*Grant { - if m != nil { - return m.Grants +func (x *ListGrantsResponse) GetGrants() []*Grant { + if x != nil { + return x.Grants } return nil } -func (m *ListGrantsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListGrantsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type ListContainerStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1440,7 +1604,7 @@ type ListContainerStreamRequest struct { // OPTIONAL. // The field mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - FieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // OPTIONAL. // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. @@ -1449,80 +1613,88 @@ type ListContainerStreamRequest struct { PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListContainerStreamRequest) Reset() { *m = ListContainerStreamRequest{} } -func (m *ListContainerStreamRequest) String() string { return proto.CompactTextString(m) } -func (*ListContainerStreamRequest) ProtoMessage() {} -func (*ListContainerStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{22} +func (x *ListContainerStreamRequest) Reset() { + *x = ListContainerStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListContainerStreamRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListContainerStreamRequest.Unmarshal(m, b) -} -func (m *ListContainerStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListContainerStreamRequest.Marshal(b, m, deterministic) -} -func (m *ListContainerStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListContainerStreamRequest.Merge(m, src) +func (x *ListContainerStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListContainerStreamRequest) XXX_Size() int { - return xxx_messageInfo_ListContainerStreamRequest.Size(m) -} -func (m *ListContainerStreamRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListContainerStreamRequest.DiscardUnknown(m) + +func (*ListContainerStreamRequest) ProtoMessage() {} + +func (x *ListContainerStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[22] + 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) } -var xxx_messageInfo_ListContainerStreamRequest proto.InternalMessageInfo +// Deprecated: Use ListContainerStreamRequest.ProtoReflect.Descriptor instead. +func (*ListContainerStreamRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{22} +} -func (m *ListContainerStreamRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListContainerStreamRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListContainerStreamRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *ListContainerStreamRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *ListContainerStreamRequest) GetArbitraryMetadataKeys() []string { - if m != nil { - return m.ArbitraryMetadataKeys +func (x *ListContainerStreamRequest) GetArbitraryMetadataKeys() []string { + if x != nil { + return x.ArbitraryMetadataKeys } return nil } -func (m *ListContainerStreamRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask +func (x *ListContainerStreamRequest) GetFieldMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.FieldMask } return nil } -func (m *ListContainerStreamRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListContainerStreamRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListContainerStreamRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListContainerStreamRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type ListContainerStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1536,66 +1708,74 @@ type ListContainerStreamResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListContainerStreamResponse) Reset() { *m = ListContainerStreamResponse{} } -func (m *ListContainerStreamResponse) String() string { return proto.CompactTextString(m) } -func (*ListContainerStreamResponse) ProtoMessage() {} -func (*ListContainerStreamResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{23} +func (x *ListContainerStreamResponse) Reset() { + *x = ListContainerStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListContainerStreamResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListContainerStreamResponse.Unmarshal(m, b) -} -func (m *ListContainerStreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListContainerStreamResponse.Marshal(b, m, deterministic) +func (x *ListContainerStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListContainerStreamResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListContainerStreamResponse.Merge(m, src) -} -func (m *ListContainerStreamResponse) XXX_Size() int { - return xxx_messageInfo_ListContainerStreamResponse.Size(m) -} -func (m *ListContainerStreamResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListContainerStreamResponse.DiscardUnknown(m) + +func (*ListContainerStreamResponse) ProtoMessage() {} + +func (x *ListContainerStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[23] + 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) } -var xxx_messageInfo_ListContainerStreamResponse proto.InternalMessageInfo +// Deprecated: Use ListContainerStreamResponse.ProtoReflect.Descriptor instead. +func (*ListContainerStreamResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{23} +} -func (m *ListContainerStreamResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListContainerStreamResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *ListContainerStreamResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListContainerStreamResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListContainerStreamResponse) GetInfo() *ResourceInfo { - if m != nil { - return m.Info +func (x *ListContainerStreamResponse) GetInfo() *ResourceInfo { + if x != nil { + return x.Info } return nil } -func (m *ListContainerStreamResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListContainerStreamResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type ListContainerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1609,7 +1789,7 @@ type ListContainerRequest struct { // OPTIONAL. // The field mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - FieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // OPTIONAL. // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. @@ -1618,80 +1798,88 @@ type ListContainerRequest struct { PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListContainerRequest) Reset() { *m = ListContainerRequest{} } -func (m *ListContainerRequest) String() string { return proto.CompactTextString(m) } -func (*ListContainerRequest) ProtoMessage() {} -func (*ListContainerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{24} +func (x *ListContainerRequest) Reset() { + *x = ListContainerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListContainerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListContainerRequest.Unmarshal(m, b) -} -func (m *ListContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListContainerRequest.Marshal(b, m, deterministic) -} -func (m *ListContainerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListContainerRequest.Merge(m, src) +func (x *ListContainerRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListContainerRequest) XXX_Size() int { - return xxx_messageInfo_ListContainerRequest.Size(m) -} -func (m *ListContainerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListContainerRequest.DiscardUnknown(m) + +func (*ListContainerRequest) ProtoMessage() {} + +func (x *ListContainerRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[24] + 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) } -var xxx_messageInfo_ListContainerRequest proto.InternalMessageInfo +// Deprecated: Use ListContainerRequest.ProtoReflect.Descriptor instead. +func (*ListContainerRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{24} +} -func (m *ListContainerRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListContainerRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListContainerRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *ListContainerRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *ListContainerRequest) GetArbitraryMetadataKeys() []string { - if m != nil { - return m.ArbitraryMetadataKeys +func (x *ListContainerRequest) GetArbitraryMetadataKeys() []string { + if x != nil { + return x.ArbitraryMetadataKeys } return nil } -func (m *ListContainerRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask +func (x *ListContainerRequest) GetFieldMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.FieldMask } return nil } -func (m *ListContainerRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListContainerRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListContainerRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListContainerRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type ListContainerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1705,66 +1893,74 @@ type ListContainerResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListContainerResponse) Reset() { *m = ListContainerResponse{} } -func (m *ListContainerResponse) String() string { return proto.CompactTextString(m) } -func (*ListContainerResponse) ProtoMessage() {} -func (*ListContainerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{25} +func (x *ListContainerResponse) Reset() { + *x = ListContainerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListContainerResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListContainerResponse.Unmarshal(m, b) -} -func (m *ListContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListContainerResponse.Marshal(b, m, deterministic) +func (x *ListContainerResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListContainerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListContainerResponse.Merge(m, src) -} -func (m *ListContainerResponse) XXX_Size() int { - return xxx_messageInfo_ListContainerResponse.Size(m) -} -func (m *ListContainerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListContainerResponse.DiscardUnknown(m) + +func (*ListContainerResponse) ProtoMessage() {} + +func (x *ListContainerResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[25] + 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) } -var xxx_messageInfo_ListContainerResponse proto.InternalMessageInfo +// Deprecated: Use ListContainerResponse.ProtoReflect.Descriptor instead. +func (*ListContainerResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{25} +} -func (m *ListContainerResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListContainerResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *ListContainerResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListContainerResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListContainerResponse) GetInfos() []*ResourceInfo { - if m != nil { - return m.Infos +func (x *ListContainerResponse) GetInfos() []*ResourceInfo { + if x != nil { + return x.Infos } return nil } -func (m *ListContainerResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListContainerResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type ListFileVersionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1779,66 +1975,74 @@ type ListFileVersionsRequest struct { PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListFileVersionsRequest) Reset() { *m = ListFileVersionsRequest{} } -func (m *ListFileVersionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListFileVersionsRequest) ProtoMessage() {} -func (*ListFileVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{26} +func (x *ListFileVersionsRequest) Reset() { + *x = ListFileVersionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListFileVersionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFileVersionsRequest.Unmarshal(m, b) -} -func (m *ListFileVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFileVersionsRequest.Marshal(b, m, deterministic) -} -func (m *ListFileVersionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFileVersionsRequest.Merge(m, src) +func (x *ListFileVersionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListFileVersionsRequest) XXX_Size() int { - return xxx_messageInfo_ListFileVersionsRequest.Size(m) -} -func (m *ListFileVersionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFileVersionsRequest.DiscardUnknown(m) + +func (*ListFileVersionsRequest) ProtoMessage() {} + +func (x *ListFileVersionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[26] + 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) } -var xxx_messageInfo_ListFileVersionsRequest proto.InternalMessageInfo +// Deprecated: Use ListFileVersionsRequest.ProtoReflect.Descriptor instead. +func (*ListFileVersionsRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{26} +} -func (m *ListFileVersionsRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListFileVersionsRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListFileVersionsRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *ListFileVersionsRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *ListFileVersionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListFileVersionsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListFileVersionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListFileVersionsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type ListFileVersionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -1852,66 +2056,74 @@ type ListFileVersionsResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListFileVersionsResponse) Reset() { *m = ListFileVersionsResponse{} } -func (m *ListFileVersionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListFileVersionsResponse) ProtoMessage() {} -func (*ListFileVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{27} +func (x *ListFileVersionsResponse) Reset() { + *x = ListFileVersionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListFileVersionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFileVersionsResponse.Unmarshal(m, b) -} -func (m *ListFileVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFileVersionsResponse.Marshal(b, m, deterministic) -} -func (m *ListFileVersionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFileVersionsResponse.Merge(m, src) -} -func (m *ListFileVersionsResponse) XXX_Size() int { - return xxx_messageInfo_ListFileVersionsResponse.Size(m) +func (x *ListFileVersionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListFileVersionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFileVersionsResponse.DiscardUnknown(m) + +func (*ListFileVersionsResponse) ProtoMessage() {} + +func (x *ListFileVersionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[27] + 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) } -var xxx_messageInfo_ListFileVersionsResponse proto.InternalMessageInfo +// Deprecated: Use ListFileVersionsResponse.ProtoReflect.Descriptor instead. +func (*ListFileVersionsResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{27} +} -func (m *ListFileVersionsResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListFileVersionsResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *ListFileVersionsResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListFileVersionsResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListFileVersionsResponse) GetVersions() []*FileVersion { - if m != nil { - return m.Versions +func (x *ListFileVersionsResponse) GetVersions() []*FileVersion { + if x != nil { + return x.Versions } return nil } -func (m *ListFileVersionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListFileVersionsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type ListRecycleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1940,87 +2152,95 @@ type ListRecycleRequest struct { PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListRecycleRequest) Reset() { *m = ListRecycleRequest{} } -func (m *ListRecycleRequest) String() string { return proto.CompactTextString(m) } -func (*ListRecycleRequest) ProtoMessage() {} -func (*ListRecycleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{28} +func (x *ListRecycleRequest) Reset() { + *x = ListRecycleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListRecycleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListRecycleRequest.Unmarshal(m, b) +func (x *ListRecycleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListRecycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListRecycleRequest.Marshal(b, m, deterministic) -} -func (m *ListRecycleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRecycleRequest.Merge(m, src) -} -func (m *ListRecycleRequest) XXX_Size() int { - return xxx_messageInfo_ListRecycleRequest.Size(m) -} -func (m *ListRecycleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListRecycleRequest.DiscardUnknown(m) + +func (*ListRecycleRequest) ProtoMessage() {} + +func (x *ListRecycleRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[28] + 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) } -var xxx_messageInfo_ListRecycleRequest proto.InternalMessageInfo +// Deprecated: Use ListRecycleRequest.ProtoReflect.Descriptor instead. +func (*ListRecycleRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{28} +} -func (m *ListRecycleRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListRecycleRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListRecycleRequest) GetFromTs() *v1beta1.Timestamp { - if m != nil { - return m.FromTs +func (x *ListRecycleRequest) GetFromTs() *v1beta1.Timestamp { + if x != nil { + return x.FromTs } return nil } -func (m *ListRecycleRequest) GetToTs() *v1beta1.Timestamp { - if m != nil { - return m.ToTs +func (x *ListRecycleRequest) GetToTs() *v1beta1.Timestamp { + if x != nil { + return x.ToTs } return nil } -func (m *ListRecycleRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *ListRecycleRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *ListRecycleRequest) GetKey() string { - if m != nil { - return m.Key +func (x *ListRecycleRequest) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *ListRecycleRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListRecycleRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListRecycleRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListRecycleRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type ListRecycleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -2034,66 +2254,74 @@ type ListRecycleResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListRecycleResponse) Reset() { *m = ListRecycleResponse{} } -func (m *ListRecycleResponse) String() string { return proto.CompactTextString(m) } -func (*ListRecycleResponse) ProtoMessage() {} -func (*ListRecycleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{29} +func (x *ListRecycleResponse) Reset() { + *x = ListRecycleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListRecycleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListRecycleResponse.Unmarshal(m, b) -} -func (m *ListRecycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListRecycleResponse.Marshal(b, m, deterministic) -} -func (m *ListRecycleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRecycleResponse.Merge(m, src) +func (x *ListRecycleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListRecycleResponse) XXX_Size() int { - return xxx_messageInfo_ListRecycleResponse.Size(m) -} -func (m *ListRecycleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListRecycleResponse.DiscardUnknown(m) + +func (*ListRecycleResponse) ProtoMessage() {} + +func (x *ListRecycleResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[29] + 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) } -var xxx_messageInfo_ListRecycleResponse proto.InternalMessageInfo +// Deprecated: Use ListRecycleResponse.ProtoReflect.Descriptor instead. +func (*ListRecycleResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{29} +} -func (m *ListRecycleResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListRecycleResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *ListRecycleResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListRecycleResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListRecycleResponse) GetRecycleItems() []*RecycleItem { - if m != nil { - return m.RecycleItems +func (x *ListRecycleResponse) GetRecycleItems() []*RecycleItem { + if x != nil { + return x.RecycleItems } return nil } -func (m *ListRecycleResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListRecycleResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type ListRecycleStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -2122,87 +2350,95 @@ type ListRecycleStreamRequest struct { PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListRecycleStreamRequest) Reset() { *m = ListRecycleStreamRequest{} } -func (m *ListRecycleStreamRequest) String() string { return proto.CompactTextString(m) } -func (*ListRecycleStreamRequest) ProtoMessage() {} -func (*ListRecycleStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{30} +func (x *ListRecycleStreamRequest) Reset() { + *x = ListRecycleStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListRecycleStreamRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListRecycleStreamRequest.Unmarshal(m, b) +func (x *ListRecycleStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListRecycleStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListRecycleStreamRequest.Marshal(b, m, deterministic) -} -func (m *ListRecycleStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRecycleStreamRequest.Merge(m, src) -} -func (m *ListRecycleStreamRequest) XXX_Size() int { - return xxx_messageInfo_ListRecycleStreamRequest.Size(m) -} -func (m *ListRecycleStreamRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListRecycleStreamRequest.DiscardUnknown(m) + +func (*ListRecycleStreamRequest) ProtoMessage() {} + +func (x *ListRecycleStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[30] + 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) } -var xxx_messageInfo_ListRecycleStreamRequest proto.InternalMessageInfo +// Deprecated: Use ListRecycleStreamRequest.ProtoReflect.Descriptor instead. +func (*ListRecycleStreamRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{30} +} -func (m *ListRecycleStreamRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListRecycleStreamRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListRecycleStreamRequest) GetFromTs() *v1beta1.Timestamp { - if m != nil { - return m.FromTs +func (x *ListRecycleStreamRequest) GetFromTs() *v1beta1.Timestamp { + if x != nil { + return x.FromTs } return nil } -func (m *ListRecycleStreamRequest) GetToTs() *v1beta1.Timestamp { - if m != nil { - return m.ToTs +func (x *ListRecycleStreamRequest) GetToTs() *v1beta1.Timestamp { + if x != nil { + return x.ToTs } return nil } -func (m *ListRecycleStreamRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *ListRecycleStreamRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *ListRecycleStreamRequest) GetKey() string { - if m != nil { - return m.Key +func (x *ListRecycleStreamRequest) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *ListRecycleStreamRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListRecycleStreamRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListRecycleStreamRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListRecycleStreamRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type ListRecycleStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -2216,66 +2452,74 @@ type ListRecycleStreamResponse struct { // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListRecycleStreamResponse) Reset() { *m = ListRecycleStreamResponse{} } -func (m *ListRecycleStreamResponse) String() string { return proto.CompactTextString(m) } -func (*ListRecycleStreamResponse) ProtoMessage() {} -func (*ListRecycleStreamResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{31} +func (x *ListRecycleStreamResponse) Reset() { + *x = ListRecycleStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListRecycleStreamResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListRecycleStreamResponse.Unmarshal(m, b) -} -func (m *ListRecycleStreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListRecycleStreamResponse.Marshal(b, m, deterministic) +func (x *ListRecycleStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListRecycleStreamResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRecycleStreamResponse.Merge(m, src) -} -func (m *ListRecycleStreamResponse) XXX_Size() int { - return xxx_messageInfo_ListRecycleStreamResponse.Size(m) -} -func (m *ListRecycleStreamResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListRecycleStreamResponse.DiscardUnknown(m) + +func (*ListRecycleStreamResponse) ProtoMessage() {} + +func (x *ListRecycleStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[31] + 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) } -var xxx_messageInfo_ListRecycleStreamResponse proto.InternalMessageInfo +// Deprecated: Use ListRecycleStreamResponse.ProtoReflect.Descriptor instead. +func (*ListRecycleStreamResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{31} +} -func (m *ListRecycleStreamResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListRecycleStreamResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *ListRecycleStreamResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListRecycleStreamResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListRecycleStreamResponse) GetRecycleItem() *RecycleItem { - if m != nil { - return m.RecycleItem +func (x *ListRecycleStreamResponse) GetRecycleItem() *RecycleItem { + if x != nil { + return x.RecycleItem } return nil } -func (m *ListRecycleStreamResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListRecycleStreamResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type MoveRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -2288,117 +2532,133 @@ type MoveRequest struct { // OPTIONAL. // A lock_id: should the source reference be locked, the stored // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *MoveRequest) Reset() { *m = MoveRequest{} } -func (m *MoveRequest) String() string { return proto.CompactTextString(m) } -func (*MoveRequest) ProtoMessage() {} -func (*MoveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{32} +func (x *MoveRequest) Reset() { + *x = MoveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MoveRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MoveRequest.Unmarshal(m, b) -} -func (m *MoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MoveRequest.Marshal(b, m, deterministic) -} -func (m *MoveRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveRequest.Merge(m, src) +func (x *MoveRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MoveRequest) XXX_Size() int { - return xxx_messageInfo_MoveRequest.Size(m) -} -func (m *MoveRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MoveRequest.DiscardUnknown(m) + +func (*MoveRequest) ProtoMessage() {} + +func (x *MoveRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[32] + 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) } -var xxx_messageInfo_MoveRequest proto.InternalMessageInfo +// Deprecated: Use MoveRequest.ProtoReflect.Descriptor instead. +func (*MoveRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{32} +} -func (m *MoveRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *MoveRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *MoveRequest) GetSource() *Reference { - if m != nil { - return m.Source +func (x *MoveRequest) GetSource() *Reference { + if x != nil { + return x.Source } return nil } -func (m *MoveRequest) GetDestination() *Reference { - if m != nil { - return m.Destination +func (x *MoveRequest) GetDestination() *Reference { + if x != nil { + return x.Destination } return nil } -func (m *MoveRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *MoveRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type MoveResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *MoveResponse) Reset() { *m = MoveResponse{} } -func (m *MoveResponse) String() string { return proto.CompactTextString(m) } -func (*MoveResponse) ProtoMessage() {} -func (*MoveResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{33} +func (x *MoveResponse) Reset() { + *x = MoveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MoveResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MoveResponse.Unmarshal(m, b) -} -func (m *MoveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MoveResponse.Marshal(b, m, deterministic) -} -func (m *MoveResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveResponse.Merge(m, src) +func (x *MoveResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MoveResponse) XXX_Size() int { - return xxx_messageInfo_MoveResponse.Size(m) -} -func (m *MoveResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MoveResponse.DiscardUnknown(m) + +func (*MoveResponse) ProtoMessage() {} + +func (x *MoveResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[33] + 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) } -var xxx_messageInfo_MoveResponse proto.InternalMessageInfo +// Deprecated: Use MoveResponse.ProtoReflect.Descriptor instead. +func (*MoveResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{33} +} -func (m *MoveResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *MoveResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *MoveResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *MoveResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type PurgeRecycleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -2407,110 +2667,126 @@ type PurgeRecycleRequest struct { Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The key corresponding to the item to be purged.. - Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` } -func (m *PurgeRecycleRequest) Reset() { *m = PurgeRecycleRequest{} } -func (m *PurgeRecycleRequest) String() string { return proto.CompactTextString(m) } -func (*PurgeRecycleRequest) ProtoMessage() {} -func (*PurgeRecycleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{34} +func (x *PurgeRecycleRequest) Reset() { + *x = PurgeRecycleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PurgeRecycleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PurgeRecycleRequest.Unmarshal(m, b) +func (x *PurgeRecycleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PurgeRecycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PurgeRecycleRequest.Marshal(b, m, deterministic) -} -func (m *PurgeRecycleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeRecycleRequest.Merge(m, src) -} -func (m *PurgeRecycleRequest) XXX_Size() int { - return xxx_messageInfo_PurgeRecycleRequest.Size(m) -} -func (m *PurgeRecycleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PurgeRecycleRequest.DiscardUnknown(m) + +func (*PurgeRecycleRequest) ProtoMessage() {} + +func (x *PurgeRecycleRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[34] + 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) } -var xxx_messageInfo_PurgeRecycleRequest proto.InternalMessageInfo +// Deprecated: Use PurgeRecycleRequest.ProtoReflect.Descriptor instead. +func (*PurgeRecycleRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{34} +} -func (m *PurgeRecycleRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *PurgeRecycleRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *PurgeRecycleRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *PurgeRecycleRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *PurgeRecycleRequest) GetKey() string { - if m != nil { - return m.Key +func (x *PurgeRecycleRequest) GetKey() string { + if x != nil { + return x.Key } return "" } type PurgeRecycleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *PurgeRecycleResponse) Reset() { *m = PurgeRecycleResponse{} } -func (m *PurgeRecycleResponse) String() string { return proto.CompactTextString(m) } -func (*PurgeRecycleResponse) ProtoMessage() {} -func (*PurgeRecycleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{35} +func (x *PurgeRecycleResponse) Reset() { + *x = PurgeRecycleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PurgeRecycleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PurgeRecycleResponse.Unmarshal(m, b) -} -func (m *PurgeRecycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PurgeRecycleResponse.Marshal(b, m, deterministic) +func (x *PurgeRecycleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PurgeRecycleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeRecycleResponse.Merge(m, src) -} -func (m *PurgeRecycleResponse) XXX_Size() int { - return xxx_messageInfo_PurgeRecycleResponse.Size(m) -} -func (m *PurgeRecycleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PurgeRecycleResponse.DiscardUnknown(m) + +func (*PurgeRecycleResponse) ProtoMessage() {} + +func (x *PurgeRecycleResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[35] + 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) } -var xxx_messageInfo_PurgeRecycleResponse proto.InternalMessageInfo +// Deprecated: Use PurgeRecycleResponse.ProtoReflect.Descriptor instead. +func (*PurgeRecycleResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{35} +} -func (m *PurgeRecycleResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *PurgeRecycleResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *PurgeRecycleResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *PurgeRecycleResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type RestoreFileVersionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -2523,118 +2799,134 @@ type RestoreFileVersionRequest struct { // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *RestoreFileVersionRequest) Reset() { *m = RestoreFileVersionRequest{} } -func (m *RestoreFileVersionRequest) String() string { return proto.CompactTextString(m) } -func (*RestoreFileVersionRequest) ProtoMessage() {} -func (*RestoreFileVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{36} +func (x *RestoreFileVersionRequest) Reset() { + *x = RestoreFileVersionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RestoreFileVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreFileVersionRequest.Unmarshal(m, b) +func (x *RestoreFileVersionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RestoreFileVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreFileVersionRequest.Marshal(b, m, deterministic) -} -func (m *RestoreFileVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreFileVersionRequest.Merge(m, src) -} -func (m *RestoreFileVersionRequest) XXX_Size() int { - return xxx_messageInfo_RestoreFileVersionRequest.Size(m) -} -func (m *RestoreFileVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreFileVersionRequest.DiscardUnknown(m) + +func (*RestoreFileVersionRequest) ProtoMessage() {} + +func (x *RestoreFileVersionRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[36] + 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) } -var xxx_messageInfo_RestoreFileVersionRequest proto.InternalMessageInfo +// Deprecated: Use RestoreFileVersionRequest.ProtoReflect.Descriptor instead. +func (*RestoreFileVersionRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{36} +} -func (m *RestoreFileVersionRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RestoreFileVersionRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *RestoreFileVersionRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *RestoreFileVersionRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *RestoreFileVersionRequest) GetKey() string { - if m != nil { - return m.Key +func (x *RestoreFileVersionRequest) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *RestoreFileVersionRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *RestoreFileVersionRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type RestoreFileVersionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *RestoreFileVersionResponse) Reset() { *m = RestoreFileVersionResponse{} } -func (m *RestoreFileVersionResponse) String() string { return proto.CompactTextString(m) } -func (*RestoreFileVersionResponse) ProtoMessage() {} -func (*RestoreFileVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{37} +func (x *RestoreFileVersionResponse) Reset() { + *x = RestoreFileVersionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RestoreFileVersionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreFileVersionResponse.Unmarshal(m, b) +func (x *RestoreFileVersionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RestoreFileVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreFileVersionResponse.Marshal(b, m, deterministic) -} -func (m *RestoreFileVersionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreFileVersionResponse.Merge(m, src) -} -func (m *RestoreFileVersionResponse) XXX_Size() int { - return xxx_messageInfo_RestoreFileVersionResponse.Size(m) -} -func (m *RestoreFileVersionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreFileVersionResponse.DiscardUnknown(m) + +func (*RestoreFileVersionResponse) ProtoMessage() {} + +func (x *RestoreFileVersionResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[37] + 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) } -var xxx_messageInfo_RestoreFileVersionResponse proto.InternalMessageInfo +// Deprecated: Use RestoreFileVersionResponse.ProtoReflect.Descriptor instead. +func (*RestoreFileVersionResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{37} +} -func (m *RestoreFileVersionResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *RestoreFileVersionResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *RestoreFileVersionResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RestoreFileVersionResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } // TODO: restore to original location if not specified as OPTIONAL? type RestoreRecycleItemRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -2654,124 +2946,140 @@ type RestoreRecycleItemRequest struct { // OPTIONAL. // A lock_id: should a lock exist for the reference where the file is // to be restored, the stored lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,5,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LockId string `protobuf:"bytes,5,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *RestoreRecycleItemRequest) Reset() { *m = RestoreRecycleItemRequest{} } -func (m *RestoreRecycleItemRequest) String() string { return proto.CompactTextString(m) } -func (*RestoreRecycleItemRequest) ProtoMessage() {} -func (*RestoreRecycleItemRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{38} +func (x *RestoreRecycleItemRequest) Reset() { + *x = RestoreRecycleItemRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RestoreRecycleItemRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreRecycleItemRequest.Unmarshal(m, b) -} -func (m *RestoreRecycleItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreRecycleItemRequest.Marshal(b, m, deterministic) -} -func (m *RestoreRecycleItemRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreRecycleItemRequest.Merge(m, src) -} -func (m *RestoreRecycleItemRequest) XXX_Size() int { - return xxx_messageInfo_RestoreRecycleItemRequest.Size(m) +func (x *RestoreRecycleItemRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RestoreRecycleItemRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreRecycleItemRequest.DiscardUnknown(m) + +func (*RestoreRecycleItemRequest) ProtoMessage() {} + +func (x *RestoreRecycleItemRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[38] + 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) } -var xxx_messageInfo_RestoreRecycleItemRequest proto.InternalMessageInfo +// Deprecated: Use RestoreRecycleItemRequest.ProtoReflect.Descriptor instead. +func (*RestoreRecycleItemRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{38} +} -func (m *RestoreRecycleItemRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RestoreRecycleItemRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *RestoreRecycleItemRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *RestoreRecycleItemRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *RestoreRecycleItemRequest) GetKey() string { - if m != nil { - return m.Key +func (x *RestoreRecycleItemRequest) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *RestoreRecycleItemRequest) GetRestoreRef() *Reference { - if m != nil { - return m.RestoreRef +func (x *RestoreRecycleItemRequest) GetRestoreRef() *Reference { + if x != nil { + return x.RestoreRef } return nil } -func (m *RestoreRecycleItemRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *RestoreRecycleItemRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type RestoreRecycleItemResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *RestoreRecycleItemResponse) Reset() { *m = RestoreRecycleItemResponse{} } -func (m *RestoreRecycleItemResponse) String() string { return proto.CompactTextString(m) } -func (*RestoreRecycleItemResponse) ProtoMessage() {} -func (*RestoreRecycleItemResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{39} +func (x *RestoreRecycleItemResponse) Reset() { + *x = RestoreRecycleItemResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RestoreRecycleItemResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreRecycleItemResponse.Unmarshal(m, b) -} -func (m *RestoreRecycleItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreRecycleItemResponse.Marshal(b, m, deterministic) -} -func (m *RestoreRecycleItemResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreRecycleItemResponse.Merge(m, src) +func (x *RestoreRecycleItemResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RestoreRecycleItemResponse) XXX_Size() int { - return xxx_messageInfo_RestoreRecycleItemResponse.Size(m) -} -func (m *RestoreRecycleItemResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreRecycleItemResponse.DiscardUnknown(m) + +func (*RestoreRecycleItemResponse) ProtoMessage() {} + +func (x *RestoreRecycleItemResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[39] + 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) } -var xxx_messageInfo_RestoreRecycleItemResponse proto.InternalMessageInfo +// Deprecated: Use RestoreRecycleItemResponse.ProtoReflect.Descriptor instead. +func (*RestoreRecycleItemResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{39} +} -func (m *RestoreRecycleItemResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *RestoreRecycleItemResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *RestoreRecycleItemResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RestoreRecycleItemResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type RemoveGrantRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -2783,118 +3091,136 @@ type RemoveGrantRequest struct { Grant *Grant `protobuf:"bytes,3,opt,name=grant,proto3" json:"grant,omitempty"` // OPTIONAL. // A lock_id: should the reference be locked, the stored - // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // lock_id SHOULD be equal to the given value. However, + // storage implementations MAY allow for unsetting grants + // even if the lock does not match. + LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *RemoveGrantRequest) Reset() { *m = RemoveGrantRequest{} } -func (m *RemoveGrantRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveGrantRequest) ProtoMessage() {} -func (*RemoveGrantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{40} +func (x *RemoveGrantRequest) Reset() { + *x = RemoveGrantRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveGrantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveGrantRequest.Unmarshal(m, b) +func (x *RemoveGrantRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveGrantRequest.Marshal(b, m, deterministic) -} -func (m *RemoveGrantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveGrantRequest.Merge(m, src) -} -func (m *RemoveGrantRequest) XXX_Size() int { - return xxx_messageInfo_RemoveGrantRequest.Size(m) -} -func (m *RemoveGrantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveGrantRequest.DiscardUnknown(m) + +func (*RemoveGrantRequest) ProtoMessage() {} + +func (x *RemoveGrantRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[40] + 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) } -var xxx_messageInfo_RemoveGrantRequest proto.InternalMessageInfo +// Deprecated: Use RemoveGrantRequest.ProtoReflect.Descriptor instead. +func (*RemoveGrantRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{40} +} -func (m *RemoveGrantRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RemoveGrantRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *RemoveGrantRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *RemoveGrantRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *RemoveGrantRequest) GetGrant() *Grant { - if m != nil { - return m.Grant +func (x *RemoveGrantRequest) GetGrant() *Grant { + if x != nil { + return x.Grant } return nil } -func (m *RemoveGrantRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *RemoveGrantRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type RemoveGrantResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *RemoveGrantResponse) Reset() { *m = RemoveGrantResponse{} } -func (m *RemoveGrantResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveGrantResponse) ProtoMessage() {} -func (*RemoveGrantResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{41} +func (x *RemoveGrantResponse) Reset() { + *x = RemoveGrantResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveGrantResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveGrantResponse.Unmarshal(m, b) +func (x *RemoveGrantResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveGrantResponse.Marshal(b, m, deterministic) -} -func (m *RemoveGrantResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveGrantResponse.Merge(m, src) -} -func (m *RemoveGrantResponse) XXX_Size() int { - return xxx_messageInfo_RemoveGrantResponse.Size(m) -} -func (m *RemoveGrantResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveGrantResponse.DiscardUnknown(m) + +func (*RemoveGrantResponse) ProtoMessage() {} + +func (x *RemoveGrantResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[41] + 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) } -var xxx_messageInfo_RemoveGrantResponse proto.InternalMessageInfo +// Deprecated: Use RemoveGrantResponse.ProtoReflect.Descriptor instead. +func (*RemoveGrantResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{41} +} -func (m *RemoveGrantResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *RemoveGrantResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *RemoveGrantResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RemoveGrantResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type StatRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -2908,66 +3234,74 @@ type StatRequest struct { // OPTIONAL. // The field mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - FieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` } -func (m *StatRequest) Reset() { *m = StatRequest{} } -func (m *StatRequest) String() string { return proto.CompactTextString(m) } -func (*StatRequest) ProtoMessage() {} -func (*StatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{42} +func (x *StatRequest) Reset() { + *x = StatRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StatRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatRequest.Unmarshal(m, b) -} -func (m *StatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatRequest.Marshal(b, m, deterministic) -} -func (m *StatRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatRequest.Merge(m, src) -} -func (m *StatRequest) XXX_Size() int { - return xxx_messageInfo_StatRequest.Size(m) +func (x *StatRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StatRequest.DiscardUnknown(m) + +func (*StatRequest) ProtoMessage() {} + +func (x *StatRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[42] + 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) } -var xxx_messageInfo_StatRequest proto.InternalMessageInfo +// Deprecated: Use StatRequest.ProtoReflect.Descriptor instead. +func (*StatRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{42} +} -func (m *StatRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *StatRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *StatRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *StatRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *StatRequest) GetArbitraryMetadataKeys() []string { - if m != nil { - return m.ArbitraryMetadataKeys +func (x *StatRequest) GetArbitraryMetadataKeys() []string { + if x != nil { + return x.ArbitraryMetadataKeys } return nil } -func (m *StatRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask +func (x *StatRequest) GetFieldMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.FieldMask } return nil } type StatResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -2976,59 +3310,67 @@ type StatResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The resource information. - Info *ResourceInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Info *ResourceInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` } -func (m *StatResponse) Reset() { *m = StatResponse{} } -func (m *StatResponse) String() string { return proto.CompactTextString(m) } -func (*StatResponse) ProtoMessage() {} -func (*StatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{43} +func (x *StatResponse) Reset() { + *x = StatResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StatResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatResponse.Unmarshal(m, b) -} -func (m *StatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatResponse.Marshal(b, m, deterministic) -} -func (m *StatResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatResponse.Merge(m, src) -} -func (m *StatResponse) XXX_Size() int { - return xxx_messageInfo_StatResponse.Size(m) +func (x *StatResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StatResponse.DiscardUnknown(m) + +func (*StatResponse) ProtoMessage() {} + +func (x *StatResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[43] + 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) } -var xxx_messageInfo_StatResponse proto.InternalMessageInfo +// Deprecated: Use StatResponse.ProtoReflect.Descriptor instead. +func (*StatResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{43} +} -func (m *StatResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *StatResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *StatResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *StatResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *StatResponse) GetInfo() *ResourceInfo { - if m != nil { - return m.Info +func (x *StatResponse) GetInfo() *ResourceInfo { + if x != nil { + return x.Info } return nil } type UpdateGrantRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -3040,118 +3382,136 @@ type UpdateGrantRequest struct { Grant *Grant `protobuf:"bytes,3,opt,name=grant,proto3" json:"grant,omitempty"` // OPTIONAL. // A lock_id: should the reference be locked, the stored - // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // lock_id SHOULD be equal to the given value. However, + // storage implementations MAY allow for updating grants + // even if the lock does not match. + LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *UpdateGrantRequest) Reset() { *m = UpdateGrantRequest{} } -func (m *UpdateGrantRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateGrantRequest) ProtoMessage() {} -func (*UpdateGrantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{44} +func (x *UpdateGrantRequest) Reset() { + *x = UpdateGrantRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateGrantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateGrantRequest.Unmarshal(m, b) +func (x *UpdateGrantRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateGrantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateGrantRequest.Marshal(b, m, deterministic) -} -func (m *UpdateGrantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateGrantRequest.Merge(m, src) -} -func (m *UpdateGrantRequest) XXX_Size() int { - return xxx_messageInfo_UpdateGrantRequest.Size(m) -} -func (m *UpdateGrantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateGrantRequest.DiscardUnknown(m) + +func (*UpdateGrantRequest) ProtoMessage() {} + +func (x *UpdateGrantRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[44] + 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) } -var xxx_messageInfo_UpdateGrantRequest proto.InternalMessageInfo +// Deprecated: Use UpdateGrantRequest.ProtoReflect.Descriptor instead. +func (*UpdateGrantRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{44} +} -func (m *UpdateGrantRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateGrantRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UpdateGrantRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *UpdateGrantRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *UpdateGrantRequest) GetGrant() *Grant { - if m != nil { - return m.Grant +func (x *UpdateGrantRequest) GetGrant() *Grant { + if x != nil { + return x.Grant } return nil } -func (m *UpdateGrantRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *UpdateGrantRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type UpdateGrantResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *UpdateGrantResponse) Reset() { *m = UpdateGrantResponse{} } -func (m *UpdateGrantResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateGrantResponse) ProtoMessage() {} -func (*UpdateGrantResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{45} +func (x *UpdateGrantResponse) Reset() { + *x = UpdateGrantResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateGrantResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateGrantResponse.Unmarshal(m, b) +func (x *UpdateGrantResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateGrantResponse.Marshal(b, m, deterministic) -} -func (m *UpdateGrantResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateGrantResponse.Merge(m, src) -} -func (m *UpdateGrantResponse) XXX_Size() int { - return xxx_messageInfo_UpdateGrantResponse.Size(m) -} -func (m *UpdateGrantResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateGrantResponse.DiscardUnknown(m) + +func (*UpdateGrantResponse) ProtoMessage() {} + +func (x *UpdateGrantResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[45] + 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) } -var xxx_messageInfo_UpdateGrantResponse proto.InternalMessageInfo +// Deprecated: Use UpdateGrantResponse.ProtoReflect.Descriptor instead. +func (*UpdateGrantResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{45} +} -func (m *UpdateGrantResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *UpdateGrantResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *UpdateGrantResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UpdateGrantResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type CreateSymlinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -3161,110 +3521,126 @@ type CreateSymlinkRequest struct { // REQUIRED. // The link target can hold arbitrary text; if later resolved, // a relative link is interpreted in relation to its parent directory - Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` } -func (m *CreateSymlinkRequest) Reset() { *m = CreateSymlinkRequest{} } -func (m *CreateSymlinkRequest) String() string { return proto.CompactTextString(m) } -func (*CreateSymlinkRequest) ProtoMessage() {} -func (*CreateSymlinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{46} +func (x *CreateSymlinkRequest) Reset() { + *x = CreateSymlinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateSymlinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSymlinkRequest.Unmarshal(m, b) -} -func (m *CreateSymlinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSymlinkRequest.Marshal(b, m, deterministic) -} -func (m *CreateSymlinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSymlinkRequest.Merge(m, src) -} -func (m *CreateSymlinkRequest) XXX_Size() int { - return xxx_messageInfo_CreateSymlinkRequest.Size(m) +func (x *CreateSymlinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateSymlinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSymlinkRequest.DiscardUnknown(m) + +func (*CreateSymlinkRequest) ProtoMessage() {} + +func (x *CreateSymlinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[46] + 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) } -var xxx_messageInfo_CreateSymlinkRequest proto.InternalMessageInfo +// Deprecated: Use CreateSymlinkRequest.ProtoReflect.Descriptor instead. +func (*CreateSymlinkRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{46} +} -func (m *CreateSymlinkRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateSymlinkRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateSymlinkRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *CreateSymlinkRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *CreateSymlinkRequest) GetTarget() string { - if m != nil { - return m.Target +func (x *CreateSymlinkRequest) GetTarget() string { + if x != nil { + return x.Target } return "" } type CreateSymlinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *CreateSymlinkResponse) Reset() { *m = CreateSymlinkResponse{} } -func (m *CreateSymlinkResponse) String() string { return proto.CompactTextString(m) } -func (*CreateSymlinkResponse) ProtoMessage() {} -func (*CreateSymlinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{47} +func (x *CreateSymlinkResponse) Reset() { + *x = CreateSymlinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateSymlinkResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSymlinkResponse.Unmarshal(m, b) -} -func (m *CreateSymlinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSymlinkResponse.Marshal(b, m, deterministic) -} -func (m *CreateSymlinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSymlinkResponse.Merge(m, src) -} -func (m *CreateSymlinkResponse) XXX_Size() int { - return xxx_messageInfo_CreateSymlinkResponse.Size(m) -} -func (m *CreateSymlinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSymlinkResponse.DiscardUnknown(m) +func (x *CreateSymlinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CreateSymlinkResponse proto.InternalMessageInfo +func (*CreateSymlinkResponse) ProtoMessage() {} -func (m *CreateSymlinkResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *CreateSymlinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[47] + 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 CreateSymlinkResponse.ProtoReflect.Descriptor instead. +func (*CreateSymlinkResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{47} +} + +func (x *CreateSymlinkResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *CreateSymlinkResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateSymlinkResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type CreateReferenceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -3273,110 +3649,126 @@ type CreateReferenceRequest struct { Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The reference resource by RFC3986. - TargetUri string `protobuf:"bytes,3,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetUri string `protobuf:"bytes,3,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` } -func (m *CreateReferenceRequest) Reset() { *m = CreateReferenceRequest{} } -func (m *CreateReferenceRequest) String() string { return proto.CompactTextString(m) } -func (*CreateReferenceRequest) ProtoMessage() {} -func (*CreateReferenceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{48} +func (x *CreateReferenceRequest) Reset() { + *x = CreateReferenceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateReferenceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateReferenceRequest.Unmarshal(m, b) -} -func (m *CreateReferenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateReferenceRequest.Marshal(b, m, deterministic) +func (x *CreateReferenceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateReferenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateReferenceRequest.Merge(m, src) -} -func (m *CreateReferenceRequest) XXX_Size() int { - return xxx_messageInfo_CreateReferenceRequest.Size(m) -} -func (m *CreateReferenceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateReferenceRequest.DiscardUnknown(m) + +func (*CreateReferenceRequest) ProtoMessage() {} + +func (x *CreateReferenceRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[48] + 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) } -var xxx_messageInfo_CreateReferenceRequest proto.InternalMessageInfo +// Deprecated: Use CreateReferenceRequest.ProtoReflect.Descriptor instead. +func (*CreateReferenceRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{48} +} -func (m *CreateReferenceRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateReferenceRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateReferenceRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *CreateReferenceRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *CreateReferenceRequest) GetTargetUri() string { - if m != nil { - return m.TargetUri +func (x *CreateReferenceRequest) GetTargetUri() string { + if x != nil { + return x.TargetUri } return "" } type CreateReferenceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *CreateReferenceResponse) Reset() { *m = CreateReferenceResponse{} } -func (m *CreateReferenceResponse) String() string { return proto.CompactTextString(m) } -func (*CreateReferenceResponse) ProtoMessage() {} -func (*CreateReferenceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{49} +func (x *CreateReferenceResponse) Reset() { + *x = CreateReferenceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateReferenceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateReferenceResponse.Unmarshal(m, b) -} -func (m *CreateReferenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateReferenceResponse.Marshal(b, m, deterministic) -} -func (m *CreateReferenceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateReferenceResponse.Merge(m, src) +func (x *CreateReferenceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateReferenceResponse) XXX_Size() int { - return xxx_messageInfo_CreateReferenceResponse.Size(m) -} -func (m *CreateReferenceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateReferenceResponse.DiscardUnknown(m) + +func (*CreateReferenceResponse) ProtoMessage() {} + +func (x *CreateReferenceResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[49] + 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) } -var xxx_messageInfo_CreateReferenceResponse proto.InternalMessageInfo +// Deprecated: Use CreateReferenceResponse.ProtoReflect.Descriptor instead. +func (*CreateReferenceResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{49} +} -func (m *CreateReferenceResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *CreateReferenceResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *CreateReferenceResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateReferenceResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type SetArbitraryMetadataRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -3388,118 +3780,136 @@ type SetArbitraryMetadataRequest struct { ArbitraryMetadata *ArbitraryMetadata `protobuf:"bytes,3,opt,name=arbitrary_metadata,json=arbitraryMetadata,proto3" json:"arbitrary_metadata,omitempty"` // OPTIONAL. // A lock_id: should the reference be locked, the stored - // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // lock_id SHOULD be equal to the given value. However, + // storage implementations MAY allow for setting attributes + // even if the lock does not match. + LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *SetArbitraryMetadataRequest) Reset() { *m = SetArbitraryMetadataRequest{} } -func (m *SetArbitraryMetadataRequest) String() string { return proto.CompactTextString(m) } -func (*SetArbitraryMetadataRequest) ProtoMessage() {} -func (*SetArbitraryMetadataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{50} +func (x *SetArbitraryMetadataRequest) Reset() { + *x = SetArbitraryMetadataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetArbitraryMetadataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetArbitraryMetadataRequest.Unmarshal(m, b) +func (x *SetArbitraryMetadataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetArbitraryMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetArbitraryMetadataRequest.Marshal(b, m, deterministic) -} -func (m *SetArbitraryMetadataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetArbitraryMetadataRequest.Merge(m, src) -} -func (m *SetArbitraryMetadataRequest) XXX_Size() int { - return xxx_messageInfo_SetArbitraryMetadataRequest.Size(m) -} -func (m *SetArbitraryMetadataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetArbitraryMetadataRequest.DiscardUnknown(m) + +func (*SetArbitraryMetadataRequest) ProtoMessage() {} + +func (x *SetArbitraryMetadataRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[50] + 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) } -var xxx_messageInfo_SetArbitraryMetadataRequest proto.InternalMessageInfo +// Deprecated: Use SetArbitraryMetadataRequest.ProtoReflect.Descriptor instead. +func (*SetArbitraryMetadataRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{50} +} -func (m *SetArbitraryMetadataRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *SetArbitraryMetadataRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *SetArbitraryMetadataRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *SetArbitraryMetadataRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *SetArbitraryMetadataRequest) GetArbitraryMetadata() *ArbitraryMetadata { - if m != nil { - return m.ArbitraryMetadata +func (x *SetArbitraryMetadataRequest) GetArbitraryMetadata() *ArbitraryMetadata { + if x != nil { + return x.ArbitraryMetadata } return nil } -func (m *SetArbitraryMetadataRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *SetArbitraryMetadataRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type SetArbitraryMetadataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *SetArbitraryMetadataResponse) Reset() { *m = SetArbitraryMetadataResponse{} } -func (m *SetArbitraryMetadataResponse) String() string { return proto.CompactTextString(m) } -func (*SetArbitraryMetadataResponse) ProtoMessage() {} -func (*SetArbitraryMetadataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{51} +func (x *SetArbitraryMetadataResponse) Reset() { + *x = SetArbitraryMetadataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetArbitraryMetadataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetArbitraryMetadataResponse.Unmarshal(m, b) +func (x *SetArbitraryMetadataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetArbitraryMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetArbitraryMetadataResponse.Marshal(b, m, deterministic) -} -func (m *SetArbitraryMetadataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetArbitraryMetadataResponse.Merge(m, src) -} -func (m *SetArbitraryMetadataResponse) XXX_Size() int { - return xxx_messageInfo_SetArbitraryMetadataResponse.Size(m) -} -func (m *SetArbitraryMetadataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetArbitraryMetadataResponse.DiscardUnknown(m) + +func (*SetArbitraryMetadataResponse) ProtoMessage() {} + +func (x *SetArbitraryMetadataResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[51] + 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) } -var xxx_messageInfo_SetArbitraryMetadataResponse proto.InternalMessageInfo +// Deprecated: Use SetArbitraryMetadataResponse.ProtoReflect.Descriptor instead. +func (*SetArbitraryMetadataResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{51} +} -func (m *SetArbitraryMetadataResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *SetArbitraryMetadataResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *SetArbitraryMetadataResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *SetArbitraryMetadataResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type UnsetArbitraryMetadataRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -3511,118 +3921,136 @@ type UnsetArbitraryMetadataRequest struct { ArbitraryMetadataKeys []string `protobuf:"bytes,3,rep,name=arbitrary_metadata_keys,json=arbitraryMetadataKeys,proto3" json:"arbitrary_metadata_keys,omitempty"` // OPTIONAL. // A lock_id: should the reference be locked, the stored - // lock_id MUST be equal to the given value. - LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // lock_id SHOULD be equal to the given value. However, + // storage implementations MAY allow for unsetting attributes + // even if the lock does not match. + LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` } -func (m *UnsetArbitraryMetadataRequest) Reset() { *m = UnsetArbitraryMetadataRequest{} } -func (m *UnsetArbitraryMetadataRequest) String() string { return proto.CompactTextString(m) } -func (*UnsetArbitraryMetadataRequest) ProtoMessage() {} -func (*UnsetArbitraryMetadataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{52} +func (x *UnsetArbitraryMetadataRequest) Reset() { + *x = UnsetArbitraryMetadataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UnsetArbitraryMetadataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnsetArbitraryMetadataRequest.Unmarshal(m, b) -} -func (m *UnsetArbitraryMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnsetArbitraryMetadataRequest.Marshal(b, m, deterministic) -} -func (m *UnsetArbitraryMetadataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnsetArbitraryMetadataRequest.Merge(m, src) +func (x *UnsetArbitraryMetadataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UnsetArbitraryMetadataRequest) XXX_Size() int { - return xxx_messageInfo_UnsetArbitraryMetadataRequest.Size(m) -} -func (m *UnsetArbitraryMetadataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UnsetArbitraryMetadataRequest.DiscardUnknown(m) + +func (*UnsetArbitraryMetadataRequest) ProtoMessage() {} + +func (x *UnsetArbitraryMetadataRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[52] + 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) } -var xxx_messageInfo_UnsetArbitraryMetadataRequest proto.InternalMessageInfo +// Deprecated: Use UnsetArbitraryMetadataRequest.ProtoReflect.Descriptor instead. +func (*UnsetArbitraryMetadataRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{52} +} -func (m *UnsetArbitraryMetadataRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UnsetArbitraryMetadataRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UnsetArbitraryMetadataRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *UnsetArbitraryMetadataRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *UnsetArbitraryMetadataRequest) GetArbitraryMetadataKeys() []string { - if m != nil { - return m.ArbitraryMetadataKeys +func (x *UnsetArbitraryMetadataRequest) GetArbitraryMetadataKeys() []string { + if x != nil { + return x.ArbitraryMetadataKeys } return nil } -func (m *UnsetArbitraryMetadataRequest) GetLockId() string { - if m != nil { - return m.LockId +func (x *UnsetArbitraryMetadataRequest) GetLockId() string { + if x != nil { + return x.LockId } return "" } type UnsetArbitraryMetadataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *UnsetArbitraryMetadataResponse) Reset() { *m = UnsetArbitraryMetadataResponse{} } -func (m *UnsetArbitraryMetadataResponse) String() string { return proto.CompactTextString(m) } -func (*UnsetArbitraryMetadataResponse) ProtoMessage() {} -func (*UnsetArbitraryMetadataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{53} +func (x *UnsetArbitraryMetadataResponse) Reset() { + *x = UnsetArbitraryMetadataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UnsetArbitraryMetadataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnsetArbitraryMetadataResponse.Unmarshal(m, b) -} -func (m *UnsetArbitraryMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnsetArbitraryMetadataResponse.Marshal(b, m, deterministic) -} -func (m *UnsetArbitraryMetadataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnsetArbitraryMetadataResponse.Merge(m, src) +func (x *UnsetArbitraryMetadataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UnsetArbitraryMetadataResponse) XXX_Size() int { - return xxx_messageInfo_UnsetArbitraryMetadataResponse.Size(m) -} -func (m *UnsetArbitraryMetadataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UnsetArbitraryMetadataResponse.DiscardUnknown(m) + +func (*UnsetArbitraryMetadataResponse) ProtoMessage() {} + +func (x *UnsetArbitraryMetadataResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[53] + 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) } -var xxx_messageInfo_UnsetArbitraryMetadataResponse proto.InternalMessageInfo +// Deprecated: Use UnsetArbitraryMetadataResponse.ProtoReflect.Descriptor instead. +func (*UnsetArbitraryMetadataResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{53} +} -func (m *UnsetArbitraryMetadataResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *UnsetArbitraryMetadataResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *UnsetArbitraryMetadataResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UnsetArbitraryMetadataResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type SetLockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -3632,161 +4060,185 @@ type SetLockRequest struct { Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The lock metadata. - Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` } -func (m *SetLockRequest) Reset() { *m = SetLockRequest{} } -func (m *SetLockRequest) String() string { return proto.CompactTextString(m) } -func (*SetLockRequest) ProtoMessage() {} -func (*SetLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{54} +func (x *SetLockRequest) Reset() { + *x = SetLockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetLockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLockRequest.Unmarshal(m, b) +func (x *SetLockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLockRequest.Marshal(b, m, deterministic) -} -func (m *SetLockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLockRequest.Merge(m, src) -} -func (m *SetLockRequest) XXX_Size() int { - return xxx_messageInfo_SetLockRequest.Size(m) -} -func (m *SetLockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLockRequest.DiscardUnknown(m) + +func (*SetLockRequest) ProtoMessage() {} + +func (x *SetLockRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[54] + 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) } -var xxx_messageInfo_SetLockRequest proto.InternalMessageInfo +// Deprecated: Use SetLockRequest.ProtoReflect.Descriptor instead. +func (*SetLockRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{54} +} -func (m *SetLockRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *SetLockRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *SetLockRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *SetLockRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *SetLockRequest) GetLock() *Lock { - if m != nil { - return m.Lock +func (x *SetLockRequest) GetLock() *Lock { + if x != nil { + return x.Lock } return nil } type SetLockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *SetLockResponse) Reset() { *m = SetLockResponse{} } -func (m *SetLockResponse) String() string { return proto.CompactTextString(m) } -func (*SetLockResponse) ProtoMessage() {} -func (*SetLockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{55} +func (x *SetLockResponse) Reset() { + *x = SetLockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetLockResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLockResponse.Unmarshal(m, b) -} -func (m *SetLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLockResponse.Marshal(b, m, deterministic) +func (x *SetLockResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetLockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLockResponse.Merge(m, src) -} -func (m *SetLockResponse) XXX_Size() int { - return xxx_messageInfo_SetLockResponse.Size(m) -} -func (m *SetLockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetLockResponse.DiscardUnknown(m) + +func (*SetLockResponse) ProtoMessage() {} + +func (x *SetLockResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[55] + 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) } -var xxx_messageInfo_SetLockResponse proto.InternalMessageInfo +// Deprecated: Use SetLockResponse.ProtoReflect.Descriptor instead. +func (*SetLockResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{55} +} -func (m *SetLockResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *SetLockResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *SetLockResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *SetLockResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetLockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference the lock is associated to. - Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *GetLockRequest) Reset() { *m = GetLockRequest{} } -func (m *GetLockRequest) String() string { return proto.CompactTextString(m) } -func (*GetLockRequest) ProtoMessage() {} -func (*GetLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{56} +func (x *GetLockRequest) Reset() { + *x = GetLockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetLockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLockRequest.Unmarshal(m, b) -} -func (m *GetLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLockRequest.Marshal(b, m, deterministic) -} -func (m *GetLockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLockRequest.Merge(m, src) -} -func (m *GetLockRequest) XXX_Size() int { - return xxx_messageInfo_GetLockRequest.Size(m) +func (x *GetLockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLockRequest.DiscardUnknown(m) + +func (*GetLockRequest) ProtoMessage() {} + +func (x *GetLockRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[56] + 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) } -var xxx_messageInfo_GetLockRequest proto.InternalMessageInfo +// Deprecated: Use GetLockRequest.ProtoReflect.Descriptor instead. +func (*GetLockRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{56} +} -func (m *GetLockRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetLockRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetLockRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *GetLockRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } type GetLockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -3795,59 +4247,67 @@ type GetLockResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The lock metadata - Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` } -func (m *GetLockResponse) Reset() { *m = GetLockResponse{} } -func (m *GetLockResponse) String() string { return proto.CompactTextString(m) } -func (*GetLockResponse) ProtoMessage() {} -func (*GetLockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{57} +func (x *GetLockResponse) Reset() { + *x = GetLockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetLockResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLockResponse.Unmarshal(m, b) -} -func (m *GetLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLockResponse.Marshal(b, m, deterministic) +func (x *GetLockResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLockResponse.Merge(m, src) -} -func (m *GetLockResponse) XXX_Size() int { - return xxx_messageInfo_GetLockResponse.Size(m) -} -func (m *GetLockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetLockResponse.DiscardUnknown(m) + +func (*GetLockResponse) ProtoMessage() {} + +func (x *GetLockResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[57] + 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) } -var xxx_messageInfo_GetLockResponse proto.InternalMessageInfo +// Deprecated: Use GetLockResponse.ProtoReflect.Descriptor instead. +func (*GetLockResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{57} +} -func (m *GetLockResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetLockResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetLockResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetLockResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetLockResponse) GetLock() *Lock { - if m != nil { - return m.Lock +func (x *GetLockResponse) GetLock() *Lock { + if x != nil { + return x.Lock } return nil } type RefreshLockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -3861,117 +4321,133 @@ type RefreshLockRequest struct { // The existing lock id. // This can be used to refresh the existing lock with a new lock while // checking if the lock holder sends the correct existing lock_id - ExistingLockId string `protobuf:"bytes,4,opt,name=existing_lock_id,json=existingLockId,proto3" json:"existing_lock_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExistingLockId string `protobuf:"bytes,4,opt,name=existing_lock_id,json=existingLockId,proto3" json:"existing_lock_id,omitempty"` } -func (m *RefreshLockRequest) Reset() { *m = RefreshLockRequest{} } -func (m *RefreshLockRequest) String() string { return proto.CompactTextString(m) } -func (*RefreshLockRequest) ProtoMessage() {} -func (*RefreshLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{58} +func (x *RefreshLockRequest) Reset() { + *x = RefreshLockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RefreshLockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RefreshLockRequest.Unmarshal(m, b) -} -func (m *RefreshLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RefreshLockRequest.Marshal(b, m, deterministic) -} -func (m *RefreshLockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RefreshLockRequest.Merge(m, src) -} -func (m *RefreshLockRequest) XXX_Size() int { - return xxx_messageInfo_RefreshLockRequest.Size(m) +func (x *RefreshLockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RefreshLockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RefreshLockRequest.DiscardUnknown(m) + +func (*RefreshLockRequest) ProtoMessage() {} + +func (x *RefreshLockRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[58] + 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) } -var xxx_messageInfo_RefreshLockRequest proto.InternalMessageInfo +// Deprecated: Use RefreshLockRequest.ProtoReflect.Descriptor instead. +func (*RefreshLockRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{58} +} -func (m *RefreshLockRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RefreshLockRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *RefreshLockRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *RefreshLockRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *RefreshLockRequest) GetLock() *Lock { - if m != nil { - return m.Lock +func (x *RefreshLockRequest) GetLock() *Lock { + if x != nil { + return x.Lock } return nil } -func (m *RefreshLockRequest) GetExistingLockId() string { - if m != nil { - return m.ExistingLockId +func (x *RefreshLockRequest) GetExistingLockId() string { + if x != nil { + return x.ExistingLockId } return "" } type RefreshLockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *RefreshLockResponse) Reset() { *m = RefreshLockResponse{} } -func (m *RefreshLockResponse) String() string { return proto.CompactTextString(m) } -func (*RefreshLockResponse) ProtoMessage() {} -func (*RefreshLockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{59} +func (x *RefreshLockResponse) Reset() { + *x = RefreshLockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RefreshLockResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RefreshLockResponse.Unmarshal(m, b) -} -func (m *RefreshLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RefreshLockResponse.Marshal(b, m, deterministic) -} -func (m *RefreshLockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RefreshLockResponse.Merge(m, src) -} -func (m *RefreshLockResponse) XXX_Size() int { - return xxx_messageInfo_RefreshLockResponse.Size(m) +func (x *RefreshLockResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RefreshLockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RefreshLockResponse.DiscardUnknown(m) + +func (*RefreshLockResponse) ProtoMessage() {} + +func (x *RefreshLockResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[59] + 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) } -var xxx_messageInfo_RefreshLockResponse proto.InternalMessageInfo +// Deprecated: Use RefreshLockResponse.ProtoReflect.Descriptor instead. +func (*RefreshLockResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{59} +} -func (m *RefreshLockResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *RefreshLockResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *RefreshLockResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RefreshLockResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type UnlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -3980,2697 +4456,2358 @@ type UnlockRequest struct { Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The lock metadata. - Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` } -func (m *UnlockRequest) Reset() { *m = UnlockRequest{} } -func (m *UnlockRequest) String() string { return proto.CompactTextString(m) } -func (*UnlockRequest) ProtoMessage() {} -func (*UnlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{60} +func (x *UnlockRequest) Reset() { + *x = UnlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UnlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnlockRequest.Unmarshal(m, b) -} -func (m *UnlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnlockRequest.Marshal(b, m, deterministic) +func (x *UnlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UnlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnlockRequest.Merge(m, src) -} -func (m *UnlockRequest) XXX_Size() int { - return xxx_messageInfo_UnlockRequest.Size(m) -} -func (m *UnlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UnlockRequest.DiscardUnknown(m) + +func (*UnlockRequest) ProtoMessage() {} + +func (x *UnlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[60] + 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) } -var xxx_messageInfo_UnlockRequest proto.InternalMessageInfo +// Deprecated: Use UnlockRequest.ProtoReflect.Descriptor instead. +func (*UnlockRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{60} +} -func (m *UnlockRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UnlockRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *UnlockRequest) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *UnlockRequest) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *UnlockRequest) GetLock() *Lock { - if m != nil { - return m.Lock +func (x *UnlockRequest) GetLock() *Lock { + if x != nil { + return x.Lock } return nil } type UnlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *UnlockResponse) Reset() { *m = UnlockResponse{} } -func (m *UnlockResponse) String() string { return proto.CompactTextString(m) } -func (*UnlockResponse) ProtoMessage() {} -func (*UnlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{61} +func (x *UnlockResponse) Reset() { + *x = UnlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UnlockResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnlockResponse.Unmarshal(m, b) -} -func (m *UnlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnlockResponse.Marshal(b, m, deterministic) -} -func (m *UnlockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnlockResponse.Merge(m, src) +func (x *UnlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UnlockResponse) XXX_Size() int { - return xxx_messageInfo_UnlockResponse.Size(m) -} -func (m *UnlockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UnlockResponse.DiscardUnknown(m) + +func (*UnlockResponse) ProtoMessage() {} + +func (x *UnlockResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[61] + 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) } -var xxx_messageInfo_UnlockResponse proto.InternalMessageInfo +// Deprecated: Use UnlockResponse.ProtoReflect.Descriptor instead. +func (*UnlockResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{61} +} -func (m *UnlockResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *UnlockResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *UnlockResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *UnlockResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type CreateHomeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // OPTIONAL. - Quota *Quota `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Quota *Quota `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"` } -func (m *CreateHomeRequest) Reset() { *m = CreateHomeRequest{} } -func (m *CreateHomeRequest) String() string { return proto.CompactTextString(m) } -func (*CreateHomeRequest) ProtoMessage() {} -func (*CreateHomeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{62} +func (x *CreateHomeRequest) Reset() { + *x = CreateHomeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateHomeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateHomeRequest.Unmarshal(m, b) -} -func (m *CreateHomeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateHomeRequest.Marshal(b, m, deterministic) +func (x *CreateHomeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateHomeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateHomeRequest.Merge(m, src) -} -func (m *CreateHomeRequest) XXX_Size() int { - return xxx_messageInfo_CreateHomeRequest.Size(m) -} -func (m *CreateHomeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateHomeRequest.DiscardUnknown(m) + +func (*CreateHomeRequest) ProtoMessage() {} + +func (x *CreateHomeRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[62] + 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) } -var xxx_messageInfo_CreateHomeRequest proto.InternalMessageInfo +// Deprecated: Use CreateHomeRequest.ProtoReflect.Descriptor instead. +func (*CreateHomeRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{62} +} -func (m *CreateHomeRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateHomeRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *CreateHomeRequest) GetQuota() *Quota { - if m != nil { - return m.Quota +func (x *CreateHomeRequest) GetQuota() *Quota { + if x != nil { + return x.Quota } return nil } type CreateHomeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *CreateHomeResponse) Reset() { *m = CreateHomeResponse{} } -func (m *CreateHomeResponse) String() string { return proto.CompactTextString(m) } -func (*CreateHomeResponse) ProtoMessage() {} -func (*CreateHomeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{63} +func (x *CreateHomeResponse) Reset() { + *x = CreateHomeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateHomeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateHomeResponse.Unmarshal(m, b) -} -func (m *CreateHomeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateHomeResponse.Marshal(b, m, deterministic) -} -func (m *CreateHomeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateHomeResponse.Merge(m, src) -} -func (m *CreateHomeResponse) XXX_Size() int { - return xxx_messageInfo_CreateHomeResponse.Size(m) +func (x *CreateHomeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateHomeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateHomeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateHomeResponse proto.InternalMessageInfo -func (m *CreateHomeResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status - } - return nil -} +func (*CreateHomeResponse) ProtoMessage() {} -func (m *CreateHomeResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *CreateHomeResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type CreateStorageSpaceRequest struct { - // OPTIONAL. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - // REQUIRED. - Owner *v1beta12.User `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - // OPTIONAL. - // Could be 'home', 'share', 'project', 'space'... - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - // OPTIONAL. - // User readable name of the storage space. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // OPTIONAL. - Quota *Quota `protobuf:"bytes,5,opt,name=quota,proto3" json:"quota,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateStorageSpaceRequest) Reset() { *m = CreateStorageSpaceRequest{} } -func (m *CreateStorageSpaceRequest) String() string { return proto.CompactTextString(m) } -func (*CreateStorageSpaceRequest) ProtoMessage() {} -func (*CreateStorageSpaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{64} -} +// Deprecated: Use CreateHomeResponse.ProtoReflect.Descriptor instead. +func (*CreateHomeResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP(), []int{63} +} + +func (x *CreateHomeResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status + } + return nil +} + +func (x *CreateHomeResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +var File_cs3_storage_provider_v1beta1_provider_api_proto protoreflect.FileDescriptor + +var file_cs3_storage_provider_v1beta1_provider_api_proto_rawDesc = []byte{ + 0x0a, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x1c, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, + 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, + 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, + 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x48, 0x6f, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x89, 0x01, 0x0a, + 0x0f, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0xd3, 0x01, 0x0a, 0x0f, 0x41, 0x64, 0x64, + 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x39, 0x0a, 0x05, 0x67, 0x72, + 0x61, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x05, + 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x76, + 0x0a, 0x10, 0x41, 0x64, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xda, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6e, 0x79, 0x47, + 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, + 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, 0x61, + 0x6e, 0x74, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, + 0x65, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, + 0x6b, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x11, 0x44, 0x65, 0x6e, 0x79, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x86, 0x01, 0x0a, + 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, + 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0x7d, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x10, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x46, 0x69, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, + 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0x77, 0x0a, 0x11, 0x54, 0x6f, 0x75, 0x63, 0x68, + 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x22, 0x96, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, + 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x0e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, + 0x8e, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x49, 0x64, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, + 0x22, 0x89, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x7f, 0x0a, 0x0f, + 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0xb6, 0x01, + 0x0a, 0x10, 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, + 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x64, 0x5f, + 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x75, 0x73, 0x65, + 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0xbe, 0x02, 0x0a, 0x19, 0x49, 0x6e, 0x69, 0x74, 0x69, + 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, + 0x65, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x66, 0x4e, 0x6f, + 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x08, 0x69, 0x66, 0x5f, 0x6d, 0x61, 0x74, + 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x69, 0x66, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x12, 0x4e, 0x0a, 0x13, 0x69, 0x66, 0x5f, 0x75, 0x6e, 0x6d, 0x6f, 0x64, 0x69, + 0x66, 0x69, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, + 0x52, 0x11, 0x69, 0x66, 0x55, 0x6e, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x69, + 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x42, 0x09, 0x0a, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd0, 0x01, 0x0a, 0x1a, 0x49, 0x6e, 0x69, 0x74, + 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4e, 0x0a, 0x09, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, + 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, + 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x1b, 0x49, + 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, + 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, + 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x64, 0x22, 0xd4, 0x01, 0x0a, 0x1c, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, + 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x50, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x09, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x22, 0xbd, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, + 0x74, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xdd, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, + 0x74, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, + 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, + 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb9, 0x02, 0x0a, 0x1a, 0x4c, 0x69, 0x73, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, + 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x36, 0x0a, 0x17, 0x61, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, + 0x72, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, + 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x39, 0x0a, + 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x09, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe9, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, + 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x22, 0xb3, 0x02, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, + 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x36, 0x0a, 0x17, 0x61, 0x72, 0x62, 0x69, 0x74, + 0x72, 0x61, 0x72, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6b, 0x65, + 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x72, 0x62, 0x69, 0x74, 0x72, + 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x12, + 0x39, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, + 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, + 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x05, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x05, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xc3, + 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, + 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xba, 0x02, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x35, + 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x66, + 0x72, 0x6f, 0x6d, 0x54, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x6f, 0x5f, 0x74, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x04, 0x74, 0x6f, 0x54, 0x73, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, + 0x72, 0x65, 0x66, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0xf1, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4e, 0x0a, + 0x0d, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, + 0x0c, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x26, 0x0a, + 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xc0, 0x02, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x6d, 0x54, 0x73, 0x12, 0x31, 0x0a, 0x05, + 0x74, 0x6f, 0x5f, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x6f, 0x54, 0x73, 0x12, + 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xf5, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x4c, 0x0a, 0x0c, 0x72, 0x65, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0b, 0x72, 0x65, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, + 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x22, 0xe5, 0x01, 0x0a, 0x0b, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x0c, 0x4d, 0x6f, 0x76, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x95, 0x01, 0x0a, + 0x13, 0x50, 0x75, 0x72, 0x67, 0x65, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, + 0x65, 0x66, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x22, 0x7a, 0x0a, 0x14, 0x50, 0x75, 0x72, 0x67, 0x65, 0x52, 0x65, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x22, 0xb4, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x17, + 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x80, 0x01, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x74, + 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xfe, 0x01, 0x0a, 0x19, 0x52, + 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, + 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x48, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x74, + 0x6f, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, + 0x65, 0x66, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x80, 0x01, 0x0a, 0x1a, + 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, + 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xd6, + 0x01, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, + 0x72, 0x65, 0x66, 0x12, 0x39, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x79, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x22, 0xee, 0x01, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, + 0x12, 0x36, 0x0a, 0x17, 0x61, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x15, 0x61, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, + 0x61, 0x73, 0x6b, 0x22, 0xb2, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x39, 0x0a, + 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x64, 0x22, 0x79, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x9c, 0x01, 0x0a, + 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, + 0x72, 0x65, 0x66, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x7b, 0x0a, 0x15, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, + 0x66, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x72, 0x69, + 0x22, 0x7d, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, + 0x84, 0x02, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x5e, 0x0a, + 0x12, 0x61, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, + 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x11, 0x61, 0x72, 0x62, 0x69, + 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x17, 0x0a, + 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x82, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x41, 0x72, + 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xde, 0x01, 0x0a, 0x1d, + 0x55, 0x6e, 0x73, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x36, 0x0a, 0x17, 0x61, + 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x72, + 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b, + 0x65, 0x79, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x84, 0x01, 0x0a, + 0x1e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x22, 0xb6, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x03, 0x72, 0x65, 0x66, 0x12, 0x36, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x75, 0x0a, 0x0f, + 0x53, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x22, 0x7e, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, + 0x72, 0x65, 0x66, 0x22, 0xad, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x6c, + 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x04, 0x6c, + 0x6f, 0x63, 0x6b, 0x22, 0xe4, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, + 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x36, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x69, 0x73, + 0x74, 0x69, 0x6e, 0x67, 0x4c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x79, 0x0a, 0x13, 0x52, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xb5, 0x01, 0x0a, 0x0d, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, + 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x36, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x74, 0x0a, + 0x0e, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x05, + 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, + 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x22, 0x78, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x32, 0xf4, 0x1d, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x50, + 0x49, 0x12, 0x69, 0x0a, 0x08, 0x41, 0x64, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x2d, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, + 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x47, + 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7e, 0x0a, 0x0f, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, + 0x34, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x09, + 0x54, 0x6f, 0x75, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x46, 0x69, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x46, 0x69, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x06, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6c, 0x0a, 0x09, 0x44, 0x65, 0x6e, 0x79, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x2e, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6e, 0x79, + 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6e, 0x79, + 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, + 0x07, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, + 0x61, 0x12, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x8d, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, + 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x39, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, + 0x65, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, + 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x87, 0x01, 0x0a, 0x12, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, + 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, + 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0a, 0x4c, 0x69, + 0x73, 0x74, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x61, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x13, + 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x12, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x78, 0x0a, 0x0d, 0x4c, 0x69, + 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x36, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, + 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, + 0x01, 0x12, 0x72, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, + 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x04, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x29, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x76, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x72, + 0x61, 0x6e, 0x74, 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x67, + 0x65, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x52, 0x65, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, + 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x87, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6c, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x12, 0x52, 0x65, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, + 0x12, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, + 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, + 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x29, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, + 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x7e, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x12, 0x34, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x8d, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, + 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, + 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x93, 0x01, 0x0a, 0x16, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, + 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, + 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x41, 0x72, 0x62, + 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x07, 0x53, 0x65, 0x74, 0x4c, 0x6f, 0x63, + 0x6b, 0x12, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, + 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0b, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, + 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4c, 0x6f, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4c, 0x6f, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x06, 0x55, 0x6e, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2b, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6f, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x12, 0x2f, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x66, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x12, 0x2c, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x6f, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x92, 0x02, 0x0a, 0x20, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x10, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, + 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, + 0x53, 0x50, 0xaa, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xca, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0xe2, 0x02, 0x28, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, 0x43, 0x73, + 0x33, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescOnce sync.Once + file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescData = file_cs3_storage_provider_v1beta1_provider_api_proto_rawDesc +) -func (m *CreateStorageSpaceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateStorageSpaceRequest.Unmarshal(m, b) -} -func (m *CreateStorageSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateStorageSpaceRequest.Marshal(b, m, deterministic) -} -func (m *CreateStorageSpaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateStorageSpaceRequest.Merge(m, src) -} -func (m *CreateStorageSpaceRequest) XXX_Size() int { - return xxx_messageInfo_CreateStorageSpaceRequest.Size(m) -} -func (m *CreateStorageSpaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateStorageSpaceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateStorageSpaceRequest proto.InternalMessageInfo - -func (m *CreateStorageSpaceRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *CreateStorageSpaceRequest) GetOwner() *v1beta12.User { - if m != nil { - return m.Owner - } - return nil -} - -func (m *CreateStorageSpaceRequest) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *CreateStorageSpaceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateStorageSpaceRequest) GetQuota() *Quota { - if m != nil { - return m.Quota - } - return nil -} - -type CreateStorageSpaceResponse struct { - // OPTIONAL. - // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - // REQUIRED. - // The response status. - Status *v1beta11.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - // REQUIRED. - // The created storage space. - StorageSpace *StorageSpace `protobuf:"bytes,3,opt,name=storage_space,json=storageSpace,proto3" json:"storage_space,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateStorageSpaceResponse) Reset() { *m = CreateStorageSpaceResponse{} } -func (m *CreateStorageSpaceResponse) String() string { return proto.CompactTextString(m) } -func (*CreateStorageSpaceResponse) ProtoMessage() {} -func (*CreateStorageSpaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{65} -} - -func (m *CreateStorageSpaceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateStorageSpaceResponse.Unmarshal(m, b) -} -func (m *CreateStorageSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateStorageSpaceResponse.Marshal(b, m, deterministic) -} -func (m *CreateStorageSpaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateStorageSpaceResponse.Merge(m, src) -} -func (m *CreateStorageSpaceResponse) XXX_Size() int { - return xxx_messageInfo_CreateStorageSpaceResponse.Size(m) -} -func (m *CreateStorageSpaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateStorageSpaceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateStorageSpaceResponse proto.InternalMessageInfo - -func (m *CreateStorageSpaceResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *CreateStorageSpaceResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *CreateStorageSpaceResponse) GetStorageSpace() *StorageSpace { - if m != nil { - return m.StorageSpace - } - return nil -} - -type ListStorageSpacesRequest struct { - // OPTIONAL. - // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - // OPTIONAL. - // The list of filters to apply if any. - Filters []*ListStorageSpacesRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - // OPTIONAL. - // The field mask applies to the resource. For the `FieldMask` definition, - // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - FieldMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` - // OPTIONAL. - // Clients use this field to specify the maximum number of results to be returned by the server. - // The server may further constrain the maximum number of results returned in a single page. - // If the page_size is 0, the server will decide the number of results to be returned. - // see https://cloud.google.com/apis/design/design_patterns#list_pagination - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // OPTIONAL. - // The client uses this field to request a specific page of the list results. - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListStorageSpacesRequest) Reset() { *m = ListStorageSpacesRequest{} } -func (m *ListStorageSpacesRequest) String() string { return proto.CompactTextString(m) } -func (*ListStorageSpacesRequest) ProtoMessage() {} -func (*ListStorageSpacesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{66} -} - -func (m *ListStorageSpacesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListStorageSpacesRequest.Unmarshal(m, b) -} -func (m *ListStorageSpacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListStorageSpacesRequest.Marshal(b, m, deterministic) -} -func (m *ListStorageSpacesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListStorageSpacesRequest.Merge(m, src) -} -func (m *ListStorageSpacesRequest) XXX_Size() int { - return xxx_messageInfo_ListStorageSpacesRequest.Size(m) -} -func (m *ListStorageSpacesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListStorageSpacesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListStorageSpacesRequest proto.InternalMessageInfo - -func (m *ListStorageSpacesRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *ListStorageSpacesRequest) GetFilters() []*ListStorageSpacesRequest_Filter { - if m != nil { - return m.Filters - } - return nil -} - -func (m *ListStorageSpacesRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask - } - return nil -} - -func (m *ListStorageSpacesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListStorageSpacesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Represents a filter to apply to the request. -type ListStorageSpacesRequest_Filter struct { - // REQUIRED. - Type ListStorageSpacesRequest_Filter_Type `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.ListStorageSpacesRequest_Filter_Type" json:"type,omitempty"` - // Types that are valid to be assigned to Term: - // *ListStorageSpacesRequest_Filter_Id - // *ListStorageSpacesRequest_Filter_Owner - // *ListStorageSpacesRequest_Filter_SpaceType - // *ListStorageSpacesRequest_Filter_Path - // *ListStorageSpacesRequest_Filter_User - Term isListStorageSpacesRequest_Filter_Term `protobuf_oneof:"term"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListStorageSpacesRequest_Filter) Reset() { *m = ListStorageSpacesRequest_Filter{} } -func (m *ListStorageSpacesRequest_Filter) String() string { return proto.CompactTextString(m) } -func (*ListStorageSpacesRequest_Filter) ProtoMessage() {} -func (*ListStorageSpacesRequest_Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{66, 0} -} - -func (m *ListStorageSpacesRequest_Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListStorageSpacesRequest_Filter.Unmarshal(m, b) -} -func (m *ListStorageSpacesRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListStorageSpacesRequest_Filter.Marshal(b, m, deterministic) -} -func (m *ListStorageSpacesRequest_Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListStorageSpacesRequest_Filter.Merge(m, src) -} -func (m *ListStorageSpacesRequest_Filter) XXX_Size() int { - return xxx_messageInfo_ListStorageSpacesRequest_Filter.Size(m) -} -func (m *ListStorageSpacesRequest_Filter) XXX_DiscardUnknown() { - xxx_messageInfo_ListStorageSpacesRequest_Filter.DiscardUnknown(m) -} - -var xxx_messageInfo_ListStorageSpacesRequest_Filter proto.InternalMessageInfo - -func (m *ListStorageSpacesRequest_Filter) GetType() ListStorageSpacesRequest_Filter_Type { - if m != nil { - return m.Type - } - return ListStorageSpacesRequest_Filter_TYPE_INVALID -} - -type isListStorageSpacesRequest_Filter_Term interface { - isListStorageSpacesRequest_Filter_Term() -} - -type ListStorageSpacesRequest_Filter_Id struct { - Id *StorageSpaceId `protobuf:"bytes,2,opt,name=id,proto3,oneof"` -} - -type ListStorageSpacesRequest_Filter_Owner struct { - Owner *v1beta12.UserId `protobuf:"bytes,3,opt,name=owner,proto3,oneof"` -} - -type ListStorageSpacesRequest_Filter_SpaceType struct { - SpaceType string `protobuf:"bytes,4,opt,name=space_type,json=spaceType,proto3,oneof"` -} - -type ListStorageSpacesRequest_Filter_Path struct { - Path string `protobuf:"bytes,5,opt,name=path,proto3,oneof"` -} - -type ListStorageSpacesRequest_Filter_User struct { - User *v1beta12.UserId `protobuf:"bytes,6,opt,name=user,proto3,oneof"` -} - -func (*ListStorageSpacesRequest_Filter_Id) isListStorageSpacesRequest_Filter_Term() {} - -func (*ListStorageSpacesRequest_Filter_Owner) isListStorageSpacesRequest_Filter_Term() {} - -func (*ListStorageSpacesRequest_Filter_SpaceType) isListStorageSpacesRequest_Filter_Term() {} - -func (*ListStorageSpacesRequest_Filter_Path) isListStorageSpacesRequest_Filter_Term() {} - -func (*ListStorageSpacesRequest_Filter_User) isListStorageSpacesRequest_Filter_Term() {} - -func (m *ListStorageSpacesRequest_Filter) GetTerm() isListStorageSpacesRequest_Filter_Term { - if m != nil { - return m.Term - } - return nil -} - -func (m *ListStorageSpacesRequest_Filter) GetId() *StorageSpaceId { - if x, ok := m.GetTerm().(*ListStorageSpacesRequest_Filter_Id); ok { - return x.Id - } - return nil -} - -func (m *ListStorageSpacesRequest_Filter) GetOwner() *v1beta12.UserId { - if x, ok := m.GetTerm().(*ListStorageSpacesRequest_Filter_Owner); ok { - return x.Owner - } - return nil -} - -func (m *ListStorageSpacesRequest_Filter) GetSpaceType() string { - if x, ok := m.GetTerm().(*ListStorageSpacesRequest_Filter_SpaceType); ok { - return x.SpaceType - } - return "" -} - -func (m *ListStorageSpacesRequest_Filter) GetPath() string { - if x, ok := m.GetTerm().(*ListStorageSpacesRequest_Filter_Path); ok { - return x.Path - } - return "" -} - -func (m *ListStorageSpacesRequest_Filter) GetUser() *v1beta12.UserId { - if x, ok := m.GetTerm().(*ListStorageSpacesRequest_Filter_User); ok { - return x.User - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListStorageSpacesRequest_Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListStorageSpacesRequest_Filter_Id)(nil), - (*ListStorageSpacesRequest_Filter_Owner)(nil), - (*ListStorageSpacesRequest_Filter_SpaceType)(nil), - (*ListStorageSpacesRequest_Filter_Path)(nil), - (*ListStorageSpacesRequest_Filter_User)(nil), - } -} - -type ListStorageSpacesResponse struct { - // OPTIONAL. - // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - // REQUIRED. - // The response status. - Status *v1beta11.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - // REQUIRED. - StorageSpaces []*StorageSpace `protobuf:"bytes,3,rep,name=storage_spaces,json=storageSpaces,proto3" json:"storage_spaces,omitempty"` - // OPTIONAL. - // This field represents the pagination token to retrieve the next page of results. - // If the value is "", it means no further results for the request. - // see https://cloud.google.com/apis/design/design_patterns#list_pagination - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListStorageSpacesResponse) Reset() { *m = ListStorageSpacesResponse{} } -func (m *ListStorageSpacesResponse) String() string { return proto.CompactTextString(m) } -func (*ListStorageSpacesResponse) ProtoMessage() {} -func (*ListStorageSpacesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{67} -} - -func (m *ListStorageSpacesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListStorageSpacesResponse.Unmarshal(m, b) -} -func (m *ListStorageSpacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListStorageSpacesResponse.Marshal(b, m, deterministic) -} -func (m *ListStorageSpacesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListStorageSpacesResponse.Merge(m, src) -} -func (m *ListStorageSpacesResponse) XXX_Size() int { - return xxx_messageInfo_ListStorageSpacesResponse.Size(m) -} -func (m *ListStorageSpacesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListStorageSpacesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListStorageSpacesResponse proto.InternalMessageInfo - -func (m *ListStorageSpacesResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *ListStorageSpacesResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *ListStorageSpacesResponse) GetStorageSpaces() []*StorageSpace { - if m != nil { - return m.StorageSpaces - } - return nil -} - -func (m *ListStorageSpacesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -type UpdateStorageSpaceRequest struct { - // OPTIONAL. - // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - // REQUIRED. - StorageSpace *StorageSpace `protobuf:"bytes,2,opt,name=storage_space,json=storageSpace,proto3" json:"storage_space,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateStorageSpaceRequest) Reset() { *m = UpdateStorageSpaceRequest{} } -func (m *UpdateStorageSpaceRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateStorageSpaceRequest) ProtoMessage() {} -func (*UpdateStorageSpaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{68} -} - -func (m *UpdateStorageSpaceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateStorageSpaceRequest.Unmarshal(m, b) -} -func (m *UpdateStorageSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateStorageSpaceRequest.Marshal(b, m, deterministic) -} -func (m *UpdateStorageSpaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateStorageSpaceRequest.Merge(m, src) -} -func (m *UpdateStorageSpaceRequest) XXX_Size() int { - return xxx_messageInfo_UpdateStorageSpaceRequest.Size(m) -} -func (m *UpdateStorageSpaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateStorageSpaceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateStorageSpaceRequest proto.InternalMessageInfo - -func (m *UpdateStorageSpaceRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *UpdateStorageSpaceRequest) GetStorageSpace() *StorageSpace { - if m != nil { - return m.StorageSpace - } - return nil -} - -type UpdateStorageSpaceResponse struct { - // OPTIONAL. - // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - // REQUIRED. - // The response status. - Status *v1beta11.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - // REQUIRED. - // The updated storage space. - StorageSpace *StorageSpace `protobuf:"bytes,3,opt,name=storage_space,json=storageSpace,proto3" json:"storage_space,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateStorageSpaceResponse) Reset() { *m = UpdateStorageSpaceResponse{} } -func (m *UpdateStorageSpaceResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateStorageSpaceResponse) ProtoMessage() {} -func (*UpdateStorageSpaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{69} -} - -func (m *UpdateStorageSpaceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateStorageSpaceResponse.Unmarshal(m, b) -} -func (m *UpdateStorageSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateStorageSpaceResponse.Marshal(b, m, deterministic) -} -func (m *UpdateStorageSpaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateStorageSpaceResponse.Merge(m, src) -} -func (m *UpdateStorageSpaceResponse) XXX_Size() int { - return xxx_messageInfo_UpdateStorageSpaceResponse.Size(m) -} -func (m *UpdateStorageSpaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateStorageSpaceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateStorageSpaceResponse proto.InternalMessageInfo - -func (m *UpdateStorageSpaceResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *UpdateStorageSpaceResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *UpdateStorageSpaceResponse) GetStorageSpace() *StorageSpace { - if m != nil { - return m.StorageSpace - } - return nil -} - -type DeleteStorageSpaceRequest struct { - // OPTIONAL. - // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - // REQUIRED. - Id *StorageSpaceId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteStorageSpaceRequest) Reset() { *m = DeleteStorageSpaceRequest{} } -func (m *DeleteStorageSpaceRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteStorageSpaceRequest) ProtoMessage() {} -func (*DeleteStorageSpaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{70} -} - -func (m *DeleteStorageSpaceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteStorageSpaceRequest.Unmarshal(m, b) -} -func (m *DeleteStorageSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteStorageSpaceRequest.Marshal(b, m, deterministic) -} -func (m *DeleteStorageSpaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteStorageSpaceRequest.Merge(m, src) -} -func (m *DeleteStorageSpaceRequest) XXX_Size() int { - return xxx_messageInfo_DeleteStorageSpaceRequest.Size(m) -} -func (m *DeleteStorageSpaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteStorageSpaceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteStorageSpaceRequest proto.InternalMessageInfo - -func (m *DeleteStorageSpaceRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *DeleteStorageSpaceRequest) GetId() *StorageSpaceId { - if m != nil { - return m.Id - } - return nil -} - -type DeleteStorageSpaceResponse struct { - // OPTIONAL. - // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - // REQUIRED. - // The response status. - Status *v1beta11.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteStorageSpaceResponse) Reset() { *m = DeleteStorageSpaceResponse{} } -func (m *DeleteStorageSpaceResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteStorageSpaceResponse) ProtoMessage() {} -func (*DeleteStorageSpaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d1968a7258bd7add, []int{71} -} - -func (m *DeleteStorageSpaceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteStorageSpaceResponse.Unmarshal(m, b) -} -func (m *DeleteStorageSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteStorageSpaceResponse.Marshal(b, m, deterministic) -} -func (m *DeleteStorageSpaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteStorageSpaceResponse.Merge(m, src) -} -func (m *DeleteStorageSpaceResponse) XXX_Size() int { - return xxx_messageInfo_DeleteStorageSpaceResponse.Size(m) -} -func (m *DeleteStorageSpaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteStorageSpaceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteStorageSpaceResponse proto.InternalMessageInfo - -func (m *DeleteStorageSpaceResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *DeleteStorageSpaceResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status - } - return nil -} - -func init() { - proto.RegisterEnum("cs3.storage.provider.v1beta1.ListStorageSpacesRequest_Filter_Type", ListStorageSpacesRequest_Filter_Type_name, ListStorageSpacesRequest_Filter_Type_value) - proto.RegisterType((*GetHomeRequest)(nil), "cs3.storage.provider.v1beta1.GetHomeRequest") - proto.RegisterType((*GetHomeResponse)(nil), "cs3.storage.provider.v1beta1.GetHomeResponse") - proto.RegisterType((*AddGrantRequest)(nil), "cs3.storage.provider.v1beta1.AddGrantRequest") - proto.RegisterType((*AddGrantResponse)(nil), "cs3.storage.provider.v1beta1.AddGrantResponse") - proto.RegisterType((*DenyGrantRequest)(nil), "cs3.storage.provider.v1beta1.DenyGrantRequest") - proto.RegisterType((*DenyGrantResponse)(nil), "cs3.storage.provider.v1beta1.DenyGrantResponse") - proto.RegisterType((*CreateContainerRequest)(nil), "cs3.storage.provider.v1beta1.CreateContainerRequest") - proto.RegisterType((*CreateContainerResponse)(nil), "cs3.storage.provider.v1beta1.CreateContainerResponse") - proto.RegisterType((*TouchFileRequest)(nil), "cs3.storage.provider.v1beta1.TouchFileRequest") - proto.RegisterType((*TouchFileResponse)(nil), "cs3.storage.provider.v1beta1.TouchFileResponse") - proto.RegisterType((*DeleteRequest)(nil), "cs3.storage.provider.v1beta1.DeleteRequest") - proto.RegisterType((*DeleteResponse)(nil), "cs3.storage.provider.v1beta1.DeleteResponse") - proto.RegisterType((*GetPathRequest)(nil), "cs3.storage.provider.v1beta1.GetPathRequest") - proto.RegisterType((*GetPathResponse)(nil), "cs3.storage.provider.v1beta1.GetPathResponse") - proto.RegisterType((*GetQuotaRequest)(nil), "cs3.storage.provider.v1beta1.GetQuotaRequest") - proto.RegisterType((*GetQuotaResponse)(nil), "cs3.storage.provider.v1beta1.GetQuotaResponse") - proto.RegisterType((*InitiateFileUploadRequest)(nil), "cs3.storage.provider.v1beta1.InitiateFileUploadRequest") - proto.RegisterType((*InitiateFileUploadResponse)(nil), "cs3.storage.provider.v1beta1.InitiateFileUploadResponse") - proto.RegisterType((*InitiateFileDownloadRequest)(nil), "cs3.storage.provider.v1beta1.InitiateFileDownloadRequest") - proto.RegisterType((*InitiateFileDownloadResponse)(nil), "cs3.storage.provider.v1beta1.InitiateFileDownloadResponse") - proto.RegisterType((*ListGrantsRequest)(nil), "cs3.storage.provider.v1beta1.ListGrantsRequest") - proto.RegisterType((*ListGrantsResponse)(nil), "cs3.storage.provider.v1beta1.ListGrantsResponse") - proto.RegisterType((*ListContainerStreamRequest)(nil), "cs3.storage.provider.v1beta1.ListContainerStreamRequest") - proto.RegisterType((*ListContainerStreamResponse)(nil), "cs3.storage.provider.v1beta1.ListContainerStreamResponse") - proto.RegisterType((*ListContainerRequest)(nil), "cs3.storage.provider.v1beta1.ListContainerRequest") - proto.RegisterType((*ListContainerResponse)(nil), "cs3.storage.provider.v1beta1.ListContainerResponse") - proto.RegisterType((*ListFileVersionsRequest)(nil), "cs3.storage.provider.v1beta1.ListFileVersionsRequest") - proto.RegisterType((*ListFileVersionsResponse)(nil), "cs3.storage.provider.v1beta1.ListFileVersionsResponse") - proto.RegisterType((*ListRecycleRequest)(nil), "cs3.storage.provider.v1beta1.ListRecycleRequest") - proto.RegisterType((*ListRecycleResponse)(nil), "cs3.storage.provider.v1beta1.ListRecycleResponse") - proto.RegisterType((*ListRecycleStreamRequest)(nil), "cs3.storage.provider.v1beta1.ListRecycleStreamRequest") - proto.RegisterType((*ListRecycleStreamResponse)(nil), "cs3.storage.provider.v1beta1.ListRecycleStreamResponse") - proto.RegisterType((*MoveRequest)(nil), "cs3.storage.provider.v1beta1.MoveRequest") - proto.RegisterType((*MoveResponse)(nil), "cs3.storage.provider.v1beta1.MoveResponse") - proto.RegisterType((*PurgeRecycleRequest)(nil), "cs3.storage.provider.v1beta1.PurgeRecycleRequest") - proto.RegisterType((*PurgeRecycleResponse)(nil), "cs3.storage.provider.v1beta1.PurgeRecycleResponse") - proto.RegisterType((*RestoreFileVersionRequest)(nil), "cs3.storage.provider.v1beta1.RestoreFileVersionRequest") - proto.RegisterType((*RestoreFileVersionResponse)(nil), "cs3.storage.provider.v1beta1.RestoreFileVersionResponse") - proto.RegisterType((*RestoreRecycleItemRequest)(nil), "cs3.storage.provider.v1beta1.RestoreRecycleItemRequest") - proto.RegisterType((*RestoreRecycleItemResponse)(nil), "cs3.storage.provider.v1beta1.RestoreRecycleItemResponse") - proto.RegisterType((*RemoveGrantRequest)(nil), "cs3.storage.provider.v1beta1.RemoveGrantRequest") - proto.RegisterType((*RemoveGrantResponse)(nil), "cs3.storage.provider.v1beta1.RemoveGrantResponse") - proto.RegisterType((*StatRequest)(nil), "cs3.storage.provider.v1beta1.StatRequest") - proto.RegisterType((*StatResponse)(nil), "cs3.storage.provider.v1beta1.StatResponse") - proto.RegisterType((*UpdateGrantRequest)(nil), "cs3.storage.provider.v1beta1.UpdateGrantRequest") - proto.RegisterType((*UpdateGrantResponse)(nil), "cs3.storage.provider.v1beta1.UpdateGrantResponse") - proto.RegisterType((*CreateSymlinkRequest)(nil), "cs3.storage.provider.v1beta1.CreateSymlinkRequest") - proto.RegisterType((*CreateSymlinkResponse)(nil), "cs3.storage.provider.v1beta1.CreateSymlinkResponse") - proto.RegisterType((*CreateReferenceRequest)(nil), "cs3.storage.provider.v1beta1.CreateReferenceRequest") - proto.RegisterType((*CreateReferenceResponse)(nil), "cs3.storage.provider.v1beta1.CreateReferenceResponse") - proto.RegisterType((*SetArbitraryMetadataRequest)(nil), "cs3.storage.provider.v1beta1.SetArbitraryMetadataRequest") - proto.RegisterType((*SetArbitraryMetadataResponse)(nil), "cs3.storage.provider.v1beta1.SetArbitraryMetadataResponse") - proto.RegisterType((*UnsetArbitraryMetadataRequest)(nil), "cs3.storage.provider.v1beta1.UnsetArbitraryMetadataRequest") - proto.RegisterType((*UnsetArbitraryMetadataResponse)(nil), "cs3.storage.provider.v1beta1.UnsetArbitraryMetadataResponse") - proto.RegisterType((*SetLockRequest)(nil), "cs3.storage.provider.v1beta1.SetLockRequest") - proto.RegisterType((*SetLockResponse)(nil), "cs3.storage.provider.v1beta1.SetLockResponse") - proto.RegisterType((*GetLockRequest)(nil), "cs3.storage.provider.v1beta1.GetLockRequest") - proto.RegisterType((*GetLockResponse)(nil), "cs3.storage.provider.v1beta1.GetLockResponse") - proto.RegisterType((*RefreshLockRequest)(nil), "cs3.storage.provider.v1beta1.RefreshLockRequest") - proto.RegisterType((*RefreshLockResponse)(nil), "cs3.storage.provider.v1beta1.RefreshLockResponse") - proto.RegisterType((*UnlockRequest)(nil), "cs3.storage.provider.v1beta1.UnlockRequest") - proto.RegisterType((*UnlockResponse)(nil), "cs3.storage.provider.v1beta1.UnlockResponse") - proto.RegisterType((*CreateHomeRequest)(nil), "cs3.storage.provider.v1beta1.CreateHomeRequest") - proto.RegisterType((*CreateHomeResponse)(nil), "cs3.storage.provider.v1beta1.CreateHomeResponse") - proto.RegisterType((*CreateStorageSpaceRequest)(nil), "cs3.storage.provider.v1beta1.CreateStorageSpaceRequest") - proto.RegisterType((*CreateStorageSpaceResponse)(nil), "cs3.storage.provider.v1beta1.CreateStorageSpaceResponse") - proto.RegisterType((*ListStorageSpacesRequest)(nil), "cs3.storage.provider.v1beta1.ListStorageSpacesRequest") - proto.RegisterType((*ListStorageSpacesRequest_Filter)(nil), "cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter") - proto.RegisterType((*ListStorageSpacesResponse)(nil), "cs3.storage.provider.v1beta1.ListStorageSpacesResponse") - proto.RegisterType((*UpdateStorageSpaceRequest)(nil), "cs3.storage.provider.v1beta1.UpdateStorageSpaceRequest") - proto.RegisterType((*UpdateStorageSpaceResponse)(nil), "cs3.storage.provider.v1beta1.UpdateStorageSpaceResponse") - proto.RegisterType((*DeleteStorageSpaceRequest)(nil), "cs3.storage.provider.v1beta1.DeleteStorageSpaceRequest") - proto.RegisterType((*DeleteStorageSpaceResponse)(nil), "cs3.storage.provider.v1beta1.DeleteStorageSpaceResponse") -} - -func init() { - proto.RegisterFile("cs3/storage/provider/v1beta1/provider_api.proto", fileDescriptor_d1968a7258bd7add) -} - -var fileDescriptor_d1968a7258bd7add = []byte{ - // 2749 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x5f, 0x6c, 0x1c, 0x47, - 0x19, 0xcf, 0x9c, 0xef, 0xce, 0xf6, 0x77, 0xfe, 0x73, 0x9e, 0xa4, 0x4d, 0xbc, 0x49, 0x48, 0x38, - 0x04, 0xb8, 0x21, 0x39, 0x27, 0x0e, 0x69, 0x1a, 0x5a, 0x5a, 0x6c, 0xc7, 0x89, 0x2d, 0x12, 0xe7, - 0xba, 0xb6, 0x53, 0x81, 0x52, 0x56, 0x9b, 0xbb, 0x39, 0x67, 0xe5, 0xbb, 0xdd, 0xcb, 0xee, 0x9c, - 0x93, 0x0b, 0xa2, 0xb4, 0x28, 0x6a, 0x85, 0x28, 0xbc, 0x20, 0x90, 0x90, 0x90, 0x90, 0x10, 0xbc, - 0x20, 0xf1, 0xc2, 0x9f, 0x4a, 0x20, 0x81, 0x90, 0x78, 0xeb, 0x13, 0x08, 0xc4, 0x03, 0x12, 0x3c, - 0x51, 0x09, 0x90, 0x40, 0xe2, 0x81, 0x17, 0x1e, 0x10, 0x9a, 0xd9, 0xd9, 0xbd, 0xdd, 0xbb, 0xbd, - 0x9b, 0x3d, 0xbb, 0xda, 0x4b, 0x5a, 0xde, 0x76, 0x67, 0xe6, 0xfb, 0xe6, 0xfb, 0x7e, 0xf3, 0xcd, - 0xb7, 0xdf, 0xce, 0xf7, 0x0d, 0xcc, 0x97, 0x9d, 0xf3, 0xf3, 0x0e, 0xb5, 0x6c, 0x7d, 0x9b, 0xcc, - 0x37, 0x6c, 0x6b, 0xd7, 0xa8, 0x10, 0x7b, 0x7e, 0xf7, 0xdc, 0x6d, 0x42, 0xf5, 0x73, 0x7e, 0x83, - 0xa6, 0x37, 0x8c, 0x62, 0xc3, 0xb6, 0xa8, 0x85, 0x8f, 0x95, 0x9d, 0xf3, 0x45, 0x41, 0x50, 0xf4, - 0xfa, 0x8b, 0x82, 0x40, 0x79, 0x8a, 0xb1, 0x33, 0x2a, 0xc4, 0xa4, 0x06, 0x6d, 0xcd, 0x37, 0x9d, - 0x00, 0x2f, 0x9b, 0x38, 0x56, 0xd3, 0x2e, 0x13, 0xc7, 0x65, 0xa4, 0x30, 0x46, 0xf3, 0x76, 0xa3, - 0xec, 0x0f, 0x70, 0xa8, 0x4e, 0x9b, 0x5e, 0xef, 0xe9, 0xbe, 0x72, 0x75, 0xf2, 0x3a, 0xce, 0x46, - 0xd3, 0x56, 0x83, 0x38, 0xfe, 0x10, 0xfe, 0x26, 0xba, 0x4f, 0x6e, 0x5b, 0xd6, 0x76, 0x8d, 0xf3, - 0xa1, 0xd6, 0xed, 0x66, 0x75, 0xbe, 0x6a, 0x90, 0x5a, 0x45, 0xab, 0xeb, 0xce, 0x8e, 0x3b, 0xa2, - 0xb0, 0x0c, 0x53, 0x57, 0x09, 0x5d, 0xb5, 0xea, 0x44, 0x25, 0x77, 0x9b, 0xc4, 0xa1, 0xf8, 0x1c, - 0x64, 0xad, 0x86, 0x7e, 0xb7, 0x49, 0x8e, 0xa0, 0x93, 0x68, 0x2e, 0xb7, 0x30, 0x5b, 0x64, 0x8a, - 0xbb, 0x5c, 0xc5, 0x1c, 0xc5, 0x1b, 0x7c, 0x80, 0x2a, 0x06, 0x16, 0xbe, 0x8c, 0x60, 0xda, 0xe7, - 0xe2, 0x34, 0x2c, 0xd3, 0x21, 0x78, 0x1e, 0xb2, 0xae, 0x5e, 0x82, 0xcd, 0x61, 0xce, 0xc6, 0x6e, - 0x94, 0x7d, 0x26, 0x1b, 0xbc, 0x5b, 0x15, 0xc3, 0x02, 0xf3, 0xa6, 0x62, 0xce, 0x8b, 0x31, 0xa4, - 0x1b, 0x3a, 0xbd, 0x73, 0x64, 0xe4, 0x24, 0x9a, 0x1b, 0x57, 0xf9, 0x73, 0xe1, 0x77, 0x08, 0xa6, - 0x17, 0x2b, 0x95, 0xab, 0xb6, 0x6e, 0xd2, 0xbd, 0xab, 0x84, 0x2f, 0xc1, 0x88, 0x4d, 0xaa, 0x42, - 0x94, 0x8f, 0x16, 0xfb, 0xad, 0x7d, 0x51, 0x25, 0x55, 0x62, 0x13, 0xb3, 0x4c, 0x54, 0x46, 0x83, - 0x2f, 0x41, 0x66, 0x9b, 0xcd, 0xce, 0xc5, 0xca, 0x2d, 0x7c, 0xa8, 0x3f, 0xb1, 0x2b, 0xa8, 0x4b, - 0x81, 0x0f, 0xc3, 0x68, 0xcd, 0x2a, 0xef, 0x68, 0x46, 0xe5, 0x48, 0x9a, 0xeb, 0x94, 0x65, 0xaf, - 0x6b, 0x95, 0xc2, 0x2e, 0xe4, 0xdb, 0x4a, 0x25, 0x87, 0x70, 0xe1, 0x8f, 0x08, 0xf2, 0x97, 0x89, - 0xd9, 0x1a, 0x22, 0x9c, 0x2f, 0xc0, 0x28, 0x07, 0x87, 0x10, 0x01, 0xe8, 0x87, 0x63, 0x00, 0x4a, - 0x88, 0xea, 0x51, 0xf5, 0x06, 0xf5, 0x1e, 0xcc, 0x04, 0x74, 0x4b, 0x10, 0xd5, 0xd7, 0x11, 0x3c, - 0xb9, 0x6c, 0x13, 0x9d, 0x92, 0x65, 0xcb, 0xa4, 0xba, 0x61, 0x12, 0x7b, 0x28, 0xd8, 0x16, 0xbe, - 0x00, 0x87, 0xbb, 0xe4, 0x48, 0x10, 0x87, 0x57, 0x11, 0xe4, 0x37, 0xad, 0x66, 0xf9, 0xce, 0x15, - 0xa3, 0x46, 0x86, 0x83, 0xc0, 0x3d, 0x98, 0x09, 0x48, 0x90, 0xa0, 0xee, 0xdf, 0x44, 0x30, 0x79, - 0x99, 0xd4, 0x08, 0x1d, 0x8e, 0xe2, 0xc1, 0x5d, 0x31, 0x12, 0xda, 0x15, 0x14, 0xa6, 0x3c, 0xb9, - 0x12, 0x84, 0xe3, 0x6b, 0x88, 0x7f, 0x88, 0x4a, 0x3a, 0xbd, 0xb3, 0x0f, 0x3c, 0xd6, 0x20, 0xe7, - 0x7d, 0x21, 0x99, 0x62, 0xee, 0xec, 0x73, 0x32, 0x5c, 0x5c, 0x82, 0xb5, 0x8a, 0x0a, 0xb6, 0xff, - 0xec, 0x7d, 0xd3, 0x5c, 0x81, 0x86, 0xfc, 0x4d, 0xfb, 0x22, 0x17, 0xe5, 0xc5, 0xa6, 0x45, 0xf5, - 0xe1, 0xec, 0x92, 0xb7, 0x10, 0xe4, 0xdb, 0x12, 0x24, 0x88, 0xc6, 0x09, 0xc8, 0x51, 0x8b, 0xea, - 0x35, 0xed, 0x76, 0x8b, 0x12, 0x87, 0x83, 0x92, 0x56, 0x81, 0x37, 0x2d, 0xb1, 0x16, 0x7c, 0x1c, - 0xa0, 0xe9, 0x90, 0x8a, 0xe8, 0x4f, 0xf3, 0xfe, 0x71, 0xd6, 0xc2, 0xbb, 0x0b, 0xbf, 0x4c, 0xc1, - 0xec, 0x9a, 0x69, 0x50, 0x43, 0xa7, 0x84, 0x6d, 0xf1, 0xad, 0x46, 0xcd, 0xd2, 0x2b, 0xc3, 0xd9, - 0x71, 0x05, 0x98, 0x30, 0xaa, 0x9a, 0x69, 0x51, 0x8d, 0xdc, 0x37, 0x1c, 0x37, 0x3c, 0x18, 0x5b, - 0x3d, 0xa0, 0x82, 0x51, 0x5d, 0xb7, 0xe8, 0x0a, 0x6b, 0xc3, 0x47, 0x61, 0xcc, 0xa8, 0x6a, 0x75, - 0x9d, 0x96, 0xef, 0xb8, 0x1f, 0xab, 0xd5, 0x03, 0xea, 0xa8, 0x51, 0xbd, 0xce, 0x1a, 0xf0, 0x3a, - 0x1c, 0x34, 0xaa, 0x5a, 0xd3, 0xac, 0x5b, 0x15, 0xa3, 0x6a, 0x90, 0x8a, 0xe6, 0x18, 0x66, 0x99, - 0x1c, 0xc9, 0x72, 0x59, 0x8e, 0x45, 0xc8, 0xbe, 0x69, 0xd4, 0x89, 0x43, 0xf5, 0x7a, 0x63, 0xf5, - 0x80, 0x3a, 0x63, 0x54, 0xb7, 0x7c, 0xca, 0x0d, 0x46, 0x18, 0x74, 0x01, 0x99, 0xa0, 0x0b, 0x58, - 0x1a, 0x87, 0x51, 0xab, 0x41, 0x0d, 0xcb, 0x74, 0x0a, 0xbf, 0x41, 0xa0, 0x44, 0x01, 0x98, 0xa0, - 0x0d, 0xac, 0xc3, 0x38, 0x8f, 0x55, 0xcb, 0x56, 0x8d, 0x59, 0xc0, 0xc8, 0x5c, 0x6e, 0xe1, 0x6c, - 0x7f, 0xe0, 0xdb, 0x82, 0x96, 0x04, 0xa1, 0xda, 0x66, 0x51, 0xf8, 0x1e, 0x82, 0xa3, 0x41, 0x95, - 0x2e, 0x5b, 0xf7, 0xcc, 0xe1, 0x59, 0x45, 0x4f, 0x3f, 0xfc, 0x7b, 0x04, 0xc7, 0xa2, 0xc5, 0x4c, - 0x10, 0xfb, 0x52, 0x37, 0xf6, 0x0b, 0x72, 0xec, 0x3d, 0x51, 0xa3, 0xd0, 0xff, 0x05, 0x82, 0x99, - 0x6b, 0x86, 0x43, 0x79, 0xd4, 0xe5, 0x0c, 0x07, 0xf3, 0xa3, 0x30, 0xde, 0xd0, 0xb7, 0x89, 0xe6, - 0x18, 0x0f, 0xdc, 0xa0, 0x32, 0xa3, 0x8e, 0xb1, 0x86, 0x0d, 0xe3, 0x01, 0x61, 0x1e, 0x85, 0x77, - 0x52, 0x6b, 0x87, 0x98, 0x22, 0x62, 0xe4, 0xc3, 0x37, 0x59, 0x43, 0xe1, 0x4f, 0x08, 0x70, 0x50, - 0xfe, 0x04, 0x17, 0xe3, 0x59, 0xc8, 0xf2, 0x98, 0xd6, 0x5b, 0x89, 0x58, 0x7f, 0x16, 0x82, 0x04, - 0x7f, 0x04, 0xa6, 0x4d, 0x72, 0x9f, 0x6a, 0x5d, 0xba, 0x4d, 0xb2, 0xe6, 0x92, 0xaf, 0xdf, 0xcf, - 0x52, 0xa0, 0x30, 0xfd, 0xfc, 0x88, 0x70, 0x83, 0xda, 0x44, 0xaf, 0x0f, 0x67, 0xa1, 0x9e, 0x86, - 0xc3, 0xba, 0x7d, 0xdb, 0xa0, 0xb6, 0x6e, 0xb7, 0xb4, 0x3a, 0xa1, 0x7a, 0x45, 0xa7, 0xba, 0xb6, - 0x43, 0x5a, 0x2e, 0x04, 0xe3, 0xea, 0x13, 0x7e, 0xf7, 0x75, 0xd1, 0xfb, 0x69, 0xd2, 0x72, 0xf0, - 0x25, 0x80, 0xf6, 0x9f, 0x2e, 0xd7, 0x33, 0xb7, 0xa0, 0x14, 0xdd, 0x9f, 0xe1, 0xa2, 0xf7, 0x33, - 0x5c, 0xbc, 0xc2, 0x86, 0x5c, 0xd7, 0x9d, 0x1d, 0x75, 0xbc, 0xea, 0x3d, 0x86, 0x6d, 0x23, 0xd3, - 0xd7, 0x36, 0xb2, 0x9d, 0xb6, 0xf1, 0x37, 0x04, 0x47, 0x23, 0xb1, 0x4b, 0xd0, 0x48, 0x9e, 0x87, - 0xb4, 0x61, 0x56, 0x2d, 0xf1, 0xaf, 0x74, 0x2a, 0x66, 0xec, 0x63, 0x56, 0x2d, 0x95, 0xd3, 0xc5, - 0xb6, 0x93, 0x1f, 0xa7, 0xe0, 0x50, 0x48, 0xd7, 0xff, 0x5b, 0x48, 0x0c, 0x0b, 0x79, 0x07, 0xc1, - 0x13, 0x1d, 0xa8, 0x25, 0x68, 0x1b, 0x9f, 0x82, 0x0c, 0x5b, 0x63, 0xcf, 0x7f, 0x0c, 0x62, 0x1c, - 0x2e, 0x61, 0x6c, 0xeb, 0xf8, 0x35, 0x82, 0xc3, 0x4c, 0x4f, 0xf6, 0x35, 0xb8, 0x49, 0x6c, 0x87, - 0xc5, 0x12, 0x8f, 0x9f, 0xaf, 0xff, 0x07, 0x82, 0x23, 0xdd, 0x5a, 0x24, 0xb8, 0x60, 0x2b, 0x30, - 0xb6, 0x2b, 0xe6, 0x15, 0x6b, 0xf6, 0x94, 0xfc, 0xeb, 0x2b, 0x24, 0x55, 0x7d, 0xd2, 0xd8, 0xab, - 0xf6, 0xf3, 0x94, 0xfb, 0x6d, 0x53, 0x49, 0xb9, 0x55, 0xde, 0xd7, 0x1f, 0xf9, 0x05, 0x18, 0xad, - 0xda, 0x56, 0x5d, 0xa3, 0x8e, 0x50, 0xb6, 0x6f, 0x78, 0xaa, 0x66, 0xd9, 0xe0, 0x4d, 0x06, 0x51, - 0x86, 0x5a, 0x1a, 0x75, 0x84, 0xf7, 0xea, 0x4f, 0x94, 0xa6, 0xd6, 0xa6, 0xe3, 0x99, 0x46, 0x7a, - 0x0f, 0xa6, 0x91, 0x87, 0x91, 0x1d, 0xd2, 0x12, 0xb1, 0x2f, 0x7b, 0x0c, 0x1b, 0x4b, 0xb6, 0xaf, - 0xb1, 0x8c, 0x76, 0x1a, 0xcb, 0xbf, 0x10, 0x1c, 0x0c, 0x81, 0x97, 0x68, 0x88, 0x3c, 0x69, 0xbb, - 0xd3, 0x6a, 0x06, 0x25, 0xf5, 0x98, 0xc6, 0x22, 0x24, 0x5d, 0xa3, 0xa4, 0xae, 0x4e, 0xd8, 0xed, - 0x97, 0xf8, 0x06, 0xf3, 0xab, 0x94, 0xbb, 0x41, 0x04, 0xa7, 0x7d, 0x87, 0x0a, 0xef, 0x43, 0xb3, - 0xf9, 0x37, 0x82, 0xd9, 0x08, 0x08, 0x13, 0x34, 0x9e, 0x6b, 0x30, 0x11, 0x34, 0x1e, 0x01, 0xe2, - 0x00, 0xb6, 0x93, 0x0b, 0xd8, 0x4e, 0x6c, 0xd3, 0x79, 0x07, 0x41, 0xee, 0xba, 0xb5, 0xbb, 0x1f, - 0x27, 0xf3, 0x02, 0x64, 0xdd, 0x2f, 0xd4, 0xa0, 0x1f, 0x06, 0x41, 0x86, 0xd7, 0x20, 0x57, 0x21, - 0x0e, 0x35, 0x4c, 0x9d, 0xfd, 0xec, 0x0a, 0xc5, 0x63, 0x73, 0x09, 0xd2, 0xf6, 0x3e, 0x64, 0xb6, - 0x61, 0xc2, 0x55, 0x33, 0xc1, 0xc3, 0xb4, 0x6f, 0x20, 0x38, 0x58, 0x6a, 0xda, 0xdb, 0x64, 0xff, - 0x8e, 0x7c, 0x1f, 0x5f, 0x5e, 0xb1, 0x4f, 0x46, 0xfc, 0x7d, 0x52, 0x78, 0x00, 0x87, 0xc2, 0x62, - 0x25, 0x88, 0xc9, 0x4f, 0x10, 0xcc, 0xaa, 0x84, 0xc9, 0x4e, 0x82, 0x1f, 0xc9, 0x47, 0x03, 0x99, - 0xde, 0xe6, 0xf3, 0x2a, 0x02, 0x25, 0x4a, 0xec, 0x04, 0x91, 0xfb, 0x6f, 0x1b, 0xb9, 0xe0, 0xae, - 0x7f, 0x44, 0x90, 0x5b, 0xe5, 0x47, 0xbe, 0x4c, 0x38, 0x6d, 0x0f, 0x0e, 0x1d, 0x6c, 0x4f, 0xb1, - 0x6a, 0xcf, 0xe3, 0xb0, 0xe0, 0x1a, 0x84, 0x00, 0x48, 0x70, 0x0d, 0xfe, 0x80, 0x00, 0xab, 0xa4, - 0x6e, 0xed, 0x92, 0xf7, 0x58, 0x62, 0xb3, 0x05, 0x07, 0x43, 0x7a, 0x25, 0x88, 0xe9, 0x3f, 0x11, - 0xe4, 0x18, 0x97, 0xf7, 0xcb, 0x8f, 0x6b, 0xe1, 0x47, 0x08, 0x26, 0x5c, 0x85, 0x1f, 0x9f, 0xf3, - 0x08, 0x6e, 0xf9, 0x5b, 0x8d, 0x8a, 0x4e, 0xdf, 0x83, 0x96, 0x1f, 0xd2, 0x2b, 0x41, 0xcb, 0xff, - 0x36, 0x82, 0x43, 0x6e, 0xde, 0x77, 0xa3, 0x55, 0xaf, 0x19, 0xe6, 0xce, 0x70, 0x50, 0x7d, 0x12, - 0xb2, 0x54, 0xb7, 0xb7, 0x09, 0xf5, 0x4e, 0xbe, 0xdd, 0xb7, 0xc2, 0xe7, 0xe1, 0x89, 0x0e, 0xe9, - 0x12, 0xc4, 0xe6, 0xfb, 0x7e, 0x6e, 0xbe, 0x2d, 0xed, 0x50, 0xd0, 0x39, 0x0e, 0xe0, 0xe2, 0xa1, - 0x35, 0x6d, 0x43, 0x20, 0x34, 0xee, 0xb6, 0x6c, 0xd9, 0x46, 0x3b, 0x75, 0x1f, 0x10, 0x33, 0x41, - 0x98, 0x1e, 0xa6, 0xe0, 0xe8, 0x06, 0xa1, 0x8b, 0x9d, 0x3e, 0x6a, 0x38, 0x58, 0x7d, 0x0e, 0x70, - 0xb7, 0x33, 0x15, 0x9b, 0x75, 0xbe, 0x3f, 0xa7, 0x6e, 0x0d, 0x66, 0xba, 0x1c, 0x6f, 0xef, 0x4d, - 0xfc, 0x25, 0x04, 0xc7, 0xa2, 0x61, 0x48, 0x70, 0x2d, 0xfe, 0x8c, 0xe0, 0xf8, 0x96, 0xe9, 0x3c, - 0x32, 0xab, 0xb1, 0xd7, 0x4f, 0x5b, 0x4f, 0x94, 0x1f, 0x22, 0xf8, 0x40, 0x2f, 0x05, 0x13, 0xc4, - 0xf9, 0x2d, 0x04, 0x53, 0x1b, 0x84, 0x5e, 0xb3, 0xca, 0x3b, 0xc3, 0x02, 0x36, 0xcd, 0x10, 0x11, - 0x86, 0x5d, 0xe8, 0x4f, 0xcb, 0xc5, 0xe4, 0xe3, 0x0b, 0x4d, 0x98, 0xf6, 0xe5, 0x4e, 0x10, 0xaf, - 0x57, 0x78, 0x49, 0xc7, 0xd0, 0xe0, 0x2a, 0xfc, 0xd0, 0x2d, 0xe1, 0x48, 0x5a, 0xef, 0x3d, 0x2f, - 0xd3, 0x5f, 0x78, 0x90, 0x5f, 0xb5, 0x89, 0x73, 0xe7, 0xb1, 0xb3, 0x31, 0x3c, 0x07, 0x79, 0x5e, - 0xd6, 0x60, 0x98, 0xdb, 0x5a, 0x78, 0x17, 0x4f, 0x79, 0xed, 0xd7, 0x02, 0x21, 0x7f, 0x40, 0xcb, - 0x04, 0x2d, 0xf2, 0xa7, 0x08, 0x26, 0xb7, 0xcc, 0xda, 0x63, 0xb7, 0x81, 0x29, 0x4c, 0x79, 0x62, - 0x27, 0x88, 0xd6, 0x6b, 0x08, 0x66, 0xdc, 0x18, 0x63, 0x7f, 0xf5, 0xc1, 0x2c, 0x7c, 0xbe, 0xdb, - 0xb4, 0xa8, 0x2e, 0xa6, 0x96, 0x84, 0xcf, 0x6e, 0x95, 0x91, 0x4b, 0x51, 0xb8, 0x0f, 0x38, 0x28, - 0x42, 0x82, 0xda, 0xff, 0x15, 0xc1, 0xac, 0x08, 0x43, 0x5d, 0x49, 0x37, 0x1a, 0x7a, 0x79, 0x7f, - 0x39, 0x91, 0x8c, 0x75, 0xcf, 0x24, 0xb6, 0x10, 0xe1, 0x04, 0xa7, 0xf0, 0x4a, 0xc6, 0x8b, 0x4d, - 0x27, 0x00, 0xc1, 0x96, 0x43, 0x6c, 0xd5, 0x1d, 0x8d, 0x31, 0xa4, 0x19, 0x5b, 0xaf, 0x20, 0x8c, - 0x3d, 0xb3, 0x36, 0x53, 0xaf, 0x13, 0xb1, 0xc1, 0xf8, 0x73, 0x1b, 0xe4, 0xcc, 0xc0, 0x20, 0xff, - 0x16, 0x81, 0x12, 0xa5, 0xaa, 0x40, 0x7b, 0x0f, 0xba, 0xb6, 0x17, 0x28, 0x15, 0x6f, 0x81, 0x6e, - 0xc0, 0xa4, 0x90, 0x55, 0x73, 0xd8, 0xe4, 0xf1, 0xfe, 0x17, 0x43, 0xe2, 0x4e, 0x38, 0x81, 0xb7, - 0xc2, 0xdf, 0x33, 0x6e, 0x6a, 0x22, 0x38, 0x64, 0x3f, 0x29, 0xc8, 0x97, 0x60, 0xb4, 0x6a, 0xd4, - 0x28, 0xb1, 0x99, 0x4a, 0x23, 0x73, 0xb9, 0x85, 0x4f, 0x4a, 0x76, 0x6f, 0x8f, 0xb9, 0x8b, 0x57, - 0x38, 0x17, 0xd5, 0xe3, 0xd6, 0xf1, 0x43, 0x3f, 0xb2, 0xe7, 0x4c, 0x74, 0xba, 0x6f, 0xde, 0x21, - 0xd3, 0x91, 0x77, 0x50, 0xde, 0x1e, 0x81, 0xac, 0x2b, 0x0a, 0xbe, 0x29, 0x2c, 0x8c, 0x61, 0x31, - 0xb5, 0xb0, 0xb4, 0x2f, 0xbd, 0x8a, 0x9b, 0xad, 0x06, 0x11, 0x56, 0xfa, 0x3c, 0xa4, 0xfc, 0x22, - 0xcc, 0xd3, 0xf1, 0x17, 0x72, 0xad, 0xb2, 0x7a, 0x40, 0x4d, 0x19, 0x15, 0x66, 0xd1, 0xee, 0x86, - 0x71, 0x41, 0xf9, 0xa0, 0x64, 0xc3, 0x70, 0x3a, 0xb1, 0x69, 0x4e, 0x00, 0x70, 0x33, 0xd2, 0xb8, - 0x62, 0x5e, 0x25, 0xdd, 0x38, 0x6f, 0x63, 0x12, 0xe2, 0x43, 0xa2, 0xcc, 0x32, 0x23, 0xba, 0xf8, - 0x1b, 0xbe, 0x08, 0x69, 0xc6, 0x56, 0x94, 0xd4, 0xc5, 0x9a, 0x90, 0x13, 0x14, 0x9a, 0x90, 0xe6, - 0x6c, 0xf3, 0x30, 0xb1, 0xf9, 0x99, 0xd2, 0x8a, 0xb6, 0xb6, 0x7e, 0x73, 0xf1, 0xda, 0xda, 0xe5, - 0xfc, 0x01, 0x9c, 0x83, 0x51, 0xde, 0xb2, 0x7e, 0x23, 0x8f, 0xfc, 0x97, 0xb5, 0xcb, 0xf9, 0x14, - 0x9e, 0x02, 0xe0, 0x2f, 0x37, 0x5e, 0x5a, 0x5f, 0x51, 0xf3, 0x23, 0xf8, 0x20, 0x4c, 0xf3, 0xf7, - 0x8d, 0xd2, 0xe2, 0xf2, 0x8a, 0xc6, 0x1e, 0xf3, 0x69, 0x3c, 0x09, 0xe3, 0xbc, 0xb1, 0xb4, 0xb8, - 0xb9, 0x9a, 0xcf, 0xf8, 0xaf, 0x5b, 0x1b, 0x2b, 0x6a, 0x3e, 0xbb, 0x94, 0x85, 0x34, 0x25, 0x76, - 0xbd, 0xf0, 0x1f, 0x91, 0x44, 0xea, 0x58, 0x98, 0x04, 0xf7, 0xef, 0x8b, 0x30, 0x15, 0xda, 0xbf, - 0x31, 0x6b, 0x0c, 0x42, 0x1b, 0x78, 0x32, 0xb8, 0x81, 0xe3, 0x27, 0x21, 0xbf, 0x83, 0x60, 0xd6, - 0x3d, 0x49, 0x79, 0x97, 0x1c, 0x75, 0x97, 0x2f, 0x4a, 0xed, 0xd3, 0x17, 0x31, 0xff, 0x1a, 0x25, - 0xe1, 0xe3, 0xec, 0x5f, 0xdf, 0x44, 0x30, 0xeb, 0xd6, 0x89, 0xbf, 0x4b, 0xa8, 0x3f, 0xb7, 0x57, - 0x6f, 0xc1, 0x7c, 0x05, 0x3f, 0xa3, 0x8f, 0x12, 0x27, 0x39, 0x88, 0x17, 0xbe, 0x55, 0x80, 0x5c, - 0x49, 0x88, 0xba, 0x58, 0x5a, 0xc3, 0x06, 0x8c, 0x79, 0x77, 0x76, 0xf0, 0x19, 0xc9, 0x21, 0x44, - 0xf8, 0xc2, 0x92, 0x52, 0x8c, 0x3b, 0x5c, 0xa8, 0xf7, 0x0a, 0x4c, 0x77, 0xdc, 0xe3, 0xc0, 0x1f, - 0xef, 0xcf, 0x22, 0xfa, 0xfa, 0x89, 0x72, 0x61, 0x40, 0x2a, 0x31, 0x7f, 0x0d, 0xc6, 0xfd, 0x5b, - 0x14, 0x58, 0x22, 0x7c, 0xe7, 0x85, 0x0f, 0x65, 0x3e, 0xf6, 0x78, 0x31, 0x5b, 0x19, 0xb2, 0xee, - 0x52, 0xe3, 0x8f, 0xf5, 0x27, 0x0d, 0xdd, 0xaf, 0x50, 0x4e, 0xc7, 0x1b, 0xdc, 0x56, 0xc9, 0xbf, - 0x1c, 0x24, 0x53, 0xa9, 0xf3, 0x86, 0x94, 0x4c, 0xa5, 0xee, 0x5b, 0x47, 0x55, 0x18, 0x15, 0x97, - 0x0d, 0xb0, 0x44, 0xcc, 0xf0, 0x25, 0x09, 0xe5, 0x4c, 0xcc, 0xd1, 0x62, 0x1e, 0x03, 0xc6, 0xbc, - 0x3a, 0x7e, 0x2c, 0x27, 0x0d, 0xde, 0x38, 0x90, 0xd9, 0x64, 0xd7, 0xf5, 0x80, 0xaf, 0x22, 0x38, - 0x14, 0x55, 0xbf, 0x8c, 0x2f, 0xf5, 0x67, 0xd4, 0xa7, 0x34, 0x5b, 0xf9, 0xc4, 0x5e, 0x48, 0x85, - 0x3c, 0x6f, 0x20, 0xc0, 0xdd, 0x95, 0xec, 0xf8, 0x62, 0x7c, 0x96, 0xa1, 0xcb, 0x03, 0xca, 0x33, - 0x83, 0x13, 0x0a, 0x49, 0x2c, 0x80, 0x76, 0x05, 0x31, 0x9e, 0x97, 0xc7, 0x5b, 0xa1, 0x5a, 0x69, - 0xe5, 0x6c, 0x7c, 0x02, 0x31, 0xe1, 0x9b, 0xa2, 0x34, 0xa9, 0xa3, 0x2e, 0x15, 0x3f, 0x23, 0xe7, - 0x14, 0x5d, 0x06, 0xac, 0x5c, 0xda, 0x03, 0xa5, 0x2b, 0xcc, 0x59, 0x84, 0xef, 0xc3, 0x64, 0x68, - 0x00, 0x5e, 0x18, 0x80, 0x9b, 0x27, 0xc1, 0xf9, 0x81, 0x68, 0x04, 0x10, 0xaf, 0x21, 0xc8, 0x77, - 0x16, 0xf4, 0xe1, 0x0b, 0x72, 0x4e, 0x11, 0x65, 0x8c, 0xca, 0xd3, 0x83, 0x92, 0x09, 0x19, 0x5e, - 0x17, 0x05, 0xf0, 0xa1, 0x82, 0x1f, 0x1c, 0x83, 0x5b, 0x54, 0x91, 0x95, 0x72, 0x71, 0x60, 0x3a, - 0x7f, 0x19, 0x6c, 0xc8, 0x05, 0xba, 0xf1, 0xd9, 0xd8, 0x9c, 0xbc, 0xb9, 0xcf, 0x0d, 0x40, 0x21, - 0x94, 0x7f, 0x19, 0xd2, 0xd7, 0xad, 0x5d, 0x82, 0x25, 0xd5, 0x45, 0x81, 0xc2, 0x20, 0xe5, 0x54, - 0x9c, 0xa1, 0x82, 0xbd, 0x0d, 0xb9, 0x40, 0x36, 0x59, 0xa6, 0x52, 0x77, 0x42, 0x5d, 0xa6, 0x52, - 0x54, 0xaa, 0xba, 0x09, 0x13, 0xc1, 0xa2, 0x16, 0x2c, 0x61, 0x11, 0x51, 0x97, 0xa3, 0x2c, 0x0c, - 0x42, 0x12, 0x70, 0x67, 0xdd, 0x85, 0x21, 0x32, 0x77, 0xd6, 0xb3, 0x02, 0x46, 0xe6, 0xce, 0xfa, - 0xd4, 0xa0, 0x04, 0x24, 0x09, 0x94, 0x47, 0xc4, 0x94, 0xa4, 0xbb, 0xa2, 0x24, 0xa6, 0x24, 0x51, - 0x95, 0x18, 0x2f, 0x43, 0x9a, 0xc5, 0x64, 0x32, 0xeb, 0x0a, 0x24, 0xfd, 0x95, 0x53, 0x71, 0x86, - 0xb6, 0xad, 0x2b, 0x90, 0xb1, 0x95, 0x59, 0x57, 0x77, 0xd2, 0x5a, 0x66, 0x5d, 0x51, 0xe9, 0xe0, - 0xfb, 0x30, 0x19, 0xca, 0x85, 0xca, 0x7c, 0x65, 0x54, 0x5a, 0x57, 0xe6, 0x2b, 0xa3, 0x93, 0xad, - 0x7e, 0x4c, 0xe9, 0x9f, 0x61, 0xc6, 0x8b, 0x29, 0x3b, 0xd3, 0xa6, 0xf1, 0x62, 0xca, 0xee, 0x2c, - 0x26, 0x8b, 0x1f, 0xa2, 0x52, 0x6b, 0xb2, 0xf8, 0xa1, 0x4f, 0x56, 0x52, 0x16, 0x3f, 0xf4, 0xcd, - 0xe4, 0x7d, 0x1d, 0xc1, 0x93, 0xd1, 0x49, 0x28, 0xfc, 0xac, 0x64, 0x5d, 0xfb, 0xe5, 0xe6, 0x94, - 0xe7, 0xf6, 0x46, 0xdc, 0x0e, 0x1c, 0x45, 0x6a, 0x47, 0x16, 0x38, 0x86, 0x33, 0x57, 0xb2, 0xc0, - 0xb1, 0x33, 0x5f, 0xe4, 0x06, 0xa8, 0x71, 0xe6, 0xb9, 0x3a, 0xd0, 0x3c, 0x9d, 0xf9, 0x19, 0xee, - 0xc1, 0xfd, 0xe4, 0x80, 0xdc, 0x83, 0x77, 0x66, 0x4b, 0xe4, 0x1e, 0xbc, 0x3b, 0xf3, 0x50, 0x86, - 0xac, 0x7b, 0xba, 0x2e, 0xfb, 0x9f, 0x08, 0xa5, 0x0e, 0x64, 0xff, 0x13, 0x1d, 0x07, 0xf6, 0x16, - 0x40, 0xfb, 0x20, 0x5b, 0x16, 0xf4, 0x75, 0x9d, 0xba, 0xcb, 0x82, 0xbe, 0x88, 0x33, 0x72, 0x77, - 0xc5, 0xf8, 0x6c, 0xf2, 0x15, 0x0b, 0x4e, 0x75, 0x26, 0xe6, 0xe8, 0x80, 0xfb, 0xef, 0x3e, 0x3c, - 0x96, 0xb9, 0xff, 0x9e, 0x27, 0xeb, 0x32, 0xf7, 0xdf, 0xe7, 0x9c, 0xfa, 0xa1, 0x88, 0xac, 0x42, - 0xa7, 0x60, 0x71, 0x22, 0xab, 0xa8, 0xf3, 0xcc, 0x38, 0x91, 0x55, 0xf4, 0x71, 0xdb, 0x1b, 0x7e, - 0xc5, 0xd2, 0x20, 0x80, 0xf4, 0x3c, 0xc1, 0x92, 0x01, 0xd2, 0xe7, 0x60, 0x89, 0x49, 0xd2, 0x7d, - 0x28, 0x22, 0x93, 0xa4, 0xe7, 0xa9, 0x8e, 0x4c, 0x92, 0xde, 0xe7, 0x2f, 0x4b, 0x5f, 0x41, 0x70, - 0xb2, 0x6c, 0xd5, 0xfb, 0xd2, 0x2f, 0xe5, 0xfd, 0xd3, 0x93, 0x86, 0xc1, 0xaf, 0x8e, 0x96, 0xd0, - 0x67, 0xa7, 0xbd, 0x51, 0x62, 0xd0, 0x77, 0x53, 0x23, 0xcb, 0x1b, 0xa5, 0x1f, 0xa4, 0x8e, 0x2d, - 0x3b, 0xe7, 0xbd, 0x73, 0xa0, 0xa2, 0x47, 0x57, 0xbc, 0x79, 0x6e, 0x89, 0x0d, 0x7a, 0x9b, 0x77, - 0xdf, 0x12, 0xdd, 0xb7, 0xbc, 0xee, 0x5b, 0xa2, 0xfb, 0x76, 0x96, 0x1f, 0xab, 0x9f, 0xff, 0x5f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x58, 0x37, 0x60, 0xa0, 0x04, 0x48, 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 - -// ProviderAPIClient is the client API for ProviderAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProviderAPIClient interface { - // Adds a new grant for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - AddGrant(ctx context.Context, in *AddGrantRequest, opts ...grpc.CallOption) (*AddGrantResponse, error) - // Creates a new resource of type container. - // MUST return CODE_FAILED_PRECONDITION if the container - // cannot be created at the specified reference. - CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) - // Creates a new resource of type file. - // MUST return CODE_FAILED_PRECONDITION if the file - // cannot be created at the specified reference. - TouchFile(ctx context.Context, in *TouchFileRequest, opts ...grpc.CallOption) (*TouchFileResponse, error) - // Deletes a resource. - // If a resource specifies the non-empty container (directory, ...), - // then the entire directory is deleted recursively. - // If a resource specifies a reference or symlink type, only the reference is removed (not the target). - // MUST return CODE_NOT_FOUND if the reference does not exist. - Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) - // Denies access to the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - DenyGrant(ctx context.Context, in *DenyGrantRequest, opts ...grpc.CallOption) (*DenyGrantResponse, error) - // Returns the path reference for - // the provided resource id reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - GetPath(ctx context.Context, in *GetPathRequest, opts ...grpc.CallOption) (*GetPathResponse, error) - // Returns the quota available under the provided - // reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. - GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*GetQuotaResponse, error) - // Initiates the download of a file using an - // out-of-band data transfer mechanism. - InitiateFileDownload(ctx context.Context, in *InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error) - // Initiates the upload of a file using an - // out-of-band data transfer mechanism. - InitiateFileUpload(ctx context.Context, in *InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error) - // Returns the list of grants for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListGrants(ctx context.Context, in *ListGrantsRequest, opts ...grpc.CallOption) (*ListGrantsResponse, error) - // Returns a stream of resource informations - // for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListContainerStream(ctx context.Context, in *ListContainerStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListContainerStreamClient, error) - // Returns a list of resource information - // for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListContainer(ctx context.Context, in *ListContainerRequest, opts ...grpc.CallOption) (*ListContainerResponse, error) - // Returns a list of the versions for a resource of - // type file at the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_OK and MUST return an empty list if no versions are available. - // TODO: What code if resource not of type file? - ListFileVersions(ctx context.Context, in *ListFileVersionsRequest, opts ...grpc.CallOption) (*ListFileVersionsResponse, error) - // Returns a stream of recycle items for this storage provider. - ListRecycleStream(ctx context.Context, in *ListRecycleStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListRecycleStreamClient, error) - // Returns a list of recycle items for this storage provider. - // MUST return CODE_OK and MUST return an empty list if no recycle items are available. - ListRecycle(ctx context.Context, in *ListRecycleRequest, opts ...grpc.CallOption) (*ListRecycleResponse, error) - // Moves a resource from one reference to another. - // MUST return CODE_NOT_FOUND if any of the references do not exist. - // MUST return CODE_FAILED_PRECONDITION if the source reference - // cannot be moved to the destination reference. - Move(ctx context.Context, in *MoveRequest, opts ...grpc.CallOption) (*MoveResponse, error) - // Removes a grant for the provided reference. - // This is recursive and atomic for directories. Does not follow references. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_NOT_FOUND if grant does not exist. - RemoveGrant(ctx context.Context, in *RemoveGrantRequest, opts ...grpc.CallOption) (*RemoveGrantResponse, error) - // Permanently removes a recycle item from the recycle. - // This operation is irrevocable. - // MUST return CODE_NOT_FOUND if the recycle item id does not exist. - PurgeRecycle(ctx context.Context, in *PurgeRecycleRequest, opts ...grpc.CallOption) (*PurgeRecycleResponse, error) - // Restores a file version for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_NOT_FOUND if the version does not exist. - RestoreFileVersion(ctx context.Context, in *RestoreFileVersionRequest, opts ...grpc.CallOption) (*RestoreFileVersionResponse, error) - // Restores a recycle item from the recycle. - // MUST return CODE_NOT_FOUND if the recycle item id does not exist. - // MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty - // and the recycle item cannot be restored to the restore_path. - RestoreRecycleItem(ctx context.Context, in *RestoreRecycleItemRequest, opts ...grpc.CallOption) (*RestoreRecycleItemResponse, error) - // Returns the resource information at the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) - // Updates an ACL for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the acl does not exist. - UpdateGrant(ctx context.Context, in *UpdateGrantRequest, opts ...grpc.CallOption) (*UpdateGrantResponse, error) - // Creates a symlink to another resource. - CreateSymlink(ctx context.Context, in *CreateSymlinkRequest, opts ...grpc.CallOption) (*CreateSymlinkResponse, error) - // Creates a reference to another resource in the same cluster or another domain (OCM shares). - // The references resource can be accessed by the protocol specificied in the request message. - CreateReference(ctx context.Context, in *CreateReferenceRequest, opts ...grpc.CallOption) (*CreateReferenceResponse, error) - // Sets arbitrary metadata into a storage resource. - // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. - SetArbitraryMetadata(ctx context.Context, in *SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*SetArbitraryMetadataResponse, error) - // Unsets arbitrary metdata into a storage resource. - // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. - UnsetArbitraryMetadata(ctx context.Context, in *UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*UnsetArbitraryMetadataResponse, error) - // Locks a storage resource. Note that if the resource is a container, - // MAY return CODE_NOT_IMPLEMENTED as the behavior is yet to be defined at this stage. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. - // In addition, the implementation MUST ensure atomicity when multiple users - // concurrently attempt to set a lock. - // The caller MUST have write permissions on the resource. - SetLock(ctx context.Context, in *SetLockRequest, opts ...grpc.CallOption) (*SetLockResponse, error) - // Gets the lock metadata of a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. - // The caller MUST have read permissions on the resource. - GetLock(ctx context.Context, in *GetLockRequest, opts ...grpc.CallOption) (*GetLockResponse, error) - // Refreshes the lock metadata of a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_PRECONDITION_FALIED if the reference is not locked - // or if the caller does not hold the lock. - // The caller MUST have write permissions on the resource. - RefreshLock(ctx context.Context, in *RefreshLockRequest, opts ...grpc.CallOption) (*RefreshLockResponse, error) - // Unlocks a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is not locked - // or if the caller does not hold the lock. - // The caller MUST have write permissions on the resource. - Unlock(ctx context.Context, in *UnlockRequest, opts ...grpc.CallOption) (*UnlockResponse, error) - // Creates the home directory for a user. - CreateHome(ctx context.Context, in *CreateHomeRequest, opts ...grpc.CallOption) (*CreateHomeResponse, error) - // Gets the home path for the user. - GetHome(ctx context.Context, in *GetHomeRequest, opts ...grpc.CallOption) (*GetHomeResponse, error) - // Creates a storage space. - CreateStorageSpace(ctx context.Context, in *CreateStorageSpaceRequest, opts ...grpc.CallOption) (*CreateStorageSpaceResponse, error) - // Lists storage spaces. - ListStorageSpaces(ctx context.Context, in *ListStorageSpacesRequest, opts ...grpc.CallOption) (*ListStorageSpacesResponse, error) - // Updates a storage space. - UpdateStorageSpace(ctx context.Context, in *UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*UpdateStorageSpaceResponse, error) - // Deletes a storage space. - DeleteStorageSpace(ctx context.Context, in *DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*DeleteStorageSpaceResponse, error) -} - -type providerAPIClient struct { - cc *grpc.ClientConn -} - -func NewProviderAPIClient(cc *grpc.ClientConn) ProviderAPIClient { - return &providerAPIClient{cc} -} - -func (c *providerAPIClient) AddGrant(ctx context.Context, in *AddGrantRequest, opts ...grpc.CallOption) (*AddGrantResponse, error) { - out := new(AddGrantResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/AddGrant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) { - out := new(CreateContainerResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/CreateContainer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) TouchFile(ctx context.Context, in *TouchFileRequest, opts ...grpc.CallOption) (*TouchFileResponse, error) { - out := new(TouchFileResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/TouchFile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) { - out := new(DeleteResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) DenyGrant(ctx context.Context, in *DenyGrantRequest, opts ...grpc.CallOption) (*DenyGrantResponse, error) { - out := new(DenyGrantResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/DenyGrant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) GetPath(ctx context.Context, in *GetPathRequest, opts ...grpc.CallOption) (*GetPathResponse, error) { - out := new(GetPathResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/GetPath", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*GetQuotaResponse, error) { - out := new(GetQuotaResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/GetQuota", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) InitiateFileDownload(ctx context.Context, in *InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error) { - out := new(InitiateFileDownloadResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/InitiateFileDownload", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) InitiateFileUpload(ctx context.Context, in *InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error) { - out := new(InitiateFileUploadResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/InitiateFileUpload", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) ListGrants(ctx context.Context, in *ListGrantsRequest, opts ...grpc.CallOption) (*ListGrantsResponse, error) { - out := new(ListGrantsResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/ListGrants", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) ListContainerStream(ctx context.Context, in *ListContainerStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListContainerStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_ProviderAPI_serviceDesc.Streams[0], "/cs3.storage.provider.v1beta1.ProviderAPI/ListContainerStream", opts...) - if err != nil { - return nil, err - } - x := &providerAPIListContainerStreamClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type ProviderAPI_ListContainerStreamClient interface { - Recv() (*ListContainerStreamResponse, error) - grpc.ClientStream -} - -type providerAPIListContainerStreamClient struct { - grpc.ClientStream -} - -func (x *providerAPIListContainerStreamClient) Recv() (*ListContainerStreamResponse, error) { - m := new(ListContainerStreamResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *providerAPIClient) ListContainer(ctx context.Context, in *ListContainerRequest, opts ...grpc.CallOption) (*ListContainerResponse, error) { - out := new(ListContainerResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/ListContainer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) ListFileVersions(ctx context.Context, in *ListFileVersionsRequest, opts ...grpc.CallOption) (*ListFileVersionsResponse, error) { - out := new(ListFileVersionsResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/ListFileVersions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) ListRecycleStream(ctx context.Context, in *ListRecycleStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListRecycleStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_ProviderAPI_serviceDesc.Streams[1], "/cs3.storage.provider.v1beta1.ProviderAPI/ListRecycleStream", opts...) - if err != nil { - return nil, err - } - x := &providerAPIListRecycleStreamClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type ProviderAPI_ListRecycleStreamClient interface { - Recv() (*ListRecycleStreamResponse, error) - grpc.ClientStream -} - -type providerAPIListRecycleStreamClient struct { - grpc.ClientStream -} - -func (x *providerAPIListRecycleStreamClient) Recv() (*ListRecycleStreamResponse, error) { - m := new(ListRecycleStreamResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *providerAPIClient) ListRecycle(ctx context.Context, in *ListRecycleRequest, opts ...grpc.CallOption) (*ListRecycleResponse, error) { - out := new(ListRecycleResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/ListRecycle", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) Move(ctx context.Context, in *MoveRequest, opts ...grpc.CallOption) (*MoveResponse, error) { - out := new(MoveResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/Move", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) RemoveGrant(ctx context.Context, in *RemoveGrantRequest, opts ...grpc.CallOption) (*RemoveGrantResponse, error) { - out := new(RemoveGrantResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/RemoveGrant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) PurgeRecycle(ctx context.Context, in *PurgeRecycleRequest, opts ...grpc.CallOption) (*PurgeRecycleResponse, error) { - out := new(PurgeRecycleResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/PurgeRecycle", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) RestoreFileVersion(ctx context.Context, in *RestoreFileVersionRequest, opts ...grpc.CallOption) (*RestoreFileVersionResponse, error) { - out := new(RestoreFileVersionResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/RestoreFileVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) RestoreRecycleItem(ctx context.Context, in *RestoreRecycleItemRequest, opts ...grpc.CallOption) (*RestoreRecycleItemResponse, error) { - out := new(RestoreRecycleItemResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/RestoreRecycleItem", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) { - out := new(StatResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/Stat", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) UpdateGrant(ctx context.Context, in *UpdateGrantRequest, opts ...grpc.CallOption) (*UpdateGrantResponse, error) { - out := new(UpdateGrantResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/UpdateGrant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) CreateSymlink(ctx context.Context, in *CreateSymlinkRequest, opts ...grpc.CallOption) (*CreateSymlinkResponse, error) { - out := new(CreateSymlinkResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/CreateSymlink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) CreateReference(ctx context.Context, in *CreateReferenceRequest, opts ...grpc.CallOption) (*CreateReferenceResponse, error) { - out := new(CreateReferenceResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/CreateReference", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) SetArbitraryMetadata(ctx context.Context, in *SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*SetArbitraryMetadataResponse, error) { - out := new(SetArbitraryMetadataResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/SetArbitraryMetadata", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) UnsetArbitraryMetadata(ctx context.Context, in *UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*UnsetArbitraryMetadataResponse, error) { - out := new(UnsetArbitraryMetadataResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/UnsetArbitraryMetadata", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) SetLock(ctx context.Context, in *SetLockRequest, opts ...grpc.CallOption) (*SetLockResponse, error) { - out := new(SetLockResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/SetLock", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) GetLock(ctx context.Context, in *GetLockRequest, opts ...grpc.CallOption) (*GetLockResponse, error) { - out := new(GetLockResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/GetLock", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) RefreshLock(ctx context.Context, in *RefreshLockRequest, opts ...grpc.CallOption) (*RefreshLockResponse, error) { - out := new(RefreshLockResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/RefreshLock", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) Unlock(ctx context.Context, in *UnlockRequest, opts ...grpc.CallOption) (*UnlockResponse, error) { - out := new(UnlockResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/Unlock", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) CreateHome(ctx context.Context, in *CreateHomeRequest, opts ...grpc.CallOption) (*CreateHomeResponse, error) { - out := new(CreateHomeResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/CreateHome", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) GetHome(ctx context.Context, in *GetHomeRequest, opts ...grpc.CallOption) (*GetHomeResponse, error) { - out := new(GetHomeResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/GetHome", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) CreateStorageSpace(ctx context.Context, in *CreateStorageSpaceRequest, opts ...grpc.CallOption) (*CreateStorageSpaceResponse, error) { - out := new(CreateStorageSpaceResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/CreateStorageSpace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) ListStorageSpaces(ctx context.Context, in *ListStorageSpacesRequest, opts ...grpc.CallOption) (*ListStorageSpacesResponse, error) { - out := new(ListStorageSpacesResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/ListStorageSpaces", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) UpdateStorageSpace(ctx context.Context, in *UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*UpdateStorageSpaceResponse, error) { - out := new(UpdateStorageSpaceResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/UpdateStorageSpace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAPIClient) DeleteStorageSpace(ctx context.Context, in *DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*DeleteStorageSpaceResponse, error) { - out := new(DeleteStorageSpaceResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.provider.v1beta1.ProviderAPI/DeleteStorageSpace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ProviderAPIServer is the server API for ProviderAPI service. -type ProviderAPIServer interface { - // Adds a new grant for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - AddGrant(context.Context, *AddGrantRequest) (*AddGrantResponse, error) - // Creates a new resource of type container. - // MUST return CODE_FAILED_PRECONDITION if the container - // cannot be created at the specified reference. - CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) - // Creates a new resource of type file. - // MUST return CODE_FAILED_PRECONDITION if the file - // cannot be created at the specified reference. - TouchFile(context.Context, *TouchFileRequest) (*TouchFileResponse, error) - // Deletes a resource. - // If a resource specifies the non-empty container (directory, ...), - // then the entire directory is deleted recursively. - // If a resource specifies a reference or symlink type, only the reference is removed (not the target). - // MUST return CODE_NOT_FOUND if the reference does not exist. - Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) - // Denies access to the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - DenyGrant(context.Context, *DenyGrantRequest) (*DenyGrantResponse, error) - // Returns the path reference for - // the provided resource id reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - GetPath(context.Context, *GetPathRequest) (*GetPathResponse, error) - // Returns the quota available under the provided - // reference. - // MUST return CODE_NOT_FOUND if the reference does not exist - // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. - GetQuota(context.Context, *GetQuotaRequest) (*GetQuotaResponse, error) - // Initiates the download of a file using an - // out-of-band data transfer mechanism. - InitiateFileDownload(context.Context, *InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error) - // Initiates the upload of a file using an - // out-of-band data transfer mechanism. - InitiateFileUpload(context.Context, *InitiateFileUploadRequest) (*InitiateFileUploadResponse, error) - // Returns the list of grants for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListGrants(context.Context, *ListGrantsRequest) (*ListGrantsResponse, error) - // Returns a stream of resource informations - // for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListContainerStream(*ListContainerStreamRequest, ProviderAPI_ListContainerStreamServer) error - // Returns a list of resource information - // for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exists. - ListContainer(context.Context, *ListContainerRequest) (*ListContainerResponse, error) - // Returns a list of the versions for a resource of - // type file at the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_OK and MUST return an empty list if no versions are available. - // TODO: What code if resource not of type file? - ListFileVersions(context.Context, *ListFileVersionsRequest) (*ListFileVersionsResponse, error) - // Returns a stream of recycle items for this storage provider. - ListRecycleStream(*ListRecycleStreamRequest, ProviderAPI_ListRecycleStreamServer) error - // Returns a list of recycle items for this storage provider. - // MUST return CODE_OK and MUST return an empty list if no recycle items are available. - ListRecycle(context.Context, *ListRecycleRequest) (*ListRecycleResponse, error) - // Moves a resource from one reference to another. - // MUST return CODE_NOT_FOUND if any of the references do not exist. - // MUST return CODE_FAILED_PRECONDITION if the source reference - // cannot be moved to the destination reference. - Move(context.Context, *MoveRequest) (*MoveResponse, error) - // Removes a grant for the provided reference. - // This is recursive and atomic for directories. Does not follow references. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_NOT_FOUND if grant does not exist. - RemoveGrant(context.Context, *RemoveGrantRequest) (*RemoveGrantResponse, error) - // Permanently removes a recycle item from the recycle. - // This operation is irrevocable. - // MUST return CODE_NOT_FOUND if the recycle item id does not exist. - PurgeRecycle(context.Context, *PurgeRecycleRequest) (*PurgeRecycleResponse, error) - // Restores a file version for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_NOT_FOUND if the version does not exist. - RestoreFileVersion(context.Context, *RestoreFileVersionRequest) (*RestoreFileVersionResponse, error) - // Restores a recycle item from the recycle. - // MUST return CODE_NOT_FOUND if the recycle item id does not exist. - // MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty - // and the recycle item cannot be restored to the restore_path. - RestoreRecycleItem(context.Context, *RestoreRecycleItemRequest) (*RestoreRecycleItemResponse, error) - // Returns the resource information at the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - Stat(context.Context, *StatRequest) (*StatResponse, error) - // Updates an ACL for the provided reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the acl does not exist. - UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error) - // Creates a symlink to another resource. - CreateSymlink(context.Context, *CreateSymlinkRequest) (*CreateSymlinkResponse, error) - // Creates a reference to another resource in the same cluster or another domain (OCM shares). - // The references resource can be accessed by the protocol specificied in the request message. - CreateReference(context.Context, *CreateReferenceRequest) (*CreateReferenceResponse, error) - // Sets arbitrary metadata into a storage resource. - // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. - SetArbitraryMetadata(context.Context, *SetArbitraryMetadataRequest) (*SetArbitraryMetadataResponse, error) - // Unsets arbitrary metdata into a storage resource. - // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. - UnsetArbitraryMetadata(context.Context, *UnsetArbitraryMetadataRequest) (*UnsetArbitraryMetadataResponse, error) - // Locks a storage resource. Note that if the resource is a container, - // MAY return CODE_NOT_IMPLEMENTED as the behavior is yet to be defined at this stage. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. - // In addition, the implementation MUST ensure atomicity when multiple users - // concurrently attempt to set a lock. - // The caller MUST have write permissions on the resource. - SetLock(context.Context, *SetLockRequest) (*SetLockResponse, error) - // Gets the lock metadata of a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. - // The caller MUST have read permissions on the resource. - GetLock(context.Context, *GetLockRequest) (*GetLockResponse, error) - // Refreshes the lock metadata of a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_PRECONDITION_FALIED if the reference is not locked - // or if the caller does not hold the lock. - // The caller MUST have write permissions on the resource. - RefreshLock(context.Context, *RefreshLockRequest) (*RefreshLockResponse, error) - // Unlocks a storage resource. - // MUST return CODE_NOT_FOUND if the reference does not exist. - // MUST return CODE_FAILED_PRECONDITION if the reference is not locked - // or if the caller does not hold the lock. - // The caller MUST have write permissions on the resource. - Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error) - // Creates the home directory for a user. - CreateHome(context.Context, *CreateHomeRequest) (*CreateHomeResponse, error) - // Gets the home path for the user. - GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error) - // Creates a storage space. - CreateStorageSpace(context.Context, *CreateStorageSpaceRequest) (*CreateStorageSpaceResponse, error) - // Lists storage spaces. - ListStorageSpaces(context.Context, *ListStorageSpacesRequest) (*ListStorageSpacesResponse, error) - // Updates a storage space. - UpdateStorageSpace(context.Context, *UpdateStorageSpaceRequest) (*UpdateStorageSpaceResponse, error) - // Deletes a storage space. - DeleteStorageSpace(context.Context, *DeleteStorageSpaceRequest) (*DeleteStorageSpaceResponse, error) -} - -// UnimplementedProviderAPIServer can be embedded to have forward compatible implementations. -type UnimplementedProviderAPIServer struct { -} - -func (*UnimplementedProviderAPIServer) AddGrant(ctx context.Context, req *AddGrantRequest) (*AddGrantResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddGrant not implemented") -} -func (*UnimplementedProviderAPIServer) CreateContainer(ctx context.Context, req *CreateContainerRequest) (*CreateContainerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateContainer not implemented") -} -func (*UnimplementedProviderAPIServer) TouchFile(ctx context.Context, req *TouchFileRequest) (*TouchFileResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TouchFile not implemented") -} -func (*UnimplementedProviderAPIServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedProviderAPIServer) DenyGrant(ctx context.Context, req *DenyGrantRequest) (*DenyGrantResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DenyGrant not implemented") -} -func (*UnimplementedProviderAPIServer) GetPath(ctx context.Context, req *GetPathRequest) (*GetPathResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPath not implemented") -} -func (*UnimplementedProviderAPIServer) GetQuota(ctx context.Context, req *GetQuotaRequest) (*GetQuotaResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetQuota not implemented") -} -func (*UnimplementedProviderAPIServer) InitiateFileDownload(ctx context.Context, req *InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InitiateFileDownload not implemented") -} -func (*UnimplementedProviderAPIServer) InitiateFileUpload(ctx context.Context, req *InitiateFileUploadRequest) (*InitiateFileUploadResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InitiateFileUpload not implemented") -} -func (*UnimplementedProviderAPIServer) ListGrants(ctx context.Context, req *ListGrantsRequest) (*ListGrantsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListGrants not implemented") -} -func (*UnimplementedProviderAPIServer) ListContainerStream(req *ListContainerStreamRequest, srv ProviderAPI_ListContainerStreamServer) error { - return status.Errorf(codes.Unimplemented, "method ListContainerStream not implemented") -} -func (*UnimplementedProviderAPIServer) ListContainer(ctx context.Context, req *ListContainerRequest) (*ListContainerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListContainer not implemented") -} -func (*UnimplementedProviderAPIServer) ListFileVersions(ctx context.Context, req *ListFileVersionsRequest) (*ListFileVersionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFileVersions not implemented") -} -func (*UnimplementedProviderAPIServer) ListRecycleStream(req *ListRecycleStreamRequest, srv ProviderAPI_ListRecycleStreamServer) error { - return status.Errorf(codes.Unimplemented, "method ListRecycleStream not implemented") -} -func (*UnimplementedProviderAPIServer) ListRecycle(ctx context.Context, req *ListRecycleRequest) (*ListRecycleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListRecycle not implemented") -} -func (*UnimplementedProviderAPIServer) Move(ctx context.Context, req *MoveRequest) (*MoveResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") -} -func (*UnimplementedProviderAPIServer) RemoveGrant(ctx context.Context, req *RemoveGrantRequest) (*RemoveGrantResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveGrant not implemented") -} -func (*UnimplementedProviderAPIServer) PurgeRecycle(ctx context.Context, req *PurgeRecycleRequest) (*PurgeRecycleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PurgeRecycle not implemented") -} -func (*UnimplementedProviderAPIServer) RestoreFileVersion(ctx context.Context, req *RestoreFileVersionRequest) (*RestoreFileVersionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RestoreFileVersion not implemented") -} -func (*UnimplementedProviderAPIServer) RestoreRecycleItem(ctx context.Context, req *RestoreRecycleItemRequest) (*RestoreRecycleItemResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RestoreRecycleItem not implemented") -} -func (*UnimplementedProviderAPIServer) Stat(ctx context.Context, req *StatRequest) (*StatResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Stat not implemented") -} -func (*UnimplementedProviderAPIServer) UpdateGrant(ctx context.Context, req *UpdateGrantRequest) (*UpdateGrantResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateGrant not implemented") -} -func (*UnimplementedProviderAPIServer) CreateSymlink(ctx context.Context, req *CreateSymlinkRequest) (*CreateSymlinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSymlink not implemented") -} -func (*UnimplementedProviderAPIServer) CreateReference(ctx context.Context, req *CreateReferenceRequest) (*CreateReferenceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateReference not implemented") -} -func (*UnimplementedProviderAPIServer) SetArbitraryMetadata(ctx context.Context, req *SetArbitraryMetadataRequest) (*SetArbitraryMetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetArbitraryMetadata not implemented") -} -func (*UnimplementedProviderAPIServer) UnsetArbitraryMetadata(ctx context.Context, req *UnsetArbitraryMetadataRequest) (*UnsetArbitraryMetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnsetArbitraryMetadata not implemented") -} -func (*UnimplementedProviderAPIServer) SetLock(ctx context.Context, req *SetLockRequest) (*SetLockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLock not implemented") -} -func (*UnimplementedProviderAPIServer) GetLock(ctx context.Context, req *GetLockRequest) (*GetLockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLock not implemented") -} -func (*UnimplementedProviderAPIServer) RefreshLock(ctx context.Context, req *RefreshLockRequest) (*RefreshLockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RefreshLock not implemented") -} -func (*UnimplementedProviderAPIServer) Unlock(ctx context.Context, req *UnlockRequest) (*UnlockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Unlock not implemented") -} -func (*UnimplementedProviderAPIServer) CreateHome(ctx context.Context, req *CreateHomeRequest) (*CreateHomeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateHome not implemented") -} -func (*UnimplementedProviderAPIServer) GetHome(ctx context.Context, req *GetHomeRequest) (*GetHomeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHome not implemented") -} -func (*UnimplementedProviderAPIServer) CreateStorageSpace(ctx context.Context, req *CreateStorageSpaceRequest) (*CreateStorageSpaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateStorageSpace not implemented") -} -func (*UnimplementedProviderAPIServer) ListStorageSpaces(ctx context.Context, req *ListStorageSpacesRequest) (*ListStorageSpacesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListStorageSpaces not implemented") -} -func (*UnimplementedProviderAPIServer) UpdateStorageSpace(ctx context.Context, req *UpdateStorageSpaceRequest) (*UpdateStorageSpaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateStorageSpace not implemented") -} -func (*UnimplementedProviderAPIServer) DeleteStorageSpace(ctx context.Context, req *DeleteStorageSpaceRequest) (*DeleteStorageSpaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteStorageSpace not implemented") -} - -func RegisterProviderAPIServer(s *grpc.Server, srv ProviderAPIServer) { - s.RegisterService(&_ProviderAPI_serviceDesc, srv) -} - -func _ProviderAPI_AddGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddGrantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).AddGrant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/AddGrant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).AddGrant(ctx, req.(*AddGrantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_CreateContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateContainerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).CreateContainer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/CreateContainer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).CreateContainer(ctx, req.(*CreateContainerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_TouchFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TouchFileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).TouchFile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/TouchFile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).TouchFile(ctx, req.(*TouchFileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).Delete(ctx, req.(*DeleteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_DenyGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DenyGrantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).DenyGrant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/DenyGrant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).DenyGrant(ctx, req.(*DenyGrantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_GetPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPathRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).GetPath(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/GetPath", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).GetPath(ctx, req.(*GetPathRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_GetQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetQuotaRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).GetQuota(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/GetQuota", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).GetQuota(ctx, req.(*GetQuotaRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_InitiateFileDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InitiateFileDownloadRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).InitiateFileDownload(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/InitiateFileDownload", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).InitiateFileDownload(ctx, req.(*InitiateFileDownloadRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_InitiateFileUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InitiateFileUploadRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).InitiateFileUpload(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/InitiateFileUpload", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).InitiateFileUpload(ctx, req.(*InitiateFileUploadRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_ListGrants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGrantsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).ListGrants(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/ListGrants", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).ListGrants(ctx, req.(*ListGrantsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_ListContainerStream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListContainerStreamRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ProviderAPIServer).ListContainerStream(m, &providerAPIListContainerStreamServer{stream}) -} - -type ProviderAPI_ListContainerStreamServer interface { - Send(*ListContainerStreamResponse) error - grpc.ServerStream -} - -type providerAPIListContainerStreamServer struct { - grpc.ServerStream -} - -func (x *providerAPIListContainerStreamServer) Send(m *ListContainerStreamResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ProviderAPI_ListContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListContainerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).ListContainer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/ListContainer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).ListContainer(ctx, req.(*ListContainerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_ListFileVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFileVersionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).ListFileVersions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/ListFileVersions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).ListFileVersions(ctx, req.(*ListFileVersionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_ListRecycleStream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListRecycleStreamRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ProviderAPIServer).ListRecycleStream(m, &providerAPIListRecycleStreamServer{stream}) -} - -type ProviderAPI_ListRecycleStreamServer interface { - Send(*ListRecycleStreamResponse) error - grpc.ServerStream -} - -type providerAPIListRecycleStreamServer struct { - grpc.ServerStream -} - -func (x *providerAPIListRecycleStreamServer) Send(m *ListRecycleStreamResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ProviderAPI_ListRecycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRecycleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).ListRecycle(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/ListRecycle", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).ListRecycle(ctx, req.(*ListRecycleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_Move_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).Move(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/Move", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).Move(ctx, req.(*MoveRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_RemoveGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveGrantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).RemoveGrant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/RemoveGrant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).RemoveGrant(ctx, req.(*RemoveGrantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_PurgeRecycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PurgeRecycleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).PurgeRecycle(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/PurgeRecycle", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).PurgeRecycle(ctx, req.(*PurgeRecycleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_RestoreFileVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RestoreFileVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).RestoreFileVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/RestoreFileVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).RestoreFileVersion(ctx, req.(*RestoreFileVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_RestoreRecycleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RestoreRecycleItemRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).RestoreRecycleItem(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/RestoreRecycleItem", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).RestoreRecycleItem(ctx, req.(*RestoreRecycleItemRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_Stat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StatRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).Stat(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/Stat", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).Stat(ctx, req.(*StatRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_UpdateGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateGrantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).UpdateGrant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/UpdateGrant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).UpdateGrant(ctx, req.(*UpdateGrantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_CreateSymlink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSymlinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).CreateSymlink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/CreateSymlink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).CreateSymlink(ctx, req.(*CreateSymlinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_CreateReference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateReferenceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).CreateReference(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/CreateReference", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).CreateReference(ctx, req.(*CreateReferenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_SetArbitraryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetArbitraryMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).SetArbitraryMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/SetArbitraryMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).SetArbitraryMetadata(ctx, req.(*SetArbitraryMetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_UnsetArbitraryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnsetArbitraryMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).UnsetArbitraryMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/UnsetArbitraryMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).UnsetArbitraryMetadata(ctx, req.(*UnsetArbitraryMetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_SetLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLockRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).SetLock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/SetLock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).SetLock(ctx, req.(*SetLockRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_GetLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLockRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).GetLock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/GetLock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).GetLock(ctx, req.(*GetLockRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_RefreshLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RefreshLockRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).RefreshLock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/RefreshLock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).RefreshLock(ctx, req.(*RefreshLockRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_Unlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnlockRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).Unlock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/Unlock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).Unlock(ctx, req.(*UnlockRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_CreateHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateHomeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).CreateHome(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/CreateHome", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).CreateHome(ctx, req.(*CreateHomeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_GetHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetHomeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).GetHome(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/GetHome", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).GetHome(ctx, req.(*GetHomeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_CreateStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateStorageSpaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).CreateStorageSpace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/CreateStorageSpace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).CreateStorageSpace(ctx, req.(*CreateStorageSpaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_ListStorageSpaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListStorageSpacesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).ListStorageSpaces(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/ListStorageSpaces", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).ListStorageSpaces(ctx, req.(*ListStorageSpacesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_UpdateStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateStorageSpaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).UpdateStorageSpace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/UpdateStorageSpace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).UpdateStorageSpace(ctx, req.(*UpdateStorageSpaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAPI_DeleteStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteStorageSpaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAPIServer).DeleteStorageSpace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.provider.v1beta1.ProviderAPI/DeleteStorageSpace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAPIServer).DeleteStorageSpace(ctx, req.(*DeleteStorageSpaceRequest)) +func file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescGZIP() []byte { + file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescOnce.Do(func() { + file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescData) + }) + return file_cs3_storage_provider_v1beta1_provider_api_proto_rawDescData +} + +var file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes = make([]protoimpl.MessageInfo, 64) +var file_cs3_storage_provider_v1beta1_provider_api_proto_goTypes = []interface{}{ + (*GetHomeRequest)(nil), // 0: cs3.storage.provider.v1beta1.GetHomeRequest + (*GetHomeResponse)(nil), // 1: cs3.storage.provider.v1beta1.GetHomeResponse + (*AddGrantRequest)(nil), // 2: cs3.storage.provider.v1beta1.AddGrantRequest + (*AddGrantResponse)(nil), // 3: cs3.storage.provider.v1beta1.AddGrantResponse + (*DenyGrantRequest)(nil), // 4: cs3.storage.provider.v1beta1.DenyGrantRequest + (*DenyGrantResponse)(nil), // 5: cs3.storage.provider.v1beta1.DenyGrantResponse + (*CreateContainerRequest)(nil), // 6: cs3.storage.provider.v1beta1.CreateContainerRequest + (*CreateContainerResponse)(nil), // 7: cs3.storage.provider.v1beta1.CreateContainerResponse + (*TouchFileRequest)(nil), // 8: cs3.storage.provider.v1beta1.TouchFileRequest + (*TouchFileResponse)(nil), // 9: cs3.storage.provider.v1beta1.TouchFileResponse + (*DeleteRequest)(nil), // 10: cs3.storage.provider.v1beta1.DeleteRequest + (*DeleteResponse)(nil), // 11: cs3.storage.provider.v1beta1.DeleteResponse + (*GetPathRequest)(nil), // 12: cs3.storage.provider.v1beta1.GetPathRequest + (*GetPathResponse)(nil), // 13: cs3.storage.provider.v1beta1.GetPathResponse + (*GetQuotaRequest)(nil), // 14: cs3.storage.provider.v1beta1.GetQuotaRequest + (*GetQuotaResponse)(nil), // 15: cs3.storage.provider.v1beta1.GetQuotaResponse + (*InitiateFileUploadRequest)(nil), // 16: cs3.storage.provider.v1beta1.InitiateFileUploadRequest + (*InitiateFileUploadResponse)(nil), // 17: cs3.storage.provider.v1beta1.InitiateFileUploadResponse + (*InitiateFileDownloadRequest)(nil), // 18: cs3.storage.provider.v1beta1.InitiateFileDownloadRequest + (*InitiateFileDownloadResponse)(nil), // 19: cs3.storage.provider.v1beta1.InitiateFileDownloadResponse + (*ListGrantsRequest)(nil), // 20: cs3.storage.provider.v1beta1.ListGrantsRequest + (*ListGrantsResponse)(nil), // 21: cs3.storage.provider.v1beta1.ListGrantsResponse + (*ListContainerStreamRequest)(nil), // 22: cs3.storage.provider.v1beta1.ListContainerStreamRequest + (*ListContainerStreamResponse)(nil), // 23: cs3.storage.provider.v1beta1.ListContainerStreamResponse + (*ListContainerRequest)(nil), // 24: cs3.storage.provider.v1beta1.ListContainerRequest + (*ListContainerResponse)(nil), // 25: cs3.storage.provider.v1beta1.ListContainerResponse + (*ListFileVersionsRequest)(nil), // 26: cs3.storage.provider.v1beta1.ListFileVersionsRequest + (*ListFileVersionsResponse)(nil), // 27: cs3.storage.provider.v1beta1.ListFileVersionsResponse + (*ListRecycleRequest)(nil), // 28: cs3.storage.provider.v1beta1.ListRecycleRequest + (*ListRecycleResponse)(nil), // 29: cs3.storage.provider.v1beta1.ListRecycleResponse + (*ListRecycleStreamRequest)(nil), // 30: cs3.storage.provider.v1beta1.ListRecycleStreamRequest + (*ListRecycleStreamResponse)(nil), // 31: cs3.storage.provider.v1beta1.ListRecycleStreamResponse + (*MoveRequest)(nil), // 32: cs3.storage.provider.v1beta1.MoveRequest + (*MoveResponse)(nil), // 33: cs3.storage.provider.v1beta1.MoveResponse + (*PurgeRecycleRequest)(nil), // 34: cs3.storage.provider.v1beta1.PurgeRecycleRequest + (*PurgeRecycleResponse)(nil), // 35: cs3.storage.provider.v1beta1.PurgeRecycleResponse + (*RestoreFileVersionRequest)(nil), // 36: cs3.storage.provider.v1beta1.RestoreFileVersionRequest + (*RestoreFileVersionResponse)(nil), // 37: cs3.storage.provider.v1beta1.RestoreFileVersionResponse + (*RestoreRecycleItemRequest)(nil), // 38: cs3.storage.provider.v1beta1.RestoreRecycleItemRequest + (*RestoreRecycleItemResponse)(nil), // 39: cs3.storage.provider.v1beta1.RestoreRecycleItemResponse + (*RemoveGrantRequest)(nil), // 40: cs3.storage.provider.v1beta1.RemoveGrantRequest + (*RemoveGrantResponse)(nil), // 41: cs3.storage.provider.v1beta1.RemoveGrantResponse + (*StatRequest)(nil), // 42: cs3.storage.provider.v1beta1.StatRequest + (*StatResponse)(nil), // 43: cs3.storage.provider.v1beta1.StatResponse + (*UpdateGrantRequest)(nil), // 44: cs3.storage.provider.v1beta1.UpdateGrantRequest + (*UpdateGrantResponse)(nil), // 45: cs3.storage.provider.v1beta1.UpdateGrantResponse + (*CreateSymlinkRequest)(nil), // 46: cs3.storage.provider.v1beta1.CreateSymlinkRequest + (*CreateSymlinkResponse)(nil), // 47: cs3.storage.provider.v1beta1.CreateSymlinkResponse + (*CreateReferenceRequest)(nil), // 48: cs3.storage.provider.v1beta1.CreateReferenceRequest + (*CreateReferenceResponse)(nil), // 49: cs3.storage.provider.v1beta1.CreateReferenceResponse + (*SetArbitraryMetadataRequest)(nil), // 50: cs3.storage.provider.v1beta1.SetArbitraryMetadataRequest + (*SetArbitraryMetadataResponse)(nil), // 51: cs3.storage.provider.v1beta1.SetArbitraryMetadataResponse + (*UnsetArbitraryMetadataRequest)(nil), // 52: cs3.storage.provider.v1beta1.UnsetArbitraryMetadataRequest + (*UnsetArbitraryMetadataResponse)(nil), // 53: cs3.storage.provider.v1beta1.UnsetArbitraryMetadataResponse + (*SetLockRequest)(nil), // 54: cs3.storage.provider.v1beta1.SetLockRequest + (*SetLockResponse)(nil), // 55: cs3.storage.provider.v1beta1.SetLockResponse + (*GetLockRequest)(nil), // 56: cs3.storage.provider.v1beta1.GetLockRequest + (*GetLockResponse)(nil), // 57: cs3.storage.provider.v1beta1.GetLockResponse + (*RefreshLockRequest)(nil), // 58: cs3.storage.provider.v1beta1.RefreshLockRequest + (*RefreshLockResponse)(nil), // 59: cs3.storage.provider.v1beta1.RefreshLockResponse + (*UnlockRequest)(nil), // 60: cs3.storage.provider.v1beta1.UnlockRequest + (*UnlockResponse)(nil), // 61: cs3.storage.provider.v1beta1.UnlockResponse + (*CreateHomeRequest)(nil), // 62: cs3.storage.provider.v1beta1.CreateHomeRequest + (*CreateHomeResponse)(nil), // 63: cs3.storage.provider.v1beta1.CreateHomeResponse + (*v1beta1.Opaque)(nil), // 64: cs3.types.v1beta1.Opaque + (*v1beta11.Status)(nil), // 65: cs3.rpc.v1beta1.Status + (*Reference)(nil), // 66: cs3.storage.provider.v1beta1.Reference + (*Grant)(nil), // 67: cs3.storage.provider.v1beta1.Grant + (*Grantee)(nil), // 68: cs3.storage.provider.v1beta1.Grantee + (*ResourceId)(nil), // 69: cs3.storage.provider.v1beta1.ResourceId + (*v1beta1.Timestamp)(nil), // 70: cs3.types.v1beta1.Timestamp + (*FileUploadProtocol)(nil), // 71: cs3.storage.provider.v1beta1.FileUploadProtocol + (*FileDownloadProtocol)(nil), // 72: cs3.storage.provider.v1beta1.FileDownloadProtocol + (*fieldmaskpb.FieldMask)(nil), // 73: google.protobuf.FieldMask + (*ResourceInfo)(nil), // 74: cs3.storage.provider.v1beta1.ResourceInfo + (*FileVersion)(nil), // 75: cs3.storage.provider.v1beta1.FileVersion + (*RecycleItem)(nil), // 76: cs3.storage.provider.v1beta1.RecycleItem + (*ArbitraryMetadata)(nil), // 77: cs3.storage.provider.v1beta1.ArbitraryMetadata + (*Lock)(nil), // 78: cs3.storage.provider.v1beta1.Lock + (*Quota)(nil), // 79: cs3.storage.provider.v1beta1.Quota +} +var file_cs3_storage_provider_v1beta1_provider_api_proto_depIdxs = []int32{ + 64, // 0: cs3.storage.provider.v1beta1.GetHomeRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 65, // 1: cs3.storage.provider.v1beta1.GetHomeResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 2: cs3.storage.provider.v1beta1.GetHomeResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 3: cs3.storage.provider.v1beta1.AddGrantRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 4: cs3.storage.provider.v1beta1.AddGrantRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 67, // 5: cs3.storage.provider.v1beta1.AddGrantRequest.grant:type_name -> cs3.storage.provider.v1beta1.Grant + 65, // 6: cs3.storage.provider.v1beta1.AddGrantResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 7: cs3.storage.provider.v1beta1.AddGrantResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 8: cs3.storage.provider.v1beta1.DenyGrantRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 9: cs3.storage.provider.v1beta1.DenyGrantRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 68, // 10: cs3.storage.provider.v1beta1.DenyGrantRequest.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 65, // 11: cs3.storage.provider.v1beta1.DenyGrantResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 12: cs3.storage.provider.v1beta1.DenyGrantResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 13: cs3.storage.provider.v1beta1.CreateContainerRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 14: cs3.storage.provider.v1beta1.CreateContainerRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 15: cs3.storage.provider.v1beta1.CreateContainerResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 16: cs3.storage.provider.v1beta1.CreateContainerResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 17: cs3.storage.provider.v1beta1.TouchFileRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 18: cs3.storage.provider.v1beta1.TouchFileRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 19: cs3.storage.provider.v1beta1.TouchFileResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 20: cs3.storage.provider.v1beta1.TouchFileResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 21: cs3.storage.provider.v1beta1.DeleteRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 22: cs3.storage.provider.v1beta1.DeleteRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 23: cs3.storage.provider.v1beta1.DeleteResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 24: cs3.storage.provider.v1beta1.DeleteResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 25: cs3.storage.provider.v1beta1.GetPathRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 69, // 26: cs3.storage.provider.v1beta1.GetPathRequest.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 65, // 27: cs3.storage.provider.v1beta1.GetPathResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 28: cs3.storage.provider.v1beta1.GetPathResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 29: cs3.storage.provider.v1beta1.GetQuotaRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 30: cs3.storage.provider.v1beta1.GetQuotaRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 31: cs3.storage.provider.v1beta1.GetQuotaResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 32: cs3.storage.provider.v1beta1.GetQuotaResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 33: cs3.storage.provider.v1beta1.InitiateFileUploadRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 34: cs3.storage.provider.v1beta1.InitiateFileUploadRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 70, // 35: cs3.storage.provider.v1beta1.InitiateFileUploadRequest.if_unmodified_since:type_name -> cs3.types.v1beta1.Timestamp + 65, // 36: cs3.storage.provider.v1beta1.InitiateFileUploadResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 37: cs3.storage.provider.v1beta1.InitiateFileUploadResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 71, // 38: cs3.storage.provider.v1beta1.InitiateFileUploadResponse.protocols:type_name -> cs3.storage.provider.v1beta1.FileUploadProtocol + 64, // 39: cs3.storage.provider.v1beta1.InitiateFileDownloadRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 40: cs3.storage.provider.v1beta1.InitiateFileDownloadRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 41: cs3.storage.provider.v1beta1.InitiateFileDownloadResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 42: cs3.storage.provider.v1beta1.InitiateFileDownloadResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 72, // 43: cs3.storage.provider.v1beta1.InitiateFileDownloadResponse.protocols:type_name -> cs3.storage.provider.v1beta1.FileDownloadProtocol + 64, // 44: cs3.storage.provider.v1beta1.ListGrantsRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 45: cs3.storage.provider.v1beta1.ListGrantsRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 46: cs3.storage.provider.v1beta1.ListGrantsResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 47: cs3.storage.provider.v1beta1.ListGrantsResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 67, // 48: cs3.storage.provider.v1beta1.ListGrantsResponse.grants:type_name -> cs3.storage.provider.v1beta1.Grant + 64, // 49: cs3.storage.provider.v1beta1.ListContainerStreamRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 50: cs3.storage.provider.v1beta1.ListContainerStreamRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 73, // 51: cs3.storage.provider.v1beta1.ListContainerStreamRequest.field_mask:type_name -> google.protobuf.FieldMask + 65, // 52: cs3.storage.provider.v1beta1.ListContainerStreamResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 53: cs3.storage.provider.v1beta1.ListContainerStreamResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 74, // 54: cs3.storage.provider.v1beta1.ListContainerStreamResponse.info:type_name -> cs3.storage.provider.v1beta1.ResourceInfo + 64, // 55: cs3.storage.provider.v1beta1.ListContainerRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 56: cs3.storage.provider.v1beta1.ListContainerRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 73, // 57: cs3.storage.provider.v1beta1.ListContainerRequest.field_mask:type_name -> google.protobuf.FieldMask + 65, // 58: cs3.storage.provider.v1beta1.ListContainerResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 59: cs3.storage.provider.v1beta1.ListContainerResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 74, // 60: cs3.storage.provider.v1beta1.ListContainerResponse.infos:type_name -> cs3.storage.provider.v1beta1.ResourceInfo + 64, // 61: cs3.storage.provider.v1beta1.ListFileVersionsRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 62: cs3.storage.provider.v1beta1.ListFileVersionsRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 63: cs3.storage.provider.v1beta1.ListFileVersionsResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 64: cs3.storage.provider.v1beta1.ListFileVersionsResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 75, // 65: cs3.storage.provider.v1beta1.ListFileVersionsResponse.versions:type_name -> cs3.storage.provider.v1beta1.FileVersion + 64, // 66: cs3.storage.provider.v1beta1.ListRecycleRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 70, // 67: cs3.storage.provider.v1beta1.ListRecycleRequest.from_ts:type_name -> cs3.types.v1beta1.Timestamp + 70, // 68: cs3.storage.provider.v1beta1.ListRecycleRequest.to_ts:type_name -> cs3.types.v1beta1.Timestamp + 66, // 69: cs3.storage.provider.v1beta1.ListRecycleRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 70: cs3.storage.provider.v1beta1.ListRecycleResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 71: cs3.storage.provider.v1beta1.ListRecycleResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 76, // 72: cs3.storage.provider.v1beta1.ListRecycleResponse.recycle_items:type_name -> cs3.storage.provider.v1beta1.RecycleItem + 64, // 73: cs3.storage.provider.v1beta1.ListRecycleStreamRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 70, // 74: cs3.storage.provider.v1beta1.ListRecycleStreamRequest.from_ts:type_name -> cs3.types.v1beta1.Timestamp + 70, // 75: cs3.storage.provider.v1beta1.ListRecycleStreamRequest.to_ts:type_name -> cs3.types.v1beta1.Timestamp + 66, // 76: cs3.storage.provider.v1beta1.ListRecycleStreamRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 77: cs3.storage.provider.v1beta1.ListRecycleStreamResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 78: cs3.storage.provider.v1beta1.ListRecycleStreamResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 76, // 79: cs3.storage.provider.v1beta1.ListRecycleStreamResponse.recycle_item:type_name -> cs3.storage.provider.v1beta1.RecycleItem + 64, // 80: cs3.storage.provider.v1beta1.MoveRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 81: cs3.storage.provider.v1beta1.MoveRequest.source:type_name -> cs3.storage.provider.v1beta1.Reference + 66, // 82: cs3.storage.provider.v1beta1.MoveRequest.destination:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 83: cs3.storage.provider.v1beta1.MoveResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 84: cs3.storage.provider.v1beta1.MoveResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 85: cs3.storage.provider.v1beta1.PurgeRecycleRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 86: cs3.storage.provider.v1beta1.PurgeRecycleRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 87: cs3.storage.provider.v1beta1.PurgeRecycleResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 88: cs3.storage.provider.v1beta1.PurgeRecycleResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 89: cs3.storage.provider.v1beta1.RestoreFileVersionRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 90: cs3.storage.provider.v1beta1.RestoreFileVersionRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 91: cs3.storage.provider.v1beta1.RestoreFileVersionResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 92: cs3.storage.provider.v1beta1.RestoreFileVersionResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 93: cs3.storage.provider.v1beta1.RestoreRecycleItemRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 94: cs3.storage.provider.v1beta1.RestoreRecycleItemRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 66, // 95: cs3.storage.provider.v1beta1.RestoreRecycleItemRequest.restore_ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 96: cs3.storage.provider.v1beta1.RestoreRecycleItemResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 97: cs3.storage.provider.v1beta1.RestoreRecycleItemResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 98: cs3.storage.provider.v1beta1.RemoveGrantRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 99: cs3.storage.provider.v1beta1.RemoveGrantRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 67, // 100: cs3.storage.provider.v1beta1.RemoveGrantRequest.grant:type_name -> cs3.storage.provider.v1beta1.Grant + 65, // 101: cs3.storage.provider.v1beta1.RemoveGrantResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 102: cs3.storage.provider.v1beta1.RemoveGrantResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 103: cs3.storage.provider.v1beta1.StatRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 104: cs3.storage.provider.v1beta1.StatRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 73, // 105: cs3.storage.provider.v1beta1.StatRequest.field_mask:type_name -> google.protobuf.FieldMask + 65, // 106: cs3.storage.provider.v1beta1.StatResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 107: cs3.storage.provider.v1beta1.StatResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 74, // 108: cs3.storage.provider.v1beta1.StatResponse.info:type_name -> cs3.storage.provider.v1beta1.ResourceInfo + 64, // 109: cs3.storage.provider.v1beta1.UpdateGrantRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 110: cs3.storage.provider.v1beta1.UpdateGrantRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 67, // 111: cs3.storage.provider.v1beta1.UpdateGrantRequest.grant:type_name -> cs3.storage.provider.v1beta1.Grant + 65, // 112: cs3.storage.provider.v1beta1.UpdateGrantResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 113: cs3.storage.provider.v1beta1.UpdateGrantResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 114: cs3.storage.provider.v1beta1.CreateSymlinkRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 115: cs3.storage.provider.v1beta1.CreateSymlinkRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 116: cs3.storage.provider.v1beta1.CreateSymlinkResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 117: cs3.storage.provider.v1beta1.CreateSymlinkResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 118: cs3.storage.provider.v1beta1.CreateReferenceRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 119: cs3.storage.provider.v1beta1.CreateReferenceRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 120: cs3.storage.provider.v1beta1.CreateReferenceResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 121: cs3.storage.provider.v1beta1.CreateReferenceResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 122: cs3.storage.provider.v1beta1.SetArbitraryMetadataRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 123: cs3.storage.provider.v1beta1.SetArbitraryMetadataRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 77, // 124: cs3.storage.provider.v1beta1.SetArbitraryMetadataRequest.arbitrary_metadata:type_name -> cs3.storage.provider.v1beta1.ArbitraryMetadata + 65, // 125: cs3.storage.provider.v1beta1.SetArbitraryMetadataResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 126: cs3.storage.provider.v1beta1.SetArbitraryMetadataResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 127: cs3.storage.provider.v1beta1.UnsetArbitraryMetadataRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 128: cs3.storage.provider.v1beta1.UnsetArbitraryMetadataRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 129: cs3.storage.provider.v1beta1.UnsetArbitraryMetadataResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 130: cs3.storage.provider.v1beta1.UnsetArbitraryMetadataResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 131: cs3.storage.provider.v1beta1.SetLockRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 132: cs3.storage.provider.v1beta1.SetLockRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 78, // 133: cs3.storage.provider.v1beta1.SetLockRequest.lock:type_name -> cs3.storage.provider.v1beta1.Lock + 65, // 134: cs3.storage.provider.v1beta1.SetLockResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 135: cs3.storage.provider.v1beta1.SetLockResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 136: cs3.storage.provider.v1beta1.GetLockRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 137: cs3.storage.provider.v1beta1.GetLockRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 65, // 138: cs3.storage.provider.v1beta1.GetLockResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 139: cs3.storage.provider.v1beta1.GetLockResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 78, // 140: cs3.storage.provider.v1beta1.GetLockResponse.lock:type_name -> cs3.storage.provider.v1beta1.Lock + 64, // 141: cs3.storage.provider.v1beta1.RefreshLockRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 142: cs3.storage.provider.v1beta1.RefreshLockRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 78, // 143: cs3.storage.provider.v1beta1.RefreshLockRequest.lock:type_name -> cs3.storage.provider.v1beta1.Lock + 65, // 144: cs3.storage.provider.v1beta1.RefreshLockResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 145: cs3.storage.provider.v1beta1.RefreshLockResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 146: cs3.storage.provider.v1beta1.UnlockRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 66, // 147: cs3.storage.provider.v1beta1.UnlockRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 78, // 148: cs3.storage.provider.v1beta1.UnlockRequest.lock:type_name -> cs3.storage.provider.v1beta1.Lock + 65, // 149: cs3.storage.provider.v1beta1.UnlockResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 150: cs3.storage.provider.v1beta1.UnlockResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 64, // 151: cs3.storage.provider.v1beta1.CreateHomeRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 79, // 152: cs3.storage.provider.v1beta1.CreateHomeRequest.quota:type_name -> cs3.storage.provider.v1beta1.Quota + 65, // 153: cs3.storage.provider.v1beta1.CreateHomeResponse.status:type_name -> cs3.rpc.v1beta1.Status + 64, // 154: cs3.storage.provider.v1beta1.CreateHomeResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 2, // 155: cs3.storage.provider.v1beta1.ProviderAPI.AddGrant:input_type -> cs3.storage.provider.v1beta1.AddGrantRequest + 6, // 156: cs3.storage.provider.v1beta1.ProviderAPI.CreateContainer:input_type -> cs3.storage.provider.v1beta1.CreateContainerRequest + 8, // 157: cs3.storage.provider.v1beta1.ProviderAPI.TouchFile:input_type -> cs3.storage.provider.v1beta1.TouchFileRequest + 10, // 158: cs3.storage.provider.v1beta1.ProviderAPI.Delete:input_type -> cs3.storage.provider.v1beta1.DeleteRequest + 4, // 159: cs3.storage.provider.v1beta1.ProviderAPI.DenyGrant:input_type -> cs3.storage.provider.v1beta1.DenyGrantRequest + 12, // 160: cs3.storage.provider.v1beta1.ProviderAPI.GetPath:input_type -> cs3.storage.provider.v1beta1.GetPathRequest + 14, // 161: cs3.storage.provider.v1beta1.ProviderAPI.GetQuota:input_type -> cs3.storage.provider.v1beta1.GetQuotaRequest + 18, // 162: cs3.storage.provider.v1beta1.ProviderAPI.InitiateFileDownload:input_type -> cs3.storage.provider.v1beta1.InitiateFileDownloadRequest + 16, // 163: cs3.storage.provider.v1beta1.ProviderAPI.InitiateFileUpload:input_type -> cs3.storage.provider.v1beta1.InitiateFileUploadRequest + 20, // 164: cs3.storage.provider.v1beta1.ProviderAPI.ListGrants:input_type -> cs3.storage.provider.v1beta1.ListGrantsRequest + 22, // 165: cs3.storage.provider.v1beta1.ProviderAPI.ListContainerStream:input_type -> cs3.storage.provider.v1beta1.ListContainerStreamRequest + 24, // 166: cs3.storage.provider.v1beta1.ProviderAPI.ListContainer:input_type -> cs3.storage.provider.v1beta1.ListContainerRequest + 26, // 167: cs3.storage.provider.v1beta1.ProviderAPI.ListFileVersions:input_type -> cs3.storage.provider.v1beta1.ListFileVersionsRequest + 30, // 168: cs3.storage.provider.v1beta1.ProviderAPI.ListRecycleStream:input_type -> cs3.storage.provider.v1beta1.ListRecycleStreamRequest + 28, // 169: cs3.storage.provider.v1beta1.ProviderAPI.ListRecycle:input_type -> cs3.storage.provider.v1beta1.ListRecycleRequest + 32, // 170: cs3.storage.provider.v1beta1.ProviderAPI.Move:input_type -> cs3.storage.provider.v1beta1.MoveRequest + 40, // 171: cs3.storage.provider.v1beta1.ProviderAPI.RemoveGrant:input_type -> cs3.storage.provider.v1beta1.RemoveGrantRequest + 34, // 172: cs3.storage.provider.v1beta1.ProviderAPI.PurgeRecycle:input_type -> cs3.storage.provider.v1beta1.PurgeRecycleRequest + 36, // 173: cs3.storage.provider.v1beta1.ProviderAPI.RestoreFileVersion:input_type -> cs3.storage.provider.v1beta1.RestoreFileVersionRequest + 38, // 174: cs3.storage.provider.v1beta1.ProviderAPI.RestoreRecycleItem:input_type -> cs3.storage.provider.v1beta1.RestoreRecycleItemRequest + 42, // 175: cs3.storage.provider.v1beta1.ProviderAPI.Stat:input_type -> cs3.storage.provider.v1beta1.StatRequest + 44, // 176: cs3.storage.provider.v1beta1.ProviderAPI.UpdateGrant:input_type -> cs3.storage.provider.v1beta1.UpdateGrantRequest + 46, // 177: cs3.storage.provider.v1beta1.ProviderAPI.CreateSymlink:input_type -> cs3.storage.provider.v1beta1.CreateSymlinkRequest + 48, // 178: cs3.storage.provider.v1beta1.ProviderAPI.CreateReference:input_type -> cs3.storage.provider.v1beta1.CreateReferenceRequest + 50, // 179: cs3.storage.provider.v1beta1.ProviderAPI.SetArbitraryMetadata:input_type -> cs3.storage.provider.v1beta1.SetArbitraryMetadataRequest + 52, // 180: cs3.storage.provider.v1beta1.ProviderAPI.UnsetArbitraryMetadata:input_type -> cs3.storage.provider.v1beta1.UnsetArbitraryMetadataRequest + 54, // 181: cs3.storage.provider.v1beta1.ProviderAPI.SetLock:input_type -> cs3.storage.provider.v1beta1.SetLockRequest + 56, // 182: cs3.storage.provider.v1beta1.ProviderAPI.GetLock:input_type -> cs3.storage.provider.v1beta1.GetLockRequest + 58, // 183: cs3.storage.provider.v1beta1.ProviderAPI.RefreshLock:input_type -> cs3.storage.provider.v1beta1.RefreshLockRequest + 60, // 184: cs3.storage.provider.v1beta1.ProviderAPI.Unlock:input_type -> cs3.storage.provider.v1beta1.UnlockRequest + 62, // 185: cs3.storage.provider.v1beta1.ProviderAPI.CreateHome:input_type -> cs3.storage.provider.v1beta1.CreateHomeRequest + 0, // 186: cs3.storage.provider.v1beta1.ProviderAPI.GetHome:input_type -> cs3.storage.provider.v1beta1.GetHomeRequest + 3, // 187: cs3.storage.provider.v1beta1.ProviderAPI.AddGrant:output_type -> cs3.storage.provider.v1beta1.AddGrantResponse + 7, // 188: cs3.storage.provider.v1beta1.ProviderAPI.CreateContainer:output_type -> cs3.storage.provider.v1beta1.CreateContainerResponse + 9, // 189: cs3.storage.provider.v1beta1.ProviderAPI.TouchFile:output_type -> cs3.storage.provider.v1beta1.TouchFileResponse + 11, // 190: cs3.storage.provider.v1beta1.ProviderAPI.Delete:output_type -> cs3.storage.provider.v1beta1.DeleteResponse + 5, // 191: cs3.storage.provider.v1beta1.ProviderAPI.DenyGrant:output_type -> cs3.storage.provider.v1beta1.DenyGrantResponse + 13, // 192: cs3.storage.provider.v1beta1.ProviderAPI.GetPath:output_type -> cs3.storage.provider.v1beta1.GetPathResponse + 15, // 193: cs3.storage.provider.v1beta1.ProviderAPI.GetQuota:output_type -> cs3.storage.provider.v1beta1.GetQuotaResponse + 19, // 194: cs3.storage.provider.v1beta1.ProviderAPI.InitiateFileDownload:output_type -> cs3.storage.provider.v1beta1.InitiateFileDownloadResponse + 17, // 195: cs3.storage.provider.v1beta1.ProviderAPI.InitiateFileUpload:output_type -> cs3.storage.provider.v1beta1.InitiateFileUploadResponse + 21, // 196: cs3.storage.provider.v1beta1.ProviderAPI.ListGrants:output_type -> cs3.storage.provider.v1beta1.ListGrantsResponse + 23, // 197: cs3.storage.provider.v1beta1.ProviderAPI.ListContainerStream:output_type -> cs3.storage.provider.v1beta1.ListContainerStreamResponse + 25, // 198: cs3.storage.provider.v1beta1.ProviderAPI.ListContainer:output_type -> cs3.storage.provider.v1beta1.ListContainerResponse + 27, // 199: cs3.storage.provider.v1beta1.ProviderAPI.ListFileVersions:output_type -> cs3.storage.provider.v1beta1.ListFileVersionsResponse + 31, // 200: cs3.storage.provider.v1beta1.ProviderAPI.ListRecycleStream:output_type -> cs3.storage.provider.v1beta1.ListRecycleStreamResponse + 29, // 201: cs3.storage.provider.v1beta1.ProviderAPI.ListRecycle:output_type -> cs3.storage.provider.v1beta1.ListRecycleResponse + 33, // 202: cs3.storage.provider.v1beta1.ProviderAPI.Move:output_type -> cs3.storage.provider.v1beta1.MoveResponse + 41, // 203: cs3.storage.provider.v1beta1.ProviderAPI.RemoveGrant:output_type -> cs3.storage.provider.v1beta1.RemoveGrantResponse + 35, // 204: cs3.storage.provider.v1beta1.ProviderAPI.PurgeRecycle:output_type -> cs3.storage.provider.v1beta1.PurgeRecycleResponse + 37, // 205: cs3.storage.provider.v1beta1.ProviderAPI.RestoreFileVersion:output_type -> cs3.storage.provider.v1beta1.RestoreFileVersionResponse + 39, // 206: cs3.storage.provider.v1beta1.ProviderAPI.RestoreRecycleItem:output_type -> cs3.storage.provider.v1beta1.RestoreRecycleItemResponse + 43, // 207: cs3.storage.provider.v1beta1.ProviderAPI.Stat:output_type -> cs3.storage.provider.v1beta1.StatResponse + 45, // 208: cs3.storage.provider.v1beta1.ProviderAPI.UpdateGrant:output_type -> cs3.storage.provider.v1beta1.UpdateGrantResponse + 47, // 209: cs3.storage.provider.v1beta1.ProviderAPI.CreateSymlink:output_type -> cs3.storage.provider.v1beta1.CreateSymlinkResponse + 49, // 210: cs3.storage.provider.v1beta1.ProviderAPI.CreateReference:output_type -> cs3.storage.provider.v1beta1.CreateReferenceResponse + 51, // 211: cs3.storage.provider.v1beta1.ProviderAPI.SetArbitraryMetadata:output_type -> cs3.storage.provider.v1beta1.SetArbitraryMetadataResponse + 53, // 212: cs3.storage.provider.v1beta1.ProviderAPI.UnsetArbitraryMetadata:output_type -> cs3.storage.provider.v1beta1.UnsetArbitraryMetadataResponse + 55, // 213: cs3.storage.provider.v1beta1.ProviderAPI.SetLock:output_type -> cs3.storage.provider.v1beta1.SetLockResponse + 57, // 214: cs3.storage.provider.v1beta1.ProviderAPI.GetLock:output_type -> cs3.storage.provider.v1beta1.GetLockResponse + 59, // 215: cs3.storage.provider.v1beta1.ProviderAPI.RefreshLock:output_type -> cs3.storage.provider.v1beta1.RefreshLockResponse + 61, // 216: cs3.storage.provider.v1beta1.ProviderAPI.Unlock:output_type -> cs3.storage.provider.v1beta1.UnlockResponse + 63, // 217: cs3.storage.provider.v1beta1.ProviderAPI.CreateHome:output_type -> cs3.storage.provider.v1beta1.CreateHomeResponse + 1, // 218: cs3.storage.provider.v1beta1.ProviderAPI.GetHome:output_type -> cs3.storage.provider.v1beta1.GetHomeResponse + 187, // [187:219] is the sub-list for method output_type + 155, // [155:187] is the sub-list for method input_type + 155, // [155:155] is the sub-list for extension type_name + 155, // [155:155] is the sub-list for extension extendee + 0, // [0:155] is the sub-list for field type_name +} + +func init() { file_cs3_storage_provider_v1beta1_provider_api_proto_init() } +func file_cs3_storage_provider_v1beta1_provider_api_proto_init() { + if File_cs3_storage_provider_v1beta1_provider_api_proto != nil { + return + } + file_cs3_storage_provider_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetHomeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetHomeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddGrantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddGrantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DenyGrantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DenyGrantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateContainerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateContainerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TouchFileRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TouchFileResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPathResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetQuotaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetQuotaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitiateFileUploadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitiateFileUploadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitiateFileDownloadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitiateFileDownloadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListGrantsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListGrantsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListContainerStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListContainerStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListContainerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListContainerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFileVersionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFileVersionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRecycleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRecycleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRecycleStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRecycleStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PurgeRecycleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PurgeRecycleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestoreFileVersionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestoreFileVersionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestoreRecycleItemRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestoreRecycleItemResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveGrantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveGrantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateGrantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateGrantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSymlinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSymlinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateReferenceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateReferenceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetArbitraryMetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetArbitraryMetadataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnsetArbitraryMetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnsetArbitraryMetadataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetLockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetLockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefreshLockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefreshLockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateHomeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateHomeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes[16].OneofWrappers = []interface{}{ + (*InitiateFileUploadRequest_IfNotExist)(nil), + (*InitiateFileUploadRequest_IfMatch)(nil), + (*InitiateFileUploadRequest_IfUnmodifiedSince)(nil), } - return interceptor(ctx, in, info, handler) -} - -var _ProviderAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.storage.provider.v1beta1.ProviderAPI", - HandlerType: (*ProviderAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddGrant", - Handler: _ProviderAPI_AddGrant_Handler, - }, - { - MethodName: "CreateContainer", - Handler: _ProviderAPI_CreateContainer_Handler, - }, - { - MethodName: "TouchFile", - Handler: _ProviderAPI_TouchFile_Handler, - }, - { - MethodName: "Delete", - Handler: _ProviderAPI_Delete_Handler, - }, - { - MethodName: "DenyGrant", - Handler: _ProviderAPI_DenyGrant_Handler, - }, - { - MethodName: "GetPath", - Handler: _ProviderAPI_GetPath_Handler, - }, - { - MethodName: "GetQuota", - Handler: _ProviderAPI_GetQuota_Handler, - }, - { - MethodName: "InitiateFileDownload", - Handler: _ProviderAPI_InitiateFileDownload_Handler, - }, - { - MethodName: "InitiateFileUpload", - Handler: _ProviderAPI_InitiateFileUpload_Handler, - }, - { - MethodName: "ListGrants", - Handler: _ProviderAPI_ListGrants_Handler, - }, - { - MethodName: "ListContainer", - Handler: _ProviderAPI_ListContainer_Handler, - }, - { - MethodName: "ListFileVersions", - Handler: _ProviderAPI_ListFileVersions_Handler, - }, - { - MethodName: "ListRecycle", - Handler: _ProviderAPI_ListRecycle_Handler, - }, - { - MethodName: "Move", - Handler: _ProviderAPI_Move_Handler, - }, - { - MethodName: "RemoveGrant", - Handler: _ProviderAPI_RemoveGrant_Handler, - }, - { - MethodName: "PurgeRecycle", - Handler: _ProviderAPI_PurgeRecycle_Handler, - }, - { - MethodName: "RestoreFileVersion", - Handler: _ProviderAPI_RestoreFileVersion_Handler, - }, - { - MethodName: "RestoreRecycleItem", - Handler: _ProviderAPI_RestoreRecycleItem_Handler, - }, - { - MethodName: "Stat", - Handler: _ProviderAPI_Stat_Handler, - }, - { - MethodName: "UpdateGrant", - Handler: _ProviderAPI_UpdateGrant_Handler, - }, - { - MethodName: "CreateSymlink", - Handler: _ProviderAPI_CreateSymlink_Handler, - }, - { - MethodName: "CreateReference", - Handler: _ProviderAPI_CreateReference_Handler, - }, - { - MethodName: "SetArbitraryMetadata", - Handler: _ProviderAPI_SetArbitraryMetadata_Handler, - }, - { - MethodName: "UnsetArbitraryMetadata", - Handler: _ProviderAPI_UnsetArbitraryMetadata_Handler, - }, - { - MethodName: "SetLock", - Handler: _ProviderAPI_SetLock_Handler, - }, - { - MethodName: "GetLock", - Handler: _ProviderAPI_GetLock_Handler, - }, - { - MethodName: "RefreshLock", - Handler: _ProviderAPI_RefreshLock_Handler, - }, - { - MethodName: "Unlock", - Handler: _ProviderAPI_Unlock_Handler, - }, - { - MethodName: "CreateHome", - Handler: _ProviderAPI_CreateHome_Handler, - }, - { - MethodName: "GetHome", - Handler: _ProviderAPI_GetHome_Handler, - }, - { - MethodName: "CreateStorageSpace", - Handler: _ProviderAPI_CreateStorageSpace_Handler, - }, - { - MethodName: "ListStorageSpaces", - Handler: _ProviderAPI_ListStorageSpaces_Handler, - }, - { - MethodName: "UpdateStorageSpace", - Handler: _ProviderAPI_UpdateStorageSpace_Handler, - }, - { - MethodName: "DeleteStorageSpace", - Handler: _ProviderAPI_DeleteStorageSpace_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ListContainerStream", - Handler: _ProviderAPI_ListContainerStream_Handler, - ServerStreams: true, - }, - { - StreamName: "ListRecycleStream", - Handler: _ProviderAPI_ListRecycleStream_Handler, - ServerStreams: true, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_storage_provider_v1beta1_provider_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 64, + NumExtensions: 0, + NumServices: 1, }, - }, - Metadata: "cs3/storage/provider/v1beta1/provider_api.proto", + GoTypes: file_cs3_storage_provider_v1beta1_provider_api_proto_goTypes, + DependencyIndexes: file_cs3_storage_provider_v1beta1_provider_api_proto_depIdxs, + MessageInfos: file_cs3_storage_provider_v1beta1_provider_api_proto_msgTypes, + }.Build() + File_cs3_storage_provider_v1beta1_provider_api_proto = out.File + file_cs3_storage_provider_v1beta1_provider_api_proto_rawDesc = nil + file_cs3_storage_provider_v1beta1_provider_api_proto_goTypes = nil + file_cs3_storage_provider_v1beta1_provider_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/provider_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/provider_api_grpc.pb.go new file mode 100644 index 00000000000..00f38dc286c --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/provider_api_grpc.pb.go @@ -0,0 +1,1521 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/storage/provider/v1beta1/provider_api.proto + +package providerv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + ProviderAPI_AddGrant_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/AddGrant" + ProviderAPI_CreateContainer_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/CreateContainer" + ProviderAPI_TouchFile_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/TouchFile" + ProviderAPI_Delete_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/Delete" + ProviderAPI_DenyGrant_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/DenyGrant" + ProviderAPI_GetPath_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/GetPath" + ProviderAPI_GetQuota_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/GetQuota" + ProviderAPI_InitiateFileDownload_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/InitiateFileDownload" + ProviderAPI_InitiateFileUpload_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/InitiateFileUpload" + ProviderAPI_ListGrants_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListGrants" + ProviderAPI_ListContainerStream_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListContainerStream" + ProviderAPI_ListContainer_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListContainer" + ProviderAPI_ListFileVersions_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListFileVersions" + ProviderAPI_ListRecycleStream_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListRecycleStream" + ProviderAPI_ListRecycle_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListRecycle" + ProviderAPI_Move_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/Move" + ProviderAPI_RemoveGrant_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/RemoveGrant" + ProviderAPI_PurgeRecycle_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/PurgeRecycle" + ProviderAPI_RestoreFileVersion_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/RestoreFileVersion" + ProviderAPI_RestoreRecycleItem_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/RestoreRecycleItem" + ProviderAPI_Stat_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/Stat" + ProviderAPI_UpdateGrant_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/UpdateGrant" + ProviderAPI_CreateSymlink_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/CreateSymlink" + ProviderAPI_CreateReference_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/CreateReference" + ProviderAPI_SetArbitraryMetadata_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/SetArbitraryMetadata" + ProviderAPI_UnsetArbitraryMetadata_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/UnsetArbitraryMetadata" + ProviderAPI_SetLock_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/SetLock" + ProviderAPI_GetLock_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/GetLock" + ProviderAPI_RefreshLock_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/RefreshLock" + ProviderAPI_Unlock_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/Unlock" + ProviderAPI_CreateHome_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/CreateHome" + ProviderAPI_GetHome_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/GetHome" +) + +// ProviderAPIClient is the client API for ProviderAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ProviderAPIClient interface { + // Adds a new grant for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + AddGrant(ctx context.Context, in *AddGrantRequest, opts ...grpc.CallOption) (*AddGrantResponse, error) + // Creates a new resource of type container. + // MUST return CODE_FAILED_PRECONDITION if the container + // cannot be created at the specified reference. + CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) + // Creates a new resource of type file. + // MUST return CODE_FAILED_PRECONDITION if the file + // cannot be created at the specified reference. + TouchFile(ctx context.Context, in *TouchFileRequest, opts ...grpc.CallOption) (*TouchFileResponse, error) + // Deletes a resource. + // If a resource specifies the non-empty container (directory, ...), + // then the entire directory is deleted recursively. + // If a resource specifies a reference or symlink type, only the reference is removed (not the target). + // MUST return CODE_NOT_FOUND if the reference does not exist. + Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) + // Denies access to the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + DenyGrant(ctx context.Context, in *DenyGrantRequest, opts ...grpc.CallOption) (*DenyGrantResponse, error) + // Returns the path reference for + // the provided resource id reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + GetPath(ctx context.Context, in *GetPathRequest, opts ...grpc.CallOption) (*GetPathResponse, error) + // Returns the quota available under the provided + // reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. + GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*GetQuotaResponse, error) + // Initiates the download of a file using an + // out-of-band data transfer mechanism. + InitiateFileDownload(ctx context.Context, in *InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error) + // Initiates the upload of a file using an out-of-band data + // transfer mechanism. SHOULD return CODE_FAILED_PRECONDITION + // if the reference is already locked with a mismatched lock. + // Additionally, the lock check MUST be enforced by the data + // transfer protocol returned in response. + InitiateFileUpload(ctx context.Context, in *InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error) + // Returns the list of grants for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListGrants(ctx context.Context, in *ListGrantsRequest, opts ...grpc.CallOption) (*ListGrantsResponse, error) + // Returns a stream of resource informations + // for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListContainerStream(ctx context.Context, in *ListContainerStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListContainerStreamClient, error) + // Returns a list of resource information + // for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListContainer(ctx context.Context, in *ListContainerRequest, opts ...grpc.CallOption) (*ListContainerResponse, error) + // Returns a list of the versions for a resource of + // type file at the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_OK and MUST return an empty list if no versions are available. + // TODO: What code if resource not of type file? + ListFileVersions(ctx context.Context, in *ListFileVersionsRequest, opts ...grpc.CallOption) (*ListFileVersionsResponse, error) + // Returns a stream of recycle items for this storage provider. + ListRecycleStream(ctx context.Context, in *ListRecycleStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListRecycleStreamClient, error) + // Returns a list of recycle items for this storage provider. + // MUST return CODE_OK and MUST return an empty list if no recycle items are available. + ListRecycle(ctx context.Context, in *ListRecycleRequest, opts ...grpc.CallOption) (*ListRecycleResponse, error) + // Moves a resource from one reference to another. + // MUST return CODE_NOT_FOUND if any of the references do not exist. + // MUST return CODE_FAILED_PRECONDITION if the source reference + // cannot be moved to the destination reference. + Move(ctx context.Context, in *MoveRequest, opts ...grpc.CallOption) (*MoveResponse, error) + // Removes a grant for the provided reference. + // This is recursive and atomic for directories. Does not follow references. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_NOT_FOUND if grant does not exist. + RemoveGrant(ctx context.Context, in *RemoveGrantRequest, opts ...grpc.CallOption) (*RemoveGrantResponse, error) + // Permanently removes a recycle item from the recycle. + // This operation is irrevocable. + // MUST return CODE_NOT_FOUND if the recycle item id does not exist. + PurgeRecycle(ctx context.Context, in *PurgeRecycleRequest, opts ...grpc.CallOption) (*PurgeRecycleResponse, error) + // Restores a file version for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_NOT_FOUND if the version does not exist. + RestoreFileVersion(ctx context.Context, in *RestoreFileVersionRequest, opts ...grpc.CallOption) (*RestoreFileVersionResponse, error) + // Restores a recycle item from the recycle. + // MUST return CODE_NOT_FOUND if the recycle item id does not exist. + // MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty + // and the recycle item cannot be restored to the restore_path. + RestoreRecycleItem(ctx context.Context, in *RestoreRecycleItemRequest, opts ...grpc.CallOption) (*RestoreRecycleItemResponse, error) + // Returns the resource information at the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) + // Updates an ACL for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the acl does not exist. + UpdateGrant(ctx context.Context, in *UpdateGrantRequest, opts ...grpc.CallOption) (*UpdateGrantResponse, error) + // Creates a symlink to another resource. + CreateSymlink(ctx context.Context, in *CreateSymlinkRequest, opts ...grpc.CallOption) (*CreateSymlinkResponse, error) + // Creates a reference to another resource in the same cluster or another domain (OCM shares). + // The references resource can be accessed by the protocol specificied in the request message. + CreateReference(ctx context.Context, in *CreateReferenceRequest, opts ...grpc.CallOption) (*CreateReferenceResponse, error) + // Sets arbitrary metadata into a storage resource. + // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. + SetArbitraryMetadata(ctx context.Context, in *SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*SetArbitraryMetadataResponse, error) + // Unsets arbitrary metdata into a storage resource. + // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. + UnsetArbitraryMetadata(ctx context.Context, in *UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*UnsetArbitraryMetadataResponse, error) + // Locks a storage resource. Note that if the resource is a container, + // MAY return CODE_NOT_IMPLEMENTED as the behavior is yet to be defined at this stage. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. + // In addition, the implementation MUST ensure atomicity when multiple users + // concurrently attempt to set a lock. + // The caller MUST have write permissions on the resource. + SetLock(ctx context.Context, in *SetLockRequest, opts ...grpc.CallOption) (*SetLockResponse, error) + // Gets the lock metadata of a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. + // The caller MUST have read permissions on the resource. + GetLock(ctx context.Context, in *GetLockRequest, opts ...grpc.CallOption) (*GetLockResponse, error) + // Refreshes the lock metadata of a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_PRECONDITION_FALIED if the reference is not locked + // or if the caller does not hold the lock. + // The caller MUST have write permissions on the resource. + RefreshLock(ctx context.Context, in *RefreshLockRequest, opts ...grpc.CallOption) (*RefreshLockResponse, error) + // Unlocks a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is not locked + // or if the caller does not hold the lock. + // The caller MUST have write permissions on the resource. + Unlock(ctx context.Context, in *UnlockRequest, opts ...grpc.CallOption) (*UnlockResponse, error) + // Creates the home directory for a user. + CreateHome(ctx context.Context, in *CreateHomeRequest, opts ...grpc.CallOption) (*CreateHomeResponse, error) + // Gets the home path for the user. + GetHome(ctx context.Context, in *GetHomeRequest, opts ...grpc.CallOption) (*GetHomeResponse, error) +} + +type providerAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewProviderAPIClient(cc grpc.ClientConnInterface) ProviderAPIClient { + return &providerAPIClient{cc} +} + +func (c *providerAPIClient) AddGrant(ctx context.Context, in *AddGrantRequest, opts ...grpc.CallOption) (*AddGrantResponse, error) { + out := new(AddGrantResponse) + err := c.cc.Invoke(ctx, ProviderAPI_AddGrant_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) { + out := new(CreateContainerResponse) + err := c.cc.Invoke(ctx, ProviderAPI_CreateContainer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) TouchFile(ctx context.Context, in *TouchFileRequest, opts ...grpc.CallOption) (*TouchFileResponse, error) { + out := new(TouchFileResponse) + err := c.cc.Invoke(ctx, ProviderAPI_TouchFile_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) { + out := new(DeleteResponse) + err := c.cc.Invoke(ctx, ProviderAPI_Delete_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) DenyGrant(ctx context.Context, in *DenyGrantRequest, opts ...grpc.CallOption) (*DenyGrantResponse, error) { + out := new(DenyGrantResponse) + err := c.cc.Invoke(ctx, ProviderAPI_DenyGrant_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) GetPath(ctx context.Context, in *GetPathRequest, opts ...grpc.CallOption) (*GetPathResponse, error) { + out := new(GetPathResponse) + err := c.cc.Invoke(ctx, ProviderAPI_GetPath_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*GetQuotaResponse, error) { + out := new(GetQuotaResponse) + err := c.cc.Invoke(ctx, ProviderAPI_GetQuota_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) InitiateFileDownload(ctx context.Context, in *InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error) { + out := new(InitiateFileDownloadResponse) + err := c.cc.Invoke(ctx, ProviderAPI_InitiateFileDownload_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) InitiateFileUpload(ctx context.Context, in *InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error) { + out := new(InitiateFileUploadResponse) + err := c.cc.Invoke(ctx, ProviderAPI_InitiateFileUpload_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) ListGrants(ctx context.Context, in *ListGrantsRequest, opts ...grpc.CallOption) (*ListGrantsResponse, error) { + out := new(ListGrantsResponse) + err := c.cc.Invoke(ctx, ProviderAPI_ListGrants_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) ListContainerStream(ctx context.Context, in *ListContainerStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListContainerStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &ProviderAPI_ServiceDesc.Streams[0], ProviderAPI_ListContainerStream_FullMethodName, opts...) + if err != nil { + return nil, err + } + x := &providerAPIListContainerStreamClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type ProviderAPI_ListContainerStreamClient interface { + Recv() (*ListContainerStreamResponse, error) + grpc.ClientStream +} + +type providerAPIListContainerStreamClient struct { + grpc.ClientStream +} + +func (x *providerAPIListContainerStreamClient) Recv() (*ListContainerStreamResponse, error) { + m := new(ListContainerStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *providerAPIClient) ListContainer(ctx context.Context, in *ListContainerRequest, opts ...grpc.CallOption) (*ListContainerResponse, error) { + out := new(ListContainerResponse) + err := c.cc.Invoke(ctx, ProviderAPI_ListContainer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) ListFileVersions(ctx context.Context, in *ListFileVersionsRequest, opts ...grpc.CallOption) (*ListFileVersionsResponse, error) { + out := new(ListFileVersionsResponse) + err := c.cc.Invoke(ctx, ProviderAPI_ListFileVersions_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) ListRecycleStream(ctx context.Context, in *ListRecycleStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListRecycleStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &ProviderAPI_ServiceDesc.Streams[1], ProviderAPI_ListRecycleStream_FullMethodName, opts...) + if err != nil { + return nil, err + } + x := &providerAPIListRecycleStreamClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type ProviderAPI_ListRecycleStreamClient interface { + Recv() (*ListRecycleStreamResponse, error) + grpc.ClientStream +} + +type providerAPIListRecycleStreamClient struct { + grpc.ClientStream +} + +func (x *providerAPIListRecycleStreamClient) Recv() (*ListRecycleStreamResponse, error) { + m := new(ListRecycleStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *providerAPIClient) ListRecycle(ctx context.Context, in *ListRecycleRequest, opts ...grpc.CallOption) (*ListRecycleResponse, error) { + out := new(ListRecycleResponse) + err := c.cc.Invoke(ctx, ProviderAPI_ListRecycle_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) Move(ctx context.Context, in *MoveRequest, opts ...grpc.CallOption) (*MoveResponse, error) { + out := new(MoveResponse) + err := c.cc.Invoke(ctx, ProviderAPI_Move_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) RemoveGrant(ctx context.Context, in *RemoveGrantRequest, opts ...grpc.CallOption) (*RemoveGrantResponse, error) { + out := new(RemoveGrantResponse) + err := c.cc.Invoke(ctx, ProviderAPI_RemoveGrant_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) PurgeRecycle(ctx context.Context, in *PurgeRecycleRequest, opts ...grpc.CallOption) (*PurgeRecycleResponse, error) { + out := new(PurgeRecycleResponse) + err := c.cc.Invoke(ctx, ProviderAPI_PurgeRecycle_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) RestoreFileVersion(ctx context.Context, in *RestoreFileVersionRequest, opts ...grpc.CallOption) (*RestoreFileVersionResponse, error) { + out := new(RestoreFileVersionResponse) + err := c.cc.Invoke(ctx, ProviderAPI_RestoreFileVersion_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) RestoreRecycleItem(ctx context.Context, in *RestoreRecycleItemRequest, opts ...grpc.CallOption) (*RestoreRecycleItemResponse, error) { + out := new(RestoreRecycleItemResponse) + err := c.cc.Invoke(ctx, ProviderAPI_RestoreRecycleItem_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) { + out := new(StatResponse) + err := c.cc.Invoke(ctx, ProviderAPI_Stat_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) UpdateGrant(ctx context.Context, in *UpdateGrantRequest, opts ...grpc.CallOption) (*UpdateGrantResponse, error) { + out := new(UpdateGrantResponse) + err := c.cc.Invoke(ctx, ProviderAPI_UpdateGrant_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) CreateSymlink(ctx context.Context, in *CreateSymlinkRequest, opts ...grpc.CallOption) (*CreateSymlinkResponse, error) { + out := new(CreateSymlinkResponse) + err := c.cc.Invoke(ctx, ProviderAPI_CreateSymlink_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) CreateReference(ctx context.Context, in *CreateReferenceRequest, opts ...grpc.CallOption) (*CreateReferenceResponse, error) { + out := new(CreateReferenceResponse) + err := c.cc.Invoke(ctx, ProviderAPI_CreateReference_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) SetArbitraryMetadata(ctx context.Context, in *SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*SetArbitraryMetadataResponse, error) { + out := new(SetArbitraryMetadataResponse) + err := c.cc.Invoke(ctx, ProviderAPI_SetArbitraryMetadata_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) UnsetArbitraryMetadata(ctx context.Context, in *UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*UnsetArbitraryMetadataResponse, error) { + out := new(UnsetArbitraryMetadataResponse) + err := c.cc.Invoke(ctx, ProviderAPI_UnsetArbitraryMetadata_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) SetLock(ctx context.Context, in *SetLockRequest, opts ...grpc.CallOption) (*SetLockResponse, error) { + out := new(SetLockResponse) + err := c.cc.Invoke(ctx, ProviderAPI_SetLock_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) GetLock(ctx context.Context, in *GetLockRequest, opts ...grpc.CallOption) (*GetLockResponse, error) { + out := new(GetLockResponse) + err := c.cc.Invoke(ctx, ProviderAPI_GetLock_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) RefreshLock(ctx context.Context, in *RefreshLockRequest, opts ...grpc.CallOption) (*RefreshLockResponse, error) { + out := new(RefreshLockResponse) + err := c.cc.Invoke(ctx, ProviderAPI_RefreshLock_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) Unlock(ctx context.Context, in *UnlockRequest, opts ...grpc.CallOption) (*UnlockResponse, error) { + out := new(UnlockResponse) + err := c.cc.Invoke(ctx, ProviderAPI_Unlock_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) CreateHome(ctx context.Context, in *CreateHomeRequest, opts ...grpc.CallOption) (*CreateHomeResponse, error) { + out := new(CreateHomeResponse) + err := c.cc.Invoke(ctx, ProviderAPI_CreateHome_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *providerAPIClient) GetHome(ctx context.Context, in *GetHomeRequest, opts ...grpc.CallOption) (*GetHomeResponse, error) { + out := new(GetHomeResponse) + err := c.cc.Invoke(ctx, ProviderAPI_GetHome_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ProviderAPIServer is the server API for ProviderAPI service. +// All implementations should embed UnimplementedProviderAPIServer +// for forward compatibility +type ProviderAPIServer interface { + // Adds a new grant for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + AddGrant(context.Context, *AddGrantRequest) (*AddGrantResponse, error) + // Creates a new resource of type container. + // MUST return CODE_FAILED_PRECONDITION if the container + // cannot be created at the specified reference. + CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) + // Creates a new resource of type file. + // MUST return CODE_FAILED_PRECONDITION if the file + // cannot be created at the specified reference. + TouchFile(context.Context, *TouchFileRequest) (*TouchFileResponse, error) + // Deletes a resource. + // If a resource specifies the non-empty container (directory, ...), + // then the entire directory is deleted recursively. + // If a resource specifies a reference or symlink type, only the reference is removed (not the target). + // MUST return CODE_NOT_FOUND if the reference does not exist. + Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) + // Denies access to the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + DenyGrant(context.Context, *DenyGrantRequest) (*DenyGrantResponse, error) + // Returns the path reference for + // the provided resource id reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + GetPath(context.Context, *GetPathRequest) (*GetPathResponse, error) + // Returns the quota available under the provided + // reference. + // MUST return CODE_NOT_FOUND if the reference does not exist + // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. + GetQuota(context.Context, *GetQuotaRequest) (*GetQuotaResponse, error) + // Initiates the download of a file using an + // out-of-band data transfer mechanism. + InitiateFileDownload(context.Context, *InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error) + // Initiates the upload of a file using an out-of-band data + // transfer mechanism. SHOULD return CODE_FAILED_PRECONDITION + // if the reference is already locked with a mismatched lock. + // Additionally, the lock check MUST be enforced by the data + // transfer protocol returned in response. + InitiateFileUpload(context.Context, *InitiateFileUploadRequest) (*InitiateFileUploadResponse, error) + // Returns the list of grants for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListGrants(context.Context, *ListGrantsRequest) (*ListGrantsResponse, error) + // Returns a stream of resource informations + // for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListContainerStream(*ListContainerStreamRequest, ProviderAPI_ListContainerStreamServer) error + // Returns a list of resource information + // for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exists. + ListContainer(context.Context, *ListContainerRequest) (*ListContainerResponse, error) + // Returns a list of the versions for a resource of + // type file at the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_OK and MUST return an empty list if no versions are available. + // TODO: What code if resource not of type file? + ListFileVersions(context.Context, *ListFileVersionsRequest) (*ListFileVersionsResponse, error) + // Returns a stream of recycle items for this storage provider. + ListRecycleStream(*ListRecycleStreamRequest, ProviderAPI_ListRecycleStreamServer) error + // Returns a list of recycle items for this storage provider. + // MUST return CODE_OK and MUST return an empty list if no recycle items are available. + ListRecycle(context.Context, *ListRecycleRequest) (*ListRecycleResponse, error) + // Moves a resource from one reference to another. + // MUST return CODE_NOT_FOUND if any of the references do not exist. + // MUST return CODE_FAILED_PRECONDITION if the source reference + // cannot be moved to the destination reference. + Move(context.Context, *MoveRequest) (*MoveResponse, error) + // Removes a grant for the provided reference. + // This is recursive and atomic for directories. Does not follow references. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_NOT_FOUND if grant does not exist. + RemoveGrant(context.Context, *RemoveGrantRequest) (*RemoveGrantResponse, error) + // Permanently removes a recycle item from the recycle. + // This operation is irrevocable. + // MUST return CODE_NOT_FOUND if the recycle item id does not exist. + PurgeRecycle(context.Context, *PurgeRecycleRequest) (*PurgeRecycleResponse, error) + // Restores a file version for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_NOT_FOUND if the version does not exist. + RestoreFileVersion(context.Context, *RestoreFileVersionRequest) (*RestoreFileVersionResponse, error) + // Restores a recycle item from the recycle. + // MUST return CODE_NOT_FOUND if the recycle item id does not exist. + // MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty + // and the recycle item cannot be restored to the restore_path. + RestoreRecycleItem(context.Context, *RestoreRecycleItemRequest) (*RestoreRecycleItemResponse, error) + // Returns the resource information at the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + Stat(context.Context, *StatRequest) (*StatResponse, error) + // Updates an ACL for the provided reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the acl does not exist. + UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error) + // Creates a symlink to another resource. + CreateSymlink(context.Context, *CreateSymlinkRequest) (*CreateSymlinkResponse, error) + // Creates a reference to another resource in the same cluster or another domain (OCM shares). + // The references resource can be accessed by the protocol specificied in the request message. + CreateReference(context.Context, *CreateReferenceRequest) (*CreateReferenceResponse, error) + // Sets arbitrary metadata into a storage resource. + // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. + SetArbitraryMetadata(context.Context, *SetArbitraryMetadataRequest) (*SetArbitraryMetadataResponse, error) + // Unsets arbitrary metdata into a storage resource. + // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. + UnsetArbitraryMetadata(context.Context, *UnsetArbitraryMetadataRequest) (*UnsetArbitraryMetadataResponse, error) + // Locks a storage resource. Note that if the resource is a container, + // MAY return CODE_NOT_IMPLEMENTED as the behavior is yet to be defined at this stage. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. + // In addition, the implementation MUST ensure atomicity when multiple users + // concurrently attempt to set a lock. + // The caller MUST have write permissions on the resource. + SetLock(context.Context, *SetLockRequest) (*SetLockResponse, error) + // Gets the lock metadata of a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. + // The caller MUST have read permissions on the resource. + GetLock(context.Context, *GetLockRequest) (*GetLockResponse, error) + // Refreshes the lock metadata of a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_PRECONDITION_FALIED if the reference is not locked + // or if the caller does not hold the lock. + // The caller MUST have write permissions on the resource. + RefreshLock(context.Context, *RefreshLockRequest) (*RefreshLockResponse, error) + // Unlocks a storage resource. + // MUST return CODE_NOT_FOUND if the reference does not exist. + // MUST return CODE_FAILED_PRECONDITION if the reference is not locked + // or if the caller does not hold the lock. + // The caller MUST have write permissions on the resource. + Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error) + // Creates the home directory for a user. + CreateHome(context.Context, *CreateHomeRequest) (*CreateHomeResponse, error) + // Gets the home path for the user. + GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error) +} + +// UnimplementedProviderAPIServer should be embedded to have forward compatible implementations. +type UnimplementedProviderAPIServer struct { +} + +func (UnimplementedProviderAPIServer) AddGrant(context.Context, *AddGrantRequest) (*AddGrantResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddGrant not implemented") +} +func (UnimplementedProviderAPIServer) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateContainer not implemented") +} +func (UnimplementedProviderAPIServer) TouchFile(context.Context, *TouchFileRequest) (*TouchFileResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method TouchFile not implemented") +} +func (UnimplementedProviderAPIServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (UnimplementedProviderAPIServer) DenyGrant(context.Context, *DenyGrantRequest) (*DenyGrantResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DenyGrant not implemented") +} +func (UnimplementedProviderAPIServer) GetPath(context.Context, *GetPathRequest) (*GetPathResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPath not implemented") +} +func (UnimplementedProviderAPIServer) GetQuota(context.Context, *GetQuotaRequest) (*GetQuotaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetQuota not implemented") +} +func (UnimplementedProviderAPIServer) InitiateFileDownload(context.Context, *InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InitiateFileDownload not implemented") +} +func (UnimplementedProviderAPIServer) InitiateFileUpload(context.Context, *InitiateFileUploadRequest) (*InitiateFileUploadResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InitiateFileUpload not implemented") +} +func (UnimplementedProviderAPIServer) ListGrants(context.Context, *ListGrantsRequest) (*ListGrantsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListGrants not implemented") +} +func (UnimplementedProviderAPIServer) ListContainerStream(*ListContainerStreamRequest, ProviderAPI_ListContainerStreamServer) error { + return status.Errorf(codes.Unimplemented, "method ListContainerStream not implemented") +} +func (UnimplementedProviderAPIServer) ListContainer(context.Context, *ListContainerRequest) (*ListContainerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListContainer not implemented") +} +func (UnimplementedProviderAPIServer) ListFileVersions(context.Context, *ListFileVersionsRequest) (*ListFileVersionsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListFileVersions not implemented") +} +func (UnimplementedProviderAPIServer) ListRecycleStream(*ListRecycleStreamRequest, ProviderAPI_ListRecycleStreamServer) error { + return status.Errorf(codes.Unimplemented, "method ListRecycleStream not implemented") +} +func (UnimplementedProviderAPIServer) ListRecycle(context.Context, *ListRecycleRequest) (*ListRecycleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListRecycle not implemented") +} +func (UnimplementedProviderAPIServer) Move(context.Context, *MoveRequest) (*MoveResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") +} +func (UnimplementedProviderAPIServer) RemoveGrant(context.Context, *RemoveGrantRequest) (*RemoveGrantResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveGrant not implemented") +} +func (UnimplementedProviderAPIServer) PurgeRecycle(context.Context, *PurgeRecycleRequest) (*PurgeRecycleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PurgeRecycle not implemented") +} +func (UnimplementedProviderAPIServer) RestoreFileVersion(context.Context, *RestoreFileVersionRequest) (*RestoreFileVersionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RestoreFileVersion not implemented") +} +func (UnimplementedProviderAPIServer) RestoreRecycleItem(context.Context, *RestoreRecycleItemRequest) (*RestoreRecycleItemResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RestoreRecycleItem not implemented") +} +func (UnimplementedProviderAPIServer) Stat(context.Context, *StatRequest) (*StatResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stat not implemented") +} +func (UnimplementedProviderAPIServer) UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateGrant not implemented") +} +func (UnimplementedProviderAPIServer) CreateSymlink(context.Context, *CreateSymlinkRequest) (*CreateSymlinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateSymlink not implemented") +} +func (UnimplementedProviderAPIServer) CreateReference(context.Context, *CreateReferenceRequest) (*CreateReferenceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateReference not implemented") +} +func (UnimplementedProviderAPIServer) SetArbitraryMetadata(context.Context, *SetArbitraryMetadataRequest) (*SetArbitraryMetadataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetArbitraryMetadata not implemented") +} +func (UnimplementedProviderAPIServer) UnsetArbitraryMetadata(context.Context, *UnsetArbitraryMetadataRequest) (*UnsetArbitraryMetadataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnsetArbitraryMetadata not implemented") +} +func (UnimplementedProviderAPIServer) SetLock(context.Context, *SetLockRequest) (*SetLockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetLock not implemented") +} +func (UnimplementedProviderAPIServer) GetLock(context.Context, *GetLockRequest) (*GetLockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLock not implemented") +} +func (UnimplementedProviderAPIServer) RefreshLock(context.Context, *RefreshLockRequest) (*RefreshLockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RefreshLock not implemented") +} +func (UnimplementedProviderAPIServer) Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Unlock not implemented") +} +func (UnimplementedProviderAPIServer) CreateHome(context.Context, *CreateHomeRequest) (*CreateHomeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateHome not implemented") +} +func (UnimplementedProviderAPIServer) GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetHome not implemented") +} + +// UnsafeProviderAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ProviderAPIServer will +// result in compilation errors. +type UnsafeProviderAPIServer interface { + mustEmbedUnimplementedProviderAPIServer() +} + +func RegisterProviderAPIServer(s grpc.ServiceRegistrar, srv ProviderAPIServer) { + s.RegisterService(&ProviderAPI_ServiceDesc, srv) +} + +func _ProviderAPI_AddGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddGrantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).AddGrant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_AddGrant_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).AddGrant(ctx, req.(*AddGrantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_CreateContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateContainerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).CreateContainer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_CreateContainer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).CreateContainer(ctx, req.(*CreateContainerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_TouchFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TouchFileRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).TouchFile(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_TouchFile_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).TouchFile(ctx, req.(*TouchFileRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_Delete_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).Delete(ctx, req.(*DeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_DenyGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DenyGrantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).DenyGrant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_DenyGrant_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).DenyGrant(ctx, req.(*DenyGrantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_GetPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPathRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).GetPath(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_GetPath_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).GetPath(ctx, req.(*GetPathRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_GetQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetQuotaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).GetQuota(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_GetQuota_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).GetQuota(ctx, req.(*GetQuotaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_InitiateFileDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InitiateFileDownloadRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).InitiateFileDownload(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_InitiateFileDownload_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).InitiateFileDownload(ctx, req.(*InitiateFileDownloadRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_InitiateFileUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InitiateFileUploadRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).InitiateFileUpload(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_InitiateFileUpload_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).InitiateFileUpload(ctx, req.(*InitiateFileUploadRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_ListGrants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListGrantsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).ListGrants(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_ListGrants_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).ListGrants(ctx, req.(*ListGrantsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_ListContainerStream_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListContainerStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(ProviderAPIServer).ListContainerStream(m, &providerAPIListContainerStreamServer{stream}) +} + +type ProviderAPI_ListContainerStreamServer interface { + Send(*ListContainerStreamResponse) error + grpc.ServerStream +} + +type providerAPIListContainerStreamServer struct { + grpc.ServerStream +} + +func (x *providerAPIListContainerStreamServer) Send(m *ListContainerStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _ProviderAPI_ListContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListContainerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).ListContainer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_ListContainer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).ListContainer(ctx, req.(*ListContainerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_ListFileVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListFileVersionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).ListFileVersions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_ListFileVersions_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).ListFileVersions(ctx, req.(*ListFileVersionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_ListRecycleStream_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListRecycleStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(ProviderAPIServer).ListRecycleStream(m, &providerAPIListRecycleStreamServer{stream}) +} + +type ProviderAPI_ListRecycleStreamServer interface { + Send(*ListRecycleStreamResponse) error + grpc.ServerStream +} + +type providerAPIListRecycleStreamServer struct { + grpc.ServerStream +} + +func (x *providerAPIListRecycleStreamServer) Send(m *ListRecycleStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _ProviderAPI_ListRecycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListRecycleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).ListRecycle(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_ListRecycle_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).ListRecycle(ctx, req.(*ListRecycleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_Move_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MoveRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).Move(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_Move_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).Move(ctx, req.(*MoveRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_RemoveGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveGrantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).RemoveGrant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_RemoveGrant_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).RemoveGrant(ctx, req.(*RemoveGrantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_PurgeRecycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PurgeRecycleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).PurgeRecycle(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_PurgeRecycle_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).PurgeRecycle(ctx, req.(*PurgeRecycleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_RestoreFileVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RestoreFileVersionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).RestoreFileVersion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_RestoreFileVersion_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).RestoreFileVersion(ctx, req.(*RestoreFileVersionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_RestoreRecycleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RestoreRecycleItemRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).RestoreRecycleItem(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_RestoreRecycleItem_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).RestoreRecycleItem(ctx, req.(*RestoreRecycleItemRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_Stat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).Stat(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_Stat_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).Stat(ctx, req.(*StatRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_UpdateGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateGrantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).UpdateGrant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_UpdateGrant_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).UpdateGrant(ctx, req.(*UpdateGrantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_CreateSymlink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateSymlinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).CreateSymlink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_CreateSymlink_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).CreateSymlink(ctx, req.(*CreateSymlinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_CreateReference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateReferenceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).CreateReference(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_CreateReference_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).CreateReference(ctx, req.(*CreateReferenceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_SetArbitraryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetArbitraryMetadataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).SetArbitraryMetadata(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_SetArbitraryMetadata_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).SetArbitraryMetadata(ctx, req.(*SetArbitraryMetadataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_UnsetArbitraryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UnsetArbitraryMetadataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).UnsetArbitraryMetadata(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_UnsetArbitraryMetadata_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).UnsetArbitraryMetadata(ctx, req.(*UnsetArbitraryMetadataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_SetLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetLockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).SetLock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_SetLock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).SetLock(ctx, req.(*SetLockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_GetLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).GetLock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_GetLock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).GetLock(ctx, req.(*GetLockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_RefreshLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RefreshLockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).RefreshLock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_RefreshLock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).RefreshLock(ctx, req.(*RefreshLockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_Unlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UnlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).Unlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_Unlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).Unlock(ctx, req.(*UnlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_CreateHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateHomeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).CreateHome(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_CreateHome_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).CreateHome(ctx, req.(*CreateHomeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ProviderAPI_GetHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetHomeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProviderAPIServer).GetHome(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ProviderAPI_GetHome_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProviderAPIServer).GetHome(ctx, req.(*GetHomeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ProviderAPI_ServiceDesc is the grpc.ServiceDesc for ProviderAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ProviderAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.storage.provider.v1beta1.ProviderAPI", + HandlerType: (*ProviderAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "AddGrant", + Handler: _ProviderAPI_AddGrant_Handler, + }, + { + MethodName: "CreateContainer", + Handler: _ProviderAPI_CreateContainer_Handler, + }, + { + MethodName: "TouchFile", + Handler: _ProviderAPI_TouchFile_Handler, + }, + { + MethodName: "Delete", + Handler: _ProviderAPI_Delete_Handler, + }, + { + MethodName: "DenyGrant", + Handler: _ProviderAPI_DenyGrant_Handler, + }, + { + MethodName: "GetPath", + Handler: _ProviderAPI_GetPath_Handler, + }, + { + MethodName: "GetQuota", + Handler: _ProviderAPI_GetQuota_Handler, + }, + { + MethodName: "InitiateFileDownload", + Handler: _ProviderAPI_InitiateFileDownload_Handler, + }, + { + MethodName: "InitiateFileUpload", + Handler: _ProviderAPI_InitiateFileUpload_Handler, + }, + { + MethodName: "ListGrants", + Handler: _ProviderAPI_ListGrants_Handler, + }, + { + MethodName: "ListContainer", + Handler: _ProviderAPI_ListContainer_Handler, + }, + { + MethodName: "ListFileVersions", + Handler: _ProviderAPI_ListFileVersions_Handler, + }, + { + MethodName: "ListRecycle", + Handler: _ProviderAPI_ListRecycle_Handler, + }, + { + MethodName: "Move", + Handler: _ProviderAPI_Move_Handler, + }, + { + MethodName: "RemoveGrant", + Handler: _ProviderAPI_RemoveGrant_Handler, + }, + { + MethodName: "PurgeRecycle", + Handler: _ProviderAPI_PurgeRecycle_Handler, + }, + { + MethodName: "RestoreFileVersion", + Handler: _ProviderAPI_RestoreFileVersion_Handler, + }, + { + MethodName: "RestoreRecycleItem", + Handler: _ProviderAPI_RestoreRecycleItem_Handler, + }, + { + MethodName: "Stat", + Handler: _ProviderAPI_Stat_Handler, + }, + { + MethodName: "UpdateGrant", + Handler: _ProviderAPI_UpdateGrant_Handler, + }, + { + MethodName: "CreateSymlink", + Handler: _ProviderAPI_CreateSymlink_Handler, + }, + { + MethodName: "CreateReference", + Handler: _ProviderAPI_CreateReference_Handler, + }, + { + MethodName: "SetArbitraryMetadata", + Handler: _ProviderAPI_SetArbitraryMetadata_Handler, + }, + { + MethodName: "UnsetArbitraryMetadata", + Handler: _ProviderAPI_UnsetArbitraryMetadata_Handler, + }, + { + MethodName: "SetLock", + Handler: _ProviderAPI_SetLock_Handler, + }, + { + MethodName: "GetLock", + Handler: _ProviderAPI_GetLock_Handler, + }, + { + MethodName: "RefreshLock", + Handler: _ProviderAPI_RefreshLock_Handler, + }, + { + MethodName: "Unlock", + Handler: _ProviderAPI_Unlock_Handler, + }, + { + MethodName: "CreateHome", + Handler: _ProviderAPI_CreateHome_Handler, + }, + { + MethodName: "GetHome", + Handler: _ProviderAPI_GetHome_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "ListContainerStream", + Handler: _ProviderAPI_ListContainerStream_Handler, + ServerStreams: true, + }, + { + StreamName: "ListRecycleStream", + Handler: _ProviderAPI_ListRecycleStream_Handler, + ServerStreams: true, + }, + }, + Metadata: "cs3/storage/provider/v1beta1/provider_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/resources.pb.go index 95634089f99..701607190ef 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/resources.pb.go @@ -1,27 +1,45 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/storage/provider/v1beta1/resources.proto package providerv1beta1 import ( - fmt "fmt" v1beta12 "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // The available type of locks for a resource. type LockType int32 @@ -40,26 +58,47 @@ const ( LockType_LOCK_TYPE_EXCL LockType = 3 ) -var LockType_name = map[int32]string{ - 0: "LOCK_TYPE_INVALID", - 1: "LOCK_TYPE_SHARED", - 2: "LOCK_TYPE_WRITE", - 3: "LOCK_TYPE_EXCL", -} +// Enum value maps for LockType. +var ( + LockType_name = map[int32]string{ + 0: "LOCK_TYPE_INVALID", + 1: "LOCK_TYPE_SHARED", + 2: "LOCK_TYPE_WRITE", + 3: "LOCK_TYPE_EXCL", + } + LockType_value = map[string]int32{ + "LOCK_TYPE_INVALID": 0, + "LOCK_TYPE_SHARED": 1, + "LOCK_TYPE_WRITE": 2, + "LOCK_TYPE_EXCL": 3, + } +) -var LockType_value = map[string]int32{ - "LOCK_TYPE_INVALID": 0, - "LOCK_TYPE_SHARED": 1, - "LOCK_TYPE_WRITE": 2, - "LOCK_TYPE_EXCL": 3, +func (x LockType) Enum() *LockType { + p := new(LockType) + *p = x + return p } func (x LockType) String() string { - return proto.EnumName(LockType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (LockType) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_storage_provider_v1beta1_resources_proto_enumTypes[0].Descriptor() +} + +func (LockType) Type() protoreflect.EnumType { + return &file_cs3_storage_provider_v1beta1_resources_proto_enumTypes[0] } +func (x LockType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use LockType.Descriptor instead. func (LockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{0} + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{0} } // The available types of resources. @@ -100,30 +139,51 @@ const ( ResourceType_RESOURCE_TYPE_INTERNAL ResourceType = 5 ) -var ResourceType_name = map[int32]string{ - 0: "RESOURCE_TYPE_INVALID", - 1: "RESOURCE_TYPE_FILE", - 2: "RESOURCE_TYPE_CONTAINER", - 3: "RESOURCE_TYPE_REFERENCE", - 4: "RESOURCE_TYPE_SYMLINK", - 5: "RESOURCE_TYPE_INTERNAL", -} +// Enum value maps for ResourceType. +var ( + ResourceType_name = map[int32]string{ + 0: "RESOURCE_TYPE_INVALID", + 1: "RESOURCE_TYPE_FILE", + 2: "RESOURCE_TYPE_CONTAINER", + 3: "RESOURCE_TYPE_REFERENCE", + 4: "RESOURCE_TYPE_SYMLINK", + 5: "RESOURCE_TYPE_INTERNAL", + } + ResourceType_value = map[string]int32{ + "RESOURCE_TYPE_INVALID": 0, + "RESOURCE_TYPE_FILE": 1, + "RESOURCE_TYPE_CONTAINER": 2, + "RESOURCE_TYPE_REFERENCE": 3, + "RESOURCE_TYPE_SYMLINK": 4, + "RESOURCE_TYPE_INTERNAL": 5, + } +) -var ResourceType_value = map[string]int32{ - "RESOURCE_TYPE_INVALID": 0, - "RESOURCE_TYPE_FILE": 1, - "RESOURCE_TYPE_CONTAINER": 2, - "RESOURCE_TYPE_REFERENCE": 3, - "RESOURCE_TYPE_SYMLINK": 4, - "RESOURCE_TYPE_INTERNAL": 5, +func (x ResourceType) Enum() *ResourceType { + p := new(ResourceType) + *p = x + return p } func (x ResourceType) String() string { - return proto.EnumName(ResourceType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ResourceType) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_storage_provider_v1beta1_resources_proto_enumTypes[1].Descriptor() +} + +func (ResourceType) Type() protoreflect.EnumType { + return &file_cs3_storage_provider_v1beta1_resources_proto_enumTypes[1] } +func (x ResourceType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResourceType.Descriptor instead. func (ResourceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{1} + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{1} } // The type of checksum to use. @@ -141,28 +201,49 @@ const ( ResourceChecksumType_RESOURCE_CHECKSUM_TYPE_SHA1 ResourceChecksumType = 4 ) -var ResourceChecksumType_name = map[int32]string{ - 0: "RESOURCE_CHECKSUM_TYPE_INVALID", - 1: "RESOURCE_CHECKSUM_TYPE_UNSET", - 2: "RESOURCE_CHECKSUM_TYPE_ADLER32", - 3: "RESOURCE_CHECKSUM_TYPE_MD5", - 4: "RESOURCE_CHECKSUM_TYPE_SHA1", -} +// Enum value maps for ResourceChecksumType. +var ( + ResourceChecksumType_name = map[int32]string{ + 0: "RESOURCE_CHECKSUM_TYPE_INVALID", + 1: "RESOURCE_CHECKSUM_TYPE_UNSET", + 2: "RESOURCE_CHECKSUM_TYPE_ADLER32", + 3: "RESOURCE_CHECKSUM_TYPE_MD5", + 4: "RESOURCE_CHECKSUM_TYPE_SHA1", + } + ResourceChecksumType_value = map[string]int32{ + "RESOURCE_CHECKSUM_TYPE_INVALID": 0, + "RESOURCE_CHECKSUM_TYPE_UNSET": 1, + "RESOURCE_CHECKSUM_TYPE_ADLER32": 2, + "RESOURCE_CHECKSUM_TYPE_MD5": 3, + "RESOURCE_CHECKSUM_TYPE_SHA1": 4, + } +) -var ResourceChecksumType_value = map[string]int32{ - "RESOURCE_CHECKSUM_TYPE_INVALID": 0, - "RESOURCE_CHECKSUM_TYPE_UNSET": 1, - "RESOURCE_CHECKSUM_TYPE_ADLER32": 2, - "RESOURCE_CHECKSUM_TYPE_MD5": 3, - "RESOURCE_CHECKSUM_TYPE_SHA1": 4, +func (x ResourceChecksumType) Enum() *ResourceChecksumType { + p := new(ResourceChecksumType) + *p = x + return p } func (x ResourceChecksumType) String() string { - return proto.EnumName(ResourceChecksumType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ResourceChecksumType) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_storage_provider_v1beta1_resources_proto_enumTypes[2].Descriptor() +} + +func (ResourceChecksumType) Type() protoreflect.EnumType { + return &file_cs3_storage_provider_v1beta1_resources_proto_enumTypes[2] } +func (x ResourceChecksumType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResourceChecksumType.Descriptor instead. func (ResourceChecksumType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{2} + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{2} } // The type of the grantee. @@ -176,29 +257,54 @@ const ( GranteeType_GRANTEE_TYPE_GROUP GranteeType = 2 ) -var GranteeType_name = map[int32]string{ - 0: "GRANTEE_TYPE_INVALID", - 1: "GRANTEE_TYPE_USER", - 2: "GRANTEE_TYPE_GROUP", -} +// Enum value maps for GranteeType. +var ( + GranteeType_name = map[int32]string{ + 0: "GRANTEE_TYPE_INVALID", + 1: "GRANTEE_TYPE_USER", + 2: "GRANTEE_TYPE_GROUP", + } + GranteeType_value = map[string]int32{ + "GRANTEE_TYPE_INVALID": 0, + "GRANTEE_TYPE_USER": 1, + "GRANTEE_TYPE_GROUP": 2, + } +) -var GranteeType_value = map[string]int32{ - "GRANTEE_TYPE_INVALID": 0, - "GRANTEE_TYPE_USER": 1, - "GRANTEE_TYPE_GROUP": 2, +func (x GranteeType) Enum() *GranteeType { + p := new(GranteeType) + *p = x + return p } func (x GranteeType) String() string { - return proto.EnumName(GranteeType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (GranteeType) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_storage_provider_v1beta1_resources_proto_enumTypes[3].Descriptor() +} + +func (GranteeType) Type() protoreflect.EnumType { + return &file_cs3_storage_provider_v1beta1_resources_proto_enumTypes[3] +} + +func (x GranteeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use GranteeType.Descriptor instead. func (GranteeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{3} + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{3} } // Represents the information (metadata) about // a storage resource organized in a hierarchical namespace (file, directory/container, reference, symlink, ...). type ResourceInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -272,166 +378,170 @@ type ResourceInfo struct { Name string `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"` // OPTIONAL. // StorageSpace where this resource is located. - Space *StorageSpace `protobuf:"bytes,19,opt,name=space,proto3" json:"space,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Space *StorageSpace `protobuf:"bytes,19,opt,name=space,proto3" json:"space,omitempty"` } -func (m *ResourceInfo) Reset() { *m = ResourceInfo{} } -func (m *ResourceInfo) String() string { return proto.CompactTextString(m) } -func (*ResourceInfo) ProtoMessage() {} -func (*ResourceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{0} +func (x *ResourceInfo) Reset() { + *x = ResourceInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResourceInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourceInfo.Unmarshal(m, b) -} -func (m *ResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourceInfo.Marshal(b, m, deterministic) -} -func (m *ResourceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceInfo.Merge(m, src) +func (x *ResourceInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceInfo) XXX_Size() int { - return xxx_messageInfo_ResourceInfo.Size(m) -} -func (m *ResourceInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceInfo.DiscardUnknown(m) + +func (*ResourceInfo) ProtoMessage() {} + +func (x *ResourceInfo) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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) } -var xxx_messageInfo_ResourceInfo proto.InternalMessageInfo +// Deprecated: Use ResourceInfo.ProtoReflect.Descriptor instead. +func (*ResourceInfo) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *ResourceInfo) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ResourceInfo) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ResourceInfo) GetType() ResourceType { - if m != nil { - return m.Type +func (x *ResourceInfo) GetType() ResourceType { + if x != nil { + return x.Type } return ResourceType_RESOURCE_TYPE_INVALID } -func (m *ResourceInfo) GetId() *ResourceId { - if m != nil { - return m.Id +func (x *ResourceInfo) GetId() *ResourceId { + if x != nil { + return x.Id } return nil } -func (m *ResourceInfo) GetChecksum() *ResourceChecksum { - if m != nil { - return m.Checksum +func (x *ResourceInfo) GetChecksum() *ResourceChecksum { + if x != nil { + return x.Checksum } return nil } -func (m *ResourceInfo) GetEtag() string { - if m != nil { - return m.Etag +func (x *ResourceInfo) GetEtag() string { + if x != nil { + return x.Etag } return "" } -func (m *ResourceInfo) GetMimeType() string { - if m != nil { - return m.MimeType +func (x *ResourceInfo) GetMimeType() string { + if x != nil { + return x.MimeType } return "" } -func (m *ResourceInfo) GetMtime() *v1beta1.Timestamp { - if m != nil { - return m.Mtime +func (x *ResourceInfo) GetMtime() *v1beta1.Timestamp { + if x != nil { + return x.Mtime } return nil } -func (m *ResourceInfo) GetPath() string { - if m != nil { - return m.Path +func (x *ResourceInfo) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *ResourceInfo) GetPermissionSet() *ResourcePermissions { - if m != nil { - return m.PermissionSet +func (x *ResourceInfo) GetPermissionSet() *ResourcePermissions { + if x != nil { + return x.PermissionSet } return nil } -func (m *ResourceInfo) GetSize() uint64 { - if m != nil { - return m.Size +func (x *ResourceInfo) GetSize() uint64 { + if x != nil { + return x.Size } return 0 } -func (m *ResourceInfo) GetOwner() *v1beta11.UserId { - if m != nil { - return m.Owner +func (x *ResourceInfo) GetOwner() *v1beta11.UserId { + if x != nil { + return x.Owner } return nil } -func (m *ResourceInfo) GetTarget() string { - if m != nil { - return m.Target +func (x *ResourceInfo) GetTarget() string { + if x != nil { + return x.Target } return "" } -func (m *ResourceInfo) GetCanonicalMetadata() *CanonicalMetadata { - if m != nil { - return m.CanonicalMetadata +func (x *ResourceInfo) GetCanonicalMetadata() *CanonicalMetadata { + if x != nil { + return x.CanonicalMetadata } return nil } -func (m *ResourceInfo) GetArbitraryMetadata() *ArbitraryMetadata { - if m != nil { - return m.ArbitraryMetadata +func (x *ResourceInfo) GetArbitraryMetadata() *ArbitraryMetadata { + if x != nil { + return x.ArbitraryMetadata } return nil } -func (m *ResourceInfo) GetLock() *Lock { - if m != nil { - return m.Lock +func (x *ResourceInfo) GetLock() *Lock { + if x != nil { + return x.Lock } return nil } -func (m *ResourceInfo) GetAdvisoryLocks() []*Lock { - if m != nil { - return m.AdvisoryLocks +func (x *ResourceInfo) GetAdvisoryLocks() []*Lock { + if x != nil { + return x.AdvisoryLocks } return nil } -func (m *ResourceInfo) GetParentId() *ResourceId { - if m != nil { - return m.ParentId +func (x *ResourceInfo) GetParentId() *ResourceId { + if x != nil { + return x.ParentId } return nil } -func (m *ResourceInfo) GetName() string { - if m != nil { - return m.Name +func (x *ResourceInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ResourceInfo) GetSpace() *StorageSpace { - if m != nil { - return m.Space +func (x *ResourceInfo) GetSpace() *StorageSpace { + if x != nil { + return x.Space } return nil } @@ -444,82 +554,98 @@ func (m *ResourceInfo) GetSpace() *StorageSpace { // contains well defined fileds that clients MUST understand if // they are specified. type CanonicalMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED if resource type is RESOURCE_TYPE_REFERENCE. // The target reference the resource points to. - Target *Reference `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Target *Reference `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` } -func (m *CanonicalMetadata) Reset() { *m = CanonicalMetadata{} } -func (m *CanonicalMetadata) String() string { return proto.CompactTextString(m) } -func (*CanonicalMetadata) ProtoMessage() {} -func (*CanonicalMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{1} +func (x *CanonicalMetadata) Reset() { + *x = CanonicalMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CanonicalMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CanonicalMetadata.Unmarshal(m, b) -} -func (m *CanonicalMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CanonicalMetadata.Marshal(b, m, deterministic) +func (x *CanonicalMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CanonicalMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CanonicalMetadata.Merge(m, src) -} -func (m *CanonicalMetadata) XXX_Size() int { - return xxx_messageInfo_CanonicalMetadata.Size(m) -} -func (m *CanonicalMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CanonicalMetadata.DiscardUnknown(m) + +func (*CanonicalMetadata) ProtoMessage() {} + +func (x *CanonicalMetadata) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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) } -var xxx_messageInfo_CanonicalMetadata proto.InternalMessageInfo +// Deprecated: Use CanonicalMetadata.ProtoReflect.Descriptor instead. +func (*CanonicalMetadata) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *CanonicalMetadata) GetTarget() *Reference { - if m != nil { - return m.Target +func (x *CanonicalMetadata) GetTarget() *Reference { + if x != nil { + return x.Target } return nil } // Arbitrary metadata than can be set to the resource. type ArbitraryMetadata struct { - Metadata map[string]string `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ArbitraryMetadata) Reset() { *m = ArbitraryMetadata{} } -func (m *ArbitraryMetadata) String() string { return proto.CompactTextString(m) } -func (*ArbitraryMetadata) ProtoMessage() {} -func (*ArbitraryMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{2} + Metadata map[string]string `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ArbitraryMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArbitraryMetadata.Unmarshal(m, b) -} -func (m *ArbitraryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArbitraryMetadata.Marshal(b, m, deterministic) -} -func (m *ArbitraryMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArbitraryMetadata.Merge(m, src) +func (x *ArbitraryMetadata) Reset() { + *x = ArbitraryMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArbitraryMetadata) XXX_Size() int { - return xxx_messageInfo_ArbitraryMetadata.Size(m) + +func (x *ArbitraryMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ArbitraryMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ArbitraryMetadata.DiscardUnknown(m) + +func (*ArbitraryMetadata) ProtoMessage() {} + +func (x *ArbitraryMetadata) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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) } -var xxx_messageInfo_ArbitraryMetadata proto.InternalMessageInfo +// Deprecated: Use ArbitraryMetadata.ProtoReflect.Descriptor instead. +func (*ArbitraryMetadata) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{2} +} -func (m *ArbitraryMetadata) GetMetadata() map[string]string { - if m != nil { - return m.Metadata +func (x *ArbitraryMetadata) GetMetadata() map[string]string { + if x != nil { + return x.Metadata } return nil } @@ -532,6 +658,10 @@ func (m *ArbitraryMetadata) GetMetadata() map[string]string { // Such extended attribute MUST NOT be exposed via the `Stat` and `SetArbitraryMetadata` APIs. // Instead, the `ResourceInfo.Lock` attribute MUST be populated if a lock exists for the given reference. type Lock struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -551,75 +681,79 @@ type Lock struct { AppName string `protobuf:"bytes,5,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` // OPTIONAL. // The time when the lock will expire. - Expiration *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *Lock) Reset() { *m = Lock{} } -func (m *Lock) String() string { return proto.CompactTextString(m) } -func (*Lock) ProtoMessage() {} -func (*Lock) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{3} +func (x *Lock) Reset() { + *x = Lock{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Lock) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Lock.Unmarshal(m, b) +func (x *Lock) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Lock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Lock.Marshal(b, m, deterministic) -} -func (m *Lock) XXX_Merge(src proto.Message) { - xxx_messageInfo_Lock.Merge(m, src) -} -func (m *Lock) XXX_Size() int { - return xxx_messageInfo_Lock.Size(m) -} -func (m *Lock) XXX_DiscardUnknown() { - xxx_messageInfo_Lock.DiscardUnknown(m) + +func (*Lock) ProtoMessage() {} + +func (x *Lock) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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) } -var xxx_messageInfo_Lock proto.InternalMessageInfo +// Deprecated: Use Lock.ProtoReflect.Descriptor instead. +func (*Lock) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{3} +} -func (m *Lock) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *Lock) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *Lock) GetLockId() string { - if m != nil { - return m.LockId +func (x *Lock) GetLockId() string { + if x != nil { + return x.LockId } return "" } -func (m *Lock) GetType() LockType { - if m != nil { - return m.Type +func (x *Lock) GetType() LockType { + if x != nil { + return x.Type } return LockType_LOCK_TYPE_INVALID } -func (m *Lock) GetUser() *v1beta11.UserId { - if m != nil { - return m.User +func (x *Lock) GetUser() *v1beta11.UserId { + if x != nil { + return x.User } return nil } -func (m *Lock) GetAppName() string { - if m != nil { - return m.AppName +func (x *Lock) GetAppName() string { + if x != nil { + return x.AppName } return "" } -func (m *Lock) GetExpiration() *v1beta1.Timestamp { - if m != nil { - return m.Expiration +func (x *Lock) GetExpiration() *v1beta1.Timestamp { + if x != nil { + return x.Expiration } return nil } @@ -627,6 +761,10 @@ func (m *Lock) GetExpiration() *v1beta1.Timestamp { // The checksum to verify // the integrity of a resource. type ResourceChecksum struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The type of checksum to use. // If no checksum is provided, @@ -638,47 +776,51 @@ type ResourceChecksum struct { // MUST be the hexadecimal representation of the cheksum. // The value is case-insensitive, so // "1E603A8", "1e603a8" or "1e603A8" are the same. - Sum string `protobuf:"bytes,2,opt,name=sum,proto3" json:"sum,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Sum string `protobuf:"bytes,2,opt,name=sum,proto3" json:"sum,omitempty"` } -func (m *ResourceChecksum) Reset() { *m = ResourceChecksum{} } -func (m *ResourceChecksum) String() string { return proto.CompactTextString(m) } -func (*ResourceChecksum) ProtoMessage() {} -func (*ResourceChecksum) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{4} +func (x *ResourceChecksum) Reset() { + *x = ResourceChecksum{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResourceChecksum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourceChecksum.Unmarshal(m, b) -} -func (m *ResourceChecksum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourceChecksum.Marshal(b, m, deterministic) +func (x *ResourceChecksum) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceChecksum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceChecksum.Merge(m, src) -} -func (m *ResourceChecksum) XXX_Size() int { - return xxx_messageInfo_ResourceChecksum.Size(m) -} -func (m *ResourceChecksum) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceChecksum.DiscardUnknown(m) + +func (*ResourceChecksum) ProtoMessage() {} + +func (x *ResourceChecksum) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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) } -var xxx_messageInfo_ResourceChecksum proto.InternalMessageInfo +// Deprecated: Use ResourceChecksum.ProtoReflect.Descriptor instead. +func (*ResourceChecksum) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{4} +} -func (m *ResourceChecksum) GetType() ResourceChecksumType { - if m != nil { - return m.Type +func (x *ResourceChecksum) GetType() ResourceChecksumType { + if x != nil { + return x.Type } return ResourceChecksumType_RESOURCE_CHECKSUM_TYPE_INVALID } -func (m *ResourceChecksum) GetSum() string { - if m != nil { - return m.Sum +func (x *ResourceChecksum) GetSum() string { + if x != nil { + return x.Sum } return "" } @@ -688,48 +830,56 @@ func (m *ResourceChecksum) GetSum() string { // defines the priority of the checksum. // Priority 0 means highest priority. type ResourceChecksumPriority struct { - Type ResourceChecksumType `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.ResourceChecksumType" json:"type,omitempty"` - Priority uint32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ResourceChecksumPriority) Reset() { *m = ResourceChecksumPriority{} } -func (m *ResourceChecksumPriority) String() string { return proto.CompactTextString(m) } -func (*ResourceChecksumPriority) ProtoMessage() {} -func (*ResourceChecksumPriority) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{5} + Type ResourceChecksumType `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.ResourceChecksumType" json:"type,omitempty"` + Priority uint32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` } -func (m *ResourceChecksumPriority) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourceChecksumPriority.Unmarshal(m, b) -} -func (m *ResourceChecksumPriority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourceChecksumPriority.Marshal(b, m, deterministic) -} -func (m *ResourceChecksumPriority) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceChecksumPriority.Merge(m, src) +func (x *ResourceChecksumPriority) Reset() { + *x = ResourceChecksumPriority{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResourceChecksumPriority) XXX_Size() int { - return xxx_messageInfo_ResourceChecksumPriority.Size(m) + +func (x *ResourceChecksumPriority) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceChecksumPriority) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceChecksumPriority.DiscardUnknown(m) + +func (*ResourceChecksumPriority) ProtoMessage() {} + +func (x *ResourceChecksumPriority) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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) } -var xxx_messageInfo_ResourceChecksumPriority proto.InternalMessageInfo +// Deprecated: Use ResourceChecksumPriority.ProtoReflect.Descriptor instead. +func (*ResourceChecksumPriority) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{5} +} -func (m *ResourceChecksumPriority) GetType() ResourceChecksumType { - if m != nil { - return m.Type +func (x *ResourceChecksumPriority) GetType() ResourceChecksumType { + if x != nil { + return x.Type } return ResourceChecksumType_RESOURCE_CHECKSUM_TYPE_INVALID } -func (m *ResourceChecksumPriority) GetPriority() uint32 { - if m != nil { - return m.Priority +func (x *ResourceChecksumPriority) GetPriority() uint32 { + if x != nil { + return x.Priority } return 0 } @@ -741,53 +891,61 @@ func (m *ResourceChecksumPriority) GetPriority() uint32 { // In a URL the different components can be represented in a string using the following layout: // !: type Reference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL ResourceId *ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // OPTIONAL. // When starting with `/` represents an absolute path. In this case the resource_id MUST be empty. // When starting with `.` represents a path relative to the resource_id. The resource_id MUST be given. // When path is empty the resource_id must be set. Used to look up the path for a resource_id. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *Reference) Reset() { *m = Reference{} } -func (m *Reference) String() string { return proto.CompactTextString(m) } -func (*Reference) ProtoMessage() {} -func (*Reference) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{6} +func (x *Reference) Reset() { + *x = Reference{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Reference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Reference.Unmarshal(m, b) -} -func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Reference.Marshal(b, m, deterministic) +func (x *Reference) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Reference) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reference.Merge(m, src) -} -func (m *Reference) XXX_Size() int { - return xxx_messageInfo_Reference.Size(m) -} -func (m *Reference) XXX_DiscardUnknown() { - xxx_messageInfo_Reference.DiscardUnknown(m) + +func (*Reference) ProtoMessage() {} + +func (x *Reference) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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) } -var xxx_messageInfo_Reference proto.InternalMessageInfo +// Deprecated: Use Reference.ProtoReflect.Descriptor instead. +func (*Reference) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{6} +} -func (m *Reference) GetResourceId() *ResourceId { - if m != nil { - return m.ResourceId +func (x *Reference) GetResourceId() *ResourceId { + if x != nil { + return x.ResourceId } return nil } -func (m *Reference) GetPath() string { - if m != nil { - return m.Path +func (x *Reference) GetPath() string { + if x != nil { + return x.Path } return "" } @@ -796,6 +954,10 @@ func (m *Reference) GetPath() string { // resource in the storage provider namespace. // A ResourceId MUST be unique in the storage provider. type ResourceId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The logical id of a storage. Used by the storage // registry to determine the responsible storage provider. @@ -809,238 +971,250 @@ type ResourceId struct { // The internal id used by service implementor to // uniquely identify the storage space. // Used by the storageprovider to locate the correct storage space. - SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` } -func (m *ResourceId) Reset() { *m = ResourceId{} } -func (m *ResourceId) String() string { return proto.CompactTextString(m) } -func (*ResourceId) ProtoMessage() {} -func (*ResourceId) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{7} +func (x *ResourceId) Reset() { + *x = ResourceId{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResourceId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourceId.Unmarshal(m, b) -} -func (m *ResourceId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourceId.Marshal(b, m, deterministic) -} -func (m *ResourceId) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceId.Merge(m, src) -} -func (m *ResourceId) XXX_Size() int { - return xxx_messageInfo_ResourceId.Size(m) +func (x *ResourceId) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceId) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceId.DiscardUnknown(m) + +func (*ResourceId) ProtoMessage() {} + +func (x *ResourceId) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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) } -var xxx_messageInfo_ResourceId proto.InternalMessageInfo +// Deprecated: Use ResourceId.ProtoReflect.Descriptor instead. +func (*ResourceId) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{7} +} -func (m *ResourceId) GetStorageId() string { - if m != nil { - return m.StorageId +func (x *ResourceId) GetStorageId() string { + if x != nil { + return x.StorageId } return "" } -func (m *ResourceId) GetOpaqueId() string { - if m != nil { - return m.OpaqueId +func (x *ResourceId) GetOpaqueId() string { + if x != nil { + return x.OpaqueId } return "" } -func (m *ResourceId) GetSpaceId() string { - if m != nil { - return m.SpaceId +func (x *ResourceId) GetSpaceId() string { + if x != nil { + return x.SpaceId } return "" } // The representation of permissions attached to a resource. type ResourcePermissions struct { - AddGrant bool `protobuf:"varint,1,opt,name=add_grant,json=addGrant,proto3" json:"add_grant,omitempty"` - CreateContainer bool `protobuf:"varint,2,opt,name=create_container,json=createContainer,proto3" json:"create_container,omitempty"` - Delete bool `protobuf:"varint,3,opt,name=delete,proto3" json:"delete,omitempty"` - GetPath bool `protobuf:"varint,5,opt,name=get_path,json=getPath,proto3" json:"get_path,omitempty"` - GetQuota bool `protobuf:"varint,6,opt,name=get_quota,json=getQuota,proto3" json:"get_quota,omitempty"` - InitiateFileDownload bool `protobuf:"varint,7,opt,name=initiate_file_download,json=initiateFileDownload,proto3" json:"initiate_file_download,omitempty"` - InitiateFileUpload bool `protobuf:"varint,8,opt,name=initiate_file_upload,json=initiateFileUpload,proto3" json:"initiate_file_upload,omitempty"` - ListGrants bool `protobuf:"varint,9,opt,name=list_grants,json=listGrants,proto3" json:"list_grants,omitempty"` - ListContainer bool `protobuf:"varint,10,opt,name=list_container,json=listContainer,proto3" json:"list_container,omitempty"` - ListFileVersions bool `protobuf:"varint,11,opt,name=list_file_versions,json=listFileVersions,proto3" json:"list_file_versions,omitempty"` - ListRecycle bool `protobuf:"varint,12,opt,name=list_recycle,json=listRecycle,proto3" json:"list_recycle,omitempty"` - Move bool `protobuf:"varint,13,opt,name=move,proto3" json:"move,omitempty"` - RemoveGrant bool `protobuf:"varint,14,opt,name=remove_grant,json=removeGrant,proto3" json:"remove_grant,omitempty"` - PurgeRecycle bool `protobuf:"varint,15,opt,name=purge_recycle,json=purgeRecycle,proto3" json:"purge_recycle,omitempty"` - RestoreFileVersion bool `protobuf:"varint,16,opt,name=restore_file_version,json=restoreFileVersion,proto3" json:"restore_file_version,omitempty"` - RestoreRecycleItem bool `protobuf:"varint,17,opt,name=restore_recycle_item,json=restoreRecycleItem,proto3" json:"restore_recycle_item,omitempty"` - Stat bool `protobuf:"varint,18,opt,name=stat,proto3" json:"stat,omitempty"` - UpdateGrant bool `protobuf:"varint,19,opt,name=update_grant,json=updateGrant,proto3" json:"update_grant,omitempty"` - DenyGrant bool `protobuf:"varint,20,opt,name=deny_grant,json=denyGrant,proto3" json:"deny_grant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ResourcePermissions) Reset() { *m = ResourcePermissions{} } -func (m *ResourcePermissions) String() string { return proto.CompactTextString(m) } -func (*ResourcePermissions) ProtoMessage() {} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AddGrant bool `protobuf:"varint,1,opt,name=add_grant,json=addGrant,proto3" json:"add_grant,omitempty"` + CreateContainer bool `protobuf:"varint,2,opt,name=create_container,json=createContainer,proto3" json:"create_container,omitempty"` + Delete bool `protobuf:"varint,3,opt,name=delete,proto3" json:"delete,omitempty"` + GetPath bool `protobuf:"varint,5,opt,name=get_path,json=getPath,proto3" json:"get_path,omitempty"` + GetQuota bool `protobuf:"varint,6,opt,name=get_quota,json=getQuota,proto3" json:"get_quota,omitempty"` + InitiateFileDownload bool `protobuf:"varint,7,opt,name=initiate_file_download,json=initiateFileDownload,proto3" json:"initiate_file_download,omitempty"` + InitiateFileUpload bool `protobuf:"varint,8,opt,name=initiate_file_upload,json=initiateFileUpload,proto3" json:"initiate_file_upload,omitempty"` + ListGrants bool `protobuf:"varint,9,opt,name=list_grants,json=listGrants,proto3" json:"list_grants,omitempty"` + ListContainer bool `protobuf:"varint,10,opt,name=list_container,json=listContainer,proto3" json:"list_container,omitempty"` + ListFileVersions bool `protobuf:"varint,11,opt,name=list_file_versions,json=listFileVersions,proto3" json:"list_file_versions,omitempty"` + ListRecycle bool `protobuf:"varint,12,opt,name=list_recycle,json=listRecycle,proto3" json:"list_recycle,omitempty"` + Move bool `protobuf:"varint,13,opt,name=move,proto3" json:"move,omitempty"` + RemoveGrant bool `protobuf:"varint,14,opt,name=remove_grant,json=removeGrant,proto3" json:"remove_grant,omitempty"` + PurgeRecycle bool `protobuf:"varint,15,opt,name=purge_recycle,json=purgeRecycle,proto3" json:"purge_recycle,omitempty"` + RestoreFileVersion bool `protobuf:"varint,16,opt,name=restore_file_version,json=restoreFileVersion,proto3" json:"restore_file_version,omitempty"` + RestoreRecycleItem bool `protobuf:"varint,17,opt,name=restore_recycle_item,json=restoreRecycleItem,proto3" json:"restore_recycle_item,omitempty"` + Stat bool `protobuf:"varint,18,opt,name=stat,proto3" json:"stat,omitempty"` + UpdateGrant bool `protobuf:"varint,19,opt,name=update_grant,json=updateGrant,proto3" json:"update_grant,omitempty"` + DenyGrant bool `protobuf:"varint,20,opt,name=deny_grant,json=denyGrant,proto3" json:"deny_grant,omitempty"` +} + +func (x *ResourcePermissions) Reset() { + *x = ResourcePermissions{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourcePermissions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourcePermissions) ProtoMessage() {} + +func (x *ResourcePermissions) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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 ResourcePermissions.ProtoReflect.Descriptor instead. func (*ResourcePermissions) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{8} -} - -func (m *ResourcePermissions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourcePermissions.Unmarshal(m, b) -} -func (m *ResourcePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourcePermissions.Marshal(b, m, deterministic) -} -func (m *ResourcePermissions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourcePermissions.Merge(m, src) + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{8} } -func (m *ResourcePermissions) XXX_Size() int { - return xxx_messageInfo_ResourcePermissions.Size(m) -} -func (m *ResourcePermissions) XXX_DiscardUnknown() { - xxx_messageInfo_ResourcePermissions.DiscardUnknown(m) -} - -var xxx_messageInfo_ResourcePermissions proto.InternalMessageInfo -func (m *ResourcePermissions) GetAddGrant() bool { - if m != nil { - return m.AddGrant +func (x *ResourcePermissions) GetAddGrant() bool { + if x != nil { + return x.AddGrant } return false } -func (m *ResourcePermissions) GetCreateContainer() bool { - if m != nil { - return m.CreateContainer +func (x *ResourcePermissions) GetCreateContainer() bool { + if x != nil { + return x.CreateContainer } return false } -func (m *ResourcePermissions) GetDelete() bool { - if m != nil { - return m.Delete +func (x *ResourcePermissions) GetDelete() bool { + if x != nil { + return x.Delete } return false } -func (m *ResourcePermissions) GetGetPath() bool { - if m != nil { - return m.GetPath +func (x *ResourcePermissions) GetGetPath() bool { + if x != nil { + return x.GetPath } return false } -func (m *ResourcePermissions) GetGetQuota() bool { - if m != nil { - return m.GetQuota +func (x *ResourcePermissions) GetGetQuota() bool { + if x != nil { + return x.GetQuota } return false } -func (m *ResourcePermissions) GetInitiateFileDownload() bool { - if m != nil { - return m.InitiateFileDownload +func (x *ResourcePermissions) GetInitiateFileDownload() bool { + if x != nil { + return x.InitiateFileDownload } return false } -func (m *ResourcePermissions) GetInitiateFileUpload() bool { - if m != nil { - return m.InitiateFileUpload +func (x *ResourcePermissions) GetInitiateFileUpload() bool { + if x != nil { + return x.InitiateFileUpload } return false } -func (m *ResourcePermissions) GetListGrants() bool { - if m != nil { - return m.ListGrants +func (x *ResourcePermissions) GetListGrants() bool { + if x != nil { + return x.ListGrants } return false } -func (m *ResourcePermissions) GetListContainer() bool { - if m != nil { - return m.ListContainer +func (x *ResourcePermissions) GetListContainer() bool { + if x != nil { + return x.ListContainer } return false } -func (m *ResourcePermissions) GetListFileVersions() bool { - if m != nil { - return m.ListFileVersions +func (x *ResourcePermissions) GetListFileVersions() bool { + if x != nil { + return x.ListFileVersions } return false } -func (m *ResourcePermissions) GetListRecycle() bool { - if m != nil { - return m.ListRecycle +func (x *ResourcePermissions) GetListRecycle() bool { + if x != nil { + return x.ListRecycle } return false } -func (m *ResourcePermissions) GetMove() bool { - if m != nil { - return m.Move +func (x *ResourcePermissions) GetMove() bool { + if x != nil { + return x.Move } return false } -func (m *ResourcePermissions) GetRemoveGrant() bool { - if m != nil { - return m.RemoveGrant +func (x *ResourcePermissions) GetRemoveGrant() bool { + if x != nil { + return x.RemoveGrant } return false } -func (m *ResourcePermissions) GetPurgeRecycle() bool { - if m != nil { - return m.PurgeRecycle +func (x *ResourcePermissions) GetPurgeRecycle() bool { + if x != nil { + return x.PurgeRecycle } return false } -func (m *ResourcePermissions) GetRestoreFileVersion() bool { - if m != nil { - return m.RestoreFileVersion +func (x *ResourcePermissions) GetRestoreFileVersion() bool { + if x != nil { + return x.RestoreFileVersion } return false } -func (m *ResourcePermissions) GetRestoreRecycleItem() bool { - if m != nil { - return m.RestoreRecycleItem +func (x *ResourcePermissions) GetRestoreRecycleItem() bool { + if x != nil { + return x.RestoreRecycleItem } return false } -func (m *ResourcePermissions) GetStat() bool { - if m != nil { - return m.Stat +func (x *ResourcePermissions) GetStat() bool { + if x != nil { + return x.Stat } return false } -func (m *ResourcePermissions) GetUpdateGrant() bool { - if m != nil { - return m.UpdateGrant +func (x *ResourcePermissions) GetUpdateGrant() bool { + if x != nil { + return x.UpdateGrant } return false } -func (m *ResourcePermissions) GetDenyGrant() bool { - if m != nil { - return m.DenyGrant +func (x *ResourcePermissions) GetDenyGrant() bool { + if x != nil { + return x.DenyGrant } return false } @@ -1048,6 +1222,10 @@ func (m *ResourcePermissions) GetDenyGrant() bool { // A grant grants permissions // to a resource to a grantee. type Grant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The grantee of the grant. Grantee *Grantee `protobuf:"bytes,1,opt,name=grantee,proto3" json:"grantee,omitempty"` @@ -1059,67 +1237,75 @@ type Grant struct { Creator *v1beta11.UserId `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` // OPTIONAL // Expiration of the grant. - Expiration *v1beta1.Timestamp `protobuf:"bytes,4,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration *v1beta1.Timestamp `protobuf:"bytes,4,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *Grant) Reset() { *m = Grant{} } -func (m *Grant) String() string { return proto.CompactTextString(m) } -func (*Grant) ProtoMessage() {} -func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{9} +func (x *Grant) Reset() { + *x = Grant{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Grant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Grant.Unmarshal(m, b) -} -func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Grant.Marshal(b, m, deterministic) +func (x *Grant) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Grant) XXX_Merge(src proto.Message) { - xxx_messageInfo_Grant.Merge(m, src) -} -func (m *Grant) XXX_Size() int { - return xxx_messageInfo_Grant.Size(m) -} -func (m *Grant) XXX_DiscardUnknown() { - xxx_messageInfo_Grant.DiscardUnknown(m) + +func (*Grant) ProtoMessage() {} + +func (x *Grant) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_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) } -var xxx_messageInfo_Grant proto.InternalMessageInfo +// Deprecated: Use Grant.ProtoReflect.Descriptor instead. +func (*Grant) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{9} +} -func (m *Grant) GetGrantee() *Grantee { - if m != nil { - return m.Grantee +func (x *Grant) GetGrantee() *Grantee { + if x != nil { + return x.Grantee } return nil } -func (m *Grant) GetPermissions() *ResourcePermissions { - if m != nil { - return m.Permissions +func (x *Grant) GetPermissions() *ResourcePermissions { + if x != nil { + return x.Permissions } return nil } -func (m *Grant) GetCreator() *v1beta11.UserId { - if m != nil { - return m.Creator +func (x *Grant) GetCreator() *v1beta11.UserId { + if x != nil { + return x.Creator } return nil } -func (m *Grant) GetExpiration() *v1beta1.Timestamp { - if m != nil { - return m.Expiration +func (x *Grant) GetExpiration() *v1beta1.Timestamp { + if x != nil { + return x.Expiration } return nil } // A grantee is the receiver of a grant. type Grantee struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The type of the grantee. Type GranteeType `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.GranteeType" json:"type,omitempty"` @@ -1127,66 +1313,55 @@ type Grantee struct { // The unique id for the grantee. // One of the ids MUST be specified. // - // Types that are valid to be assigned to Id: + // Types that are assignable to Id: + // // *Grantee_UserId // *Grantee_GroupId Id isGrantee_Id `protobuf_oneof:"id"` // OPTIONAL. // Opaque information such as UID or GID. - Opaque *v1beta1.Opaque `protobuf:"bytes,5,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,5,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *Grantee) Reset() { *m = Grantee{} } -func (m *Grantee) String() string { return proto.CompactTextString(m) } -func (*Grantee) ProtoMessage() {} -func (*Grantee) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{10} +func (x *Grantee) Reset() { + *x = Grantee{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Grantee) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Grantee.Unmarshal(m, b) -} -func (m *Grantee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Grantee.Marshal(b, m, deterministic) -} -func (m *Grantee) XXX_Merge(src proto.Message) { - xxx_messageInfo_Grantee.Merge(m, src) -} -func (m *Grantee) XXX_Size() int { - return xxx_messageInfo_Grantee.Size(m) -} -func (m *Grantee) XXX_DiscardUnknown() { - xxx_messageInfo_Grantee.DiscardUnknown(m) +func (x *Grantee) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Grantee proto.InternalMessageInfo +func (*Grantee) ProtoMessage() {} -func (m *Grantee) GetType() GranteeType { - if m != nil { - return m.Type +func (x *Grantee) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return GranteeType_GRANTEE_TYPE_INVALID + return mi.MessageOf(x) } -type isGrantee_Id interface { - isGrantee_Id() -} - -type Grantee_UserId struct { - UserId *v1beta11.UserId `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3,oneof"` +// Deprecated: Use Grantee.ProtoReflect.Descriptor instead. +func (*Grantee) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{10} } -type Grantee_GroupId struct { - GroupId *v1beta12.GroupId `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,oneof"` +func (x *Grantee) GetType() GranteeType { + if x != nil { + return x.Type + } + return GranteeType_GRANTEE_TYPE_INVALID } -func (*Grantee_UserId) isGrantee_Id() {} - -func (*Grantee_GroupId) isGrantee_Id() {} - func (m *Grantee) GetId() isGrantee_Id { if m != nil { return m.Id @@ -1194,38 +1369,52 @@ func (m *Grantee) GetId() isGrantee_Id { return nil } -func (m *Grantee) GetUserId() *v1beta11.UserId { - if x, ok := m.GetId().(*Grantee_UserId); ok { +func (x *Grantee) GetUserId() *v1beta11.UserId { + if x, ok := x.GetId().(*Grantee_UserId); ok { return x.UserId } return nil } -func (m *Grantee) GetGroupId() *v1beta12.GroupId { - if x, ok := m.GetId().(*Grantee_GroupId); ok { +func (x *Grantee) GetGroupId() *v1beta12.GroupId { + if x, ok := x.GetId().(*Grantee_GroupId); ok { return x.GroupId } return nil } -func (m *Grantee) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *Grantee) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Grantee) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Grantee_UserId)(nil), - (*Grantee_GroupId)(nil), - } +type isGrantee_Id interface { + isGrantee_Id() +} + +type Grantee_UserId struct { + // The user id. + UserId *v1beta11.UserId `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3,oneof"` +} + +type Grantee_GroupId struct { + // The group id. + GroupId *v1beta12.GroupId `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,oneof"` } +func (*Grantee_UserId) isGrantee_Id() {} + +func (*Grantee_GroupId) isGrantee_Id() {} + // The information for a file version. // TODO(labkode): make size and mtime OPTIONAL? type FileVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1241,68 +1430,72 @@ type FileVersion struct { // REQUIRED. // As decribed in https://tools.ietf.org/html/rfc7232#section-2.3 // For a file version, the etag does not change because a version is immutable. - Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"` } -func (m *FileVersion) Reset() { *m = FileVersion{} } -func (m *FileVersion) String() string { return proto.CompactTextString(m) } -func (*FileVersion) ProtoMessage() {} -func (*FileVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{11} +func (x *FileVersion) Reset() { + *x = FileVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FileVersion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileVersion.Unmarshal(m, b) -} -func (m *FileVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileVersion.Marshal(b, m, deterministic) -} -func (m *FileVersion) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileVersion.Merge(m, src) +func (x *FileVersion) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FileVersion) XXX_Size() int { - return xxx_messageInfo_FileVersion.Size(m) -} -func (m *FileVersion) XXX_DiscardUnknown() { - xxx_messageInfo_FileVersion.DiscardUnknown(m) + +func (*FileVersion) ProtoMessage() {} + +func (x *FileVersion) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FileVersion proto.InternalMessageInfo +// Deprecated: Use FileVersion.ProtoReflect.Descriptor instead. +func (*FileVersion) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{11} +} -func (m *FileVersion) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *FileVersion) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *FileVersion) GetKey() string { - if m != nil { - return m.Key +func (x *FileVersion) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *FileVersion) GetSize() uint64 { - if m != nil { - return m.Size +func (x *FileVersion) GetSize() uint64 { + if x != nil { + return x.Size } return 0 } -func (m *FileVersion) GetMtime() uint64 { - if m != nil { - return m.Mtime +func (x *FileVersion) GetMtime() uint64 { + if x != nil { + return x.Mtime } return 0 } -func (m *FileVersion) GetEtag() string { - if m != nil { - return m.Etag +func (x *FileVersion) GetEtag() string { + if x != nil { + return x.Etag } return "" } @@ -1310,6 +1503,10 @@ func (m *FileVersion) GetEtag() string { // A recycle item represents the information // of a deleted resource. type RecycleItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1328,75 +1525,79 @@ type RecycleItem struct { // REQUIRED. // The deletion time of the resource // in Unix Epoch timestamp in seconds. - DeletionTime *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=deletion_time,json=deletionTime,proto3" json:"deletion_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DeletionTime *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=deletion_time,json=deletionTime,proto3" json:"deletion_time,omitempty"` } -func (m *RecycleItem) Reset() { *m = RecycleItem{} } -func (m *RecycleItem) String() string { return proto.CompactTextString(m) } -func (*RecycleItem) ProtoMessage() {} -func (*RecycleItem) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{12} +func (x *RecycleItem) Reset() { + *x = RecycleItem{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RecycleItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecycleItem.Unmarshal(m, b) -} -func (m *RecycleItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecycleItem.Marshal(b, m, deterministic) +func (x *RecycleItem) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RecycleItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecycleItem.Merge(m, src) -} -func (m *RecycleItem) XXX_Size() int { - return xxx_messageInfo_RecycleItem.Size(m) -} -func (m *RecycleItem) XXX_DiscardUnknown() { - xxx_messageInfo_RecycleItem.DiscardUnknown(m) + +func (*RecycleItem) ProtoMessage() {} + +func (x *RecycleItem) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RecycleItem proto.InternalMessageInfo +// Deprecated: Use RecycleItem.ProtoReflect.Descriptor instead. +func (*RecycleItem) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{12} +} -func (m *RecycleItem) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *RecycleItem) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *RecycleItem) GetType() ResourceType { - if m != nil { - return m.Type +func (x *RecycleItem) GetType() ResourceType { + if x != nil { + return x.Type } return ResourceType_RESOURCE_TYPE_INVALID } -func (m *RecycleItem) GetKey() string { - if m != nil { - return m.Key +func (x *RecycleItem) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *RecycleItem) GetRef() *Reference { - if m != nil { - return m.Ref +func (x *RecycleItem) GetRef() *Reference { + if x != nil { + return x.Ref } return nil } -func (m *RecycleItem) GetSize() uint64 { - if m != nil { - return m.Size +func (x *RecycleItem) GetSize() uint64 { + if x != nil { + return x.Size } return 0 } -func (m *RecycleItem) GetDeletionTime() *v1beta1.Timestamp { - if m != nil { - return m.DeletionTime +func (x *RecycleItem) GetDeletionTime() *v1beta1.Timestamp { + if x != nil { + return x.DeletionTime } return nil } @@ -1404,6 +1605,10 @@ func (m *RecycleItem) GetDeletionTime() *v1beta1.Timestamp { // A file upload protocol object stores information about // uploading resources using a specific protocol. type FileUploadProtocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1425,75 +1630,79 @@ type FileUploadProtocol struct { Expose bool `protobuf:"varint,5,opt,name=expose,proto3" json:"expose,omitempty"` // OPTIONAL. // The time at which the upload will expire. - Expiration *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *FileUploadProtocol) Reset() { *m = FileUploadProtocol{} } -func (m *FileUploadProtocol) String() string { return proto.CompactTextString(m) } -func (*FileUploadProtocol) ProtoMessage() {} -func (*FileUploadProtocol) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{13} +func (x *FileUploadProtocol) Reset() { + *x = FileUploadProtocol{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FileUploadProtocol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileUploadProtocol.Unmarshal(m, b) -} -func (m *FileUploadProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileUploadProtocol.Marshal(b, m, deterministic) +func (x *FileUploadProtocol) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FileUploadProtocol) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileUploadProtocol.Merge(m, src) -} -func (m *FileUploadProtocol) XXX_Size() int { - return xxx_messageInfo_FileUploadProtocol.Size(m) -} -func (m *FileUploadProtocol) XXX_DiscardUnknown() { - xxx_messageInfo_FileUploadProtocol.DiscardUnknown(m) + +func (*FileUploadProtocol) ProtoMessage() {} + +func (x *FileUploadProtocol) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FileUploadProtocol proto.InternalMessageInfo +// Deprecated: Use FileUploadProtocol.ProtoReflect.Descriptor instead. +func (*FileUploadProtocol) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{13} +} -func (m *FileUploadProtocol) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *FileUploadProtocol) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *FileUploadProtocol) GetProtocol() string { - if m != nil { - return m.Protocol +func (x *FileUploadProtocol) GetProtocol() string { + if x != nil { + return x.Protocol } return "" } -func (m *FileUploadProtocol) GetUploadEndpoint() string { - if m != nil { - return m.UploadEndpoint +func (x *FileUploadProtocol) GetUploadEndpoint() string { + if x != nil { + return x.UploadEndpoint } return "" } -func (m *FileUploadProtocol) GetAvailableChecksums() []*ResourceChecksumPriority { - if m != nil { - return m.AvailableChecksums +func (x *FileUploadProtocol) GetAvailableChecksums() []*ResourceChecksumPriority { + if x != nil { + return x.AvailableChecksums } return nil } -func (m *FileUploadProtocol) GetExpose() bool { - if m != nil { - return m.Expose +func (x *FileUploadProtocol) GetExpose() bool { + if x != nil { + return x.Expose } return false } -func (m *FileUploadProtocol) GetExpiration() *v1beta1.Timestamp { - if m != nil { - return m.Expiration +func (x *FileUploadProtocol) GetExpiration() *v1beta1.Timestamp { + if x != nil { + return x.Expiration } return nil } @@ -1501,6 +1710,10 @@ func (m *FileUploadProtocol) GetExpiration() *v1beta1.Timestamp { // A file download protocol object stores information about // downloading resources using a specific protocol. type FileDownloadProtocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1514,67 +1727,75 @@ type FileDownloadProtocol struct { DownloadEndpoint string `protobuf:"bytes,3,opt,name=download_endpoint,json=downloadEndpoint,proto3" json:"download_endpoint,omitempty"` // REQUIRED. // Tells to the gateway if the client should be exposed directly to the download_endpoint. - Expose bool `protobuf:"varint,4,opt,name=expose,proto3" json:"expose,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expose bool `protobuf:"varint,4,opt,name=expose,proto3" json:"expose,omitempty"` } -func (m *FileDownloadProtocol) Reset() { *m = FileDownloadProtocol{} } -func (m *FileDownloadProtocol) String() string { return proto.CompactTextString(m) } -func (*FileDownloadProtocol) ProtoMessage() {} -func (*FileDownloadProtocol) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{14} +func (x *FileDownloadProtocol) Reset() { + *x = FileDownloadProtocol{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FileDownloadProtocol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileDownloadProtocol.Unmarshal(m, b) -} -func (m *FileDownloadProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileDownloadProtocol.Marshal(b, m, deterministic) -} -func (m *FileDownloadProtocol) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileDownloadProtocol.Merge(m, src) +func (x *FileDownloadProtocol) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FileDownloadProtocol) XXX_Size() int { - return xxx_messageInfo_FileDownloadProtocol.Size(m) -} -func (m *FileDownloadProtocol) XXX_DiscardUnknown() { - xxx_messageInfo_FileDownloadProtocol.DiscardUnknown(m) + +func (*FileDownloadProtocol) ProtoMessage() {} + +func (x *FileDownloadProtocol) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FileDownloadProtocol proto.InternalMessageInfo +// Deprecated: Use FileDownloadProtocol.ProtoReflect.Descriptor instead. +func (*FileDownloadProtocol) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{14} +} -func (m *FileDownloadProtocol) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *FileDownloadProtocol) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *FileDownloadProtocol) GetProtocol() string { - if m != nil { - return m.Protocol +func (x *FileDownloadProtocol) GetProtocol() string { + if x != nil { + return x.Protocol } return "" } -func (m *FileDownloadProtocol) GetDownloadEndpoint() string { - if m != nil { - return m.DownloadEndpoint +func (x *FileDownloadProtocol) GetDownloadEndpoint() string { + if x != nil { + return x.DownloadEndpoint } return "" } -func (m *FileDownloadProtocol) GetExpose() bool { - if m != nil { - return m.Expose +func (x *FileDownloadProtocol) GetExpose() bool { + if x != nil { + return x.Expose } return false } // Represents a storage space which could be a 'home', 'share' etc... type StorageSpace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` @@ -1597,358 +1818,971 @@ type StorageSpace struct { Mtime *v1beta1.Timestamp `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` // OPTIONAL. // Resource info for the storage space root. - RootInfo *ResourceInfo `protobuf:"bytes,9,opt,name=root_info,json=rootInfo,proto3" json:"root_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RootInfo *ResourceInfo `protobuf:"bytes,9,opt,name=root_info,json=rootInfo,proto3" json:"root_info,omitempty"` } -func (m *StorageSpace) Reset() { *m = StorageSpace{} } -func (m *StorageSpace) String() string { return proto.CompactTextString(m) } -func (*StorageSpace) ProtoMessage() {} -func (*StorageSpace) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{15} +func (x *StorageSpace) Reset() { + *x = StorageSpace{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StorageSpace) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StorageSpace.Unmarshal(m, b) -} -func (m *StorageSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StorageSpace.Marshal(b, m, deterministic) -} -func (m *StorageSpace) XXX_Merge(src proto.Message) { - xxx_messageInfo_StorageSpace.Merge(m, src) +func (x *StorageSpace) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StorageSpace) XXX_Size() int { - return xxx_messageInfo_StorageSpace.Size(m) -} -func (m *StorageSpace) XXX_DiscardUnknown() { - xxx_messageInfo_StorageSpace.DiscardUnknown(m) + +func (*StorageSpace) ProtoMessage() {} + +func (x *StorageSpace) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StorageSpace proto.InternalMessageInfo +// Deprecated: Use StorageSpace.ProtoReflect.Descriptor instead. +func (*StorageSpace) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{15} +} -func (m *StorageSpace) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *StorageSpace) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *StorageSpace) GetId() *StorageSpaceId { - if m != nil { - return m.Id +func (x *StorageSpace) GetId() *StorageSpaceId { + if x != nil { + return x.Id } return nil } -func (m *StorageSpace) GetOwner() *v1beta11.User { - if m != nil { - return m.Owner +func (x *StorageSpace) GetOwner() *v1beta11.User { + if x != nil { + return x.Owner } return nil } -func (m *StorageSpace) GetRoot() *ResourceId { - if m != nil { - return m.Root +func (x *StorageSpace) GetRoot() *ResourceId { + if x != nil { + return x.Root } return nil } -func (m *StorageSpace) GetName() string { - if m != nil { - return m.Name +func (x *StorageSpace) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *StorageSpace) GetQuota() *Quota { - if m != nil { - return m.Quota +func (x *StorageSpace) GetQuota() *Quota { + if x != nil { + return x.Quota } return nil } -func (m *StorageSpace) GetSpaceType() string { - if m != nil { - return m.SpaceType +func (x *StorageSpace) GetSpaceType() string { + if x != nil { + return x.SpaceType } return "" } -func (m *StorageSpace) GetMtime() *v1beta1.Timestamp { - if m != nil { - return m.Mtime +func (x *StorageSpace) GetMtime() *v1beta1.Timestamp { + if x != nil { + return x.Mtime } return nil } -func (m *StorageSpace) GetRootInfo() *ResourceInfo { - if m != nil { - return m.RootInfo +func (x *StorageSpace) GetRootInfo() *ResourceInfo { + if x != nil { + return x.RootInfo } return nil } // The id of a storage space. type StorageSpaceId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The internal storage space id. - OpaqueId string `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OpaqueId string `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` } -func (m *StorageSpaceId) Reset() { *m = StorageSpaceId{} } -func (m *StorageSpaceId) String() string { return proto.CompactTextString(m) } -func (*StorageSpaceId) ProtoMessage() {} -func (*StorageSpaceId) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{16} +func (x *StorageSpaceId) Reset() { + *x = StorageSpaceId{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StorageSpaceId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StorageSpaceId.Unmarshal(m, b) -} -func (m *StorageSpaceId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StorageSpaceId.Marshal(b, m, deterministic) +func (x *StorageSpaceId) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StorageSpaceId) XXX_Merge(src proto.Message) { - xxx_messageInfo_StorageSpaceId.Merge(m, src) -} -func (m *StorageSpaceId) XXX_Size() int { - return xxx_messageInfo_StorageSpaceId.Size(m) -} -func (m *StorageSpaceId) XXX_DiscardUnknown() { - xxx_messageInfo_StorageSpaceId.DiscardUnknown(m) + +func (*StorageSpaceId) ProtoMessage() {} + +func (x *StorageSpaceId) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[16] + 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) } -var xxx_messageInfo_StorageSpaceId proto.InternalMessageInfo +// Deprecated: Use StorageSpaceId.ProtoReflect.Descriptor instead. +func (*StorageSpaceId) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{16} +} -func (m *StorageSpaceId) GetOpaqueId() string { - if m != nil { - return m.OpaqueId +func (x *StorageSpaceId) GetOpaqueId() string { + if x != nil { + return x.OpaqueId } return "" } // Represents a quota for a storage space. type Quota struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // OPTIONAL. - // The bytes quota for the user. + // The bytes quota for the space. QuotaMaxBytes uint64 `protobuf:"varint,2,opt,name=quota_max_bytes,json=quotaMaxBytes,proto3" json:"quota_max_bytes,omitempty"` // OPTIONAL. - // The files quota for the user. - QuotaMaxFiles uint64 `protobuf:"varint,3,opt,name=quota_max_files,json=quotaMaxFiles,proto3" json:"quota_max_files,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // The files quota for the space. + QuotaMaxFiles uint64 `protobuf:"varint,3,opt,name=quota_max_files,json=quotaMaxFiles,proto3" json:"quota_max_files,omitempty"` + // OPTIONAL. + // The remaining bytes for the space. + RemainingBytes uint64 `protobuf:"varint,4,opt,name=remaining_bytes,json=remainingBytes,proto3" json:"remaining_bytes,omitempty"` + // OPTIONAL. + // The remaining files for the space. + RemainingFiles uint64 `protobuf:"varint,5,opt,name=remaining_files,json=remainingFiles,proto3" json:"remaining_files,omitempty"` } -func (m *Quota) Reset() { *m = Quota{} } -func (m *Quota) String() string { return proto.CompactTextString(m) } -func (*Quota) ProtoMessage() {} -func (*Quota) Descriptor() ([]byte, []int) { - return fileDescriptor_b91600c359c2e479, []int{17} +func (x *Quota) Reset() { + *x = Quota{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Quota) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Quota.Unmarshal(m, b) -} -func (m *Quota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Quota.Marshal(b, m, deterministic) +func (x *Quota) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Quota) XXX_Merge(src proto.Message) { - xxx_messageInfo_Quota.Merge(m, src) + +func (*Quota) ProtoMessage() {} + +func (x *Quota) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[17] + 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) } -func (m *Quota) XXX_Size() int { - return xxx_messageInfo_Quota.Size(m) + +// Deprecated: Use Quota.ProtoReflect.Descriptor instead. +func (*Quota) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP(), []int{17} } -func (m *Quota) XXX_DiscardUnknown() { - xxx_messageInfo_Quota.DiscardUnknown(m) + +func (x *Quota) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil } -var xxx_messageInfo_Quota proto.InternalMessageInfo +func (x *Quota) GetQuotaMaxBytes() uint64 { + if x != nil { + return x.QuotaMaxBytes + } + return 0 +} -func (m *Quota) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *Quota) GetQuotaMaxFiles() uint64 { + if x != nil { + return x.QuotaMaxFiles } - return nil + return 0 } -func (m *Quota) GetQuotaMaxBytes() uint64 { - if m != nil { - return m.QuotaMaxBytes +func (x *Quota) GetRemainingBytes() uint64 { + if x != nil { + return x.RemainingBytes } return 0 } -func (m *Quota) GetQuotaMaxFiles() uint64 { - if m != nil { - return m.QuotaMaxFiles +func (x *Quota) GetRemainingFiles() uint64 { + if x != nil { + return x.RemainingFiles } return 0 } -func init() { - proto.RegisterEnum("cs3.storage.provider.v1beta1.LockType", LockType_name, LockType_value) - proto.RegisterEnum("cs3.storage.provider.v1beta1.ResourceType", ResourceType_name, ResourceType_value) - proto.RegisterEnum("cs3.storage.provider.v1beta1.ResourceChecksumType", ResourceChecksumType_name, ResourceChecksumType_value) - proto.RegisterEnum("cs3.storage.provider.v1beta1.GranteeType", GranteeType_name, GranteeType_value) - proto.RegisterType((*ResourceInfo)(nil), "cs3.storage.provider.v1beta1.ResourceInfo") - proto.RegisterType((*CanonicalMetadata)(nil), "cs3.storage.provider.v1beta1.CanonicalMetadata") - proto.RegisterType((*ArbitraryMetadata)(nil), "cs3.storage.provider.v1beta1.ArbitraryMetadata") - proto.RegisterMapType((map[string]string)(nil), "cs3.storage.provider.v1beta1.ArbitraryMetadata.MetadataEntry") - proto.RegisterType((*Lock)(nil), "cs3.storage.provider.v1beta1.Lock") - proto.RegisterType((*ResourceChecksum)(nil), "cs3.storage.provider.v1beta1.ResourceChecksum") - proto.RegisterType((*ResourceChecksumPriority)(nil), "cs3.storage.provider.v1beta1.ResourceChecksumPriority") - proto.RegisterType((*Reference)(nil), "cs3.storage.provider.v1beta1.Reference") - proto.RegisterType((*ResourceId)(nil), "cs3.storage.provider.v1beta1.ResourceId") - proto.RegisterType((*ResourcePermissions)(nil), "cs3.storage.provider.v1beta1.ResourcePermissions") - proto.RegisterType((*Grant)(nil), "cs3.storage.provider.v1beta1.Grant") - proto.RegisterType((*Grantee)(nil), "cs3.storage.provider.v1beta1.Grantee") - proto.RegisterType((*FileVersion)(nil), "cs3.storage.provider.v1beta1.FileVersion") - proto.RegisterType((*RecycleItem)(nil), "cs3.storage.provider.v1beta1.RecycleItem") - proto.RegisterType((*FileUploadProtocol)(nil), "cs3.storage.provider.v1beta1.FileUploadProtocol") - proto.RegisterType((*FileDownloadProtocol)(nil), "cs3.storage.provider.v1beta1.FileDownloadProtocol") - proto.RegisterType((*StorageSpace)(nil), "cs3.storage.provider.v1beta1.StorageSpace") - proto.RegisterType((*StorageSpaceId)(nil), "cs3.storage.provider.v1beta1.StorageSpaceId") - proto.RegisterType((*Quota)(nil), "cs3.storage.provider.v1beta1.Quota") -} - -func init() { - proto.RegisterFile("cs3/storage/provider/v1beta1/resources.proto", fileDescriptor_b91600c359c2e479) -} - -var fileDescriptor_b91600c359c2e479 = []byte{ - // 1972 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x73, 0x1c, 0x47, - 0x11, 0xcf, 0xde, 0x87, 0x6e, 0xaf, 0x25, 0x9d, 0x56, 0xa3, 0xb3, 0xb3, 0x96, 0xed, 0x58, 0xb9, - 0x54, 0x12, 0x59, 0x98, 0x53, 0x24, 0xe1, 0x90, 0x0f, 0x87, 0x44, 0x3a, 0xad, 0xe5, 0xc3, 0xfa, - 0x62, 0x4e, 0x32, 0x31, 0xe5, 0x62, 0x59, 0xed, 0x8e, 0x2e, 0x8b, 0xef, 0x76, 0x37, 0xbb, 0x7b, - 0x8a, 0x8f, 0x07, 0xaa, 0x78, 0x84, 0x27, 0x1e, 0x79, 0x82, 0x2a, 0x8a, 0xa7, 0xf0, 0xc6, 0x7f, - 0x40, 0x15, 0x4f, 0xf0, 0x47, 0xf0, 0xaf, 0x50, 0xd3, 0x33, 0xfb, 0x71, 0x92, 0x25, 0x9d, 0x04, - 0x54, 0xde, 0x66, 0xba, 0xfb, 0xd7, 0x3d, 0xd3, 0xd3, 0xd3, 0xdd, 0x33, 0xf0, 0xc0, 0x8e, 0xd6, - 0x96, 0xa3, 0xd8, 0x0f, 0xad, 0x2e, 0x5b, 0x0e, 0x42, 0xff, 0xc4, 0x75, 0x58, 0xb8, 0x7c, 0xb2, - 0x72, 0xc4, 0x62, 0x6b, 0x65, 0x39, 0x64, 0x91, 0x3f, 0x08, 0x6d, 0x16, 0x35, 0x83, 0xd0, 0x8f, - 0x7d, 0x72, 0xc7, 0x8e, 0xd6, 0x9a, 0x52, 0xba, 0x99, 0x48, 0x37, 0xa5, 0xf4, 0xfc, 0x12, 0xd7, - 0xe5, 0x3a, 0xcc, 0x8b, 0xdd, 0x78, 0xb8, 0xdc, 0x0d, 0xfd, 0x41, 0x70, 0x9e, 0xa6, 0xf9, 0xfb, - 0x23, 0xb2, 0x83, 0xe8, 0x7c, 0xa3, 0xf3, 0x77, 0xb9, 0x68, 0x3c, 0x0c, 0x58, 0x94, 0x8a, 0xe0, - 0x4c, 0xb0, 0x1b, 0x7f, 0x52, 0x61, 0x8a, 0x4a, 0x48, 0xdb, 0x3b, 0xf6, 0xc9, 0x0a, 0x4c, 0xf8, - 0x81, 0xf5, 0xf5, 0x80, 0xe9, 0xca, 0x82, 0xb2, 0x38, 0xb9, 0x7a, 0xab, 0xc9, 0x57, 0x2d, 0x20, - 0x52, 0x41, 0x73, 0x0f, 0x05, 0xa8, 0x14, 0x24, 0x3f, 0x82, 0x12, 0xe7, 0xeb, 0x85, 0x05, 0x65, - 0xb1, 0xb6, 0xba, 0xd4, 0xbc, 0x68, 0x9b, 0xcd, 0xc4, 0xd8, 0xc1, 0x30, 0x60, 0x14, 0x71, 0xe4, - 0x23, 0x28, 0xb8, 0x8e, 0x5e, 0x44, 0x73, 0x8b, 0xe3, 0xa1, 0xdb, 0x0e, 0x2d, 0xb8, 0x0e, 0xf9, - 0x31, 0xa8, 0xf6, 0x57, 0xcc, 0x7e, 0x19, 0x0d, 0xfa, 0x7a, 0x09, 0xf1, 0xcd, 0xf1, 0xf0, 0x2d, - 0x89, 0xa2, 0x29, 0x9e, 0x10, 0x28, 0xb1, 0xd8, 0xea, 0xea, 0xe5, 0x05, 0x65, 0xb1, 0x4a, 0x71, - 0x4c, 0x6e, 0x43, 0xb5, 0xef, 0xf6, 0x99, 0x89, 0xdb, 0x9b, 0x40, 0x86, 0xca, 0x09, 0x7c, 0xf1, - 0x64, 0x15, 0xca, 0xfd, 0xd8, 0xed, 0x33, 0xbd, 0x82, 0x96, 0xef, 0xbc, 0xc6, 0x51, 0x07, 0x6e, - 0x9f, 0x45, 0xb1, 0xd5, 0x0f, 0xa8, 0x10, 0xe5, 0x46, 0x02, 0x2b, 0xfe, 0x4a, 0x57, 0x85, 0x11, - 0x3e, 0x26, 0x5f, 0x42, 0x2d, 0x60, 0x61, 0xdf, 0x8d, 0x22, 0xd7, 0xf7, 0xcc, 0x88, 0xc5, 0x7a, - 0x15, 0x15, 0xae, 0x8c, 0xb7, 0x95, 0xfd, 0x14, 0x1b, 0xd1, 0xe9, 0x4c, 0x51, 0x87, 0xc5, 0xdc, - 0x5a, 0xe4, 0xfe, 0x8a, 0xe9, 0xb0, 0xa0, 0x2c, 0x96, 0x28, 0x8e, 0xc9, 0x0f, 0xa1, 0xec, 0x7f, - 0xe3, 0xb1, 0x50, 0x9f, 0x44, 0x23, 0x6f, 0xa3, 0x91, 0x24, 0x94, 0x9a, 0x3c, 0x94, 0x52, 0x0b, - 0x87, 0x11, 0x0b, 0xdb, 0x0e, 0x15, 0xf2, 0xe4, 0x26, 0x4c, 0xc4, 0x56, 0xd8, 0x65, 0xb1, 0x3e, - 0x85, 0x8b, 0x97, 0x33, 0xf2, 0x73, 0x20, 0xb6, 0xe5, 0xf9, 0x9e, 0x6b, 0x5b, 0x3d, 0xb3, 0xcf, - 0x62, 0xcb, 0xb1, 0x62, 0x4b, 0x9f, 0x46, 0xed, 0xcb, 0x17, 0x6f, 0xa1, 0x95, 0xe0, 0x76, 0x24, - 0x8c, 0xce, 0xda, 0xa7, 0x49, 0x5c, 0xbf, 0x15, 0x1e, 0xb9, 0x71, 0x68, 0x85, 0xc3, 0x4c, 0x7f, - 0x6d, 0x1c, 0xfd, 0xeb, 0x09, 0x2e, 0xd3, 0x6f, 0x9d, 0x26, 0x91, 0x0f, 0xa1, 0xd4, 0xf3, 0xed, - 0x97, 0xfa, 0x0c, 0x6a, 0x6c, 0x5c, 0xac, 0x71, 0xdb, 0xb7, 0x5f, 0x52, 0x94, 0x27, 0x6d, 0xa8, - 0x59, 0xce, 0x89, 0x1b, 0xf9, 0xe1, 0xd0, 0xe4, 0x84, 0x48, 0xd7, 0x16, 0x8a, 0x63, 0x6a, 0x98, - 0x4e, 0x90, 0x7c, 0x16, 0x11, 0x03, 0xaa, 0x81, 0x15, 0x32, 0x2f, 0x36, 0x5d, 0x47, 0x9f, 0xbd, - 0xe2, 0x3d, 0x50, 0x05, 0xb4, 0xed, 0xf0, 0xe3, 0xf6, 0xac, 0x3e, 0xd3, 0x89, 0x08, 0x2e, 0x3e, - 0x26, 0x5f, 0x40, 0x39, 0x0a, 0x2c, 0x9b, 0xe9, 0x73, 0xa8, 0xf6, 0x92, 0xcb, 0xd9, 0x11, 0x8c, - 0x0e, 0x47, 0x50, 0x01, 0x6c, 0x1c, 0xc0, 0xec, 0x99, 0x73, 0x22, 0x9f, 0xa7, 0xc1, 0x20, 0xb2, - 0xc4, 0xfb, 0x97, 0x2d, 0xf7, 0x98, 0x85, 0xcc, 0xb3, 0x59, 0x12, 0x35, 0x8d, 0xbf, 0x2a, 0x30, - 0x7b, 0xe6, 0x78, 0xc8, 0x73, 0x50, 0xd3, 0x13, 0x56, 0xd0, 0x9b, 0x9f, 0x5d, 0xf1, 0x84, 0x9b, - 0xc9, 0xc0, 0xf0, 0xe2, 0x70, 0x48, 0x53, 0x75, 0xf3, 0x9f, 0xc2, 0xf4, 0x08, 0x8b, 0x68, 0x50, - 0x7c, 0xc9, 0x86, 0xb8, 0xfe, 0x2a, 0xe5, 0x43, 0x52, 0x87, 0xf2, 0x89, 0xd5, 0x1b, 0x88, 0x44, - 0x56, 0xa5, 0x62, 0xf2, 0x49, 0xe1, 0x23, 0xa5, 0xf1, 0xc7, 0x02, 0x94, 0xf8, 0x51, 0x5d, 0x27, - 0x3b, 0xbe, 0x09, 0x15, 0x1e, 0x1e, 0xfc, 0x68, 0x85, 0xde, 0x09, 0x3e, 0x6d, 0x3b, 0xe4, 0x13, - 0x99, 0x36, 0x8b, 0x98, 0x36, 0xdf, 0xbb, 0x3c, 0x6c, 0x72, 0x29, 0xf3, 0x21, 0x94, 0xf8, 0x55, - 0x95, 0x49, 0x6f, 0x8c, 0x4b, 0x8c, 0xe2, 0xe4, 0x16, 0xa8, 0x56, 0x10, 0x98, 0x18, 0x25, 0x22, - 0xcf, 0x55, 0xac, 0x20, 0xd8, 0xe5, 0x81, 0xf2, 0x08, 0x80, 0xbd, 0x0a, 0xdc, 0xd0, 0x8a, 0x5d, - 0xdf, 0xc3, 0x5c, 0x77, 0x59, 0x4a, 0xcb, 0xc9, 0x37, 0x7a, 0xa0, 0x9d, 0x4e, 0xad, 0xe4, 0xb1, - 0xdc, 0x9f, 0x82, 0xfb, 0x5b, 0xbd, 0x5a, 0x62, 0xce, 0xed, 0x55, 0x83, 0x22, 0xcf, 0xef, 0xc2, - 0x79, 0x7c, 0xd8, 0xf8, 0x35, 0xe8, 0xa7, 0xe5, 0xf7, 0x43, 0xd7, 0x0f, 0xdd, 0x78, 0xf8, 0x3f, - 0xb3, 0x3a, 0x0f, 0x6a, 0x20, 0x75, 0xa2, 0xe9, 0x69, 0x9a, 0xce, 0x1b, 0xbf, 0x84, 0x6a, 0x1a, - 0xd1, 0xa4, 0x0d, 0x93, 0x49, 0xcd, 0xe5, 0x67, 0xac, 0x5c, 0xf1, 0xfa, 0x42, 0x98, 0x8e, 0xd3, - 0xea, 0x50, 0xc8, 0xaa, 0x43, 0xc3, 0x06, 0xc8, 0xa4, 0xc9, 0x5d, 0x00, 0xa9, 0x34, 0xb1, 0x55, - 0xa5, 0x55, 0x49, 0x69, 0x3b, 0xbc, 0x5e, 0x89, 0xa8, 0xcb, 0xa2, 0x4d, 0x15, 0x84, 0xb6, 0xc3, - 0x0f, 0x1f, 0x6f, 0xb4, 0x29, 0x8b, 0x6d, 0x95, 0x56, 0x70, 0xde, 0x76, 0x1a, 0xff, 0x28, 0xc3, - 0xdc, 0x6b, 0xea, 0x09, 0xd7, 0x67, 0x39, 0x8e, 0xd9, 0x0d, 0x2d, 0x4f, 0xdc, 0x74, 0x95, 0xaa, - 0x96, 0xe3, 0x6c, 0xf1, 0x39, 0xb9, 0x0f, 0x9a, 0x1d, 0x32, 0x2b, 0x66, 0xa6, 0xed, 0x7b, 0xb1, - 0xe5, 0xf2, 0xa2, 0x52, 0x40, 0x99, 0x19, 0x41, 0x6f, 0x25, 0x64, 0x5e, 0x3b, 0x1c, 0xd6, 0x63, - 0xb1, 0x08, 0x76, 0x95, 0xca, 0x19, 0x5f, 0x52, 0x97, 0xc5, 0x26, 0x6e, 0xba, 0x8c, 0x9c, 0x4a, - 0x97, 0xc5, 0xfb, 0xbc, 0x2a, 0xde, 0x86, 0x2a, 0x67, 0x7d, 0x3d, 0xf0, 0x63, 0x0b, 0xc3, 0x51, - 0xa5, 0x5c, 0xf6, 0x27, 0x7c, 0x4e, 0x7e, 0x00, 0x37, 0x5d, 0xcf, 0x8d, 0x5d, 0x6e, 0xfc, 0xd8, - 0xed, 0x31, 0xd3, 0xf1, 0xbf, 0xf1, 0x7a, 0xbe, 0xe5, 0x60, 0x2d, 0x56, 0x69, 0x3d, 0xe1, 0x3e, - 0x76, 0x7b, 0x6c, 0x53, 0xf2, 0xc8, 0x07, 0x50, 0x1f, 0x45, 0x0d, 0x02, 0xc4, 0xa8, 0x88, 0x21, - 0x79, 0xcc, 0x21, 0x72, 0xc8, 0x3d, 0x98, 0xec, 0xb9, 0x51, 0x2c, 0x1c, 0x10, 0x61, 0x5d, 0x56, - 0x29, 0x70, 0x12, 0xba, 0x20, 0x22, 0xef, 0x42, 0x0d, 0x05, 0x32, 0x0f, 0x00, 0xca, 0x4c, 0x73, - 0x6a, 0xb6, 0xff, 0x07, 0x40, 0x50, 0x0c, 0xad, 0x9e, 0xb0, 0x10, 0xbd, 0x8b, 0x15, 0x58, 0xa5, - 0x1a, 0xe7, 0x70, 0x9b, 0xcf, 0x24, 0x9d, 0xbc, 0x0d, 0x53, 0x28, 0x1d, 0x32, 0x7b, 0x68, 0xf7, - 0x18, 0xd6, 0x5b, 0x95, 0xe2, 0x4a, 0xa8, 0x20, 0xf1, 0x48, 0xe9, 0xfb, 0x27, 0x0c, 0xcb, 0xac, - 0x4a, 0x71, 0xcc, 0x61, 0x21, 0xe3, 0x23, 0x79, 0x5e, 0x35, 0x01, 0x13, 0x34, 0x71, 0x64, 0xef, - 0xc0, 0x74, 0x30, 0x08, 0xbb, 0x2c, 0x55, 0x3d, 0x83, 0x32, 0x53, 0x48, 0x4c, 0x74, 0x7f, 0x00, - 0xf5, 0x90, 0xf1, 0x98, 0x62, 0x23, 0xeb, 0xd5, 0x35, 0xe1, 0x26, 0xc9, 0xcb, 0xad, 0x38, 0x8f, - 0x90, 0x8a, 0x4d, 0x37, 0x66, 0x7d, 0x2c, 0x65, 0x19, 0x42, 0xea, 0x6f, 0xc7, 0x0c, 0x9b, 0xad, - 0x28, 0xb6, 0x62, 0x2c, 0x55, 0x2a, 0xc5, 0x31, 0x5f, 0xff, 0x20, 0x70, 0xf8, 0xe1, 0x88, 0xf5, - 0xcf, 0x89, 0xf5, 0x0b, 0x9a, 0x58, 0xff, 0x5d, 0x00, 0x87, 0x79, 0x43, 0x29, 0x50, 0x47, 0x81, - 0x2a, 0xa7, 0x20, 0xbb, 0xf1, 0x87, 0x02, 0x94, 0x85, 0xe0, 0xe7, 0x50, 0x41, 0x19, 0x96, 0x24, - 0xea, 0x77, 0x2f, 0xbe, 0x90, 0x5b, 0x42, 0x98, 0x26, 0x28, 0xd2, 0x81, 0xc9, 0xac, 0x97, 0x8a, - 0x30, 0xae, 0xaf, 0xd5, 0x91, 0xe5, 0xb5, 0x90, 0x4f, 0xa1, 0x82, 0x37, 0xc3, 0x0f, 0x65, 0xb7, - 0x3b, 0x46, 0xe2, 0x4e, 0x10, 0xa7, 0x12, 0x74, 0xe9, 0x8a, 0x09, 0xfa, 0x37, 0x05, 0xa8, 0xc8, - 0x4d, 0x92, 0xcf, 0x46, 0x52, 0xe4, 0xfd, 0xb1, 0x3c, 0x93, 0xcb, 0x8c, 0x8f, 0xa0, 0xc2, 0x17, - 0x6a, 0xa6, 0x3d, 0xfb, 0xe5, 0xbb, 0x78, 0xf2, 0x06, 0x9d, 0x18, 0xe0, 0x88, 0x7c, 0x01, 0x2a, - 0xbe, 0x6d, 0x38, 0x5c, 0x6c, 0xe2, 0x9d, 0x51, 0x38, 0x72, 0x73, 0xe6, 0xfd, 0x41, 0x80, 0x0a, - 0x2a, 0x5d, 0x31, 0xcc, 0xd5, 0xe0, 0xf2, 0x98, 0x35, 0x78, 0xa3, 0xc4, 0x5f, 0x18, 0x8d, 0xdf, - 0x2b, 0x30, 0x99, 0x0f, 0xdb, 0x6b, 0x14, 0x73, 0xd9, 0x34, 0x14, 0xb3, 0xa6, 0x21, 0xe9, 0xb1, - 0x4b, 0xb9, 0x1e, 0xbb, 0x9e, 0xbc, 0x0c, 0xca, 0x48, 0xcc, 0x7a, 0x7f, 0x7c, 0x60, 0x4c, 0x64, - 0x0f, 0x8c, 0xc6, 0x5f, 0x0a, 0x30, 0x99, 0xbf, 0x17, 0xdf, 0xc1, 0xeb, 0xeb, 0xec, 0x96, 0x3e, - 0x86, 0x62, 0xc8, 0x8e, 0xe5, 0xe9, 0x8c, 0xdd, 0xd9, 0x71, 0x4c, 0xea, 0x8d, 0x72, 0xce, 0x1b, - 0xeb, 0x30, 0x8d, 0xe9, 0x9e, 0xbf, 0x6e, 0xd0, 0x2b, 0xe3, 0x34, 0x17, 0x53, 0x09, 0x84, 0x93, - 0x1a, 0xff, 0x2a, 0x00, 0xc9, 0xd2, 0xf2, 0x3e, 0x7f, 0xb9, 0xda, 0x7e, 0xef, 0x3a, 0xde, 0xc2, - 0xb2, 0x2e, 0xe0, 0x49, 0x81, 0x4c, 0xe6, 0xe4, 0x7d, 0x98, 0x11, 0x15, 0xc1, 0x64, 0x9e, 0x13, - 0xf8, 0xae, 0x17, 0x4b, 0xaf, 0xd4, 0x04, 0xd9, 0x90, 0x54, 0xd2, 0x85, 0x39, 0xeb, 0xc4, 0x72, - 0x7b, 0xd6, 0x51, 0x8f, 0x99, 0xc9, 0x03, 0x32, 0xd2, 0x4b, 0xd8, 0xb1, 0x7e, 0x78, 0xb5, 0x96, - 0x23, 0x69, 0x5c, 0x28, 0x49, 0x55, 0x26, 0xac, 0x88, 0xd7, 0x4d, 0xf6, 0x2a, 0xf0, 0x23, 0x26, - 0xab, 0xa3, 0x9c, 0xfd, 0x97, 0xcd, 0xda, 0xb7, 0x0a, 0xd4, 0xf3, 0x85, 0xf1, 0xff, 0xe5, 0xcf, - 0xef, 0xc1, 0x6c, 0x52, 0x97, 0x4f, 0x7b, 0x54, 0x4b, 0x18, 0xa9, 0x4f, 0xb3, 0xad, 0x96, 0xf2, - 0x5b, 0x6d, 0xfc, 0xbb, 0x08, 0x53, 0xf9, 0x67, 0xc9, 0x75, 0x16, 0xf9, 0x08, 0x3f, 0x18, 0x44, - 0x0e, 0x7f, 0x30, 0xfe, 0x0b, 0x48, 0x7e, 0x32, 0x3c, 0x4c, 0x5e, 0xcc, 0x22, 0xdb, 0xdd, 0xbb, - 0x24, 0xdb, 0x25, 0xef, 0xe5, 0x47, 0x50, 0x0a, 0x7d, 0x3f, 0x96, 0xd7, 0x68, 0xfc, 0x86, 0x10, - 0x51, 0xe9, 0x5b, 0xae, 0x9c, 0x7b, 0xcb, 0x7d, 0x0c, 0xe5, 0xac, 0x1d, 0x4a, 0xf2, 0xe6, 0xb9, - 0x2a, 0xb1, 0x53, 0xa2, 0x02, 0x81, 0x7d, 0x23, 0xf6, 0x7e, 0x98, 0x2a, 0x2a, 0xb2, 0x6f, 0xe4, - 0x94, 0xd1, 0xaf, 0x0c, 0x75, 0xfc, 0xaf, 0x8c, 0x2d, 0xa8, 0xf2, 0x95, 0x9a, 0xae, 0x77, 0xec, - 0xcb, 0x1f, 0x8b, 0x31, 0x93, 0x4f, 0xdb, 0x3b, 0xf6, 0xa9, 0xca, 0xc1, 0x7c, 0xd4, 0xf8, 0x3e, - 0xd4, 0x46, 0xbd, 0x3e, 0xda, 0xc6, 0x2a, 0xa3, 0x6d, 0x6c, 0xe3, 0x77, 0x0a, 0x94, 0x45, 0x17, - 0x78, 0x8d, 0x48, 0x78, 0x0f, 0x66, 0xd0, 0x21, 0x66, 0xdf, 0x7a, 0x65, 0x1e, 0x0d, 0x63, 0x26, - 0x4a, 0x7b, 0x89, 0x4e, 0x23, 0x79, 0xc7, 0x7a, 0xb5, 0xc1, 0x89, 0xa3, 0x72, 0xbc, 0x0b, 0x8a, - 0xf0, 0xf4, 0x73, 0x72, 0xfc, 0x02, 0x45, 0x4b, 0xbf, 0x00, 0x35, 0x79, 0x99, 0x91, 0x1b, 0x30, - 0xbb, 0xbd, 0xd7, 0x7a, 0x6a, 0x1e, 0x3c, 0xdf, 0x37, 0xcc, 0xf6, 0xee, 0xb3, 0xf5, 0xed, 0xf6, - 0xa6, 0xf6, 0x06, 0xa9, 0x83, 0x96, 0x91, 0x3b, 0x4f, 0xd6, 0xa9, 0xb1, 0xa9, 0x29, 0x64, 0x0e, - 0x66, 0x32, 0xea, 0x4f, 0x69, 0xfb, 0xc0, 0xd0, 0x0a, 0x84, 0x40, 0x2d, 0x23, 0x1a, 0x5f, 0xb6, - 0xb6, 0xb5, 0xe2, 0xd2, 0xdf, 0x94, 0xec, 0x83, 0x0e, 0xcd, 0xdc, 0x82, 0x1b, 0xd4, 0xe8, 0xec, - 0x1d, 0xd2, 0x96, 0x71, 0xda, 0xd4, 0x4d, 0x20, 0xa3, 0xac, 0xc7, 0xed, 0x6d, 0x43, 0x53, 0xc8, - 0x6d, 0x78, 0x73, 0x94, 0xde, 0xda, 0xdb, 0x3d, 0x58, 0x6f, 0xef, 0x1a, 0x54, 0x2b, 0x9c, 0x65, - 0x52, 0xe3, 0xb1, 0x41, 0x8d, 0xdd, 0x96, 0xa1, 0x15, 0xcf, 0x1a, 0xeb, 0x3c, 0xdf, 0xd9, 0x6e, - 0xef, 0x3e, 0xd5, 0x4a, 0x64, 0x1e, 0x6e, 0x9e, 0x5e, 0xc7, 0x81, 0x41, 0x77, 0xd7, 0xb7, 0xb5, - 0xf2, 0xd2, 0xdf, 0x15, 0xa8, 0xbf, 0xee, 0x6d, 0x45, 0x1a, 0xf0, 0x56, 0x0a, 0x6a, 0x3d, 0x31, - 0x5a, 0x4f, 0x3b, 0x87, 0x3b, 0xa7, 0x77, 0xb1, 0x00, 0x77, 0xce, 0x91, 0x39, 0xdc, 0xed, 0x18, - 0x07, 0x9a, 0x72, 0x81, 0x96, 0xf5, 0xcd, 0x6d, 0x83, 0xae, 0xad, 0x6a, 0x05, 0xf2, 0x16, 0xcc, - 0x9f, 0x23, 0xb3, 0xb3, 0xf9, 0x50, 0x2b, 0x92, 0x7b, 0x70, 0xfb, 0x1c, 0x7e, 0xe7, 0xc9, 0xfa, - 0x8a, 0x56, 0x5a, 0x7a, 0x06, 0x93, 0xb9, 0xde, 0x87, 0xe8, 0x50, 0xdf, 0xa2, 0xeb, 0xbb, 0x07, - 0xc6, 0x19, 0xaf, 0xdf, 0x80, 0xd9, 0x11, 0xce, 0x61, 0xc7, 0xa0, 0x9a, 0xc2, 0x0f, 0x63, 0x84, - 0xbc, 0x45, 0xf7, 0x0e, 0xf7, 0xb5, 0xc2, 0xc6, 0x6f, 0x15, 0x58, 0xb0, 0xfd, 0xfe, 0x85, 0x57, - 0x65, 0xa3, 0x96, 0x78, 0x2f, 0xc2, 0xe4, 0xbc, 0xaf, 0xfc, 0x6c, 0x26, 0x91, 0x91, 0x22, 0x7f, - 0x2e, 0x14, 0x5b, 0x9d, 0xfd, 0x6f, 0x0b, 0x77, 0x5a, 0xd1, 0x5a, 0x92, 0xb5, 0x9a, 0xfb, 0x89, - 0x9e, 0x67, 0x2b, 0x1b, 0x5c, 0xe8, 0x9f, 0xc8, 0x7e, 0x21, 0xd9, 0x2f, 0x12, 0xf6, 0x0b, 0xc9, - 0x3e, 0x9a, 0xc0, 0x5c, 0xbd, 0xf6, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x21, 0x65, 0xcc, - 0xc8, 0x16, 0x00, 0x00, +var File_cs3_storage_provider_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_storage_provider_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x2a, 0x63, 0x73, + 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x9f, 0x08, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x4a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, + 0x75, 0x6d, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, + 0x65, 0x74, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, + 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, + 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x58, 0x0a, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x0d, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x12, 0x5e, 0x0a, 0x12, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x11, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x5e, 0x0a, 0x12, 0x61, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, + 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x11, 0x61, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x36, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x49, 0x0a, 0x0e, + 0x61, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x10, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x0d, 0x61, 0x64, 0x76, 0x69, 0x73, 0x6f, + 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x45, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x49, 0x64, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x05, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x22, 0x54, 0x0a, 0x11, 0x43, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, + 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xab, 0x01, 0x0a, 0x11, 0x41, + 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x59, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x41, 0x72, 0x62, 0x69, 0x74, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9e, 0x02, 0x0a, 0x04, 0x4c, 0x6f, 0x63, + 0x6b, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x3a, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, + 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, + 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6c, 0x0a, 0x10, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x46, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x73, 0x75, 0x6d, 0x22, 0x7e, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x50, 0x72, 0x69, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x12, 0x46, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x32, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, + 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, + 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x6a, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x64, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x22, 0x63, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, + 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0xc4, 0x05, 0x0a, 0x13, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x64, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x29, 0x0a, + 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x67, + 0x65, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x67, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, + 0x61, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, + 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x30, + 0x0a, 0x14, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, + 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x69, 0x73, 0x74, + 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x72, + 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x76, + 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x75, 0x72, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, + 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x70, 0x75, 0x72, 0x67, 0x65, 0x52, 0x65, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, + 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x74, 0x6f, + 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, + 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x12, 0x21, 0x0a, + 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x13, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x6e, 0x79, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x14, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x65, 0x6e, 0x79, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x22, + 0x98, 0x02, 0x0a, 0x05, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, 0x61, + 0x6e, 0x74, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, + 0x65, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x31, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x3b, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x3c, 0x0a, 0x0a, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x02, 0x0a, 0x07, 0x47, + 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x48, 0x00, 0x52, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x42, 0x04, 0x0a, 0x02, 0x69, 0x64, 0x22, 0x90, + 0x01, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, + 0x67, 0x22, 0xa4, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x74, 0x65, + 0x6d, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, + 0x66, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x41, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x64, 0x65, 0x6c, 0x65, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xcb, 0x02, 0x0a, 0x12, 0x46, 0x69, 0x6c, + 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x27, + 0x0a, 0x0f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x45, + 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x67, 0x0a, 0x13, 0x61, 0x76, 0x61, 0x69, 0x6c, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x73, 0x75, 0x6d, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x12, 0x61, 0x76, + 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, + 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x46, 0x69, 0x6c, 0x65, 0x44, + 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2b, + 0x0a, 0x11, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c, + 0x6f, 0x61, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, + 0x78, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x70, + 0x6f, 0x73, 0x65, 0x22, 0xdf, 0x03, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x49, + 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x04, + 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x49, 0x64, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, + 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x6f, + 0x74, 0x61, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x09, + 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x72, 0x6f, 0x6f, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x2d, 0x0a, 0x0e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x49, 0x64, 0x22, 0xdc, 0x01, 0x0a, 0x05, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x71, 0x75, 0x6f, 0x74, + 0x61, 0x4d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x71, 0x75, 0x6f, + 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0d, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x4d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, + 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, + 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x46, 0x69, + 0x6c, 0x65, 0x73, 0x2a, 0x60, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x15, 0x0a, 0x11, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, + 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, + 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, + 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, + 0x58, 0x43, 0x4c, 0x10, 0x03, 0x2a, 0xb2, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, + 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, + 0x00, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x53, + 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, + 0x49, 0x4e, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, + 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, + 0x45, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x59, 0x4d, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0x04, 0x12, 0x1a, + 0x0a, 0x16, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x05, 0x2a, 0xc1, 0x01, 0x0a, 0x14, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, + 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x53, 0x4f, 0x55, + 0x52, 0x43, 0x45, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x53, + 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, 0x55, 0x4d, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x41, 0x44, 0x4c, 0x45, 0x52, 0x33, 0x32, 0x10, 0x02, 0x12, 0x1e, 0x0a, + 0x1a, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, + 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x44, 0x35, 0x10, 0x03, 0x12, 0x1f, 0x0a, + 0x1b, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, + 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x10, 0x04, 0x2a, 0x56, + 0x0a, 0x0b, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, + 0x14, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x45, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x47, 0x52, 0x41, 0x4e, 0x54, + 0x45, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x16, + 0x0a, 0x12, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x45, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, + 0x52, 0x4f, 0x55, 0x50, 0x10, 0x02, 0x42, 0x90, 0x02, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, + 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x53, 0x50, 0xaa, 0x02, + 0x1c, 0x43, 0x73, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1c, + 0x43, 0x73, 0x33, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x28, 0x43, + 0x73, 0x33, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_cs3_storage_provider_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_storage_provider_v1beta1_resources_proto_rawDescData = file_cs3_storage_provider_v1beta1_resources_proto_rawDesc +) + +func file_cs3_storage_provider_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_storage_provider_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_storage_provider_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_storage_provider_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_storage_provider_v1beta1_resources_proto_rawDescData +} + +var file_cs3_storage_provider_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_cs3_storage_provider_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_cs3_storage_provider_v1beta1_resources_proto_goTypes = []interface{}{ + (LockType)(0), // 0: cs3.storage.provider.v1beta1.LockType + (ResourceType)(0), // 1: cs3.storage.provider.v1beta1.ResourceType + (ResourceChecksumType)(0), // 2: cs3.storage.provider.v1beta1.ResourceChecksumType + (GranteeType)(0), // 3: cs3.storage.provider.v1beta1.GranteeType + (*ResourceInfo)(nil), // 4: cs3.storage.provider.v1beta1.ResourceInfo + (*CanonicalMetadata)(nil), // 5: cs3.storage.provider.v1beta1.CanonicalMetadata + (*ArbitraryMetadata)(nil), // 6: cs3.storage.provider.v1beta1.ArbitraryMetadata + (*Lock)(nil), // 7: cs3.storage.provider.v1beta1.Lock + (*ResourceChecksum)(nil), // 8: cs3.storage.provider.v1beta1.ResourceChecksum + (*ResourceChecksumPriority)(nil), // 9: cs3.storage.provider.v1beta1.ResourceChecksumPriority + (*Reference)(nil), // 10: cs3.storage.provider.v1beta1.Reference + (*ResourceId)(nil), // 11: cs3.storage.provider.v1beta1.ResourceId + (*ResourcePermissions)(nil), // 12: cs3.storage.provider.v1beta1.ResourcePermissions + (*Grant)(nil), // 13: cs3.storage.provider.v1beta1.Grant + (*Grantee)(nil), // 14: cs3.storage.provider.v1beta1.Grantee + (*FileVersion)(nil), // 15: cs3.storage.provider.v1beta1.FileVersion + (*RecycleItem)(nil), // 16: cs3.storage.provider.v1beta1.RecycleItem + (*FileUploadProtocol)(nil), // 17: cs3.storage.provider.v1beta1.FileUploadProtocol + (*FileDownloadProtocol)(nil), // 18: cs3.storage.provider.v1beta1.FileDownloadProtocol + (*StorageSpace)(nil), // 19: cs3.storage.provider.v1beta1.StorageSpace + (*StorageSpaceId)(nil), // 20: cs3.storage.provider.v1beta1.StorageSpaceId + (*Quota)(nil), // 21: cs3.storage.provider.v1beta1.Quota + nil, // 22: cs3.storage.provider.v1beta1.ArbitraryMetadata.MetadataEntry + (*v1beta1.Opaque)(nil), // 23: cs3.types.v1beta1.Opaque + (*v1beta1.Timestamp)(nil), // 24: cs3.types.v1beta1.Timestamp + (*v1beta11.UserId)(nil), // 25: cs3.identity.user.v1beta1.UserId + (*v1beta12.GroupId)(nil), // 26: cs3.identity.group.v1beta1.GroupId + (*v1beta11.User)(nil), // 27: cs3.identity.user.v1beta1.User +} +var file_cs3_storage_provider_v1beta1_resources_proto_depIdxs = []int32{ + 23, // 0: cs3.storage.provider.v1beta1.ResourceInfo.opaque:type_name -> cs3.types.v1beta1.Opaque + 1, // 1: cs3.storage.provider.v1beta1.ResourceInfo.type:type_name -> cs3.storage.provider.v1beta1.ResourceType + 11, // 2: cs3.storage.provider.v1beta1.ResourceInfo.id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 8, // 3: cs3.storage.provider.v1beta1.ResourceInfo.checksum:type_name -> cs3.storage.provider.v1beta1.ResourceChecksum + 24, // 4: cs3.storage.provider.v1beta1.ResourceInfo.mtime:type_name -> cs3.types.v1beta1.Timestamp + 12, // 5: cs3.storage.provider.v1beta1.ResourceInfo.permission_set:type_name -> cs3.storage.provider.v1beta1.ResourcePermissions + 25, // 6: cs3.storage.provider.v1beta1.ResourceInfo.owner:type_name -> cs3.identity.user.v1beta1.UserId + 5, // 7: cs3.storage.provider.v1beta1.ResourceInfo.canonical_metadata:type_name -> cs3.storage.provider.v1beta1.CanonicalMetadata + 6, // 8: cs3.storage.provider.v1beta1.ResourceInfo.arbitrary_metadata:type_name -> cs3.storage.provider.v1beta1.ArbitraryMetadata + 7, // 9: cs3.storage.provider.v1beta1.ResourceInfo.lock:type_name -> cs3.storage.provider.v1beta1.Lock + 7, // 10: cs3.storage.provider.v1beta1.ResourceInfo.advisory_locks:type_name -> cs3.storage.provider.v1beta1.Lock + 11, // 11: cs3.storage.provider.v1beta1.ResourceInfo.parent_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 19, // 12: cs3.storage.provider.v1beta1.ResourceInfo.space:type_name -> cs3.storage.provider.v1beta1.StorageSpace + 10, // 13: cs3.storage.provider.v1beta1.CanonicalMetadata.target:type_name -> cs3.storage.provider.v1beta1.Reference + 22, // 14: cs3.storage.provider.v1beta1.ArbitraryMetadata.metadata:type_name -> cs3.storage.provider.v1beta1.ArbitraryMetadata.MetadataEntry + 23, // 15: cs3.storage.provider.v1beta1.Lock.opaque:type_name -> cs3.types.v1beta1.Opaque + 0, // 16: cs3.storage.provider.v1beta1.Lock.type:type_name -> cs3.storage.provider.v1beta1.LockType + 25, // 17: cs3.storage.provider.v1beta1.Lock.user:type_name -> cs3.identity.user.v1beta1.UserId + 24, // 18: cs3.storage.provider.v1beta1.Lock.expiration:type_name -> cs3.types.v1beta1.Timestamp + 2, // 19: cs3.storage.provider.v1beta1.ResourceChecksum.type:type_name -> cs3.storage.provider.v1beta1.ResourceChecksumType + 2, // 20: cs3.storage.provider.v1beta1.ResourceChecksumPriority.type:type_name -> cs3.storage.provider.v1beta1.ResourceChecksumType + 11, // 21: cs3.storage.provider.v1beta1.Reference.resource_id:type_name -> cs3.storage.provider.v1beta1.ResourceId + 14, // 22: cs3.storage.provider.v1beta1.Grant.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 12, // 23: cs3.storage.provider.v1beta1.Grant.permissions:type_name -> cs3.storage.provider.v1beta1.ResourcePermissions + 25, // 24: cs3.storage.provider.v1beta1.Grant.creator:type_name -> cs3.identity.user.v1beta1.UserId + 24, // 25: cs3.storage.provider.v1beta1.Grant.expiration:type_name -> cs3.types.v1beta1.Timestamp + 3, // 26: cs3.storage.provider.v1beta1.Grantee.type:type_name -> cs3.storage.provider.v1beta1.GranteeType + 25, // 27: cs3.storage.provider.v1beta1.Grantee.user_id:type_name -> cs3.identity.user.v1beta1.UserId + 26, // 28: cs3.storage.provider.v1beta1.Grantee.group_id:type_name -> cs3.identity.group.v1beta1.GroupId + 23, // 29: cs3.storage.provider.v1beta1.Grantee.opaque:type_name -> cs3.types.v1beta1.Opaque + 23, // 30: cs3.storage.provider.v1beta1.FileVersion.opaque:type_name -> cs3.types.v1beta1.Opaque + 23, // 31: cs3.storage.provider.v1beta1.RecycleItem.opaque:type_name -> cs3.types.v1beta1.Opaque + 1, // 32: cs3.storage.provider.v1beta1.RecycleItem.type:type_name -> cs3.storage.provider.v1beta1.ResourceType + 10, // 33: cs3.storage.provider.v1beta1.RecycleItem.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 24, // 34: cs3.storage.provider.v1beta1.RecycleItem.deletion_time:type_name -> cs3.types.v1beta1.Timestamp + 23, // 35: cs3.storage.provider.v1beta1.FileUploadProtocol.opaque:type_name -> cs3.types.v1beta1.Opaque + 9, // 36: cs3.storage.provider.v1beta1.FileUploadProtocol.available_checksums:type_name -> cs3.storage.provider.v1beta1.ResourceChecksumPriority + 24, // 37: cs3.storage.provider.v1beta1.FileUploadProtocol.expiration:type_name -> cs3.types.v1beta1.Timestamp + 23, // 38: cs3.storage.provider.v1beta1.FileDownloadProtocol.opaque:type_name -> cs3.types.v1beta1.Opaque + 23, // 39: cs3.storage.provider.v1beta1.StorageSpace.opaque:type_name -> cs3.types.v1beta1.Opaque + 20, // 40: cs3.storage.provider.v1beta1.StorageSpace.id:type_name -> cs3.storage.provider.v1beta1.StorageSpaceId + 27, // 41: cs3.storage.provider.v1beta1.StorageSpace.owner:type_name -> cs3.identity.user.v1beta1.User + 11, // 42: cs3.storage.provider.v1beta1.StorageSpace.root:type_name -> cs3.storage.provider.v1beta1.ResourceId + 21, // 43: cs3.storage.provider.v1beta1.StorageSpace.quota:type_name -> cs3.storage.provider.v1beta1.Quota + 24, // 44: cs3.storage.provider.v1beta1.StorageSpace.mtime:type_name -> cs3.types.v1beta1.Timestamp + 4, // 45: cs3.storage.provider.v1beta1.StorageSpace.root_info:type_name -> cs3.storage.provider.v1beta1.ResourceInfo + 23, // 46: cs3.storage.provider.v1beta1.Quota.opaque:type_name -> cs3.types.v1beta1.Opaque + 47, // [47:47] is the sub-list for method output_type + 47, // [47:47] is the sub-list for method input_type + 47, // [47:47] is the sub-list for extension type_name + 47, // [47:47] is the sub-list for extension extendee + 0, // [0:47] is the sub-list for field type_name +} + +func init() { file_cs3_storage_provider_v1beta1_resources_proto_init() } +func file_cs3_storage_provider_v1beta1_resources_proto_init() { + if File_cs3_storage_provider_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanonicalMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArbitraryMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Lock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceChecksum); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceChecksumPriority); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Reference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourcePermissions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Grant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Grantee); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RecycleItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileUploadProtocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileDownloadProtocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StorageSpace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StorageSpaceId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Quota); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_cs3_storage_provider_v1beta1_resources_proto_msgTypes[10].OneofWrappers = []interface{}{ + (*Grantee_UserId)(nil), + (*Grantee_GroupId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_storage_provider_v1beta1_resources_proto_rawDesc, + NumEnums: 4, + NumMessages: 19, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_storage_provider_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_storage_provider_v1beta1_resources_proto_depIdxs, + EnumInfos: file_cs3_storage_provider_v1beta1_resources_proto_enumTypes, + MessageInfos: file_cs3_storage_provider_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_storage_provider_v1beta1_resources_proto = out.File + file_cs3_storage_provider_v1beta1_resources_proto_rawDesc = nil + file_cs3_storage_provider_v1beta1_resources_proto_goTypes = nil + file_cs3_storage_provider_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/spaces_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/spaces_api.pb.go new file mode 100644 index 00000000000..e1015585b72 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/spaces_api.pb.go @@ -0,0 +1,1235 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) +// source: cs3/storage/provider/v1beta1/spaces_api.proto + +package providerv1beta1 + +import ( + v1beta11 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" + v1beta12 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" + v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + 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) +) + +// The filter to apply. +type ListStorageSpacesRequest_Filter_Type int32 + +const ( + ListStorageSpacesRequest_Filter_TYPE_INVALID ListStorageSpacesRequest_Filter_Type = 0 + ListStorageSpacesRequest_Filter_TYPE_NO ListStorageSpacesRequest_Filter_Type = 1 + ListStorageSpacesRequest_Filter_TYPE_ID ListStorageSpacesRequest_Filter_Type = 2 + ListStorageSpacesRequest_Filter_TYPE_OWNER ListStorageSpacesRequest_Filter_Type = 3 + ListStorageSpacesRequest_Filter_TYPE_SPACE_TYPE ListStorageSpacesRequest_Filter_Type = 4 + ListStorageSpacesRequest_Filter_TYPE_PATH ListStorageSpacesRequest_Filter_Type = 5 + ListStorageSpacesRequest_Filter_TYPE_USER ListStorageSpacesRequest_Filter_Type = 6 +) + +// Enum value maps for ListStorageSpacesRequest_Filter_Type. +var ( + ListStorageSpacesRequest_Filter_Type_name = map[int32]string{ + 0: "TYPE_INVALID", + 1: "TYPE_NO", + 2: "TYPE_ID", + 3: "TYPE_OWNER", + 4: "TYPE_SPACE_TYPE", + 5: "TYPE_PATH", + 6: "TYPE_USER", + } + ListStorageSpacesRequest_Filter_Type_value = map[string]int32{ + "TYPE_INVALID": 0, + "TYPE_NO": 1, + "TYPE_ID": 2, + "TYPE_OWNER": 3, + "TYPE_SPACE_TYPE": 4, + "TYPE_PATH": 5, + "TYPE_USER": 6, + } +) + +func (x ListStorageSpacesRequest_Filter_Type) Enum() *ListStorageSpacesRequest_Filter_Type { + p := new(ListStorageSpacesRequest_Filter_Type) + *p = x + return p +} + +func (x ListStorageSpacesRequest_Filter_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ListStorageSpacesRequest_Filter_Type) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_enumTypes[0].Descriptor() +} + +func (ListStorageSpacesRequest_Filter_Type) Type() protoreflect.EnumType { + return &file_cs3_storage_provider_v1beta1_spaces_api_proto_enumTypes[0] +} + +func (x ListStorageSpacesRequest_Filter_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ListStorageSpacesRequest_Filter_Type.Descriptor instead. +func (ListStorageSpacesRequest_Filter_Type) EnumDescriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{2, 0, 0} +} + +type CreateStorageSpaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OPTIONAL. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + Owner *v1beta11.User `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + // OPTIONAL. + // Could be 'home', 'share', 'project', 'space'... + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` + // OPTIONAL. + // User readable name of the storage space. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // OPTIONAL. + Quota *Quota `protobuf:"bytes,5,opt,name=quota,proto3" json:"quota,omitempty"` +} + +func (x *CreateStorageSpaceRequest) Reset() { + *x = CreateStorageSpaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateStorageSpaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateStorageSpaceRequest) ProtoMessage() {} + +func (x *CreateStorageSpaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_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 CreateStorageSpaceRequest.ProtoReflect.Descriptor instead. +func (*CreateStorageSpaceRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateStorageSpaceRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +func (x *CreateStorageSpaceRequest) GetOwner() *v1beta11.User { + if x != nil { + return x.Owner + } + return nil +} + +func (x *CreateStorageSpaceRequest) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *CreateStorageSpaceRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CreateStorageSpaceRequest) GetQuota() *Quota { + if x != nil { + return x.Quota + } + return nil +} + +type CreateStorageSpaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + // The response status. + Status *v1beta12.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + // REQUIRED. + // The created storage space. + StorageSpace *StorageSpace `protobuf:"bytes,3,opt,name=storage_space,json=storageSpace,proto3" json:"storage_space,omitempty"` +} + +func (x *CreateStorageSpaceResponse) Reset() { + *x = CreateStorageSpaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateStorageSpaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateStorageSpaceResponse) ProtoMessage() {} + +func (x *CreateStorageSpaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_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 CreateStorageSpaceResponse.ProtoReflect.Descriptor instead. +func (*CreateStorageSpaceResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{1} +} + +func (x *CreateStorageSpaceResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +func (x *CreateStorageSpaceResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status + } + return nil +} + +func (x *CreateStorageSpaceResponse) GetStorageSpace() *StorageSpace { + if x != nil { + return x.StorageSpace + } + return nil +} + +type ListStorageSpacesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // OPTIONAL. + // The list of filters to apply if any. + Filters []*ListStorageSpacesRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + // OPTIONAL. + // The field mask applies to the resource. For the `FieldMask` definition, + // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask + FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` + // OPTIONAL. + // Clients use this field to specify the maximum number of results to be returned by the server. + // The server may further constrain the maximum number of results returned in a single page. + // If the page_size is 0, the server will decide the number of results to be returned. + // see https://cloud.google.com/apis/design/design_patterns#list_pagination + PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // OPTIONAL. + // The client uses this field to request a specific page of the list results. + PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` +} + +func (x *ListStorageSpacesRequest) Reset() { + *x = ListStorageSpacesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListStorageSpacesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListStorageSpacesRequest) ProtoMessage() {} + +func (x *ListStorageSpacesRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_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 ListStorageSpacesRequest.ProtoReflect.Descriptor instead. +func (*ListStorageSpacesRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{2} +} + +func (x *ListStorageSpacesRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +func (x *ListStorageSpacesRequest) GetFilters() []*ListStorageSpacesRequest_Filter { + if x != nil { + return x.Filters + } + return nil +} + +func (x *ListStorageSpacesRequest) GetFieldMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.FieldMask + } + return nil +} + +func (x *ListStorageSpacesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ListStorageSpacesRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +type ListStorageSpacesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + // The response status. + Status *v1beta12.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + // REQUIRED. + StorageSpaces []*StorageSpace `protobuf:"bytes,3,rep,name=storage_spaces,json=storageSpaces,proto3" json:"storage_spaces,omitempty"` + // OPTIONAL. + // This field represents the pagination token to retrieve the next page of results. + // If the value is "", it means no further results for the request. + // see https://cloud.google.com/apis/design/design_patterns#list_pagination + NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` +} + +func (x *ListStorageSpacesResponse) Reset() { + *x = ListStorageSpacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListStorageSpacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListStorageSpacesResponse) ProtoMessage() {} + +func (x *ListStorageSpacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_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 ListStorageSpacesResponse.ProtoReflect.Descriptor instead. +func (*ListStorageSpacesResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{3} +} + +func (x *ListStorageSpacesResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +func (x *ListStorageSpacesResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status + } + return nil +} + +func (x *ListStorageSpacesResponse) GetStorageSpaces() []*StorageSpace { + if x != nil { + return x.StorageSpaces + } + return nil +} + +func (x *ListStorageSpacesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken + } + return "" +} + +type UpdateStorageSpaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + StorageSpace *StorageSpace `protobuf:"bytes,2,opt,name=storage_space,json=storageSpace,proto3" json:"storage_space,omitempty"` +} + +func (x *UpdateStorageSpaceRequest) Reset() { + *x = UpdateStorageSpaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateStorageSpaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateStorageSpaceRequest) ProtoMessage() {} + +func (x *UpdateStorageSpaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_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 UpdateStorageSpaceRequest.ProtoReflect.Descriptor instead. +func (*UpdateStorageSpaceRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{4} +} + +func (x *UpdateStorageSpaceRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +func (x *UpdateStorageSpaceRequest) GetStorageSpace() *StorageSpace { + if x != nil { + return x.StorageSpace + } + return nil +} + +type UpdateStorageSpaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + // The response status. + Status *v1beta12.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + // REQUIRED. + // The updated storage space. + StorageSpace *StorageSpace `protobuf:"bytes,3,opt,name=storage_space,json=storageSpace,proto3" json:"storage_space,omitempty"` +} + +func (x *UpdateStorageSpaceResponse) Reset() { + *x = UpdateStorageSpaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateStorageSpaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateStorageSpaceResponse) ProtoMessage() {} + +func (x *UpdateStorageSpaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_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 UpdateStorageSpaceResponse.ProtoReflect.Descriptor instead. +func (*UpdateStorageSpaceResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{5} +} + +func (x *UpdateStorageSpaceResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +func (x *UpdateStorageSpaceResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status + } + return nil +} + +func (x *UpdateStorageSpaceResponse) GetStorageSpace() *StorageSpace { + if x != nil { + return x.StorageSpace + } + return nil +} + +type DeleteStorageSpaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + Id *StorageSpaceId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *DeleteStorageSpaceRequest) Reset() { + *x = DeleteStorageSpaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteStorageSpaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteStorageSpaceRequest) ProtoMessage() {} + +func (x *DeleteStorageSpaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_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 DeleteStorageSpaceRequest.ProtoReflect.Descriptor instead. +func (*DeleteStorageSpaceRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{6} +} + +func (x *DeleteStorageSpaceRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +func (x *DeleteStorageSpaceRequest) GetId() *StorageSpaceId { + if x != nil { + return x.Id + } + return nil +} + +type DeleteStorageSpaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OPTIONAL. + // Opaque information. + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` + // REQUIRED. + // The response status. + Status *v1beta12.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *DeleteStorageSpaceResponse) Reset() { + *x = DeleteStorageSpaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteStorageSpaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteStorageSpaceResponse) ProtoMessage() {} + +func (x *DeleteStorageSpaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_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 DeleteStorageSpaceResponse.ProtoReflect.Descriptor instead. +func (*DeleteStorageSpaceResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{7} +} + +func (x *DeleteStorageSpaceResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque + } + return nil +} + +func (x *DeleteStorageSpaceResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status + } + return nil +} + +// Represents a filter to apply to the request. +type ListStorageSpacesRequest_Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // REQUIRED. + Type ListStorageSpacesRequest_Filter_Type `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.ListStorageSpacesRequest_Filter_Type" json:"type,omitempty"` + // Types that are assignable to Term: + // + // *ListStorageSpacesRequest_Filter_Id + // *ListStorageSpacesRequest_Filter_Owner + // *ListStorageSpacesRequest_Filter_SpaceType + // *ListStorageSpacesRequest_Filter_Path + // *ListStorageSpacesRequest_Filter_User + Term isListStorageSpacesRequest_Filter_Term `protobuf_oneof:"term"` +} + +func (x *ListStorageSpacesRequest_Filter) Reset() { + *x = ListStorageSpacesRequest_Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListStorageSpacesRequest_Filter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListStorageSpacesRequest_Filter) ProtoMessage() {} + +func (x *ListStorageSpacesRequest_Filter) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_provider_v1beta1_spaces_api_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 ListStorageSpacesRequest_Filter.ProtoReflect.Descriptor instead. +func (*ListStorageSpacesRequest_Filter) Descriptor() ([]byte, []int) { + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *ListStorageSpacesRequest_Filter) GetType() ListStorageSpacesRequest_Filter_Type { + if x != nil { + return x.Type + } + return ListStorageSpacesRequest_Filter_TYPE_INVALID +} + +func (m *ListStorageSpacesRequest_Filter) GetTerm() isListStorageSpacesRequest_Filter_Term { + if m != nil { + return m.Term + } + return nil +} + +func (x *ListStorageSpacesRequest_Filter) GetId() *StorageSpaceId { + if x, ok := x.GetTerm().(*ListStorageSpacesRequest_Filter_Id); ok { + return x.Id + } + return nil +} + +func (x *ListStorageSpacesRequest_Filter) GetOwner() *v1beta11.UserId { + if x, ok := x.GetTerm().(*ListStorageSpacesRequest_Filter_Owner); ok { + return x.Owner + } + return nil +} + +func (x *ListStorageSpacesRequest_Filter) GetSpaceType() string { + if x, ok := x.GetTerm().(*ListStorageSpacesRequest_Filter_SpaceType); ok { + return x.SpaceType + } + return "" +} + +func (x *ListStorageSpacesRequest_Filter) GetPath() string { + if x, ok := x.GetTerm().(*ListStorageSpacesRequest_Filter_Path); ok { + return x.Path + } + return "" +} + +func (x *ListStorageSpacesRequest_Filter) GetUser() *v1beta11.UserId { + if x, ok := x.GetTerm().(*ListStorageSpacesRequest_Filter_User); ok { + return x.User + } + return nil +} + +type isListStorageSpacesRequest_Filter_Term interface { + isListStorageSpacesRequest_Filter_Term() +} + +type ListStorageSpacesRequest_Filter_Id struct { + Id *StorageSpaceId `protobuf:"bytes,2,opt,name=id,proto3,oneof"` +} + +type ListStorageSpacesRequest_Filter_Owner struct { + Owner *v1beta11.UserId `protobuf:"bytes,3,opt,name=owner,proto3,oneof"` +} + +type ListStorageSpacesRequest_Filter_SpaceType struct { + SpaceType string `protobuf:"bytes,4,opt,name=space_type,json=spaceType,proto3,oneof"` +} + +type ListStorageSpacesRequest_Filter_Path struct { + Path string `protobuf:"bytes,5,opt,name=path,proto3,oneof"` +} + +type ListStorageSpacesRequest_Filter_User struct { + User *v1beta11.UserId `protobuf:"bytes,6,opt,name=user,proto3,oneof"` +} + +func (*ListStorageSpacesRequest_Filter_Id) isListStorageSpacesRequest_Filter_Term() {} + +func (*ListStorageSpacesRequest_Filter_Owner) isListStorageSpacesRequest_Filter_Term() {} + +func (*ListStorageSpacesRequest_Filter_SpaceType) isListStorageSpacesRequest_Filter_Term() {} + +func (*ListStorageSpacesRequest_Filter_Path) isListStorageSpacesRequest_Filter_Term() {} + +func (*ListStorageSpacesRequest_Filter_User) isListStorageSpacesRequest_Filter_Term() {} + +var File_cs3_storage_provider_v1beta1_spaces_api_proto protoreflect.FileDescriptor + +var file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x1c, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x29, 0x63, + 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, 0x73, 0x65, 0x72, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, + 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, + 0x22, 0xd1, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x4f, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x22, 0xea, 0x05, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x12, 0x57, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x39, 0x0a, + 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x09, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0xca, 0x03, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, + 0x56, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x49, + 0x64, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x39, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, 0x05, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x37, 0x0a, 0x04, 0x75, 0x73, 0x65, + 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x22, 0x75, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x49, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, + 0x57, 0x4e, 0x45, 0x52, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, + 0x50, 0x41, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, 0x54, 0x48, 0x10, 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x06, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x65, 0x72, + 0x6d, 0x22, 0xfa, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x51, 0x0a, 0x0e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9f, + 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x4f, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x22, 0xd1, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x4f, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x80, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0xb0, 0x04, 0x0a, 0x09, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x41, 0x50, 0x49, 0x12, 0x87, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x37, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, + 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x12, 0x36, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x37, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x87, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x37, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x90, 0x02, 0x0a, 0x20, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x73, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, + 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x53, + 0x50, 0xaa, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0xca, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, + 0x02, 0x28, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, 0x43, 0x73, 0x33, + 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescOnce sync.Once + file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescData = file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDesc +) + +func file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescGZIP() []byte { + file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescOnce.Do(func() { + file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescData) + }) + return file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDescData +} + +var file_cs3_storage_provider_v1beta1_spaces_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_cs3_storage_provider_v1beta1_spaces_api_proto_goTypes = []interface{}{ + (ListStorageSpacesRequest_Filter_Type)(0), // 0: cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter.Type + (*CreateStorageSpaceRequest)(nil), // 1: cs3.storage.provider.v1beta1.CreateStorageSpaceRequest + (*CreateStorageSpaceResponse)(nil), // 2: cs3.storage.provider.v1beta1.CreateStorageSpaceResponse + (*ListStorageSpacesRequest)(nil), // 3: cs3.storage.provider.v1beta1.ListStorageSpacesRequest + (*ListStorageSpacesResponse)(nil), // 4: cs3.storage.provider.v1beta1.ListStorageSpacesResponse + (*UpdateStorageSpaceRequest)(nil), // 5: cs3.storage.provider.v1beta1.UpdateStorageSpaceRequest + (*UpdateStorageSpaceResponse)(nil), // 6: cs3.storage.provider.v1beta1.UpdateStorageSpaceResponse + (*DeleteStorageSpaceRequest)(nil), // 7: cs3.storage.provider.v1beta1.DeleteStorageSpaceRequest + (*DeleteStorageSpaceResponse)(nil), // 8: cs3.storage.provider.v1beta1.DeleteStorageSpaceResponse + (*ListStorageSpacesRequest_Filter)(nil), // 9: cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter + (*v1beta1.Opaque)(nil), // 10: cs3.types.v1beta1.Opaque + (*v1beta11.User)(nil), // 11: cs3.identity.user.v1beta1.User + (*Quota)(nil), // 12: cs3.storage.provider.v1beta1.Quota + (*v1beta12.Status)(nil), // 13: cs3.rpc.v1beta1.Status + (*StorageSpace)(nil), // 14: cs3.storage.provider.v1beta1.StorageSpace + (*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask + (*StorageSpaceId)(nil), // 16: cs3.storage.provider.v1beta1.StorageSpaceId + (*v1beta11.UserId)(nil), // 17: cs3.identity.user.v1beta1.UserId +} +var file_cs3_storage_provider_v1beta1_spaces_api_proto_depIdxs = []int32{ + 10, // 0: cs3.storage.provider.v1beta1.CreateStorageSpaceRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 1: cs3.storage.provider.v1beta1.CreateStorageSpaceRequest.owner:type_name -> cs3.identity.user.v1beta1.User + 12, // 2: cs3.storage.provider.v1beta1.CreateStorageSpaceRequest.quota:type_name -> cs3.storage.provider.v1beta1.Quota + 10, // 3: cs3.storage.provider.v1beta1.CreateStorageSpaceResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 4: cs3.storage.provider.v1beta1.CreateStorageSpaceResponse.status:type_name -> cs3.rpc.v1beta1.Status + 14, // 5: cs3.storage.provider.v1beta1.CreateStorageSpaceResponse.storage_space:type_name -> cs3.storage.provider.v1beta1.StorageSpace + 10, // 6: cs3.storage.provider.v1beta1.ListStorageSpacesRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 9, // 7: cs3.storage.provider.v1beta1.ListStorageSpacesRequest.filters:type_name -> cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter + 15, // 8: cs3.storage.provider.v1beta1.ListStorageSpacesRequest.field_mask:type_name -> google.protobuf.FieldMask + 10, // 9: cs3.storage.provider.v1beta1.ListStorageSpacesResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 10: cs3.storage.provider.v1beta1.ListStorageSpacesResponse.status:type_name -> cs3.rpc.v1beta1.Status + 14, // 11: cs3.storage.provider.v1beta1.ListStorageSpacesResponse.storage_spaces:type_name -> cs3.storage.provider.v1beta1.StorageSpace + 10, // 12: cs3.storage.provider.v1beta1.UpdateStorageSpaceRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 13: cs3.storage.provider.v1beta1.UpdateStorageSpaceRequest.storage_space:type_name -> cs3.storage.provider.v1beta1.StorageSpace + 10, // 14: cs3.storage.provider.v1beta1.UpdateStorageSpaceResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 15: cs3.storage.provider.v1beta1.UpdateStorageSpaceResponse.status:type_name -> cs3.rpc.v1beta1.Status + 14, // 16: cs3.storage.provider.v1beta1.UpdateStorageSpaceResponse.storage_space:type_name -> cs3.storage.provider.v1beta1.StorageSpace + 10, // 17: cs3.storage.provider.v1beta1.DeleteStorageSpaceRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 18: cs3.storage.provider.v1beta1.DeleteStorageSpaceRequest.id:type_name -> cs3.storage.provider.v1beta1.StorageSpaceId + 10, // 19: cs3.storage.provider.v1beta1.DeleteStorageSpaceResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 20: cs3.storage.provider.v1beta1.DeleteStorageSpaceResponse.status:type_name -> cs3.rpc.v1beta1.Status + 0, // 21: cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter.type:type_name -> cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter.Type + 16, // 22: cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter.id:type_name -> cs3.storage.provider.v1beta1.StorageSpaceId + 17, // 23: cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter.owner:type_name -> cs3.identity.user.v1beta1.UserId + 17, // 24: cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter.user:type_name -> cs3.identity.user.v1beta1.UserId + 1, // 25: cs3.storage.provider.v1beta1.SpacesAPI.CreateStorageSpace:input_type -> cs3.storage.provider.v1beta1.CreateStorageSpaceRequest + 3, // 26: cs3.storage.provider.v1beta1.SpacesAPI.ListStorageSpaces:input_type -> cs3.storage.provider.v1beta1.ListStorageSpacesRequest + 5, // 27: cs3.storage.provider.v1beta1.SpacesAPI.UpdateStorageSpace:input_type -> cs3.storage.provider.v1beta1.UpdateStorageSpaceRequest + 7, // 28: cs3.storage.provider.v1beta1.SpacesAPI.DeleteStorageSpace:input_type -> cs3.storage.provider.v1beta1.DeleteStorageSpaceRequest + 2, // 29: cs3.storage.provider.v1beta1.SpacesAPI.CreateStorageSpace:output_type -> cs3.storage.provider.v1beta1.CreateStorageSpaceResponse + 4, // 30: cs3.storage.provider.v1beta1.SpacesAPI.ListStorageSpaces:output_type -> cs3.storage.provider.v1beta1.ListStorageSpacesResponse + 6, // 31: cs3.storage.provider.v1beta1.SpacesAPI.UpdateStorageSpace:output_type -> cs3.storage.provider.v1beta1.UpdateStorageSpaceResponse + 8, // 32: cs3.storage.provider.v1beta1.SpacesAPI.DeleteStorageSpace:output_type -> cs3.storage.provider.v1beta1.DeleteStorageSpaceResponse + 29, // [29:33] is the sub-list for method output_type + 25, // [25:29] is the sub-list for method input_type + 25, // [25:25] is the sub-list for extension type_name + 25, // [25:25] is the sub-list for extension extendee + 0, // [0:25] is the sub-list for field type_name +} + +func init() { file_cs3_storage_provider_v1beta1_spaces_api_proto_init() } +func file_cs3_storage_provider_v1beta1_spaces_api_proto_init() { + if File_cs3_storage_provider_v1beta1_spaces_api_proto != nil { + return + } + file_cs3_storage_provider_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateStorageSpaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateStorageSpaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListStorageSpacesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListStorageSpacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateStorageSpaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateStorageSpaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteStorageSpaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteStorageSpaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListStorageSpacesRequest_Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*ListStorageSpacesRequest_Filter_Id)(nil), + (*ListStorageSpacesRequest_Filter_Owner)(nil), + (*ListStorageSpacesRequest_Filter_SpaceType)(nil), + (*ListStorageSpacesRequest_Filter_Path)(nil), + (*ListStorageSpacesRequest_Filter_User)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 9, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_cs3_storage_provider_v1beta1_spaces_api_proto_goTypes, + DependencyIndexes: file_cs3_storage_provider_v1beta1_spaces_api_proto_depIdxs, + EnumInfos: file_cs3_storage_provider_v1beta1_spaces_api_proto_enumTypes, + MessageInfos: file_cs3_storage_provider_v1beta1_spaces_api_proto_msgTypes, + }.Build() + File_cs3_storage_provider_v1beta1_spaces_api_proto = out.File + file_cs3_storage_provider_v1beta1_spaces_api_proto_rawDesc = nil + file_cs3_storage_provider_v1beta1_spaces_api_proto_goTypes = nil + file_cs3_storage_provider_v1beta1_spaces_api_proto_depIdxs = nil +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/spaces_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/spaces_api_grpc.pb.go new file mode 100644 index 00000000000..ea6b1f81c9f --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1/spaces_api_grpc.pb.go @@ -0,0 +1,244 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/storage/provider/v1beta1/spaces_api.proto + +package providerv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + SpacesAPI_CreateStorageSpace_FullMethodName = "/cs3.storage.provider.v1beta1.SpacesAPI/CreateStorageSpace" + SpacesAPI_ListStorageSpaces_FullMethodName = "/cs3.storage.provider.v1beta1.SpacesAPI/ListStorageSpaces" + SpacesAPI_UpdateStorageSpace_FullMethodName = "/cs3.storage.provider.v1beta1.SpacesAPI/UpdateStorageSpace" + SpacesAPI_DeleteStorageSpace_FullMethodName = "/cs3.storage.provider.v1beta1.SpacesAPI/DeleteStorageSpace" +) + +// SpacesAPIClient is the client API for SpacesAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type SpacesAPIClient interface { + // Creates a storage space. + CreateStorageSpace(ctx context.Context, in *CreateStorageSpaceRequest, opts ...grpc.CallOption) (*CreateStorageSpaceResponse, error) + // Lists storage spaces. + ListStorageSpaces(ctx context.Context, in *ListStorageSpacesRequest, opts ...grpc.CallOption) (*ListStorageSpacesResponse, error) + // Updates a storage space. + UpdateStorageSpace(ctx context.Context, in *UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*UpdateStorageSpaceResponse, error) + // Deletes a storage space. + DeleteStorageSpace(ctx context.Context, in *DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*DeleteStorageSpaceResponse, error) +} + +type spacesAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewSpacesAPIClient(cc grpc.ClientConnInterface) SpacesAPIClient { + return &spacesAPIClient{cc} +} + +func (c *spacesAPIClient) CreateStorageSpace(ctx context.Context, in *CreateStorageSpaceRequest, opts ...grpc.CallOption) (*CreateStorageSpaceResponse, error) { + out := new(CreateStorageSpaceResponse) + err := c.cc.Invoke(ctx, SpacesAPI_CreateStorageSpace_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *spacesAPIClient) ListStorageSpaces(ctx context.Context, in *ListStorageSpacesRequest, opts ...grpc.CallOption) (*ListStorageSpacesResponse, error) { + out := new(ListStorageSpacesResponse) + err := c.cc.Invoke(ctx, SpacesAPI_ListStorageSpaces_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *spacesAPIClient) UpdateStorageSpace(ctx context.Context, in *UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*UpdateStorageSpaceResponse, error) { + out := new(UpdateStorageSpaceResponse) + err := c.cc.Invoke(ctx, SpacesAPI_UpdateStorageSpace_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *spacesAPIClient) DeleteStorageSpace(ctx context.Context, in *DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*DeleteStorageSpaceResponse, error) { + out := new(DeleteStorageSpaceResponse) + err := c.cc.Invoke(ctx, SpacesAPI_DeleteStorageSpace_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SpacesAPIServer is the server API for SpacesAPI service. +// All implementations should embed UnimplementedSpacesAPIServer +// for forward compatibility +type SpacesAPIServer interface { + // Creates a storage space. + CreateStorageSpace(context.Context, *CreateStorageSpaceRequest) (*CreateStorageSpaceResponse, error) + // Lists storage spaces. + ListStorageSpaces(context.Context, *ListStorageSpacesRequest) (*ListStorageSpacesResponse, error) + // Updates a storage space. + UpdateStorageSpace(context.Context, *UpdateStorageSpaceRequest) (*UpdateStorageSpaceResponse, error) + // Deletes a storage space. + DeleteStorageSpace(context.Context, *DeleteStorageSpaceRequest) (*DeleteStorageSpaceResponse, error) +} + +// UnimplementedSpacesAPIServer should be embedded to have forward compatible implementations. +type UnimplementedSpacesAPIServer struct { +} + +func (UnimplementedSpacesAPIServer) CreateStorageSpace(context.Context, *CreateStorageSpaceRequest) (*CreateStorageSpaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateStorageSpace not implemented") +} +func (UnimplementedSpacesAPIServer) ListStorageSpaces(context.Context, *ListStorageSpacesRequest) (*ListStorageSpacesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListStorageSpaces not implemented") +} +func (UnimplementedSpacesAPIServer) UpdateStorageSpace(context.Context, *UpdateStorageSpaceRequest) (*UpdateStorageSpaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateStorageSpace not implemented") +} +func (UnimplementedSpacesAPIServer) DeleteStorageSpace(context.Context, *DeleteStorageSpaceRequest) (*DeleteStorageSpaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteStorageSpace not implemented") +} + +// UnsafeSpacesAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to SpacesAPIServer will +// result in compilation errors. +type UnsafeSpacesAPIServer interface { + mustEmbedUnimplementedSpacesAPIServer() +} + +func RegisterSpacesAPIServer(s grpc.ServiceRegistrar, srv SpacesAPIServer) { + s.RegisterService(&SpacesAPI_ServiceDesc, srv) +} + +func _SpacesAPI_CreateStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateStorageSpaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SpacesAPIServer).CreateStorageSpace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SpacesAPI_CreateStorageSpace_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SpacesAPIServer).CreateStorageSpace(ctx, req.(*CreateStorageSpaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SpacesAPI_ListStorageSpaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListStorageSpacesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SpacesAPIServer).ListStorageSpaces(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SpacesAPI_ListStorageSpaces_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SpacesAPIServer).ListStorageSpaces(ctx, req.(*ListStorageSpacesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SpacesAPI_UpdateStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateStorageSpaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SpacesAPIServer).UpdateStorageSpace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SpacesAPI_UpdateStorageSpace_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SpacesAPIServer).UpdateStorageSpace(ctx, req.(*UpdateStorageSpaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SpacesAPI_DeleteStorageSpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteStorageSpaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SpacesAPIServer).DeleteStorageSpace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SpacesAPI_DeleteStorageSpace_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SpacesAPIServer).DeleteStorageSpace(ctx, req.(*DeleteStorageSpaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// SpacesAPI_ServiceDesc is the grpc.ServiceDesc for SpacesAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var SpacesAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.storage.provider.v1beta1.SpacesAPI", + HandlerType: (*SpacesAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateStorageSpace", + Handler: _SpacesAPI_CreateStorageSpace_Handler, + }, + { + MethodName: "ListStorageSpaces", + Handler: _SpacesAPI_ListStorageSpaces_Handler, + }, + { + MethodName: "UpdateStorageSpace", + Handler: _SpacesAPI_UpdateStorageSpace_Handler, + }, + { + MethodName: "DeleteStorageSpace", + Handler: _SpacesAPI_DeleteStorageSpace_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/storage/provider/v1beta1/spaces_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/registry_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/registry_api.pb.go index b375f25cc37..71d42a1c997 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/registry_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/registry_api.pb.go @@ -1,74 +1,100 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/storage/registry/v1beta1/registry_api.proto package registryv1beta1 import ( - context "context" - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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 GetHomeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *GetHomeRequest) Reset() { *m = GetHomeRequest{} } -func (m *GetHomeRequest) String() string { return proto.CompactTextString(m) } -func (*GetHomeRequest) ProtoMessage() {} -func (*GetHomeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73c91f9d6bdb642a, []int{0} +func (x *GetHomeRequest) Reset() { + *x = GetHomeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetHomeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetHomeRequest.Unmarshal(m, b) -} -func (m *GetHomeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetHomeRequest.Marshal(b, m, deterministic) +func (x *GetHomeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetHomeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetHomeRequest.Merge(m, src) -} -func (m *GetHomeRequest) XXX_Size() int { - return xxx_messageInfo_GetHomeRequest.Size(m) -} -func (m *GetHomeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetHomeRequest.DiscardUnknown(m) + +func (*GetHomeRequest) ProtoMessage() {} + +func (x *GetHomeRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetHomeRequest proto.InternalMessageInfo +// Deprecated: Use GetHomeRequest.ProtoReflect.Descriptor instead. +func (*GetHomeRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{0} +} -func (m *GetHomeRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetHomeRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type GetHomeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -77,110 +103,126 @@ type GetHomeResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The storage provider for the user home. - Provider *ProviderInfo `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Provider *ProviderInfo `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` } -func (m *GetHomeResponse) Reset() { *m = GetHomeResponse{} } -func (m *GetHomeResponse) String() string { return proto.CompactTextString(m) } -func (*GetHomeResponse) ProtoMessage() {} -func (*GetHomeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73c91f9d6bdb642a, []int{1} +func (x *GetHomeResponse) Reset() { + *x = GetHomeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetHomeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetHomeResponse.Unmarshal(m, b) +func (x *GetHomeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetHomeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetHomeResponse.Marshal(b, m, deterministic) -} -func (m *GetHomeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetHomeResponse.Merge(m, src) -} -func (m *GetHomeResponse) XXX_Size() int { - return xxx_messageInfo_GetHomeResponse.Size(m) -} -func (m *GetHomeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetHomeResponse.DiscardUnknown(m) + +func (*GetHomeResponse) ProtoMessage() {} + +func (x *GetHomeResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetHomeResponse proto.InternalMessageInfo +// Deprecated: Use GetHomeResponse.ProtoReflect.Descriptor instead. +func (*GetHomeResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{1} +} -func (m *GetHomeResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetHomeResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetHomeResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetHomeResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetHomeResponse) GetProvider() *ProviderInfo { - if m != nil { - return m.Provider +func (x *GetHomeResponse) GetProvider() *ProviderInfo { + if x != nil { + return x.Provider } return nil } type GetStorageProvidersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference for the resource. - Ref *v1beta12.Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref *v1beta12.Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *GetStorageProvidersRequest) Reset() { *m = GetStorageProvidersRequest{} } -func (m *GetStorageProvidersRequest) String() string { return proto.CompactTextString(m) } -func (*GetStorageProvidersRequest) ProtoMessage() {} -func (*GetStorageProvidersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73c91f9d6bdb642a, []int{2} +func (x *GetStorageProvidersRequest) Reset() { + *x = GetStorageProvidersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetStorageProvidersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetStorageProvidersRequest.Unmarshal(m, b) -} -func (m *GetStorageProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetStorageProvidersRequest.Marshal(b, m, deterministic) -} -func (m *GetStorageProvidersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetStorageProvidersRequest.Merge(m, src) -} -func (m *GetStorageProvidersRequest) XXX_Size() int { - return xxx_messageInfo_GetStorageProvidersRequest.Size(m) +func (x *GetStorageProvidersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetStorageProvidersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetStorageProvidersRequest.DiscardUnknown(m) + +func (*GetStorageProvidersRequest) ProtoMessage() {} + +func (x *GetStorageProvidersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetStorageProvidersRequest proto.InternalMessageInfo +// Deprecated: Use GetStorageProvidersRequest.ProtoReflect.Descriptor instead. +func (*GetStorageProvidersRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{2} +} -func (m *GetStorageProvidersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetStorageProvidersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetStorageProvidersRequest) GetRef() *v1beta12.Reference { - if m != nil { - return m.Ref +func (x *GetStorageProvidersRequest) GetRef() *v1beta12.Reference { + if x != nil { + return x.Ref } return nil } type GetStorageProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -189,100 +231,116 @@ type GetStorageProvidersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The storage providers handling the requested storage resource. - Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` } -func (m *GetStorageProvidersResponse) Reset() { *m = GetStorageProvidersResponse{} } -func (m *GetStorageProvidersResponse) String() string { return proto.CompactTextString(m) } -func (*GetStorageProvidersResponse) ProtoMessage() {} -func (*GetStorageProvidersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73c91f9d6bdb642a, []int{3} +func (x *GetStorageProvidersResponse) Reset() { + *x = GetStorageProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetStorageProvidersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetStorageProvidersResponse.Unmarshal(m, b) -} -func (m *GetStorageProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetStorageProvidersResponse.Marshal(b, m, deterministic) -} -func (m *GetStorageProvidersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetStorageProvidersResponse.Merge(m, src) -} -func (m *GetStorageProvidersResponse) XXX_Size() int { - return xxx_messageInfo_GetStorageProvidersResponse.Size(m) +func (x *GetStorageProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetStorageProvidersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetStorageProvidersResponse.DiscardUnknown(m) + +func (*GetStorageProvidersResponse) ProtoMessage() {} + +func (x *GetStorageProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_GetStorageProvidersResponse proto.InternalMessageInfo +// Deprecated: Use GetStorageProvidersResponse.ProtoReflect.Descriptor instead. +func (*GetStorageProvidersResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{3} +} -func (m *GetStorageProvidersResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *GetStorageProvidersResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func (m *GetStorageProvidersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *GetStorageProvidersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *GetStorageProvidersResponse) GetProviders() []*ProviderInfo { - if m != nil { - return m.Providers +func (x *GetStorageProvidersResponse) GetProviders() []*ProviderInfo { + if x != nil { + return x.Providers } return nil } type ListStorageProvidersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. - Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // TODO(labkode): maybe add some filter? } -func (m *ListStorageProvidersRequest) Reset() { *m = ListStorageProvidersRequest{} } -func (m *ListStorageProvidersRequest) String() string { return proto.CompactTextString(m) } -func (*ListStorageProvidersRequest) ProtoMessage() {} -func (*ListStorageProvidersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73c91f9d6bdb642a, []int{4} +func (x *ListStorageProvidersRequest) Reset() { + *x = ListStorageProvidersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListStorageProvidersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListStorageProvidersRequest.Unmarshal(m, b) -} -func (m *ListStorageProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListStorageProvidersRequest.Marshal(b, m, deterministic) -} -func (m *ListStorageProvidersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListStorageProvidersRequest.Merge(m, src) +func (x *ListStorageProvidersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListStorageProvidersRequest) XXX_Size() int { - return xxx_messageInfo_ListStorageProvidersRequest.Size(m) -} -func (m *ListStorageProvidersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListStorageProvidersRequest.DiscardUnknown(m) + +func (*ListStorageProvidersRequest) ProtoMessage() {} + +func (x *ListStorageProvidersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_registry_v1beta1_registry_api_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) } -var xxx_messageInfo_ListStorageProvidersRequest proto.InternalMessageInfo +// Deprecated: Use ListStorageProvidersRequest.ProtoReflect.Descriptor instead. +func (*ListStorageProvidersRequest) Descriptor() ([]byte, []int) { + return file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{4} +} -func (m *ListStorageProvidersRequest) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ListStorageProvidersRequest) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } type ListStorageProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -291,263 +349,329 @@ type ListStorageProvidersResponse struct { Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The list of storage providers this registry knows about. - Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Providers []*ProviderInfo `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"` } -func (m *ListStorageProvidersResponse) Reset() { *m = ListStorageProvidersResponse{} } -func (m *ListStorageProvidersResponse) String() string { return proto.CompactTextString(m) } -func (*ListStorageProvidersResponse) ProtoMessage() {} -func (*ListStorageProvidersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73c91f9d6bdb642a, []int{5} +func (x *ListStorageProvidersResponse) Reset() { + *x = ListStorageProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListStorageProvidersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListStorageProvidersResponse.Unmarshal(m, b) -} -func (m *ListStorageProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListStorageProvidersResponse.Marshal(b, m, deterministic) -} -func (m *ListStorageProvidersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListStorageProvidersResponse.Merge(m, src) -} -func (m *ListStorageProvidersResponse) XXX_Size() int { - return xxx_messageInfo_ListStorageProvidersResponse.Size(m) -} -func (m *ListStorageProvidersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListStorageProvidersResponse.DiscardUnknown(m) +func (x *ListStorageProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListStorageProvidersResponse proto.InternalMessageInfo +func (*ListStorageProvidersResponse) ProtoMessage() {} -func (m *ListStorageProvidersResponse) GetStatus() *v1beta11.Status { - if m != nil { - return m.Status +func (x *ListStorageProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_registry_v1beta1_registry_api_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 nil + return mi.MessageOf(x) } -func (m *ListStorageProvidersResponse) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque - } - return nil +// Deprecated: Use ListStorageProvidersResponse.ProtoReflect.Descriptor instead. +func (*ListStorageProvidersResponse) Descriptor() ([]byte, []int) { + return file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescGZIP(), []int{5} } -func (m *ListStorageProvidersResponse) GetProviders() []*ProviderInfo { - if m != nil { - return m.Providers +func (x *ListStorageProvidersResponse) GetStatus() *v1beta11.Status { + if x != nil { + return x.Status } return nil } -func init() { - proto.RegisterType((*GetHomeRequest)(nil), "cs3.storage.registry.v1beta1.GetHomeRequest") - proto.RegisterType((*GetHomeResponse)(nil), "cs3.storage.registry.v1beta1.GetHomeResponse") - proto.RegisterType((*GetStorageProvidersRequest)(nil), "cs3.storage.registry.v1beta1.GetStorageProvidersRequest") - proto.RegisterType((*GetStorageProvidersResponse)(nil), "cs3.storage.registry.v1beta1.GetStorageProvidersResponse") - proto.RegisterType((*ListStorageProvidersRequest)(nil), "cs3.storage.registry.v1beta1.ListStorageProvidersRequest") - proto.RegisterType((*ListStorageProvidersResponse)(nil), "cs3.storage.registry.v1beta1.ListStorageProvidersResponse") -} - -func init() { - proto.RegisterFile("cs3/storage/registry/v1beta1/registry_api.proto", fileDescriptor_73c91f9d6bdb642a) -} - -var fileDescriptor_73c91f9d6bdb642a = []byte{ - // 472 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x54, 0x4f, 0x6b, 0x13, 0x41, - 0x14, 0x67, 0xb2, 0x10, 0xf5, 0x15, 0xac, 0x8c, 0x82, 0x71, 0x1b, 0x21, 0xec, 0x45, 0x91, 0x3a, - 0x4b, 0x9a, 0x8b, 0xf5, 0x66, 0x02, 0xb6, 0x05, 0xc1, 0x65, 0x03, 0x1e, 0x24, 0x20, 0xdb, 0xf5, - 0xa5, 0xec, 0xa1, 0x99, 0xe9, 0xcc, 0xa4, 0xd0, 0xaf, 0x50, 0xf1, 0xe2, 0x47, 0xf0, 0xe8, 0x77, - 0xf0, 0x0b, 0xa8, 0x1f, 0x4a, 0x76, 0xf7, 0xcd, 0x98, 0xc2, 0xba, 0x8d, 0x41, 0x04, 0x8f, 0xbb, - 0xbf, 0x3f, 0xef, 0xbd, 0xdf, 0x1b, 0x1e, 0xc4, 0xb9, 0x19, 0xc5, 0xc6, 0x4a, 0x9d, 0x9d, 0x60, - 0xac, 0xf1, 0xa4, 0x30, 0x56, 0x5f, 0xc4, 0xe7, 0xc3, 0x63, 0xb4, 0xd9, 0xd0, 0xff, 0x78, 0x97, - 0xa9, 0x42, 0x28, 0x2d, 0xad, 0xe4, 0xfd, 0xdc, 0x8c, 0x04, 0x09, 0x84, 0xc3, 0x05, 0x09, 0xc2, - 0x12, 0x8d, 0xb5, 0xca, 0xbd, 0x83, 0xb1, 0x99, 0x5d, 0x9a, 0x5a, 0x1b, 0xee, 0xae, 0x16, 0x53, - 0x5a, 0x9e, 0x17, 0xef, 0x51, 0xaf, 0x14, 0x33, 0x72, 0xa9, 0x73, 0x6c, 0x64, 0x37, 0xb4, 0x76, - 0x95, 0xfd, 0xb0, 0x64, 0xdb, 0x0b, 0x85, 0xc6, 0x53, 0xaa, 0xaf, 0x1a, 0x8e, 0x26, 0x70, 0xfb, - 0x00, 0xed, 0xa1, 0x3c, 0xc5, 0x14, 0xcf, 0x96, 0x68, 0x2c, 0x1f, 0x42, 0x57, 0xaa, 0xec, 0x6c, - 0x89, 0x3d, 0x36, 0x60, 0x8f, 0xb7, 0xf6, 0x1e, 0x88, 0x72, 0xb2, 0x5a, 0x43, 0x0e, 0xe2, 0x75, - 0x45, 0x48, 0x89, 0x18, 0x7d, 0x65, 0xb0, 0xed, 0x5d, 0x8c, 0x92, 0x0b, 0x83, 0x3c, 0x86, 0x6e, - 0x3d, 0x23, 0xd9, 0xdc, 0xaf, 0x6c, 0xb4, 0xca, 0xbd, 0xc9, 0xb4, 0x82, 0x53, 0xa2, 0xad, 0xd4, - 0xed, 0xac, 0x59, 0x97, 0xbf, 0x84, 0x9b, 0x2e, 0xad, 0x5e, 0x50, 0x89, 0x9e, 0x88, 0xb6, 0x35, - 0x88, 0x84, 0xd8, 0x47, 0x8b, 0xb9, 0x4c, 0xbd, 0x36, 0xba, 0x64, 0x10, 0x1e, 0xa0, 0x9d, 0xd6, - 0x32, 0x47, 0x32, 0x9b, 0x27, 0xc2, 0xf7, 0x21, 0xd0, 0x38, 0xa7, 0x49, 0x1e, 0x5d, 0x69, 0xca, - 0x55, 0xf5, 0xd2, 0x14, 0xe7, 0xa8, 0x71, 0x91, 0x63, 0x5a, 0x6a, 0xa2, 0xef, 0x0c, 0x76, 0x1a, - 0x9b, 0xf9, 0x87, 0xc1, 0x1e, 0xc2, 0x2d, 0xd7, 0xa6, 0xe9, 0x05, 0x83, 0xe0, 0x0f, 0x93, 0xfd, - 0x25, 0x8e, 0x12, 0xd8, 0x79, 0x55, 0x98, 0xbf, 0x18, 0x6d, 0xf4, 0x83, 0x41, 0xbf, 0xd9, 0xf2, - 0x7f, 0x0c, 0x68, 0xef, 0x53, 0x00, 0x5b, 0x29, 0x91, 0x5f, 0x24, 0x47, 0xfc, 0x92, 0xc1, 0xdd, - 0x86, 0xf5, 0xf3, 0x67, 0xed, 0xf6, 0xbf, 0x7f, 0xbe, 0xe1, 0xfe, 0x06, 0x4a, 0x8a, 0xf2, 0x23, - 0x83, 0x7b, 0x4d, 0x59, 0xf3, 0x6b, 0x3c, 0x5b, 0x56, 0x1e, 0x3e, 0xdf, 0x44, 0x4a, 0xfd, 0xcc, - 0xe1, 0x06, 0xdd, 0x19, 0xbe, 0x7b, 0xed, 0x54, 0x2b, 0x47, 0x2d, 0x7c, 0xba, 0x26, 0xbb, 0xae, - 0x33, 0xfe, 0xc0, 0x60, 0x90, 0xcb, 0xd3, 0x56, 0xd1, 0xf8, 0x8e, 0x5f, 0x9b, 0x2a, 0x92, 0xf2, - 0x98, 0x26, 0xec, 0xed, 0xb6, 0x63, 0x11, 0xe9, 0x73, 0x27, 0x98, 0x4c, 0xd3, 0x2f, 0x9d, 0xfe, - 0xc4, 0x8c, 0x04, 0x8d, 0x25, 0x9c, 0x4e, 0xbc, 0x19, 0x8e, 0x4b, 0xd2, 0xb7, 0x0a, 0x9e, 0x11, - 0x3c, 0x73, 0xf0, 0x8c, 0xe0, 0xe3, 0x6e, 0x75, 0xaa, 0x47, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, - 0xac, 0x24, 0x1a, 0x97, 0x94, 0x06, 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 - -// RegistryAPIClient is the client API for RegistryAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegistryAPIClient interface { - // Returns the storage provider that is reponsible for the given - // resource reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - GetStorageProviders(ctx context.Context, in *GetStorageProvidersRequest, opts ...grpc.CallOption) (*GetStorageProvidersResponse, error) - // Returns a list of the available storage providers known by this registry. - ListStorageProviders(ctx context.Context, in *ListStorageProvidersRequest, opts ...grpc.CallOption) (*ListStorageProvidersResponse, error) - // Gets the user home storage provider. - GetHome(ctx context.Context, in *GetHomeRequest, opts ...grpc.CallOption) (*GetHomeResponse, error) -} - -type registryAPIClient struct { - cc *grpc.ClientConn -} - -func NewRegistryAPIClient(cc *grpc.ClientConn) RegistryAPIClient { - return ®istryAPIClient{cc} -} - -func (c *registryAPIClient) GetStorageProviders(ctx context.Context, in *GetStorageProvidersRequest, opts ...grpc.CallOption) (*GetStorageProvidersResponse, error) { - out := new(GetStorageProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProviders", in, out, opts...) - if err != nil { - return nil, err +func (x *ListStorageProvidersResponse) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } - return out, nil -} - -func (c *registryAPIClient) ListStorageProviders(ctx context.Context, in *ListStorageProvidersRequest, opts ...grpc.CallOption) (*ListStorageProvidersResponse, error) { - out := new(ListStorageProvidersResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.registry.v1beta1.RegistryAPI/ListStorageProviders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *registryAPIClient) GetHome(ctx context.Context, in *GetHomeRequest, opts ...grpc.CallOption) (*GetHomeResponse, error) { - out := new(GetHomeResponse) - err := c.cc.Invoke(ctx, "/cs3.storage.registry.v1beta1.RegistryAPI/GetHome", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegistryAPIServer is the server API for RegistryAPI service. -type RegistryAPIServer interface { - // Returns the storage provider that is reponsible for the given - // resource reference. - // MUST return CODE_NOT_FOUND if the reference does not exist. - GetStorageProviders(context.Context, *GetStorageProvidersRequest) (*GetStorageProvidersResponse, error) - // Returns a list of the available storage providers known by this registry. - ListStorageProviders(context.Context, *ListStorageProvidersRequest) (*ListStorageProvidersResponse, error) - // Gets the user home storage provider. - GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error) -} - -// UnimplementedRegistryAPIServer can be embedded to have forward compatible implementations. -type UnimplementedRegistryAPIServer struct { -} - -func (*UnimplementedRegistryAPIServer) GetStorageProviders(ctx context.Context, req *GetStorageProvidersRequest) (*GetStorageProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetStorageProviders not implemented") -} -func (*UnimplementedRegistryAPIServer) ListStorageProviders(ctx context.Context, req *ListStorageProvidersRequest) (*ListStorageProvidersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListStorageProviders not implemented") -} -func (*UnimplementedRegistryAPIServer) GetHome(ctx context.Context, req *GetHomeRequest) (*GetHomeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHome not implemented") -} - -func RegisterRegistryAPIServer(s *grpc.Server, srv RegistryAPIServer) { - s.RegisterService(&_RegistryAPI_serviceDesc, srv) + return nil } -func _RegistryAPI_GetStorageProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetStorageProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegistryAPIServer).GetStorageProviders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProviders", +func (x *ListStorageProvidersResponse) GetProviders() []*ProviderInfo { + if x != nil { + return x.Providers } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).GetStorageProviders(ctx, req.(*GetStorageProvidersRequest)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _RegistryAPI_ListStorageProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListStorageProvidersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegistryAPIServer).ListStorageProviders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.registry.v1beta1.RegistryAPI/ListStorageProviders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).ListStorageProviders(ctx, req.(*ListStorageProvidersRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_cs3_storage_registry_v1beta1_registry_api_proto protoreflect.FileDescriptor + +var file_cs3_storage_registry_v1beta1_registry_api_proto_rawDesc = []byte{ + 0x0a, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x1c, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, + 0x1c, 0x63, 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, + 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x73, 0x33, + 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x48, + 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xbd, 0x01, + 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x8a, 0x01, + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x39, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0xcb, 0x01, 0x0a, 0x1b, 0x47, + 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x48, + 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x22, 0x50, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xcc, 0x01, 0x0a, 0x1c, 0x4c, + 0x69, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x48, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x32, 0x92, 0x03, 0x0a, 0x0b, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x50, 0x49, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x47, 0x65, + 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x73, 0x12, 0x38, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, + 0x39, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, + 0x65, 0x12, 0x2c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x92, + 0x02, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x42, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x70, 0x69, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, + 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x53, 0x52, 0xaa, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x2e, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x28, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x1f, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescOnce sync.Once + file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescData = file_cs3_storage_registry_v1beta1_registry_api_proto_rawDesc +) -func _RegistryAPI_GetHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetHomeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegistryAPIServer).GetHome(ctx, in) +func file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescGZIP() []byte { + file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescOnce.Do(func() { + file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescData) + }) + return file_cs3_storage_registry_v1beta1_registry_api_proto_rawDescData +} + +var file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_cs3_storage_registry_v1beta1_registry_api_proto_goTypes = []interface{}{ + (*GetHomeRequest)(nil), // 0: cs3.storage.registry.v1beta1.GetHomeRequest + (*GetHomeResponse)(nil), // 1: cs3.storage.registry.v1beta1.GetHomeResponse + (*GetStorageProvidersRequest)(nil), // 2: cs3.storage.registry.v1beta1.GetStorageProvidersRequest + (*GetStorageProvidersResponse)(nil), // 3: cs3.storage.registry.v1beta1.GetStorageProvidersResponse + (*ListStorageProvidersRequest)(nil), // 4: cs3.storage.registry.v1beta1.ListStorageProvidersRequest + (*ListStorageProvidersResponse)(nil), // 5: cs3.storage.registry.v1beta1.ListStorageProvidersResponse + (*v1beta1.Opaque)(nil), // 6: cs3.types.v1beta1.Opaque + (*v1beta11.Status)(nil), // 7: cs3.rpc.v1beta1.Status + (*ProviderInfo)(nil), // 8: cs3.storage.registry.v1beta1.ProviderInfo + (*v1beta12.Reference)(nil), // 9: cs3.storage.provider.v1beta1.Reference +} +var file_cs3_storage_registry_v1beta1_registry_api_proto_depIdxs = []int32{ + 6, // 0: cs3.storage.registry.v1beta1.GetHomeRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 7, // 1: cs3.storage.registry.v1beta1.GetHomeResponse.status:type_name -> cs3.rpc.v1beta1.Status + 6, // 2: cs3.storage.registry.v1beta1.GetHomeResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 8, // 3: cs3.storage.registry.v1beta1.GetHomeResponse.provider:type_name -> cs3.storage.registry.v1beta1.ProviderInfo + 6, // 4: cs3.storage.registry.v1beta1.GetStorageProvidersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 9, // 5: cs3.storage.registry.v1beta1.GetStorageProvidersRequest.ref:type_name -> cs3.storage.provider.v1beta1.Reference + 7, // 6: cs3.storage.registry.v1beta1.GetStorageProvidersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 6, // 7: cs3.storage.registry.v1beta1.GetStorageProvidersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 8, // 8: cs3.storage.registry.v1beta1.GetStorageProvidersResponse.providers:type_name -> cs3.storage.registry.v1beta1.ProviderInfo + 6, // 9: cs3.storage.registry.v1beta1.ListStorageProvidersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 7, // 10: cs3.storage.registry.v1beta1.ListStorageProvidersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 6, // 11: cs3.storage.registry.v1beta1.ListStorageProvidersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 8, // 12: cs3.storage.registry.v1beta1.ListStorageProvidersResponse.providers:type_name -> cs3.storage.registry.v1beta1.ProviderInfo + 2, // 13: cs3.storage.registry.v1beta1.RegistryAPI.GetStorageProviders:input_type -> cs3.storage.registry.v1beta1.GetStorageProvidersRequest + 4, // 14: cs3.storage.registry.v1beta1.RegistryAPI.ListStorageProviders:input_type -> cs3.storage.registry.v1beta1.ListStorageProvidersRequest + 0, // 15: cs3.storage.registry.v1beta1.RegistryAPI.GetHome:input_type -> cs3.storage.registry.v1beta1.GetHomeRequest + 3, // 16: cs3.storage.registry.v1beta1.RegistryAPI.GetStorageProviders:output_type -> cs3.storage.registry.v1beta1.GetStorageProvidersResponse + 5, // 17: cs3.storage.registry.v1beta1.RegistryAPI.ListStorageProviders:output_type -> cs3.storage.registry.v1beta1.ListStorageProvidersResponse + 1, // 18: cs3.storage.registry.v1beta1.RegistryAPI.GetHome:output_type -> cs3.storage.registry.v1beta1.GetHomeResponse + 16, // [16:19] is the sub-list for method output_type + 13, // [13:16] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { file_cs3_storage_registry_v1beta1_registry_api_proto_init() } +func file_cs3_storage_registry_v1beta1_registry_api_proto_init() { + if File_cs3_storage_registry_v1beta1_registry_api_proto != nil { + return } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.storage.registry.v1beta1.RegistryAPI/GetHome", + file_cs3_storage_registry_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetHomeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetHomeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStorageProvidersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStorageProvidersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListStorageProvidersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListStorageProvidersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegistryAPIServer).GetHome(ctx, req.(*GetHomeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegistryAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.storage.registry.v1beta1.RegistryAPI", - HandlerType: (*RegistryAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetStorageProviders", - Handler: _RegistryAPI_GetStorageProviders_Handler, - }, - { - MethodName: "ListStorageProviders", - Handler: _RegistryAPI_ListStorageProviders_Handler, - }, - { - MethodName: "GetHome", - Handler: _RegistryAPI_GetHome_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_storage_registry_v1beta1_registry_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/storage/registry/v1beta1/registry_api.proto", + GoTypes: file_cs3_storage_registry_v1beta1_registry_api_proto_goTypes, + DependencyIndexes: file_cs3_storage_registry_v1beta1_registry_api_proto_depIdxs, + MessageInfos: file_cs3_storage_registry_v1beta1_registry_api_proto_msgTypes, + }.Build() + File_cs3_storage_registry_v1beta1_registry_api_proto = out.File + file_cs3_storage_registry_v1beta1_registry_api_proto_rawDesc = nil + file_cs3_storage_registry_v1beta1_registry_api_proto_goTypes = nil + file_cs3_storage_registry_v1beta1_registry_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/registry_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/registry_api_grpc.pb.go new file mode 100644 index 00000000000..5b7db3ff89c --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/registry_api_grpc.pb.go @@ -0,0 +1,209 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/storage/registry/v1beta1/registry_api.proto + +package registryv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + RegistryAPI_GetStorageProviders_FullMethodName = "/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProviders" + RegistryAPI_ListStorageProviders_FullMethodName = "/cs3.storage.registry.v1beta1.RegistryAPI/ListStorageProviders" + RegistryAPI_GetHome_FullMethodName = "/cs3.storage.registry.v1beta1.RegistryAPI/GetHome" +) + +// RegistryAPIClient is the client API for RegistryAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type RegistryAPIClient interface { + // Returns the storage provider that is reponsible for the given + // resource reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + GetStorageProviders(ctx context.Context, in *GetStorageProvidersRequest, opts ...grpc.CallOption) (*GetStorageProvidersResponse, error) + // Returns a list of the available storage providers known by this registry. + ListStorageProviders(ctx context.Context, in *ListStorageProvidersRequest, opts ...grpc.CallOption) (*ListStorageProvidersResponse, error) + // Gets the user home storage provider. + GetHome(ctx context.Context, in *GetHomeRequest, opts ...grpc.CallOption) (*GetHomeResponse, error) +} + +type registryAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewRegistryAPIClient(cc grpc.ClientConnInterface) RegistryAPIClient { + return ®istryAPIClient{cc} +} + +func (c *registryAPIClient) GetStorageProviders(ctx context.Context, in *GetStorageProvidersRequest, opts ...grpc.CallOption) (*GetStorageProvidersResponse, error) { + out := new(GetStorageProvidersResponse) + err := c.cc.Invoke(ctx, RegistryAPI_GetStorageProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryAPIClient) ListStorageProviders(ctx context.Context, in *ListStorageProvidersRequest, opts ...grpc.CallOption) (*ListStorageProvidersResponse, error) { + out := new(ListStorageProvidersResponse) + err := c.cc.Invoke(ctx, RegistryAPI_ListStorageProviders_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryAPIClient) GetHome(ctx context.Context, in *GetHomeRequest, opts ...grpc.CallOption) (*GetHomeResponse, error) { + out := new(GetHomeResponse) + err := c.cc.Invoke(ctx, RegistryAPI_GetHome_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RegistryAPIServer is the server API for RegistryAPI service. +// All implementations should embed UnimplementedRegistryAPIServer +// for forward compatibility +type RegistryAPIServer interface { + // Returns the storage provider that is reponsible for the given + // resource reference. + // MUST return CODE_NOT_FOUND if the reference does not exist. + GetStorageProviders(context.Context, *GetStorageProvidersRequest) (*GetStorageProvidersResponse, error) + // Returns a list of the available storage providers known by this registry. + ListStorageProviders(context.Context, *ListStorageProvidersRequest) (*ListStorageProvidersResponse, error) + // Gets the user home storage provider. + GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error) +} + +// UnimplementedRegistryAPIServer should be embedded to have forward compatible implementations. +type UnimplementedRegistryAPIServer struct { +} + +func (UnimplementedRegistryAPIServer) GetStorageProviders(context.Context, *GetStorageProvidersRequest) (*GetStorageProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStorageProviders not implemented") +} +func (UnimplementedRegistryAPIServer) ListStorageProviders(context.Context, *ListStorageProvidersRequest) (*ListStorageProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListStorageProviders not implemented") +} +func (UnimplementedRegistryAPIServer) GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetHome not implemented") +} + +// UnsafeRegistryAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RegistryAPIServer will +// result in compilation errors. +type UnsafeRegistryAPIServer interface { + mustEmbedUnimplementedRegistryAPIServer() +} + +func RegisterRegistryAPIServer(s grpc.ServiceRegistrar, srv RegistryAPIServer) { + s.RegisterService(&RegistryAPI_ServiceDesc, srv) +} + +func _RegistryAPI_GetStorageProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetStorageProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).GetStorageProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_GetStorageProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).GetStorageProviders(ctx, req.(*GetStorageProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryAPI_ListStorageProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListStorageProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).ListStorageProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_ListStorageProviders_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).ListStorageProviders(ctx, req.(*ListStorageProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryAPI_GetHome_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetHomeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryAPIServer).GetHome(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: RegistryAPI_GetHome_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryAPIServer).GetHome(ctx, req.(*GetHomeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// RegistryAPI_ServiceDesc is the grpc.ServiceDesc for RegistryAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var RegistryAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.storage.registry.v1beta1.RegistryAPI", + HandlerType: (*RegistryAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetStorageProviders", + Handler: _RegistryAPI_GetStorageProviders_Handler, + }, + { + MethodName: "ListStorageProviders", + Handler: _RegistryAPI_ListStorageProviders_Handler, + }, + { + MethodName: "GetHome", + Handler: _RegistryAPI_GetHome_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/storage/registry/v1beta1/registry_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/resources.pb.go index a936cc1d9cb..cf4d6f47915 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1/resources.pb.go @@ -1,28 +1,50 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/storage/registry/v1beta1/resources.proto package registryv1beta1 import ( - fmt "fmt" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // The information for the storage provider. type ProviderInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information (containing storage-specific information). // For example, additional metadata attached to the resource. @@ -50,75 +72,79 @@ type ProviderInfo struct { Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // REQUIRED. // List of available methods. - Features *ProviderInfo_Features `protobuf:"bytes,6,opt,name=features,proto3" json:"features,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Features *ProviderInfo_Features `protobuf:"bytes,6,opt,name=features,proto3" json:"features,omitempty"` } -func (m *ProviderInfo) Reset() { *m = ProviderInfo{} } -func (m *ProviderInfo) String() string { return proto.CompactTextString(m) } -func (*ProviderInfo) ProtoMessage() {} -func (*ProviderInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_50a67fe50917e260, []int{0} +func (x *ProviderInfo) Reset() { + *x = ProviderInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_registry_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProviderInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProviderInfo.Unmarshal(m, b) -} -func (m *ProviderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProviderInfo.Marshal(b, m, deterministic) -} -func (m *ProviderInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProviderInfo.Merge(m, src) +func (x *ProviderInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProviderInfo) XXX_Size() int { - return xxx_messageInfo_ProviderInfo.Size(m) -} -func (m *ProviderInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProviderInfo.DiscardUnknown(m) + +func (*ProviderInfo) ProtoMessage() {} + +func (x *ProviderInfo) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_registry_v1beta1_resources_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) } -var xxx_messageInfo_ProviderInfo proto.InternalMessageInfo +// Deprecated: Use ProviderInfo.ProtoReflect.Descriptor instead. +func (*ProviderInfo) Descriptor() ([]byte, []int) { + return file_cs3_storage_registry_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *ProviderInfo) GetOpaque() *v1beta1.Opaque { - if m != nil { - return m.Opaque +func (x *ProviderInfo) GetOpaque() *v1beta1.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ProviderInfo) GetProviderId() string { - if m != nil { - return m.ProviderId +func (x *ProviderInfo) GetProviderId() string { + if x != nil { + return x.ProviderId } return "" } -func (m *ProviderInfo) GetProviderPath() string { - if m != nil { - return m.ProviderPath +func (x *ProviderInfo) GetProviderPath() string { + if x != nil { + return x.ProviderPath } return "" } -func (m *ProviderInfo) GetAddress() string { - if m != nil { - return m.Address +func (x *ProviderInfo) GetAddress() string { + if x != nil { + return x.Address } return "" } -func (m *ProviderInfo) GetDescription() string { - if m != nil { - return m.Description +func (x *ProviderInfo) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *ProviderInfo) GetFeatures() *ProviderInfo_Features { - if m != nil { - return m.Features +func (x *ProviderInfo) GetFeatures() *ProviderInfo_Features { + if x != nil { + return x.Features } return nil } @@ -128,83 +154,187 @@ func (m *ProviderInfo) GetFeatures() *ProviderInfo_Features { // on this storage provider. If the feature is not supported, // the related service methods MUST return CODE_UNIMPLEMENTED. type ProviderInfo_Features struct { - Recycle bool `protobuf:"varint,1,opt,name=recycle,proto3" json:"recycle,omitempty"` - FileVersions bool `protobuf:"varint,2,opt,name=file_versions,json=fileVersions,proto3" json:"file_versions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ProviderInfo_Features) Reset() { *m = ProviderInfo_Features{} } -func (m *ProviderInfo_Features) String() string { return proto.CompactTextString(m) } -func (*ProviderInfo_Features) ProtoMessage() {} -func (*ProviderInfo_Features) Descriptor() ([]byte, []int) { - return fileDescriptor_50a67fe50917e260, []int{0, 0} + Recycle bool `protobuf:"varint,1,opt,name=recycle,proto3" json:"recycle,omitempty"` + FileVersions bool `protobuf:"varint,2,opt,name=file_versions,json=fileVersions,proto3" json:"file_versions,omitempty"` } -func (m *ProviderInfo_Features) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProviderInfo_Features.Unmarshal(m, b) -} -func (m *ProviderInfo_Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProviderInfo_Features.Marshal(b, m, deterministic) -} -func (m *ProviderInfo_Features) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProviderInfo_Features.Merge(m, src) +func (x *ProviderInfo_Features) Reset() { + *x = ProviderInfo_Features{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_storage_registry_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProviderInfo_Features) XXX_Size() int { - return xxx_messageInfo_ProviderInfo_Features.Size(m) + +func (x *ProviderInfo_Features) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProviderInfo_Features) XXX_DiscardUnknown() { - xxx_messageInfo_ProviderInfo_Features.DiscardUnknown(m) + +func (*ProviderInfo_Features) ProtoMessage() {} + +func (x *ProviderInfo_Features) ProtoReflect() protoreflect.Message { + mi := &file_cs3_storage_registry_v1beta1_resources_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) } -var xxx_messageInfo_ProviderInfo_Features proto.InternalMessageInfo +// Deprecated: Use ProviderInfo_Features.ProtoReflect.Descriptor instead. +func (*ProviderInfo_Features) Descriptor() ([]byte, []int) { + return file_cs3_storage_registry_v1beta1_resources_proto_rawDescGZIP(), []int{0, 0} +} -func (m *ProviderInfo_Features) GetRecycle() bool { - if m != nil { - return m.Recycle +func (x *ProviderInfo_Features) GetRecycle() bool { + if x != nil { + return x.Recycle } return false } -func (m *ProviderInfo_Features) GetFileVersions() bool { - if m != nil { - return m.FileVersions +func (x *ProviderInfo_Features) GetFileVersions() bool { + if x != nil { + return x.FileVersions } return false } -func init() { - proto.RegisterType((*ProviderInfo)(nil), "cs3.storage.registry.v1beta1.ProviderInfo") - proto.RegisterType((*ProviderInfo_Features)(nil), "cs3.storage.registry.v1beta1.ProviderInfo.Features") -} - -func init() { - proto.RegisterFile("cs3/storage/registry/v1beta1/resources.proto", fileDescriptor_50a67fe50917e260) -} - -var fileDescriptor_50a67fe50917e260 = []byte{ - // 352 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x6a, 0xc2, 0x40, - 0x14, 0xc6, 0x49, 0x6c, 0x6d, 0x3a, 0xda, 0x16, 0xb2, 0x4a, 0xc5, 0xd2, 0xd0, 0x6e, 0x5c, 0x94, - 0x09, 0x69, 0x6e, 0xa0, 0x50, 0x70, 0x65, 0x18, 0xc1, 0x45, 0x11, 0x24, 0x26, 0x4f, 0x1d, 0xb0, - 0x4e, 0x3a, 0x6f, 0x14, 0x3c, 0x42, 0xaf, 0xd1, 0x65, 0x8f, 0xd2, 0x4b, 0xf4, 0x2a, 0x65, 0xc6, - 0x19, 0x71, 0xe5, 0xf2, 0x7d, 0xdf, 0xef, 0x7d, 0xbc, 0x3f, 0xe4, 0xa5, 0xc4, 0x2c, 0x41, 0x25, - 0x64, 0xb1, 0x84, 0x44, 0xc2, 0x92, 0xa3, 0x92, 0xfb, 0x64, 0x97, 0xce, 0x41, 0x15, 0x69, 0x22, - 0x01, 0xc5, 0x56, 0x96, 0x80, 0xb4, 0x96, 0x42, 0x89, 0xb0, 0x5b, 0x62, 0x46, 0x2d, 0x4d, 0x1d, - 0x4d, 0x2d, 0xdd, 0x79, 0xd0, 0x59, 0x6a, 0x5f, 0x03, 0x1e, 0x03, 0x4c, 0x75, 0x68, 0x7e, 0xfa, - 0xf3, 0x49, 0x3b, 0x97, 0x62, 0xc7, 0x2b, 0x90, 0xc3, 0xcd, 0x42, 0x84, 0x29, 0x69, 0x8a, 0xba, - 0xf8, 0xdc, 0x42, 0xe4, 0xc5, 0x5e, 0xaf, 0xf5, 0x7a, 0x4f, 0x75, 0xfc, 0xa1, 0xc5, 0x06, 0xd0, - 0x91, 0x01, 0x98, 0x05, 0xc3, 0x47, 0xd2, 0xaa, 0x6d, 0xc4, 0x8c, 0x57, 0x91, 0x1f, 0x7b, 0xbd, - 0x6b, 0x46, 0x9c, 0x34, 0xac, 0xc2, 0x67, 0x72, 0x73, 0x04, 0xea, 0x42, 0xad, 0xa2, 0x86, 0x41, - 0xda, 0x4e, 0xcc, 0x0b, 0xb5, 0x0a, 0x23, 0x72, 0x55, 0x54, 0x95, 0x04, 0xc4, 0xe8, 0xc2, 0xd8, - 0xae, 0x0c, 0x63, 0xd2, 0xaa, 0x00, 0x4b, 0xc9, 0x6b, 0xc5, 0xc5, 0x26, 0xba, 0x34, 0xee, 0xa9, - 0x14, 0x8e, 0x48, 0xb0, 0x80, 0x42, 0x6d, 0x25, 0x60, 0xd4, 0x34, 0x63, 0x67, 0xf4, 0xdc, 0x55, - 0xe8, 0xe9, 0xca, 0xf4, 0xcd, 0xb6, 0xb2, 0x63, 0x48, 0x67, 0x48, 0x02, 0xa7, 0xea, 0xc1, 0x24, - 0x94, 0xfb, 0x72, 0x7d, 0x38, 0x49, 0xc0, 0x5c, 0xa9, 0xf7, 0x5a, 0xf0, 0x35, 0xcc, 0x76, 0x20, - 0x91, 0x8b, 0x0d, 0x9a, 0xd5, 0x03, 0xd6, 0xd6, 0xe2, 0xc4, 0x6a, 0xfd, 0x2f, 0x8f, 0xc4, 0xa5, - 0xf8, 0x38, 0x3b, 0x4f, 0xff, 0x96, 0xb9, 0xa7, 0xe6, 0xfa, 0x2d, 0xb9, 0xf7, 0x7e, 0xe7, 0x18, - 0x8b, 0x7c, 0xfb, 0x8d, 0xc1, 0x98, 0xfd, 0xf8, 0xdd, 0x01, 0x66, 0x74, 0x6c, 0x73, 0x98, 0xcb, - 0x99, 0xa4, 0x7d, 0x0d, 0xfd, 0x1a, 0x7b, 0x6a, 0xed, 0xa9, 0xb3, 0xa7, 0xd6, 0x9e, 0x37, 0xcd, - 0xd3, 0xb3, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6e, 0x80, 0x52, 0x5a, 0x61, 0x02, 0x00, 0x00, +var File_cs3_storage_registry_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_storage_registry_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1d, 0x63, 0x73, + 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdf, 0x02, 0x0a, 0x0c, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x4f, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x1a, 0x49, 0x0a, 0x08, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x90, 0x02, + 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, + 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, + 0x02, 0x03, 0x43, 0x53, 0x52, 0xaa, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1c, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0xe2, 0x02, 0x28, 0x43, 0x73, 0x33, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x1f, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x3a, 0x3a, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_storage_registry_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_storage_registry_v1beta1_resources_proto_rawDescData = file_cs3_storage_registry_v1beta1_resources_proto_rawDesc +) + +func file_cs3_storage_registry_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_storage_registry_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_storage_registry_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_storage_registry_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_storage_registry_v1beta1_resources_proto_rawDescData +} + +var file_cs3_storage_registry_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_cs3_storage_registry_v1beta1_resources_proto_goTypes = []interface{}{ + (*ProviderInfo)(nil), // 0: cs3.storage.registry.v1beta1.ProviderInfo + (*ProviderInfo_Features)(nil), // 1: cs3.storage.registry.v1beta1.ProviderInfo.Features + (*v1beta1.Opaque)(nil), // 2: cs3.types.v1beta1.Opaque +} +var file_cs3_storage_registry_v1beta1_resources_proto_depIdxs = []int32{ + 2, // 0: cs3.storage.registry.v1beta1.ProviderInfo.opaque:type_name -> cs3.types.v1beta1.Opaque + 1, // 1: cs3.storage.registry.v1beta1.ProviderInfo.features:type_name -> cs3.storage.registry.v1beta1.ProviderInfo.Features + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_cs3_storage_registry_v1beta1_resources_proto_init() } +func file_cs3_storage_registry_v1beta1_resources_proto_init() { + if File_cs3_storage_registry_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_storage_registry_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProviderInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_storage_registry_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProviderInfo_Features); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_storage_registry_v1beta1_resources_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_storage_registry_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_storage_registry_v1beta1_resources_proto_depIdxs, + MessageInfos: file_cs3_storage_registry_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_storage_registry_v1beta1_resources_proto = out.File + file_cs3_storage_registry_v1beta1_resources_proto_rawDesc = nil + file_cs3_storage_registry_v1beta1_resources_proto_goTypes = nil + file_cs3_storage_registry_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/resources.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/resources.pb.go index 9ad0a0aee4c..d7bc08c63c3 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/resources.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/resources.pb.go @@ -1,28 +1,46 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/tx/v1beta1/resources.proto package txv1beta1 import ( - fmt "fmt" v1beta11 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" v1beta13 "github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // Status represents transfer status. type Status int32 @@ -51,88 +69,121 @@ const ( Status_STATUS_TRANSFER_EXPIRED Status = 10 ) -var Status_name = map[int32]string{ - 0: "STATUS_INVALID", - 1: "STATUS_DESTINATION_NOT_FOUND", - 2: "STATUS_TRANSFER_NEW", - 3: "STATUS_TRANSFER_AWAITING_ACCEPTANCE", - 4: "STATUS_TRANSFER_ACCEPTED", - 5: "STATUS_TRANSFER_IN_PROGRESS", - 6: "STATUS_TRANSFER_COMPLETE", - 7: "STATUS_TRANSFER_FAILED", - 8: "STATUS_TRANSFER_CANCELLED", - 9: "STATUS_TRANSFER_CANCEL_FAILED", - 10: "STATUS_TRANSFER_EXPIRED", -} +// Enum value maps for Status. +var ( + Status_name = map[int32]string{ + 0: "STATUS_INVALID", + 1: "STATUS_DESTINATION_NOT_FOUND", + 2: "STATUS_TRANSFER_NEW", + 3: "STATUS_TRANSFER_AWAITING_ACCEPTANCE", + 4: "STATUS_TRANSFER_ACCEPTED", + 5: "STATUS_TRANSFER_IN_PROGRESS", + 6: "STATUS_TRANSFER_COMPLETE", + 7: "STATUS_TRANSFER_FAILED", + 8: "STATUS_TRANSFER_CANCELLED", + 9: "STATUS_TRANSFER_CANCEL_FAILED", + 10: "STATUS_TRANSFER_EXPIRED", + } + Status_value = map[string]int32{ + "STATUS_INVALID": 0, + "STATUS_DESTINATION_NOT_FOUND": 1, + "STATUS_TRANSFER_NEW": 2, + "STATUS_TRANSFER_AWAITING_ACCEPTANCE": 3, + "STATUS_TRANSFER_ACCEPTED": 4, + "STATUS_TRANSFER_IN_PROGRESS": 5, + "STATUS_TRANSFER_COMPLETE": 6, + "STATUS_TRANSFER_FAILED": 7, + "STATUS_TRANSFER_CANCELLED": 8, + "STATUS_TRANSFER_CANCEL_FAILED": 9, + "STATUS_TRANSFER_EXPIRED": 10, + } +) -var Status_value = map[string]int32{ - "STATUS_INVALID": 0, - "STATUS_DESTINATION_NOT_FOUND": 1, - "STATUS_TRANSFER_NEW": 2, - "STATUS_TRANSFER_AWAITING_ACCEPTANCE": 3, - "STATUS_TRANSFER_ACCEPTED": 4, - "STATUS_TRANSFER_IN_PROGRESS": 5, - "STATUS_TRANSFER_COMPLETE": 6, - "STATUS_TRANSFER_FAILED": 7, - "STATUS_TRANSFER_CANCELLED": 8, - "STATUS_TRANSFER_CANCEL_FAILED": 9, - "STATUS_TRANSFER_EXPIRED": 10, +func (x Status) Enum() *Status { + p := new(Status) + *p = x + return p } func (x Status) String() string { - return proto.EnumName(Status_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Status) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_tx_v1beta1_resources_proto_enumTypes[0].Descriptor() +} + +func (Status) Type() protoreflect.EnumType { + return &file_cs3_tx_v1beta1_resources_proto_enumTypes[0] } +func (x Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Status.Descriptor instead. func (Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e6e9f5a73c9e5a84, []int{0} + return file_cs3_tx_v1beta1_resources_proto_rawDescGZIP(), []int{0} } // TxId uniquely identifies a transfer in the transfer provider namespace. type TxId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The internal transfer id used by the service implementor // to uniquely identity the transfer in the internal // implementation of the service. - OpaqueId string `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OpaqueId string `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` } -func (m *TxId) Reset() { *m = TxId{} } -func (m *TxId) String() string { return proto.CompactTextString(m) } -func (*TxId) ProtoMessage() {} -func (*TxId) Descriptor() ([]byte, []int) { - return fileDescriptor_e6e9f5a73c9e5a84, []int{0} +func (x *TxId) Reset() { + *x = TxId{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TxId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TxId.Unmarshal(m, b) -} -func (m *TxId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TxId.Marshal(b, m, deterministic) +func (x *TxId) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TxId) XXX_Merge(src proto.Message) { - xxx_messageInfo_TxId.Merge(m, src) -} -func (m *TxId) XXX_Size() int { - return xxx_messageInfo_TxId.Size(m) -} -func (m *TxId) XXX_DiscardUnknown() { - xxx_messageInfo_TxId.DiscardUnknown(m) + +func (*TxId) ProtoMessage() {} + +func (x *TxId) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_resources_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) } -var xxx_messageInfo_TxId proto.InternalMessageInfo +// Deprecated: Use TxId.ProtoReflect.Descriptor instead. +func (*TxId) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} -func (m *TxId) GetOpaqueId() string { - if m != nil { - return m.OpaqueId +func (x *TxId) GetOpaqueId() string { + if x != nil { + return x.OpaqueId } return "" } // TxInfo represents information about a transfer. type TxInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The transfer identifier. Id *TxId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -156,131 +207,253 @@ type TxInfo struct { Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // REQUIRED. // Opaque unique identifier of the share on which the transfer is based. - ShareId *v1beta13.ShareId `protobuf:"bytes,7,opt,name=share_id,json=shareId,proto3" json:"share_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ShareId *v1beta13.ShareId `protobuf:"bytes,7,opt,name=share_id,json=shareId,proto3" json:"share_id,omitempty"` } -func (m *TxInfo) Reset() { *m = TxInfo{} } -func (m *TxInfo) String() string { return proto.CompactTextString(m) } -func (*TxInfo) ProtoMessage() {} -func (*TxInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_e6e9f5a73c9e5a84, []int{1} +func (x *TxInfo) Reset() { + *x = TxInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TxInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TxInfo.Unmarshal(m, b) -} -func (m *TxInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TxInfo.Marshal(b, m, deterministic) +func (x *TxInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TxInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TxInfo.Merge(m, src) -} -func (m *TxInfo) XXX_Size() int { - return xxx_messageInfo_TxInfo.Size(m) -} -func (m *TxInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TxInfo.DiscardUnknown(m) + +func (*TxInfo) ProtoMessage() {} + +func (x *TxInfo) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_resources_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) } -var xxx_messageInfo_TxInfo proto.InternalMessageInfo +// Deprecated: Use TxInfo.ProtoReflect.Descriptor instead. +func (*TxInfo) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} -func (m *TxInfo) GetId() *TxId { - if m != nil { - return m.Id +func (x *TxInfo) GetId() *TxId { + if x != nil { + return x.Id } return nil } -func (m *TxInfo) GetStatus() Status { - if m != nil { - return m.Status +func (x *TxInfo) GetStatus() Status { + if x != nil { + return x.Status } return Status_STATUS_INVALID } -func (m *TxInfo) GetGrantee() *v1beta1.Grantee { - if m != nil { - return m.Grantee +func (x *TxInfo) GetGrantee() *v1beta1.Grantee { + if x != nil { + return x.Grantee } return nil } -func (m *TxInfo) GetCreator() *v1beta11.UserId { - if m != nil { - return m.Creator +func (x *TxInfo) GetCreator() *v1beta11.UserId { + if x != nil { + return x.Creator } return nil } -func (m *TxInfo) GetCtime() *v1beta12.Timestamp { - if m != nil { - return m.Ctime +func (x *TxInfo) GetCtime() *v1beta12.Timestamp { + if x != nil { + return x.Ctime } return nil } -func (m *TxInfo) GetDescription() string { - if m != nil { - return m.Description +func (x *TxInfo) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *TxInfo) GetShareId() *v1beta13.ShareId { - if m != nil { - return m.ShareId +func (x *TxInfo) GetShareId() *v1beta13.ShareId { + if x != nil { + return x.ShareId } return nil } -func init() { - proto.RegisterEnum("cs3.tx.v1beta1.Status", Status_name, Status_value) - proto.RegisterType((*TxId)(nil), "cs3.tx.v1beta1.TxId") - proto.RegisterType((*TxInfo)(nil), "cs3.tx.v1beta1.TxInfo") +var File_cs3_tx_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_cs3_tx_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x78, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x1a, 0x29, 0x63, 0x73, 0x33, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x75, + 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x73, 0x33, + 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x73, 0x33, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x23, 0x0a, 0x04, 0x54, 0x78, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, + 0x61, 0x71, 0x75, 0x65, 0x49, 0x64, 0x22, 0xef, 0x02, 0x0a, 0x06, 0x54, 0x78, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x24, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, + 0x78, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, + 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x52, + 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x08, 0x73, + 0x68, 0x61, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x52, + 0x07, 0x73, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x2a, 0xd8, 0x02, 0x0a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x4e, 0x45, 0x57, + 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x52, 0x41, + 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x41, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x41, + 0x43, 0x43, 0x45, 0x50, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x41, + 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x04, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x5f, + 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x05, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x43, 0x4f, + 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x4c, + 0x45, 0x44, 0x10, 0x07, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, + 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, + 0x44, 0x10, 0x08, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x52, + 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, + 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, + 0x44, 0x10, 0x0a, 0x42, 0xb5, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, + 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, + 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x74, + 0x78, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x74, 0x78, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x58, 0xaa, 0x02, 0x0e, 0x43, 0x73, 0x33, 0x2e, + 0x54, 0x78, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x0e, 0x43, 0x73, 0x33, + 0x5c, 0x54, 0x78, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1a, 0x43, 0x73, + 0x33, 0x5c, 0x54, 0x78, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x43, 0x73, 0x33, 0x3a, 0x3a, + 0x54, 0x78, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_tx_v1beta1_resources_proto_rawDescOnce sync.Once + file_cs3_tx_v1beta1_resources_proto_rawDescData = file_cs3_tx_v1beta1_resources_proto_rawDesc +) + +func file_cs3_tx_v1beta1_resources_proto_rawDescGZIP() []byte { + file_cs3_tx_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_cs3_tx_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_tx_v1beta1_resources_proto_rawDescData) + }) + return file_cs3_tx_v1beta1_resources_proto_rawDescData } -func init() { proto.RegisterFile("cs3/tx/v1beta1/resources.proto", fileDescriptor_e6e9f5a73c9e5a84) } - -var fileDescriptor_e6e9f5a73c9e5a84 = []byte{ - // 587 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xdf, 0x6e, 0xd3, 0x30, - 0x18, 0xc5, 0x69, 0xb6, 0xb5, 0xeb, 0x37, 0xa9, 0x8a, 0x0c, 0xda, 0xc2, 0xfe, 0x40, 0xb7, 0x81, - 0x36, 0x10, 0x4a, 0xb5, 0xf5, 0x72, 0x17, 0x28, 0x6b, 0xbd, 0xc9, 0x52, 0x49, 0x2b, 0xc7, 0xfb, - 0x03, 0x9a, 0x14, 0x65, 0x89, 0x19, 0xb9, 0x68, 0x5d, 0x6c, 0x77, 0xca, 0x5e, 0x87, 0x4b, 0x1e, - 0x85, 0x27, 0xe0, 0x2d, 0x78, 0x05, 0x14, 0x27, 0x2d, 0xd0, 0x6d, 0xdc, 0xb5, 0xdf, 0xf9, 0x9d, - 0x23, 0x7f, 0xc7, 0x31, 0xbc, 0x88, 0x55, 0xbb, 0xa5, 0xb3, 0xd6, 0xed, 0xc1, 0x35, 0xd7, 0xd1, - 0x41, 0x4b, 0x72, 0x25, 0x26, 0x32, 0xe6, 0xca, 0x1d, 0x4b, 0xa1, 0x05, 0x6a, 0xc4, 0xaa, 0xed, - 0xea, 0xcc, 0x2d, 0xf5, 0xf5, 0x37, 0x39, 0x9f, 0x26, 0x7c, 0xa4, 0x53, 0x7d, 0xd7, 0x9a, 0x28, - 0x2e, 0x1f, 0xb3, 0xae, 0xef, 0xe5, 0xa8, 0xfa, 0x12, 0xc9, 0x74, 0x74, 0xd3, 0x12, 0xf1, 0xf0, - 0x51, 0xf0, 0x9d, 0x01, 0xb5, 0x90, 0xd1, 0x0d, 0x6f, 0x8d, 0xa5, 0xb8, 0x4d, 0x93, 0xff, 0xc4, - 0x6e, 0x99, 0x13, 0xdf, 0x8d, 0xb9, 0x9a, 0x21, 0xe6, 0x5f, 0x21, 0xef, 0xec, 0xc2, 0x22, 0xcb, - 0x48, 0x82, 0x36, 0xa0, 0x2e, 0xc6, 0xd1, 0xd7, 0x09, 0x0f, 0xd3, 0xc4, 0xa9, 0x34, 0x2b, 0xfb, - 0x75, 0xba, 0x5c, 0x0c, 0x48, 0xb2, 0xf3, 0xcb, 0x82, 0x2a, 0xcb, 0xc8, 0xe8, 0xb3, 0x40, 0xaf, - 0xc0, 0x2a, 0x81, 0x95, 0xc3, 0x67, 0xee, 0xbf, 0xdb, 0xba, 0x79, 0x12, 0xb5, 0xd2, 0x04, 0xb9, - 0x50, 0x55, 0x3a, 0xd2, 0x13, 0xe5, 0x58, 0xcd, 0xca, 0x7e, 0xe3, 0x70, 0x75, 0x9e, 0x0c, 0x8c, - 0x4a, 0x4b, 0x0a, 0xbd, 0x87, 0xda, 0x8d, 0x8c, 0x46, 0x9a, 0x73, 0x67, 0xc1, 0x44, 0xbf, 0x36, - 0x86, 0x72, 0x49, 0x77, 0xba, 0xe4, 0xcc, 0x7e, 0x5a, 0xc0, 0x74, 0xea, 0x42, 0x47, 0x50, 0x8b, - 0x25, 0x8f, 0xb4, 0x90, 0xce, 0xa2, 0x09, 0xd8, 0x36, 0x01, 0xd3, 0xe6, 0xdd, 0xbc, 0xf9, 0x99, - 0xfb, 0x4c, 0x71, 0x49, 0x12, 0x3a, 0x75, 0xa0, 0x43, 0x58, 0x8a, 0x75, 0x3a, 0xe4, 0xce, 0x92, - 0xb1, 0x6e, 0x16, 0x87, 0x35, 0x25, 0xcd, 0x36, 0x4b, 0x87, 0x5c, 0xe9, 0x68, 0x38, 0xa6, 0x05, - 0x8a, 0x9a, 0xb0, 0x92, 0x70, 0x15, 0xcb, 0x74, 0xac, 0x53, 0x31, 0x72, 0xaa, 0xa6, 0xb1, 0xbf, - 0x47, 0xe8, 0x08, 0x96, 0xf3, 0xdb, 0x34, 0x85, 0xd6, 0x4c, 0x70, 0xb3, 0x58, 0xaa, 0xb8, 0x62, - 0x57, 0xc4, 0xc3, 0x3f, 0x75, 0xe4, 0x60, 0x7e, 0x24, 0x55, 0xfc, 0x78, 0xfb, 0xd3, 0x82, 0x6a, - 0xd1, 0x11, 0x42, 0xd0, 0x08, 0x98, 0xc7, 0xce, 0x82, 0x90, 0xf8, 0xe7, 0x5e, 0x8f, 0x74, 0xed, - 0x27, 0xa8, 0x09, 0x9b, 0xe5, 0xac, 0x8b, 0x03, 0x46, 0x7c, 0x8f, 0x91, 0xbe, 0x1f, 0xfa, 0x7d, - 0x16, 0x9e, 0xf4, 0xcf, 0xfc, 0xae, 0x5d, 0x41, 0x6b, 0xf0, 0xb4, 0x24, 0x18, 0xf5, 0xfc, 0xe0, - 0x04, 0xd3, 0xd0, 0xc7, 0x17, 0xb6, 0x85, 0xf6, 0x60, 0x77, 0x5e, 0xf0, 0x2e, 0x3c, 0xc2, 0x88, - 0x7f, 0x1a, 0x7a, 0x9d, 0x0e, 0x1e, 0x30, 0xcf, 0xef, 0x60, 0x7b, 0x01, 0x6d, 0x82, 0x73, 0x0f, - 0x34, 0x3a, 0xee, 0xda, 0x8b, 0xe8, 0x25, 0x6c, 0xcc, 0xab, 0xc4, 0x0f, 0x07, 0xb4, 0x7f, 0x4a, - 0x71, 0x10, 0xd8, 0x4b, 0x0f, 0xd9, 0x3b, 0xfd, 0x0f, 0x83, 0x1e, 0x66, 0xd8, 0xae, 0xa2, 0x75, - 0x58, 0x9d, 0x57, 0x4f, 0x3c, 0xd2, 0xc3, 0x5d, 0xbb, 0x86, 0xb6, 0xe0, 0xf9, 0x3d, 0x67, 0x7e, - 0xa6, 0x5e, 0x2e, 0x2f, 0xa3, 0x6d, 0xd8, 0x7a, 0x58, 0x9e, 0x26, 0xd4, 0xd1, 0x06, 0xac, 0xcd, - 0x23, 0xf8, 0x72, 0x40, 0x28, 0xee, 0xda, 0x70, 0xfc, 0x11, 0x50, 0x2c, 0x86, 0x73, 0x1f, 0xe4, - 0x71, 0x83, 0x4e, 0xdf, 0xcd, 0x20, 0x7f, 0x17, 0x83, 0xca, 0xa7, 0xba, 0xce, 0x4a, 0xf1, 0x9b, - 0xb5, 0xd0, 0x61, 0x97, 0xdf, 0xad, 0x46, 0x47, 0xb5, 0x5d, 0x96, 0xb9, 0xe7, 0x07, 0xc7, 0xf9, - 0xf8, 0x87, 0x19, 0x5c, 0xb1, 0xec, 0xaa, 0x1c, 0x5c, 0x57, 0xcd, 0x9b, 0x6a, 0xff, 0x0e, 0x00, - 0x00, 0xff, 0xff, 0x0d, 0x00, 0x76, 0xc4, 0x26, 0x04, 0x00, 0x00, +var file_cs3_tx_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cs3_tx_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_cs3_tx_v1beta1_resources_proto_goTypes = []interface{}{ + (Status)(0), // 0: cs3.tx.v1beta1.Status + (*TxId)(nil), // 1: cs3.tx.v1beta1.TxId + (*TxInfo)(nil), // 2: cs3.tx.v1beta1.TxInfo + (*v1beta1.Grantee)(nil), // 3: cs3.storage.provider.v1beta1.Grantee + (*v1beta11.UserId)(nil), // 4: cs3.identity.user.v1beta1.UserId + (*v1beta12.Timestamp)(nil), // 5: cs3.types.v1beta1.Timestamp + (*v1beta13.ShareId)(nil), // 6: cs3.sharing.ocm.v1beta1.ShareId +} +var file_cs3_tx_v1beta1_resources_proto_depIdxs = []int32{ + 1, // 0: cs3.tx.v1beta1.TxInfo.id:type_name -> cs3.tx.v1beta1.TxId + 0, // 1: cs3.tx.v1beta1.TxInfo.status:type_name -> cs3.tx.v1beta1.Status + 3, // 2: cs3.tx.v1beta1.TxInfo.grantee:type_name -> cs3.storage.provider.v1beta1.Grantee + 4, // 3: cs3.tx.v1beta1.TxInfo.creator:type_name -> cs3.identity.user.v1beta1.UserId + 5, // 4: cs3.tx.v1beta1.TxInfo.ctime:type_name -> cs3.types.v1beta1.Timestamp + 6, // 5: cs3.tx.v1beta1.TxInfo.share_id:type_name -> cs3.sharing.ocm.v1beta1.ShareId + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_cs3_tx_v1beta1_resources_proto_init() } +func file_cs3_tx_v1beta1_resources_proto_init() { + if File_cs3_tx_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_tx_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TxId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TxInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_tx_v1beta1_resources_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_tx_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_cs3_tx_v1beta1_resources_proto_depIdxs, + EnumInfos: file_cs3_tx_v1beta1_resources_proto_enumTypes, + MessageInfos: file_cs3_tx_v1beta1_resources_proto_msgTypes, + }.Build() + File_cs3_tx_v1beta1_resources_proto = out.File + file_cs3_tx_v1beta1_resources_proto_rawDesc = nil + file_cs3_tx_v1beta1_resources_proto_goTypes = nil + file_cs3_tx_v1beta1_resources_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/tx_api.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/tx_api.pb.go index ed2a26e8df2..055935b6043 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/tx_api.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/tx_api.pb.go @@ -1,31 +1,45 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/tx/v1beta1/tx_api.proto package txv1beta1 import ( - context "context" - fmt "fmt" v1beta12 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // The filter type. type ListTransfersRequest_Filter_Type int32 @@ -37,29 +51,54 @@ const ( ListTransfersRequest_Filter_TYPE_TX_ID ListTransfersRequest_Filter_Type = 3 ) -var ListTransfersRequest_Filter_Type_name = map[int32]string{ - 0: "TYPE_INVALID", - 1: "TYPE_STATUS", - 2: "TYPE_SHARE_ID", - 3: "TYPE_TX_ID", -} +// Enum value maps for ListTransfersRequest_Filter_Type. +var ( + ListTransfersRequest_Filter_Type_name = map[int32]string{ + 0: "TYPE_INVALID", + 1: "TYPE_STATUS", + 2: "TYPE_SHARE_ID", + 3: "TYPE_TX_ID", + } + ListTransfersRequest_Filter_Type_value = map[string]int32{ + "TYPE_INVALID": 0, + "TYPE_STATUS": 1, + "TYPE_SHARE_ID": 2, + "TYPE_TX_ID": 3, + } +) -var ListTransfersRequest_Filter_Type_value = map[string]int32{ - "TYPE_INVALID": 0, - "TYPE_STATUS": 1, - "TYPE_SHARE_ID": 2, - "TYPE_TX_ID": 3, +func (x ListTransfersRequest_Filter_Type) Enum() *ListTransfersRequest_Filter_Type { + p := new(ListTransfersRequest_Filter_Type) + *p = x + return p } func (x ListTransfersRequest_Filter_Type) String() string { - return proto.EnumName(ListTransfersRequest_Filter_Type_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ListTransfersRequest_Filter_Type) Descriptor() protoreflect.EnumDescriptor { + return file_cs3_tx_v1beta1_tx_api_proto_enumTypes[0].Descriptor() +} + +func (ListTransfersRequest_Filter_Type) Type() protoreflect.EnumType { + return &file_cs3_tx_v1beta1_tx_api_proto_enumTypes[0] +} + +func (x ListTransfersRequest_Filter_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ListTransfersRequest_Filter_Type.Descriptor instead. func (ListTransfersRequest_Filter_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{6, 0, 0} + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{6, 0, 0} } type CreateTransferRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The source target URI. Should include at the minimum all the info needed to access the source. // https://golang.org/pkg/net/url/#URL provides a quick view of the format. @@ -73,66 +112,74 @@ type CreateTransferRequest struct { ShareId *v1beta1.ShareId `protobuf:"bytes,3,opt,name=share_id,json=shareId,proto3" json:"share_id,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta11.Opaque `protobuf:"bytes,4,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta11.Opaque `protobuf:"bytes,4,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *CreateTransferRequest) Reset() { *m = CreateTransferRequest{} } -func (m *CreateTransferRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTransferRequest) ProtoMessage() {} -func (*CreateTransferRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{0} +func (x *CreateTransferRequest) Reset() { + *x = CreateTransferRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateTransferRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTransferRequest.Unmarshal(m, b) -} -func (m *CreateTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTransferRequest.Marshal(b, m, deterministic) -} -func (m *CreateTransferRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTransferRequest.Merge(m, src) +func (x *CreateTransferRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateTransferRequest) XXX_Size() int { - return xxx_messageInfo_CreateTransferRequest.Size(m) -} -func (m *CreateTransferRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTransferRequest.DiscardUnknown(m) + +func (*CreateTransferRequest) ProtoMessage() {} + +func (x *CreateTransferRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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) } -var xxx_messageInfo_CreateTransferRequest proto.InternalMessageInfo +// Deprecated: Use CreateTransferRequest.ProtoReflect.Descriptor instead. +func (*CreateTransferRequest) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{0} +} -func (m *CreateTransferRequest) GetSrcTargetUri() string { - if m != nil { - return m.SrcTargetUri +func (x *CreateTransferRequest) GetSrcTargetUri() string { + if x != nil { + return x.SrcTargetUri } return "" } -func (m *CreateTransferRequest) GetDestTargetUri() string { - if m != nil { - return m.DestTargetUri +func (x *CreateTransferRequest) GetDestTargetUri() string { + if x != nil { + return x.DestTargetUri } return "" } -func (m *CreateTransferRequest) GetShareId() *v1beta1.ShareId { - if m != nil { - return m.ShareId +func (x *CreateTransferRequest) GetShareId() *v1beta1.ShareId { + if x != nil { + return x.ShareId } return nil } -func (m *CreateTransferRequest) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *CreateTransferRequest) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } type CreateTransferResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -141,110 +188,126 @@ type CreateTransferResponse struct { TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *CreateTransferResponse) Reset() { *m = CreateTransferResponse{} } -func (m *CreateTransferResponse) String() string { return proto.CompactTextString(m) } -func (*CreateTransferResponse) ProtoMessage() {} -func (*CreateTransferResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{1} +func (x *CreateTransferResponse) Reset() { + *x = CreateTransferResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateTransferResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTransferResponse.Unmarshal(m, b) -} -func (m *CreateTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTransferResponse.Marshal(b, m, deterministic) -} -func (m *CreateTransferResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTransferResponse.Merge(m, src) +func (x *CreateTransferResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateTransferResponse) XXX_Size() int { - return xxx_messageInfo_CreateTransferResponse.Size(m) -} -func (m *CreateTransferResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTransferResponse.DiscardUnknown(m) + +func (*CreateTransferResponse) ProtoMessage() {} + +func (x *CreateTransferResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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) } -var xxx_messageInfo_CreateTransferResponse proto.InternalMessageInfo +// Deprecated: Use CreateTransferResponse.ProtoReflect.Descriptor instead. +func (*CreateTransferResponse) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{1} +} -func (m *CreateTransferResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *CreateTransferResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *CreateTransferResponse) GetTxInfo() *TxInfo { - if m != nil { - return m.TxInfo +func (x *CreateTransferResponse) GetTxInfo() *TxInfo { + if x != nil { + return x.TxInfo } return nil } -func (m *CreateTransferResponse) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *CreateTransferResponse) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } type GetTransferStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The transfer identifier. TxId *TxId `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta11.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta11.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *GetTransferStatusRequest) Reset() { *m = GetTransferStatusRequest{} } -func (m *GetTransferStatusRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransferStatusRequest) ProtoMessage() {} -func (*GetTransferStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{2} +func (x *GetTransferStatusRequest) Reset() { + *x = GetTransferStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTransferStatusRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransferStatusRequest.Unmarshal(m, b) -} -func (m *GetTransferStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransferStatusRequest.Marshal(b, m, deterministic) -} -func (m *GetTransferStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransferStatusRequest.Merge(m, src) +func (x *GetTransferStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransferStatusRequest) XXX_Size() int { - return xxx_messageInfo_GetTransferStatusRequest.Size(m) -} -func (m *GetTransferStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransferStatusRequest.DiscardUnknown(m) + +func (*GetTransferStatusRequest) ProtoMessage() {} + +func (x *GetTransferStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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) } -var xxx_messageInfo_GetTransferStatusRequest proto.InternalMessageInfo +// Deprecated: Use GetTransferStatusRequest.ProtoReflect.Descriptor instead. +func (*GetTransferStatusRequest) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{2} +} -func (m *GetTransferStatusRequest) GetTxId() *TxId { - if m != nil { - return m.TxId +func (x *GetTransferStatusRequest) GetTxId() *TxId { + if x != nil { + return x.TxId } return nil } -func (m *GetTransferStatusRequest) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *GetTransferStatusRequest) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } type GetTransferStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -253,110 +316,126 @@ type GetTransferStatusResponse struct { TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *GetTransferStatusResponse) Reset() { *m = GetTransferStatusResponse{} } -func (m *GetTransferStatusResponse) String() string { return proto.CompactTextString(m) } -func (*GetTransferStatusResponse) ProtoMessage() {} -func (*GetTransferStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{3} +func (x *GetTransferStatusResponse) Reset() { + *x = GetTransferStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTransferStatusResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransferStatusResponse.Unmarshal(m, b) -} -func (m *GetTransferStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransferStatusResponse.Marshal(b, m, deterministic) -} -func (m *GetTransferStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransferStatusResponse.Merge(m, src) -} -func (m *GetTransferStatusResponse) XXX_Size() int { - return xxx_messageInfo_GetTransferStatusResponse.Size(m) +func (x *GetTransferStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransferStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransferStatusResponse.DiscardUnknown(m) + +func (*GetTransferStatusResponse) ProtoMessage() {} + +func (x *GetTransferStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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) } -var xxx_messageInfo_GetTransferStatusResponse proto.InternalMessageInfo +// Deprecated: Use GetTransferStatusResponse.ProtoReflect.Descriptor instead. +func (*GetTransferStatusResponse) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{3} +} -func (m *GetTransferStatusResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *GetTransferStatusResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *GetTransferStatusResponse) GetTxInfo() *TxInfo { - if m != nil { - return m.TxInfo +func (x *GetTransferStatusResponse) GetTxInfo() *TxInfo { + if x != nil { + return x.TxInfo } return nil } -func (m *GetTransferStatusResponse) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *GetTransferStatusResponse) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } type CancelTransferRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The transfer identifier. TxId *TxId `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta11.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta11.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *CancelTransferRequest) Reset() { *m = CancelTransferRequest{} } -func (m *CancelTransferRequest) String() string { return proto.CompactTextString(m) } -func (*CancelTransferRequest) ProtoMessage() {} -func (*CancelTransferRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{4} +func (x *CancelTransferRequest) Reset() { + *x = CancelTransferRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CancelTransferRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelTransferRequest.Unmarshal(m, b) -} -func (m *CancelTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelTransferRequest.Marshal(b, m, deterministic) -} -func (m *CancelTransferRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelTransferRequest.Merge(m, src) +func (x *CancelTransferRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CancelTransferRequest) XXX_Size() int { - return xxx_messageInfo_CancelTransferRequest.Size(m) -} -func (m *CancelTransferRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CancelTransferRequest.DiscardUnknown(m) + +func (*CancelTransferRequest) ProtoMessage() {} + +func (x *CancelTransferRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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) } -var xxx_messageInfo_CancelTransferRequest proto.InternalMessageInfo +// Deprecated: Use CancelTransferRequest.ProtoReflect.Descriptor instead. +func (*CancelTransferRequest) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{4} +} -func (m *CancelTransferRequest) GetTxId() *TxId { - if m != nil { - return m.TxId +func (x *CancelTransferRequest) GetTxId() *TxId { + if x != nil { + return x.TxId } return nil } -func (m *CancelTransferRequest) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *CancelTransferRequest) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } type CancelTransferResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -365,218 +444,126 @@ type CancelTransferResponse struct { TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *CancelTransferResponse) Reset() { *m = CancelTransferResponse{} } -func (m *CancelTransferResponse) String() string { return proto.CompactTextString(m) } -func (*CancelTransferResponse) ProtoMessage() {} -func (*CancelTransferResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{5} +func (x *CancelTransferResponse) Reset() { + *x = CancelTransferResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CancelTransferResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelTransferResponse.Unmarshal(m, b) -} -func (m *CancelTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelTransferResponse.Marshal(b, m, deterministic) -} -func (m *CancelTransferResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelTransferResponse.Merge(m, src) -} -func (m *CancelTransferResponse) XXX_Size() int { - return xxx_messageInfo_CancelTransferResponse.Size(m) +func (x *CancelTransferResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CancelTransferResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CancelTransferResponse.DiscardUnknown(m) + +func (*CancelTransferResponse) ProtoMessage() {} + +func (x *CancelTransferResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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) } -var xxx_messageInfo_CancelTransferResponse proto.InternalMessageInfo +// Deprecated: Use CancelTransferResponse.ProtoReflect.Descriptor instead. +func (*CancelTransferResponse) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{5} +} -func (m *CancelTransferResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *CancelTransferResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *CancelTransferResponse) GetTxInfo() *TxInfo { - if m != nil { - return m.TxInfo +func (x *CancelTransferResponse) GetTxInfo() *TxInfo { + if x != nil { + return x.TxInfo } return nil } -func (m *CancelTransferResponse) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *CancelTransferResponse) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } type ListTransfersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OPTIONAL. // Opaque information. Opaque *v1beta11.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // OPTIONAL. // The list of filters to apply if any. - Filters []*ListTransfersRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListTransfersRequest) Reset() { *m = ListTransfersRequest{} } -func (m *ListTransfersRequest) String() string { return proto.CompactTextString(m) } -func (*ListTransfersRequest) ProtoMessage() {} -func (*ListTransfersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{6} -} - -func (m *ListTransfersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransfersRequest.Unmarshal(m, b) -} -func (m *ListTransfersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransfersRequest.Marshal(b, m, deterministic) -} -func (m *ListTransfersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransfersRequest.Merge(m, src) -} -func (m *ListTransfersRequest) XXX_Size() int { - return xxx_messageInfo_ListTransfersRequest.Size(m) -} -func (m *ListTransfersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransfersRequest.DiscardUnknown(m) + Filters []*ListTransfersRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` } -var xxx_messageInfo_ListTransfersRequest proto.InternalMessageInfo - -func (m *ListTransfersRequest) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque - } - return nil -} - -func (m *ListTransfersRequest) GetFilters() []*ListTransfersRequest_Filter { - if m != nil { - return m.Filters +func (x *ListTransfersRequest) Reset() { + *x = ListTransfersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -// REQUIRED. -// Represents a filter to apply to the request. -type ListTransfersRequest_Filter struct { - // REQUIRED. - Type ListTransfersRequest_Filter_Type `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.tx.v1beta1.ListTransfersRequest_Filter_Type" json:"type,omitempty"` - // REQUIRED. - // - // Types that are valid to be assigned to Term: - // *ListTransfersRequest_Filter_Status - // *ListTransfersRequest_Filter_ShareId - // *ListTransfersRequest_Filter_TxId - Term isListTransfersRequest_Filter_Term `protobuf_oneof:"term"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ListTransfersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTransfersRequest_Filter) Reset() { *m = ListTransfersRequest_Filter{} } -func (m *ListTransfersRequest_Filter) String() string { return proto.CompactTextString(m) } -func (*ListTransfersRequest_Filter) ProtoMessage() {} -func (*ListTransfersRequest_Filter) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{6, 0} -} +func (*ListTransfersRequest) ProtoMessage() {} -func (m *ListTransfersRequest_Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransfersRequest_Filter.Unmarshal(m, b) -} -func (m *ListTransfersRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransfersRequest_Filter.Marshal(b, m, deterministic) -} -func (m *ListTransfersRequest_Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransfersRequest_Filter.Merge(m, src) -} -func (m *ListTransfersRequest_Filter) XXX_Size() int { - return xxx_messageInfo_ListTransfersRequest_Filter.Size(m) -} -func (m *ListTransfersRequest_Filter) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransfersRequest_Filter.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTransfersRequest_Filter proto.InternalMessageInfo - -func (m *ListTransfersRequest_Filter) GetType() ListTransfersRequest_Filter_Type { - if m != nil { - return m.Type +func (x *ListTransfersRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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 ListTransfersRequest_Filter_TYPE_INVALID + return mi.MessageOf(x) } -type isListTransfersRequest_Filter_Term interface { - isListTransfersRequest_Filter_Term() -} - -type ListTransfersRequest_Filter_Status struct { - Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=cs3.tx.v1beta1.Status,oneof"` -} - -type ListTransfersRequest_Filter_ShareId struct { - ShareId *v1beta1.ShareId `protobuf:"bytes,3,opt,name=share_id,json=shareId,proto3,oneof"` -} - -type ListTransfersRequest_Filter_TxId struct { - TxId *TxId `protobuf:"bytes,4,opt,name=tx_id,json=txId,proto3,oneof"` -} - -func (*ListTransfersRequest_Filter_Status) isListTransfersRequest_Filter_Term() {} - -func (*ListTransfersRequest_Filter_ShareId) isListTransfersRequest_Filter_Term() {} - -func (*ListTransfersRequest_Filter_TxId) isListTransfersRequest_Filter_Term() {} - -func (m *ListTransfersRequest_Filter) GetTerm() isListTransfersRequest_Filter_Term { - if m != nil { - return m.Term - } - return nil -} - -func (m *ListTransfersRequest_Filter) GetStatus() Status { - if x, ok := m.GetTerm().(*ListTransfersRequest_Filter_Status); ok { - return x.Status - } - return Status_STATUS_INVALID +// Deprecated: Use ListTransfersRequest.ProtoReflect.Descriptor instead. +func (*ListTransfersRequest) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{6} } -func (m *ListTransfersRequest_Filter) GetShareId() *v1beta1.ShareId { - if x, ok := m.GetTerm().(*ListTransfersRequest_Filter_ShareId); ok { - return x.ShareId +func (x *ListTransfersRequest) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } -func (m *ListTransfersRequest_Filter) GetTxId() *TxId { - if x, ok := m.GetTerm().(*ListTransfersRequest_Filter_TxId); ok { - return x.TxId +func (x *ListTransfersRequest) GetFilters() []*ListTransfersRequest_Filter { + if x != nil { + return x.Filters } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListTransfersRequest_Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListTransfersRequest_Filter_Status)(nil), - (*ListTransfersRequest_Filter_ShareId)(nil), - (*ListTransfersRequest_Filter_TxId)(nil), - } -} - type ListTransfersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -585,110 +572,126 @@ type ListTransfersResponse struct { Transfers []*TxInfo `protobuf:"bytes,2,rep,name=transfers,proto3" json:"transfers,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *ListTransfersResponse) Reset() { *m = ListTransfersResponse{} } -func (m *ListTransfersResponse) String() string { return proto.CompactTextString(m) } -func (*ListTransfersResponse) ProtoMessage() {} -func (*ListTransfersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{7} +func (x *ListTransfersResponse) Reset() { + *x = ListTransfersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTransfersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransfersResponse.Unmarshal(m, b) -} -func (m *ListTransfersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransfersResponse.Marshal(b, m, deterministic) +func (x *ListTransfersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTransfersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransfersResponse.Merge(m, src) -} -func (m *ListTransfersResponse) XXX_Size() int { - return xxx_messageInfo_ListTransfersResponse.Size(m) -} -func (m *ListTransfersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransfersResponse.DiscardUnknown(m) + +func (*ListTransfersResponse) ProtoMessage() {} + +func (x *ListTransfersResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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) } -var xxx_messageInfo_ListTransfersResponse proto.InternalMessageInfo +// Deprecated: Use ListTransfersResponse.ProtoReflect.Descriptor instead. +func (*ListTransfersResponse) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{7} +} -func (m *ListTransfersResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *ListTransfersResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *ListTransfersResponse) GetTransfers() []*TxInfo { - if m != nil { - return m.Transfers +func (x *ListTransfersResponse) GetTransfers() []*TxInfo { + if x != nil { + return x.Transfers } return nil } -func (m *ListTransfersResponse) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *ListTransfersResponse) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } type RetryTransferRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The transfer identifier. TxId *TxId `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta11.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta11.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *RetryTransferRequest) Reset() { *m = RetryTransferRequest{} } -func (m *RetryTransferRequest) String() string { return proto.CompactTextString(m) } -func (*RetryTransferRequest) ProtoMessage() {} -func (*RetryTransferRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{8} +func (x *RetryTransferRequest) Reset() { + *x = RetryTransferRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RetryTransferRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RetryTransferRequest.Unmarshal(m, b) +func (x *RetryTransferRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RetryTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RetryTransferRequest.Marshal(b, m, deterministic) -} -func (m *RetryTransferRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryTransferRequest.Merge(m, src) -} -func (m *RetryTransferRequest) XXX_Size() int { - return xxx_messageInfo_RetryTransferRequest.Size(m) -} -func (m *RetryTransferRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RetryTransferRequest.DiscardUnknown(m) + +func (*RetryTransferRequest) ProtoMessage() {} + +func (x *RetryTransferRequest) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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) } -var xxx_messageInfo_RetryTransferRequest proto.InternalMessageInfo +// Deprecated: Use RetryTransferRequest.ProtoReflect.Descriptor instead. +func (*RetryTransferRequest) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{8} +} -func (m *RetryTransferRequest) GetTxId() *TxId { - if m != nil { - return m.TxId +func (x *RetryTransferRequest) GetTxId() *TxId { + if x != nil { + return x.TxId } return nil } -func (m *RetryTransferRequest) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *RetryTransferRequest) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } return nil } type RetryTransferResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -697,361 +700,593 @@ type RetryTransferResponse struct { TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` // OPTIONAL. // Opaque information. - Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` } -func (m *RetryTransferResponse) Reset() { *m = RetryTransferResponse{} } -func (m *RetryTransferResponse) String() string { return proto.CompactTextString(m) } -func (*RetryTransferResponse) ProtoMessage() {} -func (*RetryTransferResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_13b0cfd696cc0a1f, []int{9} +func (x *RetryTransferResponse) Reset() { + *x = RetryTransferResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RetryTransferResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RetryTransferResponse.Unmarshal(m, b) -} -func (m *RetryTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RetryTransferResponse.Marshal(b, m, deterministic) -} -func (m *RetryTransferResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryTransferResponse.Merge(m, src) -} -func (m *RetryTransferResponse) XXX_Size() int { - return xxx_messageInfo_RetryTransferResponse.Size(m) -} -func (m *RetryTransferResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RetryTransferResponse.DiscardUnknown(m) +func (x *RetryTransferResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RetryTransferResponse proto.InternalMessageInfo +func (*RetryTransferResponse) ProtoMessage() {} -func (m *RetryTransferResponse) GetStatus() *v1beta12.Status { - if m != nil { - return m.Status +func (x *RetryTransferResponse) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_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 nil + return mi.MessageOf(x) } -func (m *RetryTransferResponse) GetTxInfo() *TxInfo { - if m != nil { - return m.TxInfo +// Deprecated: Use RetryTransferResponse.ProtoReflect.Descriptor instead. +func (*RetryTransferResponse) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{9} +} + +func (x *RetryTransferResponse) GetStatus() *v1beta12.Status { + if x != nil { + return x.Status } return nil } -func (m *RetryTransferResponse) GetOpaque() *v1beta11.Opaque { - if m != nil { - return m.Opaque +func (x *RetryTransferResponse) GetTxInfo() *TxInfo { + if x != nil { + return x.TxInfo } return nil } -func init() { - proto.RegisterEnum("cs3.tx.v1beta1.ListTransfersRequest_Filter_Type", ListTransfersRequest_Filter_Type_name, ListTransfersRequest_Filter_Type_value) - proto.RegisterType((*CreateTransferRequest)(nil), "cs3.tx.v1beta1.CreateTransferRequest") - proto.RegisterType((*CreateTransferResponse)(nil), "cs3.tx.v1beta1.CreateTransferResponse") - proto.RegisterType((*GetTransferStatusRequest)(nil), "cs3.tx.v1beta1.GetTransferStatusRequest") - proto.RegisterType((*GetTransferStatusResponse)(nil), "cs3.tx.v1beta1.GetTransferStatusResponse") - proto.RegisterType((*CancelTransferRequest)(nil), "cs3.tx.v1beta1.CancelTransferRequest") - proto.RegisterType((*CancelTransferResponse)(nil), "cs3.tx.v1beta1.CancelTransferResponse") - proto.RegisterType((*ListTransfersRequest)(nil), "cs3.tx.v1beta1.ListTransfersRequest") - proto.RegisterType((*ListTransfersRequest_Filter)(nil), "cs3.tx.v1beta1.ListTransfersRequest.Filter") - proto.RegisterType((*ListTransfersResponse)(nil), "cs3.tx.v1beta1.ListTransfersResponse") - proto.RegisterType((*RetryTransferRequest)(nil), "cs3.tx.v1beta1.RetryTransferRequest") - proto.RegisterType((*RetryTransferResponse)(nil), "cs3.tx.v1beta1.RetryTransferResponse") -} - -func init() { proto.RegisterFile("cs3/tx/v1beta1/tx_api.proto", fileDescriptor_13b0cfd696cc0a1f) } - -var fileDescriptor_13b0cfd696cc0a1f = []byte{ - // 759 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x5f, 0x4f, 0xda, 0x5c, - 0x18, 0xa7, 0x05, 0xf1, 0xf5, 0x41, 0x11, 0x4f, 0xc4, 0x17, 0x79, 0xff, 0x84, 0x10, 0x75, 0x18, - 0x93, 0x22, 0xb0, 0xbb, 0x65, 0x17, 0x80, 0x6e, 0x90, 0x98, 0x8d, 0xd4, 0x6a, 0xdc, 0x62, 0xd2, - 0xd4, 0x72, 0xd0, 0x26, 0x42, 0xeb, 0x39, 0x87, 0xa5, 0x7e, 0x9d, 0x5d, 0x2e, 0x5b, 0xb2, 0x7d, - 0x85, 0x5d, 0xee, 0xde, 0xcf, 0xb1, 0xaf, 0xb0, 0x9c, 0xd3, 0x42, 0xa5, 0xd4, 0x88, 0x26, 0x5b, - 0xbc, 0x82, 0x3e, 0xcf, 0xef, 0xf9, 0xf7, 0x3b, 0xbf, 0x3e, 0xa7, 0xf0, 0x8f, 0x49, 0x6b, 0x65, - 0xe6, 0x96, 0x3f, 0x54, 0xce, 0x30, 0x33, 0x2a, 0x65, 0xe6, 0xea, 0x86, 0x63, 0x29, 0x0e, 0xb1, - 0x99, 0x8d, 0xd2, 0x26, 0xad, 0x29, 0xcc, 0x55, 0x7c, 0x67, 0xfe, 0x5f, 0x0e, 0x26, 0x8e, 0x39, - 0x46, 0x53, 0x66, 0xb0, 0x21, 0xf5, 0xd0, 0xf9, 0x67, 0xdc, 0x4b, 0x2f, 0x0c, 0x62, 0x0d, 0xce, - 0xcb, 0xb6, 0xd9, 0x1f, 0xa3, 0x08, 0xa6, 0xf6, 0x90, 0x98, 0x78, 0x04, 0xfc, 0x3f, 0x54, 0x33, - 0xec, 0xff, 0x4f, 0xf8, 0xaf, 0x1d, 0x4c, 0x83, 0xb6, 0xf8, 0x93, 0xe7, 0x2e, 0xde, 0x48, 0x90, - 0x6d, 0x12, 0x6c, 0x30, 0xac, 0x11, 0x63, 0x40, 0x7b, 0x98, 0xa8, 0xf8, 0x6a, 0x88, 0x29, 0x43, - 0x1b, 0x90, 0xa6, 0xc4, 0xd4, 0x99, 0x41, 0xce, 0x31, 0xd3, 0x87, 0xc4, 0xca, 0x49, 0x05, 0xa9, - 0xb4, 0xa0, 0x2e, 0x52, 0x62, 0x6a, 0xc2, 0x78, 0x44, 0x2c, 0xb4, 0x05, 0xcb, 0x5d, 0x4c, 0xd9, - 0x6d, 0x98, 0x2c, 0x60, 0x4b, 0xdc, 0x1c, 0xe0, 0x5e, 0xc0, 0x5f, 0x7c, 0x1a, 0xac, 0x5b, 0xdd, - 0x5c, 0xbc, 0x20, 0x95, 0x52, 0xd5, 0x82, 0xc2, 0x09, 0xf1, 0x47, 0x54, 0x6c, 0xb3, 0x3f, 0x62, - 0x46, 0x39, 0xe4, 0xc0, 0x76, 0x57, 0x9d, 0xa7, 0xde, 0x1f, 0x54, 0x81, 0xa4, 0xed, 0x18, 0x57, - 0x43, 0x9c, 0x4b, 0x88, 0xd0, 0x75, 0x11, 0xea, 0x8d, 0x31, 0x0a, 0x7a, 0x2b, 0x00, 0xaa, 0x0f, - 0x2c, 0x7e, 0x91, 0x60, 0x2d, 0x3c, 0x17, 0x75, 0xec, 0x01, 0xc5, 0xa8, 0x0c, 0x49, 0x8f, 0x6a, - 0x31, 0x50, 0xaa, 0xfa, 0xb7, 0xc8, 0x46, 0x1c, 0x33, 0x68, 0x40, 0xb8, 0x55, 0x1f, 0x86, 0xca, - 0x30, 0xcf, 0x5c, 0xdd, 0x1a, 0xf4, 0x6c, 0x31, 0x5b, 0xaa, 0xba, 0xa6, 0x4c, 0x9e, 0xa5, 0xa2, - 0xb9, 0xed, 0x41, 0xcf, 0x56, 0x93, 0x4c, 0xfc, 0xde, 0xea, 0x37, 0x3e, 0x6b, 0xbf, 0x2e, 0xe4, - 0x5e, 0x63, 0x36, 0xea, 0xd5, 0x6f, 0xc0, 0x3f, 0x89, 0x6d, 0x98, 0xe3, 0xf5, 0xbb, 0x7e, 0xbf, - 0xab, 0x11, 0xd5, 0xbb, 0x6a, 0x82, 0xb9, 0x13, 0x4c, 0xc9, 0xb3, 0x56, 0xfe, 0x2a, 0xc1, 0x7a, - 0x44, 0xe9, 0xa7, 0x4c, 0xd6, 0x10, 0xb2, 0x4d, 0x63, 0x60, 0xe2, 0xcb, 0xb0, 0x66, 0x7f, 0x2f, - 0x53, 0x42, 0x53, 0xa1, 0xba, 0x4f, 0x99, 0xa6, 0x9b, 0x38, 0xac, 0x1e, 0x58, 0x74, 0x7c, 0xb4, - 0x63, 0x41, 0x05, 0xb9, 0xa4, 0x19, 0x73, 0xa1, 0x7d, 0x98, 0xef, 0x59, 0x97, 0x0c, 0x13, 0x9a, - 0x93, 0x0b, 0xf1, 0x52, 0xaa, 0xba, 0x13, 0xee, 0x37, 0xaa, 0x92, 0xf2, 0x4a, 0xc4, 0xa8, 0xa3, - 0xd8, 0xfc, 0x77, 0x19, 0x92, 0x9e, 0x0d, 0xed, 0x41, 0x82, 0x57, 0x14, 0x2d, 0xa4, 0xab, 0xbb, - 0x0f, 0x48, 0xa7, 0x68, 0xd7, 0x0e, 0x56, 0x45, 0x34, 0xda, 0x1d, 0x13, 0x2f, 0x8b, 0x3c, 0x53, - 0x34, 0x7a, 0xbc, 0xb7, 0x62, 0x63, 0xe6, 0x5f, 0x3e, 0x7c, 0x13, 0xb5, 0x62, 0xc1, 0x2e, 0xda, - 0x19, 0x49, 0x2c, 0x71, 0xb7, 0xc4, 0x5a, 0x31, 0x4f, 0x64, 0xc5, 0x03, 0x48, 0xf0, 0x5e, 0x51, - 0x06, 0x16, 0xb5, 0x77, 0x9d, 0x7d, 0xbd, 0xfd, 0xe6, 0xb8, 0x7e, 0xd0, 0xde, 0xcb, 0xc4, 0xd0, - 0x32, 0xa4, 0x84, 0xe5, 0x50, 0xab, 0x6b, 0x47, 0x87, 0x19, 0x09, 0xad, 0xc0, 0x92, 0x67, 0x68, - 0xd5, 0xd5, 0x7d, 0xbd, 0xbd, 0x97, 0x91, 0x51, 0x1a, 0x40, 0x98, 0xb4, 0x13, 0xfe, 0x1c, 0x6f, - 0x24, 0x21, 0xc1, 0x30, 0xe9, 0x17, 0xbf, 0x49, 0x90, 0x0d, 0xd1, 0xf3, 0x58, 0x19, 0x3e, 0x87, - 0x05, 0x36, 0xca, 0xe2, 0x1f, 0xec, 0x5d, 0x42, 0x0c, 0x80, 0x8f, 0xd1, 0x22, 0x83, 0x55, 0x15, - 0x33, 0x72, 0xfd, 0x67, 0xdf, 0xd8, 0xcf, 0x12, 0x64, 0x43, 0x65, 0x9f, 0xf0, 0x0b, 0x5b, 0xfd, - 0x19, 0x87, 0x39, 0xcd, 0xad, 0x77, 0xda, 0x48, 0x87, 0xf4, 0xe4, 0xed, 0x85, 0x36, 0xc3, 0xe5, - 0x22, 0x6f, 0xed, 0xfc, 0xd6, 0x7d, 0x30, 0x7f, 0xfe, 0x0b, 0x58, 0x99, 0x5a, 0xfa, 0xa8, 0x14, - 0x0e, 0xbe, 0xeb, 0x4a, 0xca, 0x6f, 0xcf, 0x80, 0xf4, 0x2b, 0xf1, 0x51, 0x26, 0x96, 0x66, 0xc4, - 0x28, 0x51, 0xcb, 0x3c, 0x62, 0x94, 0xe8, 0xdd, 0x7b, 0x0a, 0x4b, 0x13, 0x6f, 0x03, 0xda, 0x98, - 0x65, 0x97, 0xe4, 0x37, 0xef, 0x41, 0x05, 0xd9, 0x27, 0x14, 0x34, 0x9d, 0x3d, 0x4a, 0xd7, 0xd3, - 0xd9, 0x23, 0x65, 0xd8, 0x38, 0x02, 0x64, 0xda, 0xfd, 0x10, 0xb6, 0x01, 0x9a, 0x5b, 0x77, 0xac, - 0x0e, 0xff, 0x40, 0xeb, 0x48, 0xef, 0x17, 0x98, 0xeb, 0x3b, 0x3e, 0xca, 0xf1, 0xa6, 0x76, 0xf2, - 0x49, 0x4e, 0x37, 0x69, 0x4d, 0xd1, 0x5c, 0xe5, 0xb8, 0xd2, 0xe0, 0xe6, 0x1f, 0xc2, 0x70, 0xaa, - 0xb9, 0xa7, 0xbe, 0xe1, 0x2c, 0x29, 0x3e, 0xee, 0x6a, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfc, - 0xba, 0x11, 0x1e, 0x91, 0x0a, 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 - -// TxAPIClient is the client API for TxAPI service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TxAPIClient interface { - // Requests creation of a transfer. - // Returns a CreateTransferResponse. - CreateTransfer(ctx context.Context, in *CreateTransferRequest, opts ...grpc.CallOption) (*CreateTransferResponse, error) - // Requests a transfer status. - GetTransferStatus(ctx context.Context, in *GetTransferStatusRequest, opts ...grpc.CallOption) (*GetTransferStatusResponse, error) - // Requests to cancel a transfer. - CancelTransfer(ctx context.Context, in *CancelTransferRequest, opts ...grpc.CallOption) (*CancelTransferResponse, error) - // Requests a list of transfers received by the authenticated principle. - // If a filter is specified, only transfers satisfying the filter MUST be returned. - ListTransfers(ctx context.Context, in *ListTransfersRequest, opts ...grpc.CallOption) (*ListTransfersResponse, error) - // Requests retrying a transfer. - RetryTransfer(ctx context.Context, in *RetryTransferRequest, opts ...grpc.CallOption) (*RetryTransferResponse, error) -} - -type txAPIClient struct { - cc *grpc.ClientConn -} - -func NewTxAPIClient(cc *grpc.ClientConn) TxAPIClient { - return &txAPIClient{cc} -} - -func (c *txAPIClient) CreateTransfer(ctx context.Context, in *CreateTransferRequest, opts ...grpc.CallOption) (*CreateTransferResponse, error) { - out := new(CreateTransferResponse) - err := c.cc.Invoke(ctx, "/cs3.tx.v1beta1.TxAPI/CreateTransfer", in, out, opts...) - if err != nil { - return nil, err +func (x *RetryTransferResponse) GetOpaque() *v1beta11.Opaque { + if x != nil { + return x.Opaque } - return out, nil + return nil } -func (c *txAPIClient) GetTransferStatus(ctx context.Context, in *GetTransferStatusRequest, opts ...grpc.CallOption) (*GetTransferStatusResponse, error) { - out := new(GetTransferStatusResponse) - err := c.cc.Invoke(ctx, "/cs3.tx.v1beta1.TxAPI/GetTransferStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// REQUIRED. +// Represents a filter to apply to the request. +type ListTransfersRequest_Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // REQUIRED. + Type ListTransfersRequest_Filter_Type `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.tx.v1beta1.ListTransfersRequest_Filter_Type" json:"type,omitempty"` + // REQUIRED. + // + // Types that are assignable to Term: + // + // *ListTransfersRequest_Filter_Status + // *ListTransfersRequest_Filter_ShareId + // *ListTransfersRequest_Filter_TxId + Term isListTransfersRequest_Filter_Term `protobuf_oneof:"term"` } -func (c *txAPIClient) CancelTransfer(ctx context.Context, in *CancelTransferRequest, opts ...grpc.CallOption) (*CancelTransferResponse, error) { - out := new(CancelTransferResponse) - err := c.cc.Invoke(ctx, "/cs3.tx.v1beta1.TxAPI/CancelTransfer", in, out, opts...) - if err != nil { - return nil, err +func (x *ListTransfersRequest_Filter) Reset() { + *x = ListTransfersRequest_Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -func (c *txAPIClient) ListTransfers(ctx context.Context, in *ListTransfersRequest, opts ...grpc.CallOption) (*ListTransfersResponse, error) { - out := new(ListTransfersResponse) - err := c.cc.Invoke(ctx, "/cs3.tx.v1beta1.TxAPI/ListTransfers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (x *ListTransfersRequest_Filter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *txAPIClient) RetryTransfer(ctx context.Context, in *RetryTransferRequest, opts ...grpc.CallOption) (*RetryTransferResponse, error) { - out := new(RetryTransferResponse) - err := c.cc.Invoke(ctx, "/cs3.tx.v1beta1.TxAPI/RetryTransfer", in, out, opts...) - if err != nil { - return nil, err +func (*ListTransfersRequest_Filter) ProtoMessage() {} + +func (x *ListTransfersRequest_Filter) ProtoReflect() protoreflect.Message { + mi := &file_cs3_tx_v1beta1_tx_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return out, nil + return mi.MessageOf(x) } -// TxAPIServer is the server API for TxAPI service. -type TxAPIServer interface { - // Requests creation of a transfer. - // Returns a CreateTransferResponse. - CreateTransfer(context.Context, *CreateTransferRequest) (*CreateTransferResponse, error) - // Requests a transfer status. - GetTransferStatus(context.Context, *GetTransferStatusRequest) (*GetTransferStatusResponse, error) - // Requests to cancel a transfer. - CancelTransfer(context.Context, *CancelTransferRequest) (*CancelTransferResponse, error) - // Requests a list of transfers received by the authenticated principle. - // If a filter is specified, only transfers satisfying the filter MUST be returned. - ListTransfers(context.Context, *ListTransfersRequest) (*ListTransfersResponse, error) - // Requests retrying a transfer. - RetryTransfer(context.Context, *RetryTransferRequest) (*RetryTransferResponse, error) +// Deprecated: Use ListTransfersRequest_Filter.ProtoReflect.Descriptor instead. +func (*ListTransfersRequest_Filter) Descriptor() ([]byte, []int) { + return file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP(), []int{6, 0} } -// UnimplementedTxAPIServer can be embedded to have forward compatible implementations. -type UnimplementedTxAPIServer struct { +func (x *ListTransfersRequest_Filter) GetType() ListTransfersRequest_Filter_Type { + if x != nil { + return x.Type + } + return ListTransfersRequest_Filter_TYPE_INVALID } -func (*UnimplementedTxAPIServer) CreateTransfer(ctx context.Context, req *CreateTransferRequest) (*CreateTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTransfer not implemented") -} -func (*UnimplementedTxAPIServer) GetTransferStatus(ctx context.Context, req *GetTransferStatusRequest) (*GetTransferStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransferStatus not implemented") -} -func (*UnimplementedTxAPIServer) CancelTransfer(ctx context.Context, req *CancelTransferRequest) (*CancelTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelTransfer not implemented") -} -func (*UnimplementedTxAPIServer) ListTransfers(ctx context.Context, req *ListTransfersRequest) (*ListTransfersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTransfers not implemented") -} -func (*UnimplementedTxAPIServer) RetryTransfer(ctx context.Context, req *RetryTransferRequest) (*RetryTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RetryTransfer not implemented") +func (m *ListTransfersRequest_Filter) GetTerm() isListTransfersRequest_Filter_Term { + if m != nil { + return m.Term + } + return nil } -func RegisterTxAPIServer(s *grpc.Server, srv TxAPIServer) { - s.RegisterService(&_TxAPI_serviceDesc, srv) +func (x *ListTransfersRequest_Filter) GetStatus() Status { + if x, ok := x.GetTerm().(*ListTransfersRequest_Filter_Status); ok { + return x.Status + } + return Status_STATUS_INVALID } -func _TxAPI_CreateTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTransferRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TxAPIServer).CreateTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.tx.v1beta1.TxAPI/CreateTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TxAPIServer).CreateTransfer(ctx, req.(*CreateTransferRequest)) +func (x *ListTransfersRequest_Filter) GetShareId() *v1beta1.ShareId { + if x, ok := x.GetTerm().(*ListTransfersRequest_Filter_ShareId); ok { + return x.ShareId } - return interceptor(ctx, in, info, handler) + return nil } -func _TxAPI_GetTransferStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTransferStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TxAPIServer).GetTransferStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.tx.v1beta1.TxAPI/GetTransferStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TxAPIServer).GetTransferStatus(ctx, req.(*GetTransferStatusRequest)) +func (x *ListTransfersRequest_Filter) GetTxId() *TxId { + if x, ok := x.GetTerm().(*ListTransfersRequest_Filter_TxId); ok { + return x.TxId } - return interceptor(ctx, in, info, handler) + return nil } -func _TxAPI_CancelTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelTransferRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TxAPIServer).CancelTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.tx.v1beta1.TxAPI/CancelTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TxAPIServer).CancelTransfer(ctx, req.(*CancelTransferRequest)) - } - return interceptor(ctx, in, info, handler) +type isListTransfersRequest_Filter_Term interface { + isListTransfersRequest_Filter_Term() } -func _TxAPI_ListTransfers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTransfersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TxAPIServer).ListTransfers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.tx.v1beta1.TxAPI/ListTransfers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TxAPIServer).ListTransfers(ctx, req.(*ListTransfersRequest)) - } - return interceptor(ctx, in, info, handler) +type ListTransfersRequest_Filter_Status struct { + Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=cs3.tx.v1beta1.Status,oneof"` } -func _TxAPI_RetryTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RetryTransferRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TxAPIServer).RetryTransfer(ctx, in) +type ListTransfersRequest_Filter_ShareId struct { + ShareId *v1beta1.ShareId `protobuf:"bytes,3,opt,name=share_id,json=shareId,proto3,oneof"` +} + +type ListTransfersRequest_Filter_TxId struct { + TxId *TxId `protobuf:"bytes,4,opt,name=tx_id,json=txId,proto3,oneof"` +} + +func (*ListTransfersRequest_Filter_Status) isListTransfersRequest_Filter_Term() {} + +func (*ListTransfersRequest_Filter_ShareId) isListTransfersRequest_Filter_Term() {} + +func (*ListTransfersRequest_Filter_TxId) isListTransfersRequest_Filter_Term() {} + +var File_cs3_tx_v1beta1_tx_api_proto protoreflect.FileDescriptor + +var file_cs3_tx_v1beta1_tx_api_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x78, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x74, 0x78, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x63, + 0x73, 0x33, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x73, 0x33, + 0x2f, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x63, 0x6d, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x78, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, + 0x0e, 0x73, 0x72, 0x63, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x72, 0x63, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x55, 0x72, 0x69, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, + 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x72, 0x69, 0x12, 0x3b, 0x0a, 0x08, 0x73, + 0x68, 0x61, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x52, + 0x07, 0x73, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x16, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x78, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x06, 0x74, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x78, 0x0a, 0x18, 0x47, + 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x78, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x78, 0x49, 0x64, 0x52, 0x04, 0x74, 0x78, + 0x49, 0x64, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x74, + 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x75, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x54, 0x78, 0x49, 0x64, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, + 0xad, 0x01, 0x0a, 0x16, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x74, + 0x78, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x78, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x74, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x06, + 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, + 0xd5, 0x03, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x07, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x73, 0x1a, 0xc2, 0x02, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x44, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6f, 0x63, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, 0x48, 0x00, 0x52, 0x07, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x05, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x78, 0x49, 0x64, 0x48, 0x00, 0x52, 0x04, 0x74, 0x78, 0x49, + 0x64, 0x22, 0x4c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x49, 0x44, 0x10, 0x02, 0x12, + 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x58, 0x5f, 0x49, 0x44, 0x10, 0x03, 0x42, + 0x06, 0x0a, 0x04, 0x74, 0x65, 0x72, 0x6d, 0x22, 0xb1, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x12, 0x31, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, + 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, + 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x22, 0x74, 0x0a, 0x14, 0x52, + 0x65, 0x74, 0x72, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x54, 0x78, 0x49, 0x64, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64, 0x12, 0x31, + 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, + 0x65, 0x22, 0xac, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x74, 0x72, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x0a, 0x07, + 0x74, 0x78, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, + 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x74, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, + 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, + 0x32, 0xef, 0x03, 0x0a, 0x05, 0x54, 0x78, 0x41, 0x50, 0x49, 0x12, 0x5f, 0x0a, 0x0e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x63, + 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x11, 0x47, + 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x28, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, + 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0d, 0x52, 0x65, 0x74, 0x72, 0x79, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x73, + 0x33, 0x2e, 0x74, 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, + 0x72, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x42, 0xb1, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, + 0x78, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x54, 0x78, 0x41, 0x70, 0x69, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, + 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x78, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x3b, 0x74, 0x78, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, + 0x03, 0x43, 0x54, 0x58, 0xaa, 0x02, 0x0e, 0x43, 0x73, 0x33, 0x2e, 0x54, 0x78, 0x2e, 0x56, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x0e, 0x43, 0x73, 0x33, 0x5c, 0x54, 0x78, 0x5c, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1a, 0x43, 0x73, 0x33, 0x5c, 0x54, 0x78, 0x5c, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x43, 0x73, 0x33, 0x3a, 0x3a, 0x54, 0x78, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_tx_v1beta1_tx_api_proto_rawDescOnce sync.Once + file_cs3_tx_v1beta1_tx_api_proto_rawDescData = file_cs3_tx_v1beta1_tx_api_proto_rawDesc +) + +func file_cs3_tx_v1beta1_tx_api_proto_rawDescGZIP() []byte { + file_cs3_tx_v1beta1_tx_api_proto_rawDescOnce.Do(func() { + file_cs3_tx_v1beta1_tx_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_tx_v1beta1_tx_api_proto_rawDescData) + }) + return file_cs3_tx_v1beta1_tx_api_proto_rawDescData +} + +var file_cs3_tx_v1beta1_tx_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cs3_tx_v1beta1_tx_api_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_cs3_tx_v1beta1_tx_api_proto_goTypes = []interface{}{ + (ListTransfersRequest_Filter_Type)(0), // 0: cs3.tx.v1beta1.ListTransfersRequest.Filter.Type + (*CreateTransferRequest)(nil), // 1: cs3.tx.v1beta1.CreateTransferRequest + (*CreateTransferResponse)(nil), // 2: cs3.tx.v1beta1.CreateTransferResponse + (*GetTransferStatusRequest)(nil), // 3: cs3.tx.v1beta1.GetTransferStatusRequest + (*GetTransferStatusResponse)(nil), // 4: cs3.tx.v1beta1.GetTransferStatusResponse + (*CancelTransferRequest)(nil), // 5: cs3.tx.v1beta1.CancelTransferRequest + (*CancelTransferResponse)(nil), // 6: cs3.tx.v1beta1.CancelTransferResponse + (*ListTransfersRequest)(nil), // 7: cs3.tx.v1beta1.ListTransfersRequest + (*ListTransfersResponse)(nil), // 8: cs3.tx.v1beta1.ListTransfersResponse + (*RetryTransferRequest)(nil), // 9: cs3.tx.v1beta1.RetryTransferRequest + (*RetryTransferResponse)(nil), // 10: cs3.tx.v1beta1.RetryTransferResponse + (*ListTransfersRequest_Filter)(nil), // 11: cs3.tx.v1beta1.ListTransfersRequest.Filter + (*v1beta1.ShareId)(nil), // 12: cs3.sharing.ocm.v1beta1.ShareId + (*v1beta11.Opaque)(nil), // 13: cs3.types.v1beta1.Opaque + (*v1beta12.Status)(nil), // 14: cs3.rpc.v1beta1.Status + (*TxInfo)(nil), // 15: cs3.tx.v1beta1.TxInfo + (*TxId)(nil), // 16: cs3.tx.v1beta1.TxId + (Status)(0), // 17: cs3.tx.v1beta1.Status +} +var file_cs3_tx_v1beta1_tx_api_proto_depIdxs = []int32{ + 12, // 0: cs3.tx.v1beta1.CreateTransferRequest.share_id:type_name -> cs3.sharing.ocm.v1beta1.ShareId + 13, // 1: cs3.tx.v1beta1.CreateTransferRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 2: cs3.tx.v1beta1.CreateTransferResponse.status:type_name -> cs3.rpc.v1beta1.Status + 15, // 3: cs3.tx.v1beta1.CreateTransferResponse.tx_info:type_name -> cs3.tx.v1beta1.TxInfo + 13, // 4: cs3.tx.v1beta1.CreateTransferResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 5: cs3.tx.v1beta1.GetTransferStatusRequest.tx_id:type_name -> cs3.tx.v1beta1.TxId + 13, // 6: cs3.tx.v1beta1.GetTransferStatusRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 7: cs3.tx.v1beta1.GetTransferStatusResponse.status:type_name -> cs3.rpc.v1beta1.Status + 15, // 8: cs3.tx.v1beta1.GetTransferStatusResponse.tx_info:type_name -> cs3.tx.v1beta1.TxInfo + 13, // 9: cs3.tx.v1beta1.GetTransferStatusResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 10: cs3.tx.v1beta1.CancelTransferRequest.tx_id:type_name -> cs3.tx.v1beta1.TxId + 13, // 11: cs3.tx.v1beta1.CancelTransferRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 12: cs3.tx.v1beta1.CancelTransferResponse.status:type_name -> cs3.rpc.v1beta1.Status + 15, // 13: cs3.tx.v1beta1.CancelTransferResponse.tx_info:type_name -> cs3.tx.v1beta1.TxInfo + 13, // 14: cs3.tx.v1beta1.CancelTransferResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 13, // 15: cs3.tx.v1beta1.ListTransfersRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 11, // 16: cs3.tx.v1beta1.ListTransfersRequest.filters:type_name -> cs3.tx.v1beta1.ListTransfersRequest.Filter + 14, // 17: cs3.tx.v1beta1.ListTransfersResponse.status:type_name -> cs3.rpc.v1beta1.Status + 15, // 18: cs3.tx.v1beta1.ListTransfersResponse.transfers:type_name -> cs3.tx.v1beta1.TxInfo + 13, // 19: cs3.tx.v1beta1.ListTransfersResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 16, // 20: cs3.tx.v1beta1.RetryTransferRequest.tx_id:type_name -> cs3.tx.v1beta1.TxId + 13, // 21: cs3.tx.v1beta1.RetryTransferRequest.opaque:type_name -> cs3.types.v1beta1.Opaque + 14, // 22: cs3.tx.v1beta1.RetryTransferResponse.status:type_name -> cs3.rpc.v1beta1.Status + 15, // 23: cs3.tx.v1beta1.RetryTransferResponse.tx_info:type_name -> cs3.tx.v1beta1.TxInfo + 13, // 24: cs3.tx.v1beta1.RetryTransferResponse.opaque:type_name -> cs3.types.v1beta1.Opaque + 0, // 25: cs3.tx.v1beta1.ListTransfersRequest.Filter.type:type_name -> cs3.tx.v1beta1.ListTransfersRequest.Filter.Type + 17, // 26: cs3.tx.v1beta1.ListTransfersRequest.Filter.status:type_name -> cs3.tx.v1beta1.Status + 12, // 27: cs3.tx.v1beta1.ListTransfersRequest.Filter.share_id:type_name -> cs3.sharing.ocm.v1beta1.ShareId + 16, // 28: cs3.tx.v1beta1.ListTransfersRequest.Filter.tx_id:type_name -> cs3.tx.v1beta1.TxId + 1, // 29: cs3.tx.v1beta1.TxAPI.CreateTransfer:input_type -> cs3.tx.v1beta1.CreateTransferRequest + 3, // 30: cs3.tx.v1beta1.TxAPI.GetTransferStatus:input_type -> cs3.tx.v1beta1.GetTransferStatusRequest + 5, // 31: cs3.tx.v1beta1.TxAPI.CancelTransfer:input_type -> cs3.tx.v1beta1.CancelTransferRequest + 7, // 32: cs3.tx.v1beta1.TxAPI.ListTransfers:input_type -> cs3.tx.v1beta1.ListTransfersRequest + 9, // 33: cs3.tx.v1beta1.TxAPI.RetryTransfer:input_type -> cs3.tx.v1beta1.RetryTransferRequest + 2, // 34: cs3.tx.v1beta1.TxAPI.CreateTransfer:output_type -> cs3.tx.v1beta1.CreateTransferResponse + 4, // 35: cs3.tx.v1beta1.TxAPI.GetTransferStatus:output_type -> cs3.tx.v1beta1.GetTransferStatusResponse + 6, // 36: cs3.tx.v1beta1.TxAPI.CancelTransfer:output_type -> cs3.tx.v1beta1.CancelTransferResponse + 8, // 37: cs3.tx.v1beta1.TxAPI.ListTransfers:output_type -> cs3.tx.v1beta1.ListTransfersResponse + 10, // 38: cs3.tx.v1beta1.TxAPI.RetryTransfer:output_type -> cs3.tx.v1beta1.RetryTransferResponse + 34, // [34:39] is the sub-list for method output_type + 29, // [29:34] is the sub-list for method input_type + 29, // [29:29] is the sub-list for extension type_name + 29, // [29:29] is the sub-list for extension extendee + 0, // [0:29] is the sub-list for field type_name +} + +func init() { file_cs3_tx_v1beta1_tx_api_proto_init() } +func file_cs3_tx_v1beta1_tx_api_proto_init() { + if File_cs3_tx_v1beta1_tx_api_proto != nil { + return } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cs3.tx.v1beta1.TxAPI/RetryTransfer", + file_cs3_tx_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTransferRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTransferResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTransferStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTransferStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelTransferRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelTransferResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTransfersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTransfersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RetryTransferRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RetryTransferResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTransfersRequest_Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TxAPIServer).RetryTransfer(ctx, req.(*RetryTransferRequest)) + file_cs3_tx_v1beta1_tx_api_proto_msgTypes[10].OneofWrappers = []interface{}{ + (*ListTransfersRequest_Filter_Status)(nil), + (*ListTransfersRequest_Filter_ShareId)(nil), + (*ListTransfersRequest_Filter_TxId)(nil), } - return interceptor(ctx, in, info, handler) -} - -var _TxAPI_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cs3.tx.v1beta1.TxAPI", - HandlerType: (*TxAPIServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTransfer", - Handler: _TxAPI_CreateTransfer_Handler, - }, - { - MethodName: "GetTransferStatus", - Handler: _TxAPI_GetTransferStatus_Handler, - }, - { - MethodName: "CancelTransfer", - Handler: _TxAPI_CancelTransfer_Handler, - }, - { - MethodName: "ListTransfers", - Handler: _TxAPI_ListTransfers_Handler, - }, - { - MethodName: "RetryTransfer", - Handler: _TxAPI_RetryTransfer_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_tx_v1beta1_tx_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 11, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cs3/tx/v1beta1/tx_api.proto", + GoTypes: file_cs3_tx_v1beta1_tx_api_proto_goTypes, + DependencyIndexes: file_cs3_tx_v1beta1_tx_api_proto_depIdxs, + EnumInfos: file_cs3_tx_v1beta1_tx_api_proto_enumTypes, + MessageInfos: file_cs3_tx_v1beta1_tx_api_proto_msgTypes, + }.Build() + File_cs3_tx_v1beta1_tx_api_proto = out.File + file_cs3_tx_v1beta1_tx_api_proto_rawDesc = nil + file_cs3_tx_v1beta1_tx_api_proto_goTypes = nil + file_cs3_tx_v1beta1_tx_api_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/tx_api_grpc.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/tx_api_grpc.pb.go new file mode 100644 index 00000000000..0c54257ae11 --- /dev/null +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/tx/v1beta1/tx_api_grpc.pb.go @@ -0,0 +1,287 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cs3/tx/v1beta1/tx_api.proto + +package txv1beta1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + TxAPI_CreateTransfer_FullMethodName = "/cs3.tx.v1beta1.TxAPI/CreateTransfer" + TxAPI_GetTransferStatus_FullMethodName = "/cs3.tx.v1beta1.TxAPI/GetTransferStatus" + TxAPI_CancelTransfer_FullMethodName = "/cs3.tx.v1beta1.TxAPI/CancelTransfer" + TxAPI_ListTransfers_FullMethodName = "/cs3.tx.v1beta1.TxAPI/ListTransfers" + TxAPI_RetryTransfer_FullMethodName = "/cs3.tx.v1beta1.TxAPI/RetryTransfer" +) + +// TxAPIClient is the client API for TxAPI service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type TxAPIClient interface { + // Requests creation of a transfer. + // Returns a CreateTransferResponse. + CreateTransfer(ctx context.Context, in *CreateTransferRequest, opts ...grpc.CallOption) (*CreateTransferResponse, error) + // Requests a transfer status. + GetTransferStatus(ctx context.Context, in *GetTransferStatusRequest, opts ...grpc.CallOption) (*GetTransferStatusResponse, error) + // Requests to cancel a transfer. + CancelTransfer(ctx context.Context, in *CancelTransferRequest, opts ...grpc.CallOption) (*CancelTransferResponse, error) + // Requests a list of transfers received by the authenticated principle. + // If a filter is specified, only transfers satisfying the filter MUST be returned. + ListTransfers(ctx context.Context, in *ListTransfersRequest, opts ...grpc.CallOption) (*ListTransfersResponse, error) + // Requests retrying a transfer. + RetryTransfer(ctx context.Context, in *RetryTransferRequest, opts ...grpc.CallOption) (*RetryTransferResponse, error) +} + +type txAPIClient struct { + cc grpc.ClientConnInterface +} + +func NewTxAPIClient(cc grpc.ClientConnInterface) TxAPIClient { + return &txAPIClient{cc} +} + +func (c *txAPIClient) CreateTransfer(ctx context.Context, in *CreateTransferRequest, opts ...grpc.CallOption) (*CreateTransferResponse, error) { + out := new(CreateTransferResponse) + err := c.cc.Invoke(ctx, TxAPI_CreateTransfer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *txAPIClient) GetTransferStatus(ctx context.Context, in *GetTransferStatusRequest, opts ...grpc.CallOption) (*GetTransferStatusResponse, error) { + out := new(GetTransferStatusResponse) + err := c.cc.Invoke(ctx, TxAPI_GetTransferStatus_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *txAPIClient) CancelTransfer(ctx context.Context, in *CancelTransferRequest, opts ...grpc.CallOption) (*CancelTransferResponse, error) { + out := new(CancelTransferResponse) + err := c.cc.Invoke(ctx, TxAPI_CancelTransfer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *txAPIClient) ListTransfers(ctx context.Context, in *ListTransfersRequest, opts ...grpc.CallOption) (*ListTransfersResponse, error) { + out := new(ListTransfersResponse) + err := c.cc.Invoke(ctx, TxAPI_ListTransfers_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *txAPIClient) RetryTransfer(ctx context.Context, in *RetryTransferRequest, opts ...grpc.CallOption) (*RetryTransferResponse, error) { + out := new(RetryTransferResponse) + err := c.cc.Invoke(ctx, TxAPI_RetryTransfer_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// TxAPIServer is the server API for TxAPI service. +// All implementations should embed UnimplementedTxAPIServer +// for forward compatibility +type TxAPIServer interface { + // Requests creation of a transfer. + // Returns a CreateTransferResponse. + CreateTransfer(context.Context, *CreateTransferRequest) (*CreateTransferResponse, error) + // Requests a transfer status. + GetTransferStatus(context.Context, *GetTransferStatusRequest) (*GetTransferStatusResponse, error) + // Requests to cancel a transfer. + CancelTransfer(context.Context, *CancelTransferRequest) (*CancelTransferResponse, error) + // Requests a list of transfers received by the authenticated principle. + // If a filter is specified, only transfers satisfying the filter MUST be returned. + ListTransfers(context.Context, *ListTransfersRequest) (*ListTransfersResponse, error) + // Requests retrying a transfer. + RetryTransfer(context.Context, *RetryTransferRequest) (*RetryTransferResponse, error) +} + +// UnimplementedTxAPIServer should be embedded to have forward compatible implementations. +type UnimplementedTxAPIServer struct { +} + +func (UnimplementedTxAPIServer) CreateTransfer(context.Context, *CreateTransferRequest) (*CreateTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTransfer not implemented") +} +func (UnimplementedTxAPIServer) GetTransferStatus(context.Context, *GetTransferStatusRequest) (*GetTransferStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransferStatus not implemented") +} +func (UnimplementedTxAPIServer) CancelTransfer(context.Context, *CancelTransferRequest) (*CancelTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CancelTransfer not implemented") +} +func (UnimplementedTxAPIServer) ListTransfers(context.Context, *ListTransfersRequest) (*ListTransfersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListTransfers not implemented") +} +func (UnimplementedTxAPIServer) RetryTransfer(context.Context, *RetryTransferRequest) (*RetryTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RetryTransfer not implemented") +} + +// UnsafeTxAPIServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to TxAPIServer will +// result in compilation errors. +type UnsafeTxAPIServer interface { + mustEmbedUnimplementedTxAPIServer() +} + +func RegisterTxAPIServer(s grpc.ServiceRegistrar, srv TxAPIServer) { + s.RegisterService(&TxAPI_ServiceDesc, srv) +} + +func _TxAPI_CreateTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTransferRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TxAPIServer).CreateTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: TxAPI_CreateTransfer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TxAPIServer).CreateTransfer(ctx, req.(*CreateTransferRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TxAPI_GetTransferStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTransferStatusRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TxAPIServer).GetTransferStatus(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: TxAPI_GetTransferStatus_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TxAPIServer).GetTransferStatus(ctx, req.(*GetTransferStatusRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TxAPI_CancelTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CancelTransferRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TxAPIServer).CancelTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: TxAPI_CancelTransfer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TxAPIServer).CancelTransfer(ctx, req.(*CancelTransferRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TxAPI_ListTransfers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListTransfersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TxAPIServer).ListTransfers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: TxAPI_ListTransfers_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TxAPIServer).ListTransfers(ctx, req.(*ListTransfersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TxAPI_RetryTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RetryTransferRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TxAPIServer).RetryTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: TxAPI_RetryTransfer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TxAPIServer).RetryTransfer(ctx, req.(*RetryTransferRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// TxAPI_ServiceDesc is the grpc.ServiceDesc for TxAPI service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var TxAPI_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "cs3.tx.v1beta1.TxAPI", + HandlerType: (*TxAPIServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateTransfer", + Handler: _TxAPI_CreateTransfer_Handler, + }, + { + MethodName: "GetTransferStatus", + Handler: _TxAPI_GetTransferStatus_Handler, + }, + { + MethodName: "CancelTransfer", + Handler: _TxAPI_CancelTransfer_Handler, + }, + { + MethodName: "ListTransfers", + Handler: _TxAPI_ListTransfers_Handler, + }, + { + MethodName: "RetryTransfer", + Handler: _TxAPI_RetryTransfer_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cs3/tx/v1beta1/tx_api.proto", +} diff --git a/vendor/github.com/cs3org/go-cs3apis/cs3/types/v1beta1/types.pb.go b/vendor/github.com/cs3org/go-cs3apis/cs3/types/v1beta1/types.pb.go index 6d442e394e5..77b4d18b24d 100644 --- a/vendor/github.com/cs3org/go-cs3apis/cs3/types/v1beta1/types.pb.go +++ b/vendor/github.com/cs3org/go-cs3apis/cs3/types/v1beta1/types.pb.go @@ -1,24 +1,42 @@ +// Copyright 2018-2019 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) // source: cs3/types/v1beta1/types.proto package typesv1beta1 import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // Opaque represents opaque information // in a form on a map. @@ -26,41 +44,49 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // use this message to include filesystem // extended attributes. type Opaque struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. - Map map[string]*OpaqueEntry `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Map map[string]*OpaqueEntry `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Opaque) Reset() { *m = Opaque{} } -func (m *Opaque) String() string { return proto.CompactTextString(m) } -func (*Opaque) ProtoMessage() {} -func (*Opaque) Descriptor() ([]byte, []int) { - return fileDescriptor_96c094046ef70f69, []int{0} +func (x *Opaque) Reset() { + *x = Opaque{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_types_v1beta1_types_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Opaque) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Opaque.Unmarshal(m, b) -} -func (m *Opaque) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Opaque.Marshal(b, m, deterministic) -} -func (m *Opaque) XXX_Merge(src proto.Message) { - xxx_messageInfo_Opaque.Merge(m, src) -} -func (m *Opaque) XXX_Size() int { - return xxx_messageInfo_Opaque.Size(m) +func (x *Opaque) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Opaque) XXX_DiscardUnknown() { - xxx_messageInfo_Opaque.DiscardUnknown(m) + +func (*Opaque) ProtoMessage() {} + +func (x *Opaque) ProtoReflect() protoreflect.Message { + mi := &file_cs3_types_v1beta1_types_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) } -var xxx_messageInfo_Opaque proto.InternalMessageInfo +// Deprecated: Use Opaque.ProtoReflect.Descriptor instead. +func (*Opaque) Descriptor() ([]byte, []int) { + return file_cs3_types_v1beta1_types_proto_rawDescGZIP(), []int{0} +} -func (m *Opaque) GetMap() map[string]*OpaqueEntry { - if m != nil { - return m.Map +func (x *Opaque) GetMap() map[string]*OpaqueEntry { + if x != nil { + return x.Map } return nil } @@ -68,53 +94,61 @@ func (m *Opaque) GetMap() map[string]*OpaqueEntry { // OpaqueEntry represents the encoded // opaque value. type OpaqueEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // REQUIRED. // The decoder to use: json, xml, toml, ... // TODO(labkode): make encoder a fixed set using a enum type? Decoder string `protobuf:"bytes,1,opt,name=decoder,proto3" json:"decoder,omitempty"` // REQUIRED. // The encoded value. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *OpaqueEntry) Reset() { *m = OpaqueEntry{} } -func (m *OpaqueEntry) String() string { return proto.CompactTextString(m) } -func (*OpaqueEntry) ProtoMessage() {} -func (*OpaqueEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_96c094046ef70f69, []int{1} +func (x *OpaqueEntry) Reset() { + *x = OpaqueEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_types_v1beta1_types_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OpaqueEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OpaqueEntry.Unmarshal(m, b) -} -func (m *OpaqueEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OpaqueEntry.Marshal(b, m, deterministic) -} -func (m *OpaqueEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_OpaqueEntry.Merge(m, src) +func (x *OpaqueEntry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OpaqueEntry) XXX_Size() int { - return xxx_messageInfo_OpaqueEntry.Size(m) -} -func (m *OpaqueEntry) XXX_DiscardUnknown() { - xxx_messageInfo_OpaqueEntry.DiscardUnknown(m) + +func (*OpaqueEntry) ProtoMessage() {} + +func (x *OpaqueEntry) ProtoReflect() protoreflect.Message { + mi := &file_cs3_types_v1beta1_types_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) } -var xxx_messageInfo_OpaqueEntry proto.InternalMessageInfo +// Deprecated: Use OpaqueEntry.ProtoReflect.Descriptor instead. +func (*OpaqueEntry) Descriptor() ([]byte, []int) { + return file_cs3_types_v1beta1_types_proto_rawDescGZIP(), []int{1} +} -func (m *OpaqueEntry) GetDecoder() string { - if m != nil { - return m.Decoder +func (x *OpaqueEntry) GetDecoder() string { + if x != nil { + return x.Decoder } return "" } -func (m *OpaqueEntry) GetValue() []byte { - if m != nil { - return m.Value +func (x *OpaqueEntry) GetValue() []byte { + if x != nil { + return x.Value } return nil } @@ -130,6 +164,10 @@ func (m *OpaqueEntry) GetValue() []byte { // Restricting to this range ensures the conversion from and to [RFC // 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. type Timestamp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. @@ -139,78 +177,182 @@ type Timestamp struct { // that count forward in time. // Value MUST be from 0 to 999,999,999 // inclusive. - Nanos uint32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Nanos uint32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` } -func (m *Timestamp) Reset() { *m = Timestamp{} } -func (m *Timestamp) String() string { return proto.CompactTextString(m) } -func (*Timestamp) ProtoMessage() {} -func (*Timestamp) Descriptor() ([]byte, []int) { - return fileDescriptor_96c094046ef70f69, []int{2} +func (x *Timestamp) Reset() { + *x = Timestamp{} + if protoimpl.UnsafeEnabled { + mi := &file_cs3_types_v1beta1_types_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Timestamp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Timestamp.Unmarshal(m, b) -} -func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Timestamp.Marshal(b, m, deterministic) +func (x *Timestamp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Timestamp) XXX_Merge(src proto.Message) { - xxx_messageInfo_Timestamp.Merge(m, src) -} -func (m *Timestamp) XXX_Size() int { - return xxx_messageInfo_Timestamp.Size(m) -} -func (m *Timestamp) XXX_DiscardUnknown() { - xxx_messageInfo_Timestamp.DiscardUnknown(m) + +func (*Timestamp) ProtoMessage() {} + +func (x *Timestamp) ProtoReflect() protoreflect.Message { + mi := &file_cs3_types_v1beta1_types_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) } -var xxx_messageInfo_Timestamp proto.InternalMessageInfo +// Deprecated: Use Timestamp.ProtoReflect.Descriptor instead. +func (*Timestamp) Descriptor() ([]byte, []int) { + return file_cs3_types_v1beta1_types_proto_rawDescGZIP(), []int{2} +} -func (m *Timestamp) GetSeconds() uint64 { - if m != nil { - return m.Seconds +func (x *Timestamp) GetSeconds() uint64 { + if x != nil { + return x.Seconds } return 0 } -func (m *Timestamp) GetNanos() uint32 { - if m != nil { - return m.Nanos +func (x *Timestamp) GetNanos() uint32 { + if x != nil { + return x.Nanos } return 0 } -func init() { - proto.RegisterType((*Opaque)(nil), "cs3.types.v1beta1.Opaque") - proto.RegisterMapType((map[string]*OpaqueEntry)(nil), "cs3.types.v1beta1.Opaque.MapEntry") - proto.RegisterType((*OpaqueEntry)(nil), "cs3.types.v1beta1.OpaqueEntry") - proto.RegisterType((*Timestamp)(nil), "cs3.types.v1beta1.Timestamp") -} - -func init() { proto.RegisterFile("cs3/types/v1beta1/types.proto", fileDescriptor_96c094046ef70f69) } - -var fileDescriptor_96c094046ef70f69 = []byte{ - // 283 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0x2e, 0x36, 0xd6, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0x84, 0xf0, 0xf4, - 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x04, 0x93, 0x8b, 0x8d, 0xf5, 0x20, 0x02, 0x50, 0x69, 0xa5, - 0x69, 0x8c, 0x5c, 0x6c, 0xfe, 0x05, 0x89, 0x85, 0xa5, 0xa9, 0x42, 0x26, 0x5c, 0xcc, 0xb9, 0x89, - 0x05, 0x12, 0x8c, 0x0a, 0xcc, 0x1a, 0xdc, 0x46, 0x4a, 0x7a, 0x18, 0x6a, 0xf5, 0x20, 0xea, 0xf4, - 0x7c, 0x13, 0x0b, 0x5c, 0xf3, 0x4a, 0x8a, 0x2a, 0x83, 0x40, 0xca, 0xa5, 0xc2, 0xb8, 0x38, 0x60, - 0x02, 0x42, 0x02, 0x5c, 0xcc, 0xd9, 0xa9, 0x95, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x20, - 0xa6, 0x90, 0x09, 0x17, 0x6b, 0x59, 0x62, 0x4e, 0x69, 0xaa, 0x04, 0x93, 0x02, 0xa3, 0x06, 0xb7, - 0x91, 0x1c, 0x4e, 0x53, 0x21, 0x26, 0x42, 0x14, 0x5b, 0x31, 0x59, 0x30, 0x2a, 0xd9, 0x72, 0x71, - 0x23, 0xc9, 0x08, 0x49, 0x70, 0xb1, 0xa7, 0xa4, 0x26, 0xe7, 0xa7, 0xa4, 0x16, 0x41, 0x8d, 0x87, - 0x71, 0x85, 0x44, 0x90, 0xad, 0xe0, 0x81, 0x1a, 0xa1, 0x64, 0xcd, 0xc5, 0x19, 0x92, 0x99, 0x9b, - 0x5a, 0x5c, 0x92, 0x98, 0x5b, 0x00, 0xd2, 0x5c, 0x9c, 0x9a, 0x9c, 0x9f, 0x97, 0x52, 0x0c, 0xd6, - 0xcc, 0x12, 0x04, 0xe3, 0x82, 0x34, 0xe7, 0x25, 0xe6, 0xe5, 0x17, 0x83, 0x35, 0xf3, 0x06, 0x41, - 0x38, 0x4e, 0x89, 0x5c, 0xa2, 0xc9, 0xf9, 0xb9, 0x98, 0x6e, 0x75, 0xe2, 0x0a, 0x01, 0x71, 0x03, - 0x40, 0x81, 0x19, 0xc0, 0x18, 0xc5, 0x03, 0x96, 0x84, 0xca, 0x2d, 0x62, 0x62, 0x76, 0x0e, 0x89, - 0x58, 0xc5, 0x24, 0xe8, 0x5c, 0x6c, 0xac, 0x07, 0x56, 0xa6, 0x17, 0x66, 0xe8, 0x04, 0x92, 0x39, - 0x05, 0x16, 0x8b, 0x01, 0x8b, 0xc5, 0x40, 0xc5, 0x92, 0xd8, 0xc0, 0x31, 0x62, 0x0c, 0x08, 0x00, - 0x00, 0xff, 0xff, 0xdb, 0x97, 0xa5, 0xae, 0xb2, 0x01, 0x00, 0x00, +var File_cs3_types_v1beta1_types_proto protoreflect.FileDescriptor + +var file_cs3_types_v1beta1_types_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x63, 0x73, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x11, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x22, 0x96, 0x01, 0x0a, 0x06, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x34, 0x0a, + 0x03, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x73, 0x33, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, + 0x6d, 0x61, 0x70, 0x1a, 0x56, 0x0a, 0x08, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3d, 0x0a, 0x0b, 0x4f, + 0x70, 0x61, 0x71, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, + 0x63, 0x6f, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x63, + 0x6f, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3b, 0x0a, 0x09, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x42, 0xc6, 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x73, 0x33, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x73, 0x33, 0x6f, + 0x72, 0x67, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x73, 0x33, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x73, + 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, + 0x54, 0x58, 0xaa, 0x02, 0x11, 0x43, 0x73, 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x11, 0x43, 0x73, 0x33, 0x5c, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1d, 0x43, 0x73, 0x33, + 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x43, 0x73, 0x33, + 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cs3_types_v1beta1_types_proto_rawDescOnce sync.Once + file_cs3_types_v1beta1_types_proto_rawDescData = file_cs3_types_v1beta1_types_proto_rawDesc +) + +func file_cs3_types_v1beta1_types_proto_rawDescGZIP() []byte { + file_cs3_types_v1beta1_types_proto_rawDescOnce.Do(func() { + file_cs3_types_v1beta1_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_cs3_types_v1beta1_types_proto_rawDescData) + }) + return file_cs3_types_v1beta1_types_proto_rawDescData +} + +var file_cs3_types_v1beta1_types_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_cs3_types_v1beta1_types_proto_goTypes = []interface{}{ + (*Opaque)(nil), // 0: cs3.types.v1beta1.Opaque + (*OpaqueEntry)(nil), // 1: cs3.types.v1beta1.OpaqueEntry + (*Timestamp)(nil), // 2: cs3.types.v1beta1.Timestamp + nil, // 3: cs3.types.v1beta1.Opaque.MapEntry +} +var file_cs3_types_v1beta1_types_proto_depIdxs = []int32{ + 3, // 0: cs3.types.v1beta1.Opaque.map:type_name -> cs3.types.v1beta1.Opaque.MapEntry + 1, // 1: cs3.types.v1beta1.Opaque.MapEntry.value:type_name -> cs3.types.v1beta1.OpaqueEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_cs3_types_v1beta1_types_proto_init() } +func file_cs3_types_v1beta1_types_proto_init() { + if File_cs3_types_v1beta1_types_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cs3_types_v1beta1_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Opaque); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_types_v1beta1_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpaqueEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cs3_types_v1beta1_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Timestamp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cs3_types_v1beta1_types_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cs3_types_v1beta1_types_proto_goTypes, + DependencyIndexes: file_cs3_types_v1beta1_types_proto_depIdxs, + MessageInfos: file_cs3_types_v1beta1_types_proto_msgTypes, + }.Build() + File_cs3_types_v1beta1_types_proto = out.File + file_cs3_types_v1beta1_types_proto_rawDesc = nil + file_cs3_types_v1beta1_types_proto_goTypes = nil + file_cs3_types_v1beta1_types_proto_depIdxs = nil } diff --git a/vendor/github.com/cs3org/reva/v2/internal/grpc/interceptors/auth/scope.go b/vendor/github.com/cs3org/reva/v2/internal/grpc/interceptors/auth/scope.go index 3fa9e7943f0..fc7fdbf0ff8 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/grpc/interceptors/auth/scope.go +++ b/vendor/github.com/cs3org/reva/v2/internal/grpc/interceptors/auth/scope.go @@ -142,7 +142,7 @@ func resolveLightweightScope(ctx context.Context, ref *provider.Reference, scope } for _, share := range shares.Shares { - shareKey := "lw:" + user.Id.OpaqueId + scopeDelimiter + storagespace.FormatResourceID(*share.Share.ResourceId) + shareKey := "lw:" + user.Id.OpaqueId + scopeDelimiter + storagespace.FormatResourceID(share.Share.ResourceId) _ = scopeExpansionCache.SetWithExpire(shareKey, nil, scopeCacheExpiration*time.Second) if ref.ResourceId != nil && utils.ResourceIDEqual(share.Share.ResourceId, ref.ResourceId) { @@ -229,7 +229,7 @@ func checkRelativeReference(ctx context.Context, requested *provider.Reference, } } - key := storagespace.FormatResourceID(*sharedResourceID) + scopeDelimiter + getRefKey(requested) + key := storagespace.FormatResourceID(sharedResourceID) + scopeDelimiter + getRefKey(requested) _ = scopeExpansionCache.SetWithExpire(key, nil, scopeCacheExpiration*time.Second) return nil } @@ -246,7 +246,7 @@ func resolveUserShare(ctx context.Context, ref *provider.Reference, scope *authp func checkCacheForNestedResource(ctx context.Context, ref *provider.Reference, resource *provider.ResourceId, client gateway.GatewayAPIClient, mgr token.Manager) error { // Check if this ref is cached - key := storagespace.FormatResourceID(*resource) + scopeDelimiter + getRefKey(ref) + key := storagespace.FormatResourceID(resource) + scopeDelimiter + getRefKey(ref) if _, err := scopeExpansionCache.Get(key); err == nil { return nil } @@ -520,7 +520,7 @@ func getRefKey(ref *provider.Reference) string { } if ref.GetResourceId() != nil { - return storagespace.FormatResourceID(*ref.ResourceId) + return storagespace.FormatResourceID(ref.ResourceId) } // on malicious request both path and rid could be empty diff --git a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/authprovider.go b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/authprovider.go index 59214afffea..5f9ced40177 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/authprovider.go +++ b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/authprovider.go @@ -36,6 +36,7 @@ import ( "github.com/cs3org/reva/v2/pkg/sharedconf" "github.com/pkg/errors" "google.golang.org/grpc/metadata" + "google.golang.org/protobuf/proto" ) func (s *svc) Authenticate(ctx context.Context, req *gateway.AuthenticateRequest) (*gateway.AuthenticateResponse, error) { @@ -92,12 +93,12 @@ func (s *svc) Authenticate(ctx context.Context, req *gateway.AuthenticateRequest }, nil } - u := *res.User + u := proto.Clone(res.User).(*userpb.User) if sharedconf.SkipUserGroupsInToken() { u.Groups = []string{} } - token, err := s.tokenmgr.MintToken(ctx, &u, res.TokenScope) + token, err := s.tokenmgr.MintToken(ctx, u, res.TokenScope) if err != nil { err = errors.Wrap(err, "authsvc: error in MintToken") res := &gateway.AuthenticateResponse{ diff --git a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/storageprovider.go b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/storageprovider.go index 1541fff8745..8f508645ba3 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/storageprovider.go +++ b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/storageprovider.go @@ -213,7 +213,7 @@ func (s *svc) CreateStorageSpace(ctx context.Context, req *provider.CreateStorag } // just pick the first provider, we expect only one - c, err := s.getStorageProviderClient(ctx, res.Providers[0]) + c, err := s.getSpacesProviderClient(ctx, res.Providers[0]) if err != nil { return &provider.CreateStorageSpaceResponse{ Status: status.NewStatusFromErrType(ctx, "gateway could not get storage provider client", err), @@ -310,7 +310,7 @@ func (s *svc) ListStorageSpaces(ctx context.Context, req *provider.ListStorageSp func (s *svc) UpdateStorageSpace(ctx context.Context, req *provider.UpdateStorageSpaceRequest) (*provider.UpdateStorageSpaceResponse, error) { // TODO: needs to be fixed ref := &provider.Reference{ResourceId: req.StorageSpace.Root} - c, _, err := s.find(ctx, ref) + c, _, err := s.findSpacesProvider(ctx, ref) if err != nil { return &provider.UpdateStorageSpaceResponse{ Status: status.NewStatusFromErrType(ctx, fmt.Sprintf("gateway could not find reference %+v", ref), err), @@ -347,7 +347,7 @@ func (s *svc) DeleteStorageSpace(ctx context.Context, req *provider.DeleteStorag } ref := &provider.Reference{ResourceId: &rid} - c, _, err := s.find(ctx, ref) + c, _, err := s.findSpacesProvider(ctx, ref) if err != nil { return &provider.DeleteStorageSpaceResponse{ Status: status.NewStatusFromErrType(ctx, fmt.Sprintf("gateway could not find reference %+v", ref), err), @@ -1028,6 +1028,20 @@ func (s *svc) find(ctx context.Context, ref *provider.Reference) (provider.Provi return client, p[0], err } +// findSpacesProvider looks up the provider that is responsible for the given request +// It will return a client that the caller can use to make the call, as well as the ProviderInfo. It: +// - contains the provider path, which is the mount point of the provider +// - may contain a list of storage spaces with their id and space path +func (s *svc) findSpacesProvider(ctx context.Context, ref *provider.Reference) (provider.SpacesAPIClient, *registry.ProviderInfo, error) { + p, err := s.findSpaces(ctx, ref) + if err != nil { + return nil, nil, err + } + + client, err := s.getSpacesProviderClient(ctx, p[0]) + return client, p[0], err +} + func (s *svc) findUnique(ctx context.Context, ref *provider.Reference) (provider.ProviderAPIClient, *registry.ProviderInfo, error) { p, err := s.findSingleSpace(ctx, ref) if err != nil { @@ -1082,6 +1096,18 @@ func (s *svc) findAndUnwrapUnique(ctx context.Context, ref *provider.Reference) return c, p, relativeReference, nil } +func (s *svc) getSpacesProviderClient(_ context.Context, p *registry.ProviderInfo) (provider.SpacesAPIClient, error) { + c, err := pool.GetSpacesProviderServiceClient(p.Address) + if err != nil { + return nil, err + } + + return &cachedSpacesAPIClient{ + c: c, + createPersonalSpaceCache: s.createPersonalSpaceCache, + }, nil +} + func (s *svc) getStorageProviderClient(_ context.Context, p *registry.ProviderInfo) (provider.ProviderAPIClient, error) { c, err := pool.GetStorageProviderServiceClient(p.Address) if err != nil { diff --git a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/storageprovidercache.go b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/storageprovidercache.go index f3db156ec2d..122620bcb32 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/storageprovidercache.go +++ b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/storageprovidercache.go @@ -77,6 +77,50 @@ func (c *cachedRegistryClient) GetHome(ctx context.Context, in *registry.GetHome return c.c.GetHome(ctx, in, opts...) } +/* + Cached Spaces Provider +*/ + +type cachedSpacesAPIClient struct { + c provider.SpacesAPIClient + createPersonalSpaceCache cache.CreatePersonalSpaceCache +} + +// CreateStorageSpace creates a storage space +func (c *cachedSpacesAPIClient) CreateStorageSpace(ctx context.Context, in *provider.CreateStorageSpaceRequest, opts ...grpc.CallOption) (*provider.CreateStorageSpaceResponse, error) { + if in.Type == "personal" { + key := c.createPersonalSpaceCache.GetKey(ctxpkg.ContextMustGetUser(ctx).GetId()) + if key != "" { + s := &provider.CreateStorageSpaceResponse{} + if err := c.createPersonalSpaceCache.PullFromCache(key, s); err == nil { + return s, nil + } + } + resp, err := c.c.CreateStorageSpace(ctx, in, opts...) + switch { + case err != nil: + return nil, err + case resp.Status.Code != rpc.Code_CODE_OK && resp.Status.Code != rpc.Code_CODE_ALREADY_EXISTS: + return resp, nil + case key == "": + return resp, nil + default: + return resp, c.createPersonalSpaceCache.PushToCache(key, resp) + } + } + return c.c.CreateStorageSpace(ctx, in, opts...) +} + +func (c *cachedSpacesAPIClient) ListStorageSpaces(ctx context.Context, in *provider.ListStorageSpacesRequest, opts ...grpc.CallOption) (*provider.ListStorageSpacesResponse, error) { + return c.c.ListStorageSpaces(ctx, in, opts...) +} +func (c *cachedSpacesAPIClient) UpdateStorageSpace(ctx context.Context, in *provider.UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*provider.UpdateStorageSpaceResponse, error) { + return c.c.UpdateStorageSpace(ctx, in, opts...) +} +func (c *cachedSpacesAPIClient) DeleteStorageSpace(ctx context.Context, in *provider.DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*provider.DeleteStorageSpaceResponse, error) { + return c.c.DeleteStorageSpace(ctx, in, opts...) +} + /* Cached Storage Provider */ @@ -108,31 +152,6 @@ func (c *cachedAPIClient) CreateHome(ctx context.Context, in *provider.CreateHom } } -// CreateStorageSpace creates a storage space -func (c *cachedAPIClient) CreateStorageSpace(ctx context.Context, in *provider.CreateStorageSpaceRequest, opts ...grpc.CallOption) (*provider.CreateStorageSpaceResponse, error) { - if in.Type == "personal" { - key := c.createPersonalSpaceCache.GetKey(ctxpkg.ContextMustGetUser(ctx).GetId()) - if key != "" { - s := &provider.CreateStorageSpaceResponse{} - if err := c.createPersonalSpaceCache.PullFromCache(key, s); err == nil { - return s, nil - } - } - resp, err := c.c.CreateStorageSpace(ctx, in, opts...) - switch { - case err != nil: - return nil, err - case resp.Status.Code != rpc.Code_CODE_OK && resp.Status.Code != rpc.Code_CODE_ALREADY_EXISTS: - return resp, nil - case key == "": - return resp, nil - default: - return resp, c.createPersonalSpaceCache.PushToCache(key, resp) - } - } - return c.c.CreateStorageSpace(ctx, in, opts...) -} - // methods below here are not cached, they just call the client directly // Stat returns the Resoure info for a given resource @@ -226,15 +245,6 @@ func (c *cachedAPIClient) Unlock(ctx context.Context, in *provider.UnlockRequest func (c *cachedAPIClient) GetHome(ctx context.Context, in *provider.GetHomeRequest, opts ...grpc.CallOption) (*provider.GetHomeResponse, error) { return c.c.GetHome(ctx, in, opts...) } -func (c *cachedAPIClient) ListStorageSpaces(ctx context.Context, in *provider.ListStorageSpacesRequest, opts ...grpc.CallOption) (*provider.ListStorageSpacesResponse, error) { - return c.c.ListStorageSpaces(ctx, in, opts...) -} -func (c *cachedAPIClient) UpdateStorageSpace(ctx context.Context, in *provider.UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*provider.UpdateStorageSpaceResponse, error) { - return c.c.UpdateStorageSpace(ctx, in, opts...) -} -func (c *cachedAPIClient) DeleteStorageSpace(ctx context.Context, in *provider.DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*provider.DeleteStorageSpaceResponse, error) { - return c.c.DeleteStorageSpace(ctx, in, opts...) -} func (c *cachedAPIClient) TouchFile(ctx context.Context, in *provider.TouchFileRequest, opts ...grpc.CallOption) (*provider.TouchFileResponse, error) { return c.c.TouchFile(ctx, in, opts...) } diff --git a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/usershareprovider.go b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/usershareprovider.go index 919845efb6b..5f3aa839c3b 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/usershareprovider.go +++ b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/gateway/usershareprovider.go @@ -22,6 +22,7 @@ import ( "context" "slices" + gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1" rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" collaboration "github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1" provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" @@ -365,6 +366,10 @@ func (s *svc) UpdateReceivedShare(ctx context.Context, req *collaboration.Update */ } +func (s *svc) ListExistingReceivedShares(_ context.Context, _ *collaboration.ListReceivedSharesRequest) (*gateway.ListExistingReceivedSharesResponse, error) { + return nil, errtypes.NotSupported("Unimplemented") +} + func (s *svc) denyGrant(ctx context.Context, id *provider.ResourceId, g *provider.Grantee, opaque *typesv1beta1.Opaque) (*rpc.Status, error) { ref := &provider.Reference{ ResourceId: id, diff --git a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/publicshareprovider/publicshareprovider.go b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/publicshareprovider/publicshareprovider.go index 0c740f3668c..3202b8c7559 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/publicshareprovider/publicshareprovider.go +++ b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/publicshareprovider/publicshareprovider.go @@ -350,7 +350,7 @@ func (s *service) RemovePublicShare(ctx context.Context, req *link.RemovePublicS Status: status.NewInternal(ctx, "error loading public share"), }, err } - if !publicshare.IsCreatedByUser(*ps, user) { + if !publicshare.IsCreatedByUser(ps, user) { sRes, err := gatewayClient.Stat(ctx, &provider.StatRequest{Ref: &provider.Reference{ResourceId: ps.ResourceId}}) if err != nil { log.Err(err).Interface("resource_id", ps.ResourceId).Msg("failed to stat shared resource") @@ -480,7 +480,7 @@ func (s *service) UpdatePublicShare(ctx context.Context, req *link.UpdatePublicS // users should always be able to downgrade links to internal links // when they are the creator of the link // all other users should have the WritePublicLink permission - if !isInternalLink && !publicshare.IsCreatedByUser(*ps, user) { + if !isInternalLink && !publicshare.IsCreatedByUser(ps, user) { canWriteLink, err := utils.CheckPermission(ctx, permission.WritePublicLink, gatewayClient) if err != nil { return &link.UpdatePublicShareResponse{ @@ -502,7 +502,7 @@ func (s *service) UpdatePublicShare(ctx context.Context, req *link.UpdatePublicS }, err } - if !publicshare.IsCreatedByUser(*ps, user) { + if !publicshare.IsCreatedByUser(ps, user) { if !sRes.GetInfo().GetPermissionSet().UpdateGrant { return &link.UpdatePublicShareResponse{ Status: status.NewPermissionDenied(ctx, nil, "no permission to update public share"), diff --git a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/publicstorageprovider/publicstorageprovider.go b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/publicstorageprovider/publicstorageprovider.go index 9fb92cd26c5..dd685e183a4 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/publicstorageprovider/publicstorageprovider.go +++ b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/publicstorageprovider/publicstorageprovider.go @@ -75,6 +75,7 @@ func (s *service) UnprotectedEndpoints() []string { func (s *service) Register(ss *grpc.Server) { provider.RegisterProviderAPIServer(ss, s) + provider.RegisterSpacesAPIServer(ss, s) } func parseConfig(m map[string]interface{}) (*config, error) { @@ -453,7 +454,7 @@ func (s *service) ListStorageSpaces(ctx context.Context, req *provider.ListStora // we know a grant for this resource space := &provider.StorageSpace{ Id: &provider.StorageSpaceId{ - OpaqueId: storagespace.FormatResourceID(*root), + OpaqueId: storagespace.FormatResourceID(root), }, SpaceType: "grant", Owner: &userv1beta1.User{Id: grantee}, @@ -485,7 +486,7 @@ func (s *service) ListStorageSpaces(ctx context.Context, req *provider.ListStora } space := &provider.StorageSpace{ Id: &provider.StorageSpaceId{ - OpaqueId: storagespace.FormatResourceID(*root), + OpaqueId: storagespace.FormatResourceID(root), }, SpaceType: "mountpoint", Owner: &userv1beta1.User{Id: grantee}, // FIXME actually, the mount point belongs to no one? diff --git a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go index 5fd8db144c3..97de593b6d3 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go +++ b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go @@ -77,6 +77,7 @@ func (s *service) UnprotectedEndpoints() []string { func (s *service) Register(ss *grpc.Server) { provider.RegisterProviderAPIServer(ss, s) + provider.RegisterSpacesAPIServer(ss, s) } // NewDefault returns a new instance of the SharesStorageProvider service with default dependencies @@ -432,7 +433,7 @@ func (s *service) ListStorageSpaces(ctx context.Context, req *provider.ListStora space := &provider.StorageSpace{ Opaque: opaque, Id: &provider.StorageSpaceId{ - OpaqueId: storagespace.FormatResourceID(*virtualRootID), + OpaqueId: storagespace.FormatResourceID(virtualRootID), }, SpaceType: "virtual", //Owner: &userv1beta1.User{Id: receivedShare.Share.Owner}, // FIXME actually, the mount point belongs to the recipient @@ -454,7 +455,7 @@ func (s *service) ListStorageSpaces(ctx context.Context, req *provider.ListStora // we know a grant for this resource space := &provider.StorageSpace{ Id: &provider.StorageSpaceId{ - OpaqueId: storagespace.FormatResourceID(*root), + OpaqueId: storagespace.FormatResourceID(root), }, SpaceType: "grant", Owner: &userv1beta1.User{Id: receivedShare.Share.Owner}, @@ -508,7 +509,7 @@ func (s *service) ListStorageSpaces(ctx context.Context, req *provider.ListStora space := &provider.StorageSpace{ Opaque: opaque, Id: &provider.StorageSpaceId{ - OpaqueId: storagespace.FormatResourceID(*root), + OpaqueId: storagespace.FormatResourceID(root), }, SpaceType: "mountpoint", Owner: &userv1beta1.User{Id: receivedShare.Share.Owner}, // FIXME actually, the mount point belongs to the recipient @@ -818,7 +819,7 @@ func (s *service) ListContainer(ctx context.Context, req *provider.ListContainer if receivedShare.GetState() != collaboration.ShareState_SHARE_STATE_ACCEPTED { continue } - rIDStr := storagespace.FormatResourceID(*receivedShare.GetShare().GetResourceId()) + rIDStr := storagespace.FormatResourceID(receivedShare.GetShare().GetResourceId()) if oldest, ok := oldestReceivedSharesByResourceID[rIDStr]; ok { // replace if older than current oldest if utils.TSToTime(receivedShare.GetShare().GetCtime()).Before(utils.TSToTime(oldest.GetShare().GetCtime())) { diff --git a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/storageprovider/storageprovider.go b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/storageprovider/storageprovider.go index 9144888ba9b..7c548db53c6 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/grpc/services/storageprovider/storageprovider.go +++ b/vendor/github.com/cs3org/reva/v2/internal/grpc/services/storageprovider/storageprovider.go @@ -116,6 +116,7 @@ func (s *Service) UnprotectedEndpoints() []string { return []string{} } func (s *Service) Register(ss *grpc.Server) { provider.RegisterProviderAPIServer(ss, s) + provider.RegisterSpacesAPIServer(ss, s) } func parseXSTypes(xsTypes map[string]uint32) ([]*provider.ResourceChecksumPriority, error) { @@ -298,7 +299,7 @@ func (s *Service) InitiateFileDownload(ctx context.Context, req *provider.Initia if utils.IsRelativeReference(req.Ref) { s.addMissingStorageProviderID(req.GetRef().GetResourceId(), nil) protocol.Protocol = "spaces" - u.Path = path.Join(u.Path, "spaces", storagespace.FormatResourceID(*req.Ref.ResourceId), req.Ref.Path) + u.Path = path.Join(u.Path, "spaces", storagespace.FormatResourceID(req.Ref.ResourceId), req.Ref.Path) } else { // Currently, we only support the simple protocol for GET requests // Once we have multiple protocols, this would be moved to the fs layer @@ -612,7 +613,7 @@ func (s *Service) DeleteStorageSpace(ctx context.Context, req *provider.DeleteSt // FIXME: why is this string parsing necessary? idraw, _ := storagespace.ParseID(req.Id.GetOpaqueId()) idraw.OpaqueId = idraw.GetSpaceId() - id := &provider.StorageSpaceId{OpaqueId: storagespace.FormatResourceID(idraw)} + id := &provider.StorageSpaceId{OpaqueId: storagespace.FormatResourceID(&idraw)} spaces, err := s.Storage.ListStorageSpaces(ctx, []*provider.ListStorageSpacesRequest_Filter{{Type: provider.ListStorageSpacesRequest_Filter_TYPE_ID, Term: &provider.ListStorageSpacesRequest_Filter_Id{Id: id}}}, true) if err != nil { diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/appprovider/appprovider.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/appprovider/appprovider.go index 5ab334cac63..bf7154e5866 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/appprovider/appprovider.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/appprovider/appprovider.go @@ -48,6 +48,7 @@ import ( "github.com/mitchellh/mapstructure" "github.com/pkg/errors" "github.com/rs/zerolog" + "google.golang.org/protobuf/proto" ) func init() { @@ -304,7 +305,7 @@ func (s *svc) handleNew(w http.ResponseWriter, r *http.Request) { writeError(w, r, appErrorInvalidParameter, "the given file id does not point to a file", nil) return } - fileid = storagespace.FormatResourceID(*statRes.Info.Id) + fileid = storagespace.FormatResourceID(statRes.Info.Id) } js, err := json.Marshal( @@ -574,7 +575,8 @@ func buildApps(mimeTypes []*appregistry.MimeTypeInfo, userAgent, secureViewAppAd for _, m := range mimeTypes { apps := []*ProviderInfo{} for _, p := range m.AppProviders { - ep := &ProviderInfo{ProviderInfo: *p} + ep := &ProviderInfo{} + proto.Merge(&ep.ProviderInfo, p) if p.Address == secureViewAppAddr { ep.SecureView = true } @@ -586,7 +588,8 @@ func buildApps(mimeTypes []*appregistry.MimeTypeInfo, userAgent, secureViewAppAd } } if len(apps) > 0 { - mt := &MimeTypeInfo{MimeTypeInfo: *m} + mt := &MimeTypeInfo{} + proto.Merge(&mt.MimeTypeInfo, m) mt.AppProviders = apps res = append(res, mt) } diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/copy.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/copy.go index 2ebd66ef9bd..97b4686420a 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/copy.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/copy.go @@ -214,7 +214,7 @@ func (s *svc) executePathCopy(ctx context.Context, selector pool.Selectable[gate return fmt.Errorf("status code %d", r.GetStatus().GetCode()) } - fileid = storagespace.FormatResourceID(*r.GetInfo().GetId()) + fileid = storagespace.FormatResourceID(r.GetInfo().GetId()) } else { // copy file @@ -438,7 +438,7 @@ func (s *svc) executeSpacesCopy(ctx context.Context, w http.ResponseWriter, sele return fmt.Errorf("stat: status code %d", r.GetStatus().GetCode()) } - fileid = storagespace.FormatResourceID(*r.GetInfo().GetId()) + fileid = storagespace.FormatResourceID(r.GetInfo().GetId()) } else { // copy file // 1. get download url diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/dav.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/dav.go index 50fe0016677..ba82e154390 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/dav.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/dav.go @@ -287,7 +287,7 @@ func (h *DavHandler) Handler(s *svc) http.Handler { // If the link is internal then 307 redirect if psRes.Status.Code == rpc.Code_CODE_OK && grants.PermissionsEqual(psRes.Share.Permissions.GetPermissions(), &provider.ResourcePermissions{}) { if psRes.GetShare().GetResourceId() != nil { - rUrl := path.Join("/dav/spaces", storagespace.FormatResourceID(*psRes.GetShare().GetResourceId())) + rUrl := path.Join("/dav/spaces", storagespace.FormatResourceID(psRes.GetShare().GetResourceId())) http.Redirect(w, r, rUrl, http.StatusTemporaryRedirect) return } diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/delete.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/delete.go index 24ed1a7ada9..a5a8f31b1d6 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/delete.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/delete.go @@ -61,7 +61,10 @@ func (s *svc) handleDelete(ctx context.Context, w http.ResponseWriter, r *http.R ctx, span := appctx.GetTracerProvider(r.Context()).Tracer(tracerName).Start(ctx, "delete") defer span.End() - req := &provider.DeleteRequest{Ref: ref} + req := &provider.DeleteRequest{ + Ref: ref, + LockId: requestLockToken(r), + } // FIXME the lock token is part of the application level protocol, it should be part of the DeleteRequest message not the opaque ih, ok := parseIfHeader(r.Header.Get(net.HeaderIf)) diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/head.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/head.go index f055d18f491..10e2af57f98 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/head.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/head.go @@ -85,7 +85,7 @@ func (s *svc) handleHead(ctx context.Context, w http.ResponseWriter, r *http.Req info := res.Info w.Header().Set(net.HeaderContentType, info.MimeType) w.Header().Set(net.HeaderETag, info.Etag) - w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(*info.Id)) + w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(info.Id)) w.Header().Set(net.HeaderOCETag, info.Etag) if info.Checksum != nil { w.Header().Set(net.HeaderOCChecksum, fmt.Sprintf("%s:%s", strings.ToUpper(string(storageprovider.GRPC2PKGXS(info.Checksum.Type))), info.Checksum.Sum)) diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/locks.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/locks.go index 6760bfd90d7..5458ec4e58b 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/locks.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/locks.go @@ -647,3 +647,7 @@ func (s *svc) unlockReference(ctx context.Context, _ http.ResponseWriter, r *htt } return http.StatusInternalServerError, err } + +func requestLockToken(r *http.Request) string { + return strings.TrimSuffix(strings.TrimPrefix(r.Header.Get(net.HeaderLockToken), "<"), ">") +} diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/meta.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/meta.go index 9bdf2a99e9f..1ac28f5b802 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/meta.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/meta.go @@ -104,7 +104,7 @@ func (h *MetaHandler) handlePathForUser(w http.ResponseWriter, r *http.Request, ctx, span := appctx.GetTracerProvider(r.Context()).Tracer(tracerName).Start(r.Context(), "meta_propfind") defer span.End() - id := storagespace.FormatResourceID(*rid) + id := storagespace.FormatResourceID(rid) sublog := appctx.GetLogger(ctx).With().Str("path", r.URL.Path).Str("resourceid", id).Logger() sublog.Info().Msg("calling get path for user") diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/move.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/move.go index 3e1f5872822..79a6bbd5636 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/move.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/move.go @@ -294,7 +294,11 @@ func (s *svc) handleMove(ctx context.Context, w http.ResponseWriter, r *http.Req dst.Path = utils.MakeRelativePath(dstStatRes.GetInfo().GetName()) dst.ResourceId = dstStatRes.GetInfo().GetParentId() } - mReq := &provider.MoveRequest{Source: src, Destination: dst} + mReq := &provider.MoveRequest{ + Source: src, + Destination: dst, + LockId: requestLockToken(r), + } mRes, err := client.Move(ctx, mReq) if err != nil { log.Error().Err(err).Msg("error sending move grpc request") @@ -341,7 +345,7 @@ func (s *svc) handleMove(ctx context.Context, w http.ResponseWriter, r *http.Req info := dstStatRes.Info w.Header().Set(net.HeaderContentType, info.MimeType) w.Header().Set(net.HeaderETag, info.Etag) - w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(*info.Id)) + w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(info.Id)) w.Header().Set(net.HeaderOCETag, info.Etag) w.WriteHeader(successCode) } diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/net/builders.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/net/builders.go index f9bd903b43d..727c59c03f6 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/net/builders.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/net/builders.go @@ -28,7 +28,7 @@ import ( // ContentDispositionAttachment builds a ContentDisposition Attachment header with various filename encodings func ContentDispositionAttachment(filename string) string { - return "attachment; filename*=UTF-8''" + url.QueryEscape(filename) + "; filename=\"" + filename + "\"" + return "attachment; filename*=UTF-8''" + url.PathEscape(filename) + "; filename=\"" + filename + "\"" } // RFC1123Z formats a CS3 Timestamp to be used in HTTP headers like Last-Modified diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/propfind/propfind.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/propfind/propfind.go index 31f11b6ebcd..42269f8063e 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/propfind/propfind.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/propfind/propfind.go @@ -1177,7 +1177,7 @@ func mdToPropResponse(ctx context.Context, pf *XML, md *provider.ResourceInfo, p // return all known properties if id != nil { - sid := storagespace.FormatResourceID(*id) + sid := storagespace.FormatResourceID(id) appendToOK( prop.Escaped("oc:id", sid), prop.Escaped("oc:fileid", sid), @@ -1186,7 +1186,7 @@ func mdToPropResponse(ctx context.Context, pf *XML, md *provider.ResourceInfo, p } if md.ParentId != nil { - appendToOK(prop.Escaped("oc:file-parent", storagespace.FormatResourceID(*md.ParentId))) + appendToOK(prop.Escaped("oc:file-parent", storagespace.FormatResourceID(md.ParentId))) } else { appendToNotFound(prop.NotFound("oc:file-parent")) } @@ -1305,19 +1305,19 @@ func mdToPropResponse(ctx context.Context, pf *XML, md *provider.ResourceInfo, p // I tested the desktop client and phoenix to annotate which properties are requestted, see below cases case "fileid": // phoenix only if id != nil { - appendToOK(prop.Escaped("oc:fileid", storagespace.FormatResourceID(*id))) + appendToOK(prop.Escaped("oc:fileid", storagespace.FormatResourceID(id))) } else { appendToNotFound(prop.NotFound("oc:fileid")) } case "id": // desktop client only if id != nil { - appendToOK(prop.Escaped("oc:id", storagespace.FormatResourceID(*id))) + appendToOK(prop.Escaped("oc:id", storagespace.FormatResourceID(id))) } else { appendToNotFound(prop.NotFound("oc:id")) } case "file-parent": if md.ParentId != nil { - appendToOK(prop.Escaped("oc:file-parent", storagespace.FormatResourceID(*md.ParentId))) + appendToOK(prop.Escaped("oc:file-parent", storagespace.FormatResourceID(md.ParentId))) } else { appendToNotFound(prop.NotFound("oc:file-parent")) } @@ -1521,7 +1521,7 @@ func mdToPropResponse(ctx context.Context, pf *XML, md *provider.ResourceInfo, p case "privatelink": privateURL, err := url.Parse(publicURL) if err == nil && id != nil { - privateURL.Path = path.Join(privateURL.Path, "f", storagespace.FormatResourceID(*id)) + privateURL.Path = path.Join(privateURL.Path, "f", storagespace.FormatResourceID(id)) propstatOK.Prop = append(propstatOK.Prop, prop.Escaped("oc:privatelink", privateURL.String())) } else { propstatNotFound.Prop = append(propstatNotFound.Prop, prop.NotFound("oc:privatelink")) diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/put.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/put.go index 822480c9fd7..9811efd385d 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/put.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/put.go @@ -230,7 +230,7 @@ func (s *svc) handlePut(ctx context.Context, w http.ResponseWriter, r *http.Requ w.Header().Set(net.HeaderETag, sRes.Info.Etag) w.Header().Set(net.HeaderOCETag, sRes.Info.Etag) - w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(*sRes.Info.Id)) + w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(sRes.Info.Id)) w.Header().Set(net.HeaderLastModified, net.RFC1123Z(sRes.Info.Mtime)) w.WriteHeader(http.StatusCreated) @@ -276,6 +276,7 @@ func (s *svc) handlePut(ctx context.Context, w http.ResponseWriter, r *http.Requ uReq := &provider.InitiateFileUploadRequest{ Ref: ref, Opaque: opaque, + LockId: requestLockToken(r), } if ifMatch := r.Header.Get(net.HeaderIfMatch); ifMatch != "" { uReq.Options = &provider.InitiateFileUploadRequest_IfMatch{IfMatch: ifMatch} diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/spaces.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/spaces.go index 158fc569b66..37797d60ad7 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/spaces.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/spaces.go @@ -22,6 +22,7 @@ import ( "net/http" "path" + provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" "github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/config" "github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/errors" "github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/net" @@ -30,6 +31,7 @@ import ( "github.com/cs3org/reva/v2/pkg/rhttp/router" "github.com/cs3org/reva/v2/pkg/storagespace" "github.com/cs3org/reva/v2/pkg/utils" + "google.golang.org/protobuf/proto" ) // SpacesHandler handles trashbin requests @@ -167,10 +169,10 @@ func (h *SpacesHandler) handleSpacesTrashbin(w http.ResponseWriter, r *http.Requ } log.Debug().Str("key", key).Str("path", r.URL.Path).Str("dst", dst).Msg("spaces restore") - dstRef := ref + dstRef := proto.Clone(&ref).(*provider.Reference) dstRef.Path = utils.MakeRelativePath(dst) - trashbinHandler.restore(w, r, s, &ref, &dstRef, key, r.URL.Path) + trashbinHandler.restore(w, r, s, &ref, dstRef, key, r.URL.Path) case http.MethodDelete: trashbinHandler.delete(w, r, s, &ref, key, r.URL.Path) default: diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/trashbin.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/trashbin.go index 0888151f95d..ef742c54df9 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/trashbin.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/trashbin.go @@ -601,7 +601,7 @@ func (h *TrashbinHandler) restore(w http.ResponseWriter, r *http.Request, s *svc info := dstStatRes.Info w.Header().Set(net.HeaderContentType, info.MimeType) w.Header().Set(net.HeaderETag, info.Etag) - w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(*info.Id)) + w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(info.Id)) w.Header().Set(net.HeaderOCETag, info.Etag) w.WriteHeader(successCode) diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/tus.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/tus.go index 04696eb05aa..2b85a1d2314 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/tus.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/tus.go @@ -377,7 +377,7 @@ func (s *svc) handleTusPost(ctx context.Context, w http.ResponseWriter, r *http. ) w.Header().Set(net.HeaderContentType, info.MimeType) - w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(*info.Id)) + w.Header().Set(net.HeaderOCFileID, storagespace.FormatResourceID(info.Id)) w.Header().Set(net.HeaderOCETag, info.Etag) w.Header().Set(net.HeaderETag, info.Etag) w.Header().Set(net.HeaderOCPermissions, permissions) diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/versions.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/versions.go index 0c9de36c352..e9b25ac999f 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/versions.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav/versions.go @@ -58,7 +58,7 @@ func (h *VersionsHandler) Handler(s *svc, rid *provider.ResourceId) http.Handler } // baseURI is encoded as part of the response payload in href field - baseURI := path.Join(ctx.Value(net.CtxKeyBaseURI).(string), storagespace.FormatResourceID(*rid)) + baseURI := path.Join(ctx.Value(net.CtxKeyBaseURI).(string), storagespace.FormatResourceID(rid)) ctx = context.WithValue(ctx, net.CtxKeyBaseURI, baseURI) r = r.WithContext(ctx) diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/sharees/token.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/sharees/token.go index be0c12e1cab..90774e61874 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/sharees/token.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/sharees/token.go @@ -81,7 +81,7 @@ func handleGetToken(ctx context.Context, tkn string, pw string, c gateway.Gatewa } if protected && !t.PasswordProtected { - space, status, err := spacelookup.LookUpStorageSpaceByID(ctx, c, storagespace.FormatResourceID(provider.ResourceId{StorageId: t.StorageID, SpaceId: t.SpaceID, OpaqueId: t.OpaqueID})) + space, status, err := spacelookup.LookUpStorageSpaceByID(ctx, c, storagespace.FormatResourceID(&provider.ResourceId{StorageId: t.StorageID, SpaceId: t.SpaceID, OpaqueId: t.OpaqueID})) // add info only if user is able to stat if err == nil && status.Code == rpc.Code_CODE_OK { t.SpacePath = utils.ReadPlainFromOpaque(space.Opaque, "path") @@ -111,7 +111,7 @@ func buildTokenInfo(owner *user.User, tkn string, token string, passProtected bo return t, fmt.Errorf("can't stat resource. %+v %s", sRes, err) } - t.ID = storagespace.FormatResourceID(*sRes.Share.GetResourceId()) + t.ID = storagespace.FormatResourceID(sRes.Share.GetResourceId()) t.StorageID = sRes.Share.ResourceId.GetStorageId() t.SpaceID = sRes.Share.ResourceId.GetSpaceId() t.OpaqueID = sRes.Share.ResourceId.GetOpaqueId() diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/public.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/public.go index dd636f4b548..25da16b6dc1 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/public.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/public.go @@ -323,7 +323,7 @@ func (h *Handler) updatePublicShare(w http.ResponseWriter, r *http.Request, shar return } - createdByUser := publicshare.IsCreatedByUser(*share, user) + createdByUser := publicshare.IsCreatedByUser(share, user) // NOTE: you are allowed to update a link TO a public link without the `PublicLink.Write` permission if you created it yourself if (permKey != nil && *permKey != 0) || !createdByUser { @@ -540,7 +540,7 @@ func (h *Handler) removePublicShare(w http.ResponseWriter, r *http.Request, shar } u := ctxpkg.ContextMustGetUser(ctx) - if !publicshare.IsCreatedByUser(*share, u) { + if !publicshare.IsCreatedByUser(share, u) { sRes, err := c.Stat(r.Context(), &provider.StatRequest{Ref: &provider.Reference{ResourceId: share.ResourceId}}) if err != nil { log.Err(err).Interface("resource_id", share.ResourceId).Msg("failed to stat shared resource") diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/shares.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/shares.go index b006d5d528e..02d92344f1d 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/shares.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/shares.go @@ -179,13 +179,14 @@ func (h *Handler) startCacheWarmup(c sharecache.Warmup) { } } -func (h *Handler) extractReference(r *http.Request) (provider.Reference, error) { - var ref provider.Reference +func (h *Handler) extractReference(r *http.Request) (*provider.Reference, error) { + ref := &provider.Reference{} // NOTE: space_ref is deprecated and will be removed in ~2 weeks (1.6.22) sr := r.FormValue("space_ref") if sr != "" { - return storagespace.ParseReference(sr) + ref, err := storagespace.ParseReference(sr) + return &ref, err } p, id := r.FormValue("path"), r.FormValue("space") @@ -243,7 +244,7 @@ func (h *Handler) CreateShare(w http.ResponseWriter, r *http.Request) { return } - statReq := provider.StatRequest{Ref: &ref, FieldMask: &fieldmaskpb.FieldMask{Paths: []string{"space"}}} + statReq := provider.StatRequest{Ref: ref, FieldMask: &fieldmaskpb.FieldMask{Paths: []string{"space"}}} statRes, err := client.Stat(ctx, &statReq) if err != nil { sublog.Debug().Err(err).Msg("CreateShare: error on stat call") @@ -976,7 +977,7 @@ func (h *Handler) listSharesWithMe(w http.ResponseWriter, r *http.Request) { } var status *rpc.Status - pinfo, status, err = h.getResourceInfoByReference(ctx, client, &ref) + pinfo, status, err = h.getResourceInfoByReference(ctx, client, ref) if err != nil { response.WriteOCSError(w, r, response.MetaServerError.StatusCode, "error sending a grpc stat request", err) return @@ -1157,7 +1158,7 @@ func (h *Handler) listSharesWithOthers(w http.ResponseWriter, r *http.Request) { response.WriteOCSError(w, r, response.MetaBadRequest.StatusCode, errParsingSpaceReference.Error(), errParsingSpaceReference) return } - filters, linkFilters, e = h.addFilters(w, r, &ref) + filters, linkFilters, e = h.addFilters(w, r, ref) if e != nil { // result has been written as part of addFilters return @@ -1275,7 +1276,7 @@ func (h *Handler) addFileInfo(ctx context.Context, s *conversions.ShareData, inf s.MimeType = parsedMt // TODO STime: &types.Timestamp{Seconds: info.Mtime.Seconds, Nanos: info.Mtime.Nanos}, // TODO Storage: int - s.ItemSource = storagespace.FormatResourceID(*info.Id) + s.ItemSource = storagespace.FormatResourceID(info.Id) s.FileSource = s.ItemSource s.Path = path.Join("/", info.Path) switch { @@ -1317,7 +1318,7 @@ func (h *Handler) addFileInfo(ctx context.Context, s *conversions.ShareData, inf s.StorageID = storageIDPrefix + s.FileTarget if info.ParentId != nil { - s.FileParent = storagespace.FormatResourceID(*info.ParentId) + s.FileParent = storagespace.FormatResourceID(info.ParentId) } // item type s.ItemType = conversions.ResourceType(info.GetType()).String() @@ -1333,7 +1334,7 @@ func (h *Handler) addFileInfo(ctx context.Context, s *conversions.ShareData, inf } if info.GetSpace().GetRoot() != nil { - s.SpaceID = storagespace.FormatResourceID(*info.GetSpace().GetRoot()) + s.SpaceID = storagespace.FormatResourceID(info.GetSpace().GetRoot()) } s.SpaceAlias = utils.ReadPlainFromOpaque(info.GetSpace().GetOpaque(), "spaceAlias") } diff --git a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/spaces.go b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/spaces.go index 35ccf7a65b8..aa85d0ae1af 100644 --- a/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/spaces.go +++ b/vendor/github.com/cs3org/reva/v2/internal/http/services/owncloud/ocs/handlers/apps/sharing/shares/spaces.go @@ -150,14 +150,14 @@ func (h *Handler) addSpaceMember(w http.ResponseWriter, r *http.Request, info *p return } - if !isSpaceManagerRemaining(lgRes.Grants, grantee) { + if !isSpaceManagerRemaining(lgRes.Grants, &grantee) { response.WriteOCSError(w, r, http.StatusForbidden, "the space must have at least one manager", nil) return } // we have to send the update request to the gateway to give it a chance to invalidate its cache // TODO the gateway no longer should cache stuff because invalidation is to expensive. The decomposedfs already has a better cache. - if granteeExists(lgRes.Grants, grantee) { + if granteeExists(lgRes.Grants, &grantee) { if permissions != nil { fieldmask = append(fieldmask, "permissions") } @@ -257,7 +257,7 @@ func (h *Handler) removeSpaceMember(w http.ResponseWriter, r *http.Request, spac return } - if len(lgRes.Grants) == 1 || !isSpaceManagerRemaining(lgRes.Grants, grantee) { + if len(lgRes.Grants) == 1 || !isSpaceManagerRemaining(lgRes.Grants, &grantee) { response.WriteOCSError(w, r, http.StatusForbidden, "can't remove the last manager", nil) return } @@ -349,28 +349,28 @@ func (h *Handler) findProvider(ctx context.Context, ref *provider.Reference) (*r return res.Providers[0], nil } -func isSpaceManagerRemaining(grants []*provider.Grant, grantee provider.Grantee) bool { +func isSpaceManagerRemaining(grants []*provider.Grant, grantee *provider.Grantee) bool { for _, g := range grants { // RemoveGrant is currently the way to check for the manager role // If it is not set than the current grant is not for a manager and // we can just continue with the next one. - if g.Permissions.RemoveGrant && !isEqualGrantee(*g.Grantee, grantee) { + if g.Permissions.RemoveGrant && !isEqualGrantee(g.Grantee, grantee) { return true } } return false } -func granteeExists(grants []*provider.Grant, grantee provider.Grantee) bool { +func granteeExists(grants []*provider.Grant, grantee *provider.Grantee) bool { for _, g := range grants { - if isEqualGrantee(*g.Grantee, grantee) { + if isEqualGrantee(g.Grantee, grantee) { return true } } return false } -func isEqualGrantee(a, b provider.Grantee) bool { +func isEqualGrantee(a, b *provider.Grantee) bool { // Ideally we would want to use utils.GranteeEqual() // but the grants stored in the decomposedfs aren't complete (missing usertype and idp) // because of that the check would fail so we can only check the ... for now. diff --git a/vendor/github.com/cs3org/reva/v2/pkg/app/provider/demo/demo.go b/vendor/github.com/cs3org/reva/v2/pkg/app/provider/demo/demo.go index 9964eb0948d..e5a83cf7505 100644 --- a/vendor/github.com/cs3org/reva/v2/pkg/app/provider/demo/demo.go +++ b/vendor/github.com/cs3org/reva/v2/pkg/app/provider/demo/demo.go @@ -40,7 +40,7 @@ type demoProvider struct { } func (p *demoProvider) GetAppURL(ctx context.Context, resource *provider.ResourceInfo, viewMode appprovider.ViewMode, token, language string) (*appprovider.OpenInAppURL, error) { - url := fmt.Sprintf("