From 7d8e334537d9b2e98d900f0f17b4f26e6e9328be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Pablo=20Villaf=C3=A1=C3=B1ez?= Date: Mon, 31 Jan 2022 12:17:56 +0100 Subject: [PATCH] Revert v1 to v0 --- accounts/pkg/command/add_account.go | 4 +- accounts/pkg/command/inspect_account.go | 4 +- accounts/pkg/command/list_accounts.go | 4 +- accounts/pkg/command/rebuild_index.go | 2 +- accounts/pkg/command/remove_account.go | 2 +- accounts/pkg/command/update_account.go | 4 +- accounts/pkg/flagset/flagset.go | 2 +- accounts/pkg/server/grpc/server.go | 2 +- accounts/pkg/server/http/server.go | 2 +- accounts/pkg/service/v0/accounts.go | 6 +- .../service/v0/accounts_permission_test.go | 8 +- accounts/pkg/service/v0/groups.go | 4 +- accounts/pkg/service/v0/index.go | 4 +- accounts/pkg/service/v0/option.go | 2 +- accounts/pkg/service/v0/permissions.go | 4 +- accounts/pkg/service/v0/service.go | 4 +- accounts/pkg/storage/cs3.go | 2 +- accounts/pkg/storage/cs3_test.go | 2 +- accounts/pkg/storage/disk.go | 2 +- accounts/pkg/storage/repo.go | 2 +- glauth/pkg/command/server.go | 2 +- glauth/pkg/server/glauth/ocis.go | 4 +- glauth/pkg/server/glauth/option.go | 2 +- graph/pkg/service/v0/drives.go | 2 +- .../indexer/index/disk/autoincrement_test.go | 2 +- ocis-pkg/roles/cache.go | 2 +- ocis-pkg/roles/cache_test.go | 2 +- ocis-pkg/roles/manager.go | 4 +- ocis-pkg/roles/option.go | 2 +- ocs/pkg/server/http/svc_test.go | 8 +- ocs/pkg/service/v0/groups.go | 4 +- ocs/pkg/service/v0/option.go | 2 +- ocs/pkg/service/v0/service.go | 4 +- ocs/pkg/service/v0/users.go | 8 +- .../accounts/{v1 => v0}/accounts.pb.go | 154 ++--- .../accounts/{v1 => v0}/accounts.pb.micro.go | 4 +- .../accounts/{v1 => v0}/accounts.pb.web.go | 4 +- .../accounts/{v1 => v0}/accounts.swagger.json | 2 +- .../settings/{v1 => v0}/settings.pb.go | 348 +++++------ .../settings/{v1 => v0}/settings.pb.micro.go | 4 +- .../settings/{v1 => v0}/settings.pb.web.go | 4 +- .../settings/{v1 => v0}/settings.swagger.json | 2 +- .../messages/store/{v1 => v0}/store.pb.go | 134 ++--- .../store/{v1 => v0}/store.pb.micro.go | 4 +- .../store/{v1 => v0}/store.swagger.json | 2 +- .../thumbnails/{v1 => v0}/thumbnails.pb.go | 74 +-- .../{v1 => v0}/thumbnails.pb.micro.go | 4 +- .../{v1 => v0}/thumbnails.swagger.json | 2 +- .../accounts/{v1 => v0}/accounts.mock.go | 4 +- .../accounts/{v1 => v0}/accounts.pb.go | 416 ++++++------- .../accounts/{v1 => v0}/accounts.pb.micro.go | 102 ++-- .../accounts/{v1 => v0}/accounts.pb.web.go | 22 +- .../accounts/{v1 => v0}/accounts.swagger.json | 114 ++-- .../settings/{v1 => v0}/settings.mock.go | 2 +- .../settings/{v1 => v0}/settings.pb.go | 558 +++++++++--------- .../settings/{v1 => v0}/settings.pb.micro.go | 6 +- .../settings/{v1 => v0}/settings.pb.web.go | 4 +- .../settings/{v1 => v0}/settings.swagger.json | 214 +++---- .../services/store/{v1 => v0}/store.pb.go | 284 ++++----- .../store/{v1 => v0}/store.pb.micro.go | 6 +- .../store/{v1 => v0}/store.swagger.json | 30 +- .../thumbnails/{v1 => v0}/thumbnails.pb.go | 126 ++-- .../{v1 => v0}/thumbnails.pb.micro.go | 6 +- .../{v1 => v0}/thumbnails.swagger.json | 6 +- protogen/proto/buf.gen.yaml | 8 +- .../accounts/{v1 => v0}/accounts.proto | 4 +- .../settings/{v1 => v0}/settings.proto | 4 +- .../messages/store/{v1 => v0}/store.proto | 4 +- .../thumbnails/{v1 => v0}/thumbnails.proto | 4 +- .../accounts/{v1 => v0}/accounts.proto | 36 +- .../settings/{v1 => v0}/settings.proto | 36 +- .../services/store/{v1 => v0}/store.proto | 20 +- .../thumbnails/{v1 => v0}/thumbnails.proto | 10 +- proxy/pkg/command/server.go | 6 +- proxy/pkg/middleware/options.go | 6 +- proxy/pkg/middleware/signed_url_auth.go | 4 +- proxy/pkg/proxy/policy/selector.go | 2 +- proxy/pkg/proxy/policy/selector_test.go | 4 +- proxy/pkg/user/backend/accounts.go | 6 +- proxy/pkg/user/backend/accounts_test.go | 8 +- proxy/pkg/user/backend/backend.go | 2 +- proxy/pkg/user/backend/cs3.go | 2 +- settings/pkg/server/grpc/server.go | 2 +- settings/pkg/server/http/server.go | 2 +- settings/pkg/service/v0/permissions.go | 2 +- settings/pkg/service/v0/service.go | 4 +- settings/pkg/service/v0/settings.go | 4 +- settings/pkg/service/v0/validator.go | 4 +- settings/pkg/settings/settings.go | 2 +- settings/pkg/store/filesystem/assignments.go | 2 +- .../pkg/store/filesystem/assignments_test.go | 2 +- settings/pkg/store/filesystem/bundles.go | 2 +- settings/pkg/store/filesystem/bundles_test.go | 2 +- settings/pkg/store/filesystem/permissions.go | 2 +- settings/pkg/store/filesystem/values.go | 2 +- settings/pkg/store/filesystem/values_test.go | 2 +- settings/pkg/util/resource_helper.go | 2 +- settings/pkg/util/resource_helper_test.go | 2 +- store/pkg/server/grpc/server.go | 2 +- store/pkg/service/v0/service.go | 4 +- thumbnails/pkg/server/grpc/server.go | 2 +- thumbnails/pkg/service/v0/instrument.go | 2 +- thumbnails/pkg/service/v0/logging.go | 2 +- thumbnails/pkg/service/v0/service.go | 2 +- thumbnails/pkg/service/v0/tracing.go | 2 +- webdav/pkg/service/v0/service.go | 4 +- 106 files changed, 1490 insertions(+), 1490 deletions(-) rename protogen/gen/ocis/messages/accounts/{v1 => v0}/accounts.pb.go (92%) rename protogen/gen/ocis/messages/accounts/{v1 => v0}/accounts.pb.micro.go (83%) rename protogen/gen/ocis/messages/accounts/{v1 => v0}/accounts.pb.web.go (99%) rename protogen/gen/ocis/messages/accounts/{v1 => v0}/accounts.swagger.json (92%) rename protogen/gen/ocis/messages/settings/{v1 => v0}/settings.pb.go (83%) rename protogen/gen/ocis/messages/settings/{v1 => v0}/settings.pb.micro.go (80%) rename protogen/gen/ocis/messages/settings/{v1 => v0}/settings.pb.web.go (99%) rename protogen/gen/ocis/messages/settings/{v1 => v0}/settings.swagger.json (92%) rename protogen/gen/ocis/messages/store/{v1 => v0}/store.pb.go (81%) rename protogen/gen/ocis/messages/store/{v1 => v0}/store.pb.micro.go (82%) rename protogen/gen/ocis/messages/store/{v1 => v0}/store.swagger.json (93%) rename protogen/gen/ocis/messages/thumbnails/{v1 => v0}/thumbnails.pb.go (76%) rename protogen/gen/ocis/messages/thumbnails/{v1 => v0}/thumbnails.pb.micro.go (79%) rename protogen/gen/ocis/messages/thumbnails/{v1 => v0}/thumbnails.swagger.json (92%) rename protogen/gen/ocis/services/accounts/{v1 => v0}/accounts.mock.go (99%) rename protogen/gen/ocis/services/accounts/{v1 => v0}/accounts.pb.go (80%) rename protogen/gen/ocis/services/accounts/{v1 => v0}/accounts.pb.micro.go (88%) rename protogen/gen/ocis/services/accounts/{v1 => v0}/accounts.pb.web.go (98%) rename protogen/gen/ocis/services/accounts/{v1 => v0}/accounts.swagger.json (94%) rename protogen/gen/ocis/services/settings/{v1 => v0}/settings.mock.go (99%) rename protogen/gen/ocis/services/settings/{v1 => v0}/settings.pb.go (77%) rename protogen/gen/ocis/services/settings/{v1 => v0}/settings.pb.micro.go (99%) rename protogen/gen/ocis/services/settings/{v1 => v0}/settings.pb.web.go (99%) rename protogen/gen/ocis/services/settings/{v1 => v0}/settings.swagger.json (81%) rename protogen/gen/ocis/services/store/{v1 => v0}/store.pb.go (73%) rename protogen/gen/ocis/services/store/{v1 => v0}/store.pb.micro.go (98%) rename protogen/gen/ocis/services/store/{v1 => v0}/store.swagger.json (91%) rename protogen/gen/ocis/services/thumbnails/{v1 => v0}/thumbnails.pb.go (77%) rename protogen/gen/ocis/services/thumbnails/{v1 => v0}/thumbnails.pb.micro.go (97%) rename protogen/gen/ocis/services/thumbnails/{v1 => v0}/thumbnails.swagger.json (97%) rename protogen/proto/ocis/messages/accounts/{v1 => v0}/accounts.proto (99%) rename protogen/proto/ocis/messages/settings/{v1 => v0}/settings.proto (98%) rename protogen/proto/ocis/messages/store/{v1 => v0}/store.proto (94%) rename protogen/proto/ocis/messages/thumbnails/{v1 => v0}/thumbnails.proto (87%) rename protogen/proto/ocis/services/accounts/{v1 => v0}/accounts.proto (95%) rename protogen/proto/ocis/services/settings/{v1 => v0}/settings.proto (85%) rename protogen/proto/ocis/services/store/{v1 => v0}/store.proto (80%) rename protogen/proto/ocis/services/thumbnails/{v1 => v0}/thumbnails.proto (87%) diff --git a/accounts/pkg/command/add_account.go b/accounts/pkg/command/add_account.go index 0b4118c49..5e95f5a29 100644 --- a/accounts/pkg/command/add_account.go +++ b/accounts/pkg/command/add_account.go @@ -3,8 +3,8 @@ package command import ( "fmt" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/asim/go-micro/plugins/client/grpc/v4" "github.com/owncloud/ocis/accounts/pkg/config" diff --git a/accounts/pkg/command/inspect_account.go b/accounts/pkg/command/inspect_account.go index 1578c6f66..07314e1d0 100644 --- a/accounts/pkg/command/inspect_account.go +++ b/accounts/pkg/command/inspect_account.go @@ -5,8 +5,8 @@ import ( "os" "strconv" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/owncloud/ocis/accounts/pkg/flagset" diff --git a/accounts/pkg/command/list_accounts.go b/accounts/pkg/command/list_accounts.go index 7eff3a4a0..55621c982 100644 --- a/accounts/pkg/command/list_accounts.go +++ b/accounts/pkg/command/list_accounts.go @@ -5,8 +5,8 @@ import ( "os" "strconv" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/owncloud/ocis/accounts/pkg/flagset" diff --git a/accounts/pkg/command/rebuild_index.go b/accounts/pkg/command/rebuild_index.go index 3ff43f117..5536653bf 100644 --- a/accounts/pkg/command/rebuild_index.go +++ b/accounts/pkg/command/rebuild_index.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/asim/go-micro/plugins/client/grpc/v4" "github.com/owncloud/ocis/accounts/pkg/config" diff --git a/accounts/pkg/command/remove_account.go b/accounts/pkg/command/remove_account.go index ce54cd87a..38d4a495e 100644 --- a/accounts/pkg/command/remove_account.go +++ b/accounts/pkg/command/remove_account.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/owncloud/ocis/accounts/pkg/flagset" diff --git a/accounts/pkg/command/update_account.go b/accounts/pkg/command/update_account.go index 91dfacd81..630edb3e9 100644 --- a/accounts/pkg/command/update_account.go +++ b/accounts/pkg/command/update_account.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/owncloud/ocis/accounts/pkg/flagset" diff --git a/accounts/pkg/flagset/flagset.go b/accounts/pkg/flagset/flagset.go index c0d551214..0566a37c8 100644 --- a/accounts/pkg/flagset/flagset.go +++ b/accounts/pkg/flagset/flagset.go @@ -1,7 +1,7 @@ package flagset import ( - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" "github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/ocis-pkg/flags" diff --git a/accounts/pkg/server/grpc/server.go b/accounts/pkg/server/grpc/server.go index 4e98b0e78..48def49bd 100644 --- a/accounts/pkg/server/grpc/server.go +++ b/accounts/pkg/server/grpc/server.go @@ -1,7 +1,7 @@ package grpc import ( - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/version" diff --git a/accounts/pkg/server/http/server.go b/accounts/pkg/server/http/server.go index 9af431ef2..31b547c02 100644 --- a/accounts/pkg/server/http/server.go +++ b/accounts/pkg/server/http/server.go @@ -1,7 +1,7 @@ package http import ( - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/go-chi/chi/v5" chimiddleware "github.com/go-chi/chi/v5/middleware" diff --git a/accounts/pkg/service/v0/accounts.go b/accounts/pkg/service/v0/accounts.go index 0052a96ac..2b393cb71 100644 --- a/accounts/pkg/service/v0/accounts.go +++ b/accounts/pkg/service/v0/accounts.go @@ -16,8 +16,8 @@ import ( "go.opentelemetry.io/otel/attribute" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/gofrs/uuid" "github.com/golang/protobuf/ptypes/empty" @@ -28,7 +28,7 @@ import ( "github.com/owncloud/ocis/ocis-pkg/middleware" "github.com/owncloud/ocis/ocis-pkg/roles" "github.com/owncloud/ocis/ocis-pkg/sync" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" settings_svc "github.com/owncloud/ocis/settings/pkg/service/v0" "github.com/rs/zerolog" merrors "go-micro.dev/v4/errors" diff --git a/accounts/pkg/service/v0/accounts_permission_test.go b/accounts/pkg/service/v0/accounts_permission_test.go index f98579c23..8c8dbd078 100644 --- a/accounts/pkg/service/v0/accounts_permission_test.go +++ b/accounts/pkg/service/v0/accounts_permission_test.go @@ -9,16 +9,16 @@ import ( "testing" "time" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/golang/protobuf/ptypes/empty" "github.com/owncloud/ocis/accounts/pkg/config" olog "github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/middleware" "github.com/owncloud/ocis/ocis-pkg/roles" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ssvc "github.com/owncloud/ocis/settings/pkg/service/v0" "github.com/stretchr/testify/assert" "go-micro.dev/v4/client" diff --git a/accounts/pkg/service/v0/groups.go b/accounts/pkg/service/v0/groups.go index 2bd2245ef..ad45f86ad 100644 --- a/accounts/pkg/service/v0/groups.go +++ b/accounts/pkg/service/v0/groups.go @@ -5,8 +5,8 @@ import ( "path" "strconv" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/gofrs/uuid" "github.com/golang/protobuf/ptypes/empty" diff --git a/accounts/pkg/service/v0/index.go b/accounts/pkg/service/v0/index.go index 770c49912..19a7a2138 100644 --- a/accounts/pkg/service/v0/index.go +++ b/accounts/pkg/service/v0/index.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/owncloud/ocis/accounts/pkg/storage" diff --git a/accounts/pkg/service/v0/option.go b/accounts/pkg/service/v0/option.go index e80fa2e3a..4658ba8b0 100644 --- a/accounts/pkg/service/v0/option.go +++ b/accounts/pkg/service/v0/option.go @@ -4,7 +4,7 @@ import ( "github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/roles" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ) // Option defines a single option function. diff --git a/accounts/pkg/service/v0/permissions.go b/accounts/pkg/service/v0/permissions.go index 08c628dfb..23bb4077b 100644 --- a/accounts/pkg/service/v0/permissions.go +++ b/accounts/pkg/service/v0/permissions.go @@ -6,8 +6,8 @@ import ( "github.com/owncloud/ocis/ocis-pkg/service/grpc" olog "github.com/owncloud/ocis/ocis-pkg/log" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ssvc "github.com/owncloud/ocis/settings/pkg/service/v0" ) diff --git a/accounts/pkg/service/v0/service.go b/accounts/pkg/service/v0/service.go index f5f707b70..7e43f6ce3 100644 --- a/accounts/pkg/service/v0/service.go +++ b/accounts/pkg/service/v0/service.go @@ -8,7 +8,7 @@ import ( "strings" "time" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" "github.com/pkg/errors" "github.com/owncloud/ocis/ocis-pkg/service/grpc" @@ -22,7 +22,7 @@ import ( "github.com/owncloud/ocis/ocis-pkg/log" oreg "github.com/owncloud/ocis/ocis-pkg/registry" "github.com/owncloud/ocis/ocis-pkg/roles" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ) // userDefaultGID is the default integer representing the "users" group. diff --git a/accounts/pkg/storage/cs3.go b/accounts/pkg/storage/cs3.go index 58df10d2f..eb167c4f3 100644 --- a/accounts/pkg/storage/cs3.go +++ b/accounts/pkg/storage/cs3.go @@ -18,7 +18,7 @@ import ( "github.com/owncloud/ocis/accounts/pkg/config" olog "github.com/owncloud/ocis/ocis-pkg/log" metadatastorage "github.com/owncloud/ocis/ocis-pkg/metadata_storage" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" "google.golang.org/grpc/metadata" ) diff --git a/accounts/pkg/storage/cs3_test.go b/accounts/pkg/storage/cs3_test.go index f092489a9..b5c02380e 100644 --- a/accounts/pkg/storage/cs3_test.go +++ b/accounts/pkg/storage/cs3_test.go @@ -4,7 +4,7 @@ package storage //import ( // "context" -// accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" +// accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" // "github.com/owncloud/ocis/accounts/pkg/config" // "github.com/stretchr/testify/assert" // "testing" diff --git a/accounts/pkg/storage/disk.go b/accounts/pkg/storage/disk.go index 15eb096fe..6516d5c2f 100644 --- a/accounts/pkg/storage/disk.go +++ b/accounts/pkg/storage/disk.go @@ -8,7 +8,7 @@ import ( "path/filepath" "sync" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" "github.com/owncloud/ocis/accounts/pkg/config" olog "github.com/owncloud/ocis/ocis-pkg/log" diff --git a/accounts/pkg/storage/repo.go b/accounts/pkg/storage/repo.go index 84617f2c0..7b41876c8 100644 --- a/accounts/pkg/storage/repo.go +++ b/accounts/pkg/storage/repo.go @@ -3,7 +3,7 @@ package storage import ( "context" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" ) const ( diff --git a/glauth/pkg/command/server.go b/glauth/pkg/command/server.go index 9daaaff04..d8da2cabb 100644 --- a/glauth/pkg/command/server.go +++ b/glauth/pkg/command/server.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" glauthcfg "github.com/glauth/glauth/v2/pkg/config" "github.com/oklog/run" diff --git a/glauth/pkg/server/glauth/ocis.go b/glauth/pkg/server/glauth/ocis.go index ef1f3800d..ba6c769ac 100644 --- a/glauth/pkg/server/glauth/ocis.go +++ b/glauth/pkg/server/glauth/ocis.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/glauth/glauth/v2/pkg/config" "github.com/glauth/glauth/v2/pkg/handler" diff --git a/glauth/pkg/server/glauth/option.go b/glauth/pkg/server/glauth/option.go index cf2f02d2c..9b244cd5c 100644 --- a/glauth/pkg/server/glauth/option.go +++ b/glauth/pkg/server/glauth/option.go @@ -3,7 +3,7 @@ package glauth import ( "context" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/glauth/glauth/v2/pkg/config" "github.com/owncloud/ocis/ocis-pkg/log" diff --git a/graph/pkg/service/v0/drives.go b/graph/pkg/service/v0/drives.go index bdec0507d..881ddd147 100644 --- a/graph/pkg/service/v0/drives.go +++ b/graph/pkg/service/v0/drives.go @@ -26,7 +26,7 @@ import ( "github.com/owncloud/ocis/graph/pkg/service/v0/errorcode" "github.com/owncloud/ocis/graph/pkg/service/v0/net" "github.com/owncloud/ocis/ocis-pkg/service/grpc" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" settingsServiceExt "github.com/owncloud/ocis/settings/pkg/service/v0" "gopkg.in/yaml.v2" diff --git a/ocis-pkg/indexer/index/disk/autoincrement_test.go b/ocis-pkg/indexer/index/disk/autoincrement_test.go index 5a2f55d5d..78f2ef6cd 100644 --- a/ocis-pkg/indexer/index/disk/autoincrement_test.go +++ b/ocis-pkg/indexer/index/disk/autoincrement_test.go @@ -8,7 +8,7 @@ import ( "github.com/owncloud/ocis/ocis-pkg/indexer/option" //. "github.com/owncloud/ocis/ocis-pkg/indexer/test" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" "github.com/stretchr/testify/assert" ) diff --git a/ocis-pkg/roles/cache.go b/ocis-pkg/roles/cache.go index 8b94c8dd1..f356a6903 100644 --- a/ocis-pkg/roles/cache.go +++ b/ocis-pkg/roles/cache.go @@ -4,7 +4,7 @@ import ( "time" "github.com/owncloud/ocis/ocis-pkg/sync" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" ) // cache is a cache implementation for roles, keyed by roleIDs. diff --git a/ocis-pkg/roles/cache_test.go b/ocis-pkg/roles/cache_test.go index 7300e5a59..e85666ba5 100644 --- a/ocis-pkg/roles/cache_test.go +++ b/ocis-pkg/roles/cache_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" "github.com/stretchr/testify/assert" ) diff --git a/ocis-pkg/roles/manager.go b/ocis-pkg/roles/manager.go index afe8cc116..8ea08adfa 100644 --- a/ocis-pkg/roles/manager.go +++ b/ocis-pkg/roles/manager.go @@ -4,8 +4,8 @@ import ( "context" "github.com/owncloud/ocis/ocis-pkg/log" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ) // Manager manages a cache of roles by fetching unknown roles from the settings.RoleService. diff --git a/ocis-pkg/roles/option.go b/ocis-pkg/roles/option.go index 5f3460cd1..74f688cec 100644 --- a/ocis-pkg/roles/option.go +++ b/ocis-pkg/roles/option.go @@ -4,7 +4,7 @@ import ( "time" "github.com/owncloud/ocis/ocis-pkg/log" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ) // Options are all the possible options. diff --git a/ocs/pkg/server/http/svc_test.go b/ocs/pkg/server/http/svc_test.go index a345e5586..4cbace8d4 100644 --- a/ocs/pkg/server/http/svc_test.go +++ b/ocs/pkg/server/http/svc_test.go @@ -27,10 +27,10 @@ import ( "github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocs/pkg/config" svc "github.com/owncloud/ocis/ocs/pkg/service/v0" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ssvc "github.com/owncloud/ocis/settings/pkg/service/v0" "github.com/stretchr/testify/assert" "go-micro.dev/v4/client" diff --git a/ocs/pkg/service/v0/groups.go b/ocs/pkg/service/v0/groups.go index e67640757..826440813 100644 --- a/ocs/pkg/service/v0/groups.go +++ b/ocs/pkg/service/v0/groups.go @@ -9,8 +9,8 @@ import ( "regexp" "strconv" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" revactx "github.com/cs3org/reva/pkg/ctx" "github.com/go-chi/chi/v5" diff --git a/ocs/pkg/service/v0/option.go b/ocs/pkg/service/v0/option.go index c0d97710c..4b142ca54 100644 --- a/ocs/pkg/service/v0/option.go +++ b/ocs/pkg/service/v0/option.go @@ -6,7 +6,7 @@ import ( "github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/roles" "github.com/owncloud/ocis/ocs/pkg/config" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ) // Option defines a single option function. diff --git a/ocs/pkg/service/v0/service.go b/ocs/pkg/service/v0/service.go index 368c1f38e..f484dd17b 100644 --- a/ocs/pkg/service/v0/service.go +++ b/ocs/pkg/service/v0/service.go @@ -11,7 +11,7 @@ import ( "github.com/go-chi/chi/v5/middleware" "github.com/go-chi/render" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/owncloud/ocis/ocis-pkg/account" "github.com/owncloud/ocis/ocis-pkg/log" @@ -21,7 +21,7 @@ import ( ocsm "github.com/owncloud/ocis/ocs/pkg/middleware" "github.com/owncloud/ocis/ocs/pkg/service/v0/data" "github.com/owncloud/ocis/ocs/pkg/service/v0/response" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" "github.com/owncloud/ocis/proxy/pkg/user/backend" ) diff --git a/ocs/pkg/service/v0/users.go b/ocs/pkg/service/v0/users.go index cf55f10ee..aaa781a6f 100644 --- a/ocs/pkg/service/v0/users.go +++ b/ocs/pkg/service/v0/users.go @@ -10,11 +10,11 @@ import ( "strconv" "strings" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" - storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v1" - storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v1" + storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v0" + storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v0" "github.com/asim/go-micro/plugins/client/grpc/v4" revauser "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" diff --git a/protogen/gen/ocis/messages/accounts/v1/accounts.pb.go b/protogen/gen/ocis/messages/accounts/v0/accounts.pb.go similarity index 92% rename from protogen/gen/ocis/messages/accounts/v1/accounts.pb.go rename to protogen/gen/ocis/messages/accounts/v0/accounts.pb.go index ac50fa2e9..ced523b4a 100644 --- a/protogen/gen/ocis/messages/accounts/v1/accounts.pb.go +++ b/protogen/gen/ocis/messages/accounts/v0/accounts.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 -// source: ocis/messages/accounts/v1/accounts.proto +// source: ocis/messages/accounts/v0/accounts.proto -package v1 +package v0 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -129,7 +129,7 @@ type Account struct { func (x *Account) Reset() { *x = Account{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[0] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -142,7 +142,7 @@ func (x *Account) String() string { func (*Account) ProtoMessage() {} func (x *Account) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[0] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -155,7 +155,7 @@ func (x *Account) ProtoReflect() protoreflect.Message { // Deprecated: Use Account.ProtoReflect.Descriptor instead. func (*Account) Descriptor() ([]byte, []int) { - return file_ocis_messages_accounts_v1_accounts_proto_rawDescGZIP(), []int{0} + return file_ocis_messages_accounts_v0_accounts_proto_rawDescGZIP(), []int{0} } func (x *Account) GetId() string { @@ -386,7 +386,7 @@ type Identities struct { func (x *Identities) Reset() { *x = Identities{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[1] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -399,7 +399,7 @@ func (x *Identities) String() string { func (*Identities) ProtoMessage() {} func (x *Identities) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[1] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -412,7 +412,7 @@ func (x *Identities) ProtoReflect() protoreflect.Message { // Deprecated: Use Identities.ProtoReflect.Descriptor instead. func (*Identities) Descriptor() ([]byte, []int) { - return file_ocis_messages_accounts_v1_accounts_proto_rawDescGZIP(), []int{1} + return file_ocis_messages_accounts_v0_accounts_proto_rawDescGZIP(), []int{1} } func (x *Identities) GetSignInType() string { @@ -460,7 +460,7 @@ type PasswordProfile struct { func (x *PasswordProfile) Reset() { *x = PasswordProfile{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[2] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -473,7 +473,7 @@ func (x *PasswordProfile) String() string { func (*PasswordProfile) ProtoMessage() {} func (x *PasswordProfile) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[2] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -486,7 +486,7 @@ func (x *PasswordProfile) ProtoReflect() protoreflect.Message { // Deprecated: Use PasswordProfile.ProtoReflect.Descriptor instead. func (*PasswordProfile) Descriptor() ([]byte, []int) { - return file_ocis_messages_accounts_v1_accounts_proto_rawDescGZIP(), []int{2} + return file_ocis_messages_accounts_v0_accounts_proto_rawDescGZIP(), []int{2} } func (x *PasswordProfile) GetPassword() string { @@ -599,7 +599,7 @@ type Group struct { func (x *Group) Reset() { *x = Group{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[3] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -612,7 +612,7 @@ func (x *Group) String() string { func (*Group) ProtoMessage() {} func (x *Group) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[3] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -625,7 +625,7 @@ func (x *Group) ProtoReflect() protoreflect.Message { // Deprecated: Use Group.ProtoReflect.Descriptor instead. func (*Group) Descriptor() ([]byte, []int) { - return file_ocis_messages_accounts_v1_accounts_proto_rawDescGZIP(), []int{3} + return file_ocis_messages_accounts_v0_accounts_proto_rawDescGZIP(), []int{3} } func (x *Group) GetId() string { @@ -786,7 +786,7 @@ type OnPremisesProvisioningError struct { func (x *OnPremisesProvisioningError) Reset() { *x = OnPremisesProvisioningError{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[4] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -799,7 +799,7 @@ func (x *OnPremisesProvisioningError) String() string { func (*OnPremisesProvisioningError) ProtoMessage() {} func (x *OnPremisesProvisioningError) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_accounts_v1_accounts_proto_msgTypes[4] + mi := &file_ocis_messages_accounts_v0_accounts_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -812,7 +812,7 @@ func (x *OnPremisesProvisioningError) ProtoReflect() protoreflect.Message { // Deprecated: Use OnPremisesProvisioningError.ProtoReflect.Descriptor instead. func (*OnPremisesProvisioningError) Descriptor() ([]byte, []int) { - return file_ocis_messages_accounts_v1_accounts_proto_rawDescGZIP(), []int{4} + return file_ocis_messages_accounts_v0_accounts_proto_rawDescGZIP(), []int{4} } func (x *OnPremisesProvisioningError) GetCategory() string { @@ -843,14 +843,14 @@ func (x *OnPremisesProvisioningError) GetValue() string { return "" } -var File_ocis_messages_accounts_v1_accounts_proto protoreflect.FileDescriptor +var File_ocis_messages_accounts_v0_accounts_proto protoreflect.FileDescriptor -var file_ocis_messages_accounts_v1_accounts_proto_rawDesc = []byte{ +var file_ocis_messages_accounts_v0_accounts_proto_rawDesc = []byte{ 0x0a, 0x28, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x74, 0x73, 0x2e, 0x76, 0x30, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcc, 0x0d, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, @@ -864,7 +864,7 @@ var file_ocis_messages_accounts_v1_accounts_proto_rawDesc = []byte{ 0x28, 0x09, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, + 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 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, @@ -881,12 +881,12 @@ var file_ocis_messages_accounts_v1_accounts_proto_rawDesc = []byte{ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x10, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x73, 0x73, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x3c, 0x0a, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x12, 0x46, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, @@ -934,7 +934,7 @@ var file_ocis_messages_accounts_v1_accounts_proto_rawDesc = []byte{ 0x6d, 0x69, 0x73, 0x65, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x50, 0x72, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4f, 0x6e, 0x50, 0x72, 0x65, 0x6d, 0x69, 0x73, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x1c, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x6d, 0x69, 0x73, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x45, @@ -997,11 +997,11 @@ var file_ocis_messages_accounts_v1_accounts_proto_rawDesc = []byte{ 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x3a, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x6f, + 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 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, 0x1d, 0x0a, 0x0a, 0x67, 0x69, 0x64, 0x5f, 0x6e, @@ -1061,7 +1061,7 @@ var file_ocis_messages_accounts_v1_accounts_proto_rawDesc = []byte{ 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x50, 0x72, 0x65, 0x6d, 0x69, 0x73, 0x65, 0x73, 0x50, + 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4f, 0x6e, 0x50, 0x72, 0x65, 0x6d, 0x69, 0x73, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x1c, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x6d, 0x69, 0x73, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0xcf, @@ -1082,49 +1082,49 @@ var file_ocis_messages_accounts_v1_accounts_proto_rawDesc = []byte{ 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, - 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_ocis_messages_accounts_v1_accounts_proto_rawDescOnce sync.Once - file_ocis_messages_accounts_v1_accounts_proto_rawDescData = file_ocis_messages_accounts_v1_accounts_proto_rawDesc + file_ocis_messages_accounts_v0_accounts_proto_rawDescOnce sync.Once + file_ocis_messages_accounts_v0_accounts_proto_rawDescData = file_ocis_messages_accounts_v0_accounts_proto_rawDesc ) -func file_ocis_messages_accounts_v1_accounts_proto_rawDescGZIP() []byte { - file_ocis_messages_accounts_v1_accounts_proto_rawDescOnce.Do(func() { - file_ocis_messages_accounts_v1_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_accounts_v1_accounts_proto_rawDescData) +func file_ocis_messages_accounts_v0_accounts_proto_rawDescGZIP() []byte { + file_ocis_messages_accounts_v0_accounts_proto_rawDescOnce.Do(func() { + file_ocis_messages_accounts_v0_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_accounts_v0_accounts_proto_rawDescData) }) - return file_ocis_messages_accounts_v1_accounts_proto_rawDescData + return file_ocis_messages_accounts_v0_accounts_proto_rawDescData } -var file_ocis_messages_accounts_v1_accounts_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_ocis_messages_accounts_v1_accounts_proto_goTypes = []interface{}{ - (*Account)(nil), // 0: ocis.messages.accounts.v1.Account - (*Identities)(nil), // 1: ocis.messages.accounts.v1.Identities - (*PasswordProfile)(nil), // 2: ocis.messages.accounts.v1.PasswordProfile - (*Group)(nil), // 3: ocis.messages.accounts.v1.Group - (*OnPremisesProvisioningError)(nil), // 4: ocis.messages.accounts.v1.OnPremisesProvisioningError +var file_ocis_messages_accounts_v0_accounts_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_ocis_messages_accounts_v0_accounts_proto_goTypes = []interface{}{ + (*Account)(nil), // 0: ocis.messages.accounts.v0.Account + (*Identities)(nil), // 1: ocis.messages.accounts.v0.Identities + (*PasswordProfile)(nil), // 2: ocis.messages.accounts.v0.PasswordProfile + (*Group)(nil), // 3: ocis.messages.accounts.v0.Group + (*OnPremisesProvisioningError)(nil), // 4: ocis.messages.accounts.v0.OnPremisesProvisioningError (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp } -var file_ocis_messages_accounts_v1_accounts_proto_depIdxs = []int32{ - 1, // 0: ocis.messages.accounts.v1.Account.identities:type_name -> ocis.messages.accounts.v1.Identities - 2, // 1: ocis.messages.accounts.v1.Account.password_profile:type_name -> ocis.messages.accounts.v1.PasswordProfile - 3, // 2: ocis.messages.accounts.v1.Account.memberOf:type_name -> ocis.messages.accounts.v1.Group - 5, // 3: ocis.messages.accounts.v1.Account.created_date_time:type_name -> google.protobuf.Timestamp - 5, // 4: ocis.messages.accounts.v1.Account.deleted_date_time:type_name -> google.protobuf.Timestamp - 5, // 5: ocis.messages.accounts.v1.Account.on_premises_last_sync_date_time:type_name -> google.protobuf.Timestamp - 4, // 6: ocis.messages.accounts.v1.Account.on_premises_provisioning_errors:type_name -> ocis.messages.accounts.v1.OnPremisesProvisioningError - 5, // 7: ocis.messages.accounts.v1.Account.external_user_state_change_date_time:type_name -> google.protobuf.Timestamp - 5, // 8: ocis.messages.accounts.v1.Account.refresh_tokens_valid_from_date_time:type_name -> google.protobuf.Timestamp - 5, // 9: ocis.messages.accounts.v1.Account.sign_in_sessions_valid_from_date_time:type_name -> google.protobuf.Timestamp - 5, // 10: ocis.messages.accounts.v1.PasswordProfile.last_password_change_date_time:type_name -> google.protobuf.Timestamp - 0, // 11: ocis.messages.accounts.v1.Group.members:type_name -> ocis.messages.accounts.v1.Account - 0, // 12: ocis.messages.accounts.v1.Group.owners:type_name -> ocis.messages.accounts.v1.Account - 5, // 13: ocis.messages.accounts.v1.Group.created_date_time:type_name -> google.protobuf.Timestamp - 5, // 14: ocis.messages.accounts.v1.Group.deleted_date_time:type_name -> google.protobuf.Timestamp - 5, // 15: ocis.messages.accounts.v1.Group.expiration_date_time:type_name -> google.protobuf.Timestamp - 4, // 16: ocis.messages.accounts.v1.Group.on_premises_provisioning_errors:type_name -> ocis.messages.accounts.v1.OnPremisesProvisioningError - 5, // 17: ocis.messages.accounts.v1.OnPremisesProvisioningError.occurred_date_time:type_name -> google.protobuf.Timestamp +var file_ocis_messages_accounts_v0_accounts_proto_depIdxs = []int32{ + 1, // 0: ocis.messages.accounts.v0.Account.identities:type_name -> ocis.messages.accounts.v0.Identities + 2, // 1: ocis.messages.accounts.v0.Account.password_profile:type_name -> ocis.messages.accounts.v0.PasswordProfile + 3, // 2: ocis.messages.accounts.v0.Account.memberOf:type_name -> ocis.messages.accounts.v0.Group + 5, // 3: ocis.messages.accounts.v0.Account.created_date_time:type_name -> google.protobuf.Timestamp + 5, // 4: ocis.messages.accounts.v0.Account.deleted_date_time:type_name -> google.protobuf.Timestamp + 5, // 5: ocis.messages.accounts.v0.Account.on_premises_last_sync_date_time:type_name -> google.protobuf.Timestamp + 4, // 6: ocis.messages.accounts.v0.Account.on_premises_provisioning_errors:type_name -> ocis.messages.accounts.v0.OnPremisesProvisioningError + 5, // 7: ocis.messages.accounts.v0.Account.external_user_state_change_date_time:type_name -> google.protobuf.Timestamp + 5, // 8: ocis.messages.accounts.v0.Account.refresh_tokens_valid_from_date_time:type_name -> google.protobuf.Timestamp + 5, // 9: ocis.messages.accounts.v0.Account.sign_in_sessions_valid_from_date_time:type_name -> google.protobuf.Timestamp + 5, // 10: ocis.messages.accounts.v0.PasswordProfile.last_password_change_date_time:type_name -> google.protobuf.Timestamp + 0, // 11: ocis.messages.accounts.v0.Group.members:type_name -> ocis.messages.accounts.v0.Account + 0, // 12: ocis.messages.accounts.v0.Group.owners:type_name -> ocis.messages.accounts.v0.Account + 5, // 13: ocis.messages.accounts.v0.Group.created_date_time:type_name -> google.protobuf.Timestamp + 5, // 14: ocis.messages.accounts.v0.Group.deleted_date_time:type_name -> google.protobuf.Timestamp + 5, // 15: ocis.messages.accounts.v0.Group.expiration_date_time:type_name -> google.protobuf.Timestamp + 4, // 16: ocis.messages.accounts.v0.Group.on_premises_provisioning_errors:type_name -> ocis.messages.accounts.v0.OnPremisesProvisioningError + 5, // 17: ocis.messages.accounts.v0.OnPremisesProvisioningError.occurred_date_time:type_name -> google.protobuf.Timestamp 18, // [18:18] is the sub-list for method output_type 18, // [18:18] is the sub-list for method input_type 18, // [18:18] is the sub-list for extension type_name @@ -1132,13 +1132,13 @@ var file_ocis_messages_accounts_v1_accounts_proto_depIdxs = []int32{ 0, // [0:18] is the sub-list for field type_name } -func init() { file_ocis_messages_accounts_v1_accounts_proto_init() } -func file_ocis_messages_accounts_v1_accounts_proto_init() { - if File_ocis_messages_accounts_v1_accounts_proto != nil { +func init() { file_ocis_messages_accounts_v0_accounts_proto_init() } +func file_ocis_messages_accounts_v0_accounts_proto_init() { + if File_ocis_messages_accounts_v0_accounts_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_ocis_messages_accounts_v1_accounts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_accounts_v0_accounts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Account); i { case 0: return &v.state @@ -1150,7 +1150,7 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_messages_accounts_v1_accounts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_accounts_v0_accounts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Identities); i { case 0: return &v.state @@ -1162,7 +1162,7 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_messages_accounts_v1_accounts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_accounts_v0_accounts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PasswordProfile); i { case 0: return &v.state @@ -1174,7 +1174,7 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_messages_accounts_v1_accounts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_accounts_v0_accounts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Group); i { case 0: return &v.state @@ -1186,7 +1186,7 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_messages_accounts_v1_accounts_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_accounts_v0_accounts_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OnPremisesProvisioningError); i { case 0: return &v.state @@ -1203,18 +1203,18 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ocis_messages_accounts_v1_accounts_proto_rawDesc, + RawDescriptor: file_ocis_messages_accounts_v0_accounts_proto_rawDesc, NumEnums: 0, NumMessages: 5, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_ocis_messages_accounts_v1_accounts_proto_goTypes, - DependencyIndexes: file_ocis_messages_accounts_v1_accounts_proto_depIdxs, - MessageInfos: file_ocis_messages_accounts_v1_accounts_proto_msgTypes, + GoTypes: file_ocis_messages_accounts_v0_accounts_proto_goTypes, + DependencyIndexes: file_ocis_messages_accounts_v0_accounts_proto_depIdxs, + MessageInfos: file_ocis_messages_accounts_v0_accounts_proto_msgTypes, }.Build() - File_ocis_messages_accounts_v1_accounts_proto = out.File - file_ocis_messages_accounts_v1_accounts_proto_rawDesc = nil - file_ocis_messages_accounts_v1_accounts_proto_goTypes = nil - file_ocis_messages_accounts_v1_accounts_proto_depIdxs = nil + File_ocis_messages_accounts_v0_accounts_proto = out.File + file_ocis_messages_accounts_v0_accounts_proto_rawDesc = nil + file_ocis_messages_accounts_v0_accounts_proto_goTypes = nil + file_ocis_messages_accounts_v0_accounts_proto_depIdxs = nil } diff --git a/protogen/gen/ocis/messages/accounts/v1/accounts.pb.micro.go b/protogen/gen/ocis/messages/accounts/v0/accounts.pb.micro.go similarity index 83% rename from protogen/gen/ocis/messages/accounts/v1/accounts.pb.micro.go rename to protogen/gen/ocis/messages/accounts/v0/accounts.pb.micro.go index 35dd36abe..d60f2d110 100644 --- a/protogen/gen/ocis/messages/accounts/v1/accounts.pb.micro.go +++ b/protogen/gen/ocis/messages/accounts/v0/accounts.pb.micro.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-micro. DO NOT EDIT. -// source: ocis/messages/accounts/v1/accounts.proto +// source: ocis/messages/accounts/v0/accounts.proto -package v1 +package v0 import ( fmt "fmt" diff --git a/protogen/gen/ocis/messages/accounts/v1/accounts.pb.web.go b/protogen/gen/ocis/messages/accounts/v0/accounts.pb.web.go similarity index 99% rename from protogen/gen/ocis/messages/accounts/v1/accounts.pb.web.go rename to protogen/gen/ocis/messages/accounts/v0/accounts.pb.web.go index 936cee723..2ee0b94f4 100644 --- a/protogen/gen/ocis/messages/accounts/v1/accounts.pb.web.go +++ b/protogen/gen/ocis/messages/accounts/v0/accounts.pb.web.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-microweb. DO NOT EDIT. -// source: v1.proto +// source: v0.proto -package v1 +package v0 import ( "bytes" diff --git a/protogen/gen/ocis/messages/accounts/v1/accounts.swagger.json b/protogen/gen/ocis/messages/accounts/v0/accounts.swagger.json similarity index 92% rename from protogen/gen/ocis/messages/accounts/v1/accounts.swagger.json rename to protogen/gen/ocis/messages/accounts/v0/accounts.swagger.json index 2b3662959..bc6d8c7c0 100644 --- a/protogen/gen/ocis/messages/accounts/v1/accounts.swagger.json +++ b/protogen/gen/ocis/messages/accounts/v0/accounts.swagger.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "ocis/messages/accounts/v1/accounts.proto", + "title": "ocis/messages/accounts/v0/accounts.proto", "version": "version not set" }, "consumes": [ diff --git a/protogen/gen/ocis/messages/settings/v1/settings.pb.go b/protogen/gen/ocis/messages/settings/v0/settings.pb.go similarity index 83% rename from protogen/gen/ocis/messages/settings/v1/settings.pb.go rename to protogen/gen/ocis/messages/settings/v0/settings.pb.go index 1b7630c70..c4522665c 100644 --- a/protogen/gen/ocis/messages/settings/v1/settings.pb.go +++ b/protogen/gen/ocis/messages/settings/v0/settings.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 -// source: ocis/messages/settings/v1/settings.proto +// source: ocis/messages/settings/v0/settings.proto -package v1 +package v0 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -68,11 +68,11 @@ func (x Resource_Type) String() string { } func (Resource_Type) Descriptor() protoreflect.EnumDescriptor { - return file_ocis_messages_settings_v1_settings_proto_enumTypes[0].Descriptor() + return file_ocis_messages_settings_v0_settings_proto_enumTypes[0].Descriptor() } func (Resource_Type) Type() protoreflect.EnumType { - return &file_ocis_messages_settings_v1_settings_proto_enumTypes[0] + return &file_ocis_messages_settings_v0_settings_proto_enumTypes[0] } func (x Resource_Type) Number() protoreflect.EnumNumber { @@ -81,7 +81,7 @@ func (x Resource_Type) Number() protoreflect.EnumNumber { // Deprecated: Use Resource_Type.Descriptor instead. func (Resource_Type) EnumDescriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{3, 0} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{3, 0} } type Bundle_Type int32 @@ -117,11 +117,11 @@ func (x Bundle_Type) String() string { } func (Bundle_Type) Descriptor() protoreflect.EnumDescriptor { - return file_ocis_messages_settings_v1_settings_proto_enumTypes[1].Descriptor() + return file_ocis_messages_settings_v0_settings_proto_enumTypes[1].Descriptor() } func (Bundle_Type) Type() protoreflect.EnumType { - return &file_ocis_messages_settings_v1_settings_proto_enumTypes[1] + return &file_ocis_messages_settings_v0_settings_proto_enumTypes[1] } func (x Bundle_Type) Number() protoreflect.EnumNumber { @@ -130,7 +130,7 @@ func (x Bundle_Type) Number() protoreflect.EnumNumber { // Deprecated: Use Bundle_Type.Descriptor instead. func (Bundle_Type) EnumDescriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{4, 0} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{4, 0} } type Permission_Operation int32 @@ -178,11 +178,11 @@ func (x Permission_Operation) String() string { } func (Permission_Operation) Descriptor() protoreflect.EnumDescriptor { - return file_ocis_messages_settings_v1_settings_proto_enumTypes[2].Descriptor() + return file_ocis_messages_settings_v0_settings_proto_enumTypes[2].Descriptor() } func (Permission_Operation) Type() protoreflect.EnumType { - return &file_ocis_messages_settings_v1_settings_proto_enumTypes[2] + return &file_ocis_messages_settings_v0_settings_proto_enumTypes[2] } func (x Permission_Operation) Number() protoreflect.EnumNumber { @@ -191,7 +191,7 @@ func (x Permission_Operation) Number() protoreflect.EnumNumber { // Deprecated: Use Permission_Operation.Descriptor instead. func (Permission_Operation) EnumDescriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{12, 0} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{12, 0} } type Permission_Constraint int32 @@ -230,11 +230,11 @@ func (x Permission_Constraint) String() string { } func (Permission_Constraint) Descriptor() protoreflect.EnumDescriptor { - return file_ocis_messages_settings_v1_settings_proto_enumTypes[3].Descriptor() + return file_ocis_messages_settings_v0_settings_proto_enumTypes[3].Descriptor() } func (Permission_Constraint) Type() protoreflect.EnumType { - return &file_ocis_messages_settings_v1_settings_proto_enumTypes[3] + return &file_ocis_messages_settings_v0_settings_proto_enumTypes[3] } func (x Permission_Constraint) Number() protoreflect.EnumNumber { @@ -243,7 +243,7 @@ func (x Permission_Constraint) Number() protoreflect.EnumNumber { // Deprecated: Use Permission_Constraint.Descriptor instead. func (Permission_Constraint) EnumDescriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{12, 1} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{12, 1} } type ValueWithIdentifier struct { @@ -258,7 +258,7 @@ type ValueWithIdentifier struct { func (x *ValueWithIdentifier) Reset() { *x = ValueWithIdentifier{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[0] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -271,7 +271,7 @@ func (x *ValueWithIdentifier) String() string { func (*ValueWithIdentifier) ProtoMessage() {} func (x *ValueWithIdentifier) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[0] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -284,7 +284,7 @@ func (x *ValueWithIdentifier) ProtoReflect() protoreflect.Message { // Deprecated: Use ValueWithIdentifier.ProtoReflect.Descriptor instead. func (*ValueWithIdentifier) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{0} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{0} } func (x *ValueWithIdentifier) GetIdentifier() *Identifier { @@ -314,7 +314,7 @@ type Identifier struct { func (x *Identifier) Reset() { *x = Identifier{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[1] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -327,7 +327,7 @@ func (x *Identifier) String() string { func (*Identifier) ProtoMessage() {} func (x *Identifier) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[1] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -340,7 +340,7 @@ func (x *Identifier) ProtoReflect() protoreflect.Message { // Deprecated: Use Identifier.ProtoReflect.Descriptor instead. func (*Identifier) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{1} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{1} } func (x *Identifier) GetExtension() string { @@ -379,7 +379,7 @@ type UserRoleAssignment struct { func (x *UserRoleAssignment) Reset() { *x = UserRoleAssignment{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[2] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -392,7 +392,7 @@ func (x *UserRoleAssignment) String() string { func (*UserRoleAssignment) ProtoMessage() {} func (x *UserRoleAssignment) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[2] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -405,7 +405,7 @@ func (x *UserRoleAssignment) ProtoReflect() protoreflect.Message { // Deprecated: Use UserRoleAssignment.ProtoReflect.Descriptor instead. func (*UserRoleAssignment) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{2} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{2} } func (x *UserRoleAssignment) GetId() string { @@ -434,14 +434,14 @@ type Resource struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Type Resource_Type `protobuf:"varint,1,opt,name=type,proto3,enum=ocis.messages.settings.v1.Resource_Type" json:"type,omitempty"` + Type Resource_Type `protobuf:"varint,1,opt,name=type,proto3,enum=ocis.messages.settings.v0.Resource_Type" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` } func (x *Resource) Reset() { *x = Resource{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[3] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -454,7 +454,7 @@ func (x *Resource) String() string { func (*Resource) ProtoMessage() {} func (x *Resource) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[3] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -467,7 +467,7 @@ func (x *Resource) ProtoReflect() protoreflect.Message { // Deprecated: Use Resource.ProtoReflect.Descriptor instead. func (*Resource) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{3} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{3} } func (x *Resource) GetType() Resource_Type { @@ -491,7 +491,7 @@ type Bundle struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Type Bundle_Type `protobuf:"varint,3,opt,name=type,proto3,enum=ocis.messages.settings.v1.Bundle_Type" json:"type,omitempty"` + Type Bundle_Type `protobuf:"varint,3,opt,name=type,proto3,enum=ocis.messages.settings.v0.Bundle_Type" json:"type,omitempty"` Extension string `protobuf:"bytes,4,opt,name=extension,proto3" json:"extension,omitempty"` DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Settings []*Setting `protobuf:"bytes,6,rep,name=settings,proto3" json:"settings,omitempty"` @@ -501,7 +501,7 @@ type Bundle struct { func (x *Bundle) Reset() { *x = Bundle{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[4] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -514,7 +514,7 @@ func (x *Bundle) String() string { func (*Bundle) ProtoMessage() {} func (x *Bundle) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[4] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -527,7 +527,7 @@ func (x *Bundle) ProtoReflect() protoreflect.Message { // Deprecated: Use Bundle.ProtoReflect.Descriptor instead. func (*Bundle) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{4} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{4} } func (x *Bundle) GetId() string { @@ -602,7 +602,7 @@ type Setting struct { func (x *Setting) Reset() { *x = Setting{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[5] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -615,7 +615,7 @@ func (x *Setting) String() string { func (*Setting) ProtoMessage() {} func (x *Setting) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[5] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -628,7 +628,7 @@ func (x *Setting) ProtoReflect() protoreflect.Message { // Deprecated: Use Setting.ProtoReflect.Descriptor instead. func (*Setting) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{5} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{5} } func (x *Setting) GetId() string { @@ -770,7 +770,7 @@ type Int struct { func (x *Int) Reset() { *x = Int{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[6] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -783,7 +783,7 @@ func (x *Int) String() string { func (*Int) ProtoMessage() {} func (x *Int) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[6] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -796,7 +796,7 @@ func (x *Int) ProtoReflect() protoreflect.Message { // Deprecated: Use Int.ProtoReflect.Descriptor instead. func (*Int) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{6} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{6} } func (x *Int) GetDefault() int64 { @@ -849,7 +849,7 @@ type String struct { func (x *String) Reset() { *x = String{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[7] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -862,7 +862,7 @@ func (x *String) String() string { func (*String) ProtoMessage() {} func (x *String) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[7] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -875,7 +875,7 @@ func (x *String) ProtoReflect() protoreflect.Message { // Deprecated: Use String.ProtoReflect.Descriptor instead. func (*String) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{7} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{7} } func (x *String) GetDefault() string { @@ -925,7 +925,7 @@ type Bool struct { func (x *Bool) Reset() { *x = Bool{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[8] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -938,7 +938,7 @@ func (x *Bool) String() string { func (*Bool) ProtoMessage() {} func (x *Bool) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[8] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -951,7 +951,7 @@ func (x *Bool) ProtoReflect() protoreflect.Message { // Deprecated: Use Bool.ProtoReflect.Descriptor instead. func (*Bool) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{8} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{8} } func (x *Bool) GetDefault() bool { @@ -979,7 +979,7 @@ type SingleChoiceList struct { func (x *SingleChoiceList) Reset() { *x = SingleChoiceList{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[9] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -992,7 +992,7 @@ func (x *SingleChoiceList) String() string { func (*SingleChoiceList) ProtoMessage() {} func (x *SingleChoiceList) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[9] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1005,7 +1005,7 @@ func (x *SingleChoiceList) ProtoReflect() protoreflect.Message { // Deprecated: Use SingleChoiceList.ProtoReflect.Descriptor instead. func (*SingleChoiceList) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{9} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{9} } func (x *SingleChoiceList) GetOptions() []*ListOption { @@ -1026,7 +1026,7 @@ type MultiChoiceList struct { func (x *MultiChoiceList) Reset() { *x = MultiChoiceList{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[10] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1039,7 +1039,7 @@ func (x *MultiChoiceList) String() string { func (*MultiChoiceList) ProtoMessage() {} func (x *MultiChoiceList) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[10] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1052,7 +1052,7 @@ func (x *MultiChoiceList) ProtoReflect() protoreflect.Message { // Deprecated: Use MultiChoiceList.ProtoReflect.Descriptor instead. func (*MultiChoiceList) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{10} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{10} } func (x *MultiChoiceList) GetOptions() []*ListOption { @@ -1075,7 +1075,7 @@ type ListOption struct { func (x *ListOption) Reset() { *x = ListOption{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[11] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1088,7 +1088,7 @@ func (x *ListOption) String() string { func (*ListOption) ProtoMessage() {} func (x *ListOption) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[11] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1101,7 +1101,7 @@ func (x *ListOption) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOption.ProtoReflect.Descriptor instead. func (*ListOption) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{11} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{11} } func (x *ListOption) GetValue() *ListOptionValue { @@ -1130,14 +1130,14 @@ type Permission struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Operation Permission_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=ocis.messages.settings.v1.Permission_Operation" json:"operation,omitempty"` - Constraint Permission_Constraint `protobuf:"varint,2,opt,name=constraint,proto3,enum=ocis.messages.settings.v1.Permission_Constraint" json:"constraint,omitempty"` + Operation Permission_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=ocis.messages.settings.v0.Permission_Operation" json:"operation,omitempty"` + Constraint Permission_Constraint `protobuf:"varint,2,opt,name=constraint,proto3,enum=ocis.messages.settings.v0.Permission_Constraint" json:"constraint,omitempty"` } func (x *Permission) Reset() { *x = Permission{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[12] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1150,7 +1150,7 @@ func (x *Permission) String() string { func (*Permission) ProtoMessage() {} func (x *Permission) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[12] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1163,7 +1163,7 @@ func (x *Permission) ProtoReflect() protoreflect.Message { // Deprecated: Use Permission.ProtoReflect.Descriptor instead. func (*Permission) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{12} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{12} } func (x *Permission) GetOperation() Permission_Operation { @@ -1203,7 +1203,7 @@ type Value struct { func (x *Value) Reset() { *x = Value{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[13] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1216,7 +1216,7 @@ func (x *Value) String() string { func (*Value) ProtoMessage() {} func (x *Value) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[13] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1229,7 +1229,7 @@ func (x *Value) ProtoReflect() protoreflect.Message { // Deprecated: Use Value.ProtoReflect.Descriptor instead. func (*Value) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{13} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{13} } func (x *Value) GetId() string { @@ -1341,7 +1341,7 @@ type ListValue struct { func (x *ListValue) Reset() { *x = ListValue{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[14] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1354,7 +1354,7 @@ func (x *ListValue) String() string { func (*ListValue) ProtoMessage() {} func (x *ListValue) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[14] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1367,7 +1367,7 @@ func (x *ListValue) ProtoReflect() protoreflect.Message { // Deprecated: Use ListValue.ProtoReflect.Descriptor instead. func (*ListValue) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{14} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{14} } func (x *ListValue) GetValues() []*ListOptionValue { @@ -1391,7 +1391,7 @@ type ListOptionValue struct { func (x *ListOptionValue) Reset() { *x = ListOptionValue{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[15] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1404,7 +1404,7 @@ func (x *ListOptionValue) String() string { func (*ListOptionValue) ProtoMessage() {} func (x *ListOptionValue) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_settings_v1_settings_proto_msgTypes[15] + mi := &file_ocis_messages_settings_v0_settings_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1417,7 +1417,7 @@ func (x *ListOptionValue) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOptionValue.ProtoReflect.Descriptor instead. func (*ListOptionValue) Descriptor() ([]byte, []int) { - return file_ocis_messages_settings_v1_settings_proto_rawDescGZIP(), []int{15} + return file_ocis_messages_settings_v0_settings_proto_rawDescGZIP(), []int{15} } func (m *ListOptionValue) GetOption() isListOptionValue_Option { @@ -1457,22 +1457,22 @@ func (*ListOptionValue_StringValue) isListOptionValue_Option() {} func (*ListOptionValue_IntValue) isListOptionValue_Option() {} -var File_ocis_messages_settings_v1_settings_proto protoreflect.FileDescriptor +var File_ocis_messages_settings_v0_settings_proto protoreflect.FileDescriptor -var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ +var file_ocis_messages_settings_v0_settings_proto_rawDesc = []byte{ 0x0a, 0x28, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, - 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x74, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x94, 0x01, 0x0a, 0x13, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x57, + 0x67, 0x73, 0x2e, 0x76, 0x30, 0x22, 0x94, 0x01, 0x0a, 0x13, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x57, 0x69, 0x74, 0x68, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x64, + 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x5c, 0x0a, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, @@ -1489,7 +1489,7 @@ var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, + 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, @@ -1505,7 +1505,7 @@ var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, + 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, @@ -1513,11 +1513,11 @@ var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x39, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x54, @@ -1532,37 +1532,37 @@ var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, + 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x49, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, + 0x76, 0x30, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x48, 0x00, 0x52, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x5d, 0x0a, 0x13, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x30, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x11, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x5a, 0x0a, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, + 0x30, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x52, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, - 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x6d, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x79, 0x0a, 0x03, 0x49, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x64, 0x65, 0x66, @@ -1589,17 +1589,17 @@ var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ 0x65, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x52, 0x0a, 0x0f, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, - 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8d, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, @@ -1608,12 +1608,12 @@ var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ 0x22, 0xbb, 0x03, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0xa6, 0x01, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, @@ -1643,7 +1643,7 @@ var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ 0x75, 0x6e, 0x74, 0x55, 0x75, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, + 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, @@ -1653,13 +1653,13 @@ var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4f, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x5f, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, @@ -1671,67 +1671,67 @@ var file_ocis_messages_settings_v1_settings_proto_rawDesc = []byte{ 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, - 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_ocis_messages_settings_v1_settings_proto_rawDescOnce sync.Once - file_ocis_messages_settings_v1_settings_proto_rawDescData = file_ocis_messages_settings_v1_settings_proto_rawDesc + file_ocis_messages_settings_v0_settings_proto_rawDescOnce sync.Once + file_ocis_messages_settings_v0_settings_proto_rawDescData = file_ocis_messages_settings_v0_settings_proto_rawDesc ) -func file_ocis_messages_settings_v1_settings_proto_rawDescGZIP() []byte { - file_ocis_messages_settings_v1_settings_proto_rawDescOnce.Do(func() { - file_ocis_messages_settings_v1_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_settings_v1_settings_proto_rawDescData) +func file_ocis_messages_settings_v0_settings_proto_rawDescGZIP() []byte { + file_ocis_messages_settings_v0_settings_proto_rawDescOnce.Do(func() { + file_ocis_messages_settings_v0_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_settings_v0_settings_proto_rawDescData) }) - return file_ocis_messages_settings_v1_settings_proto_rawDescData + return file_ocis_messages_settings_v0_settings_proto_rawDescData } -var file_ocis_messages_settings_v1_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_ocis_messages_settings_v1_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_ocis_messages_settings_v1_settings_proto_goTypes = []interface{}{ - (Resource_Type)(0), // 0: ocis.messages.settings.v1.Resource.Type - (Bundle_Type)(0), // 1: ocis.messages.settings.v1.Bundle.Type - (Permission_Operation)(0), // 2: ocis.messages.settings.v1.Permission.Operation - (Permission_Constraint)(0), // 3: ocis.messages.settings.v1.Permission.Constraint - (*ValueWithIdentifier)(nil), // 4: ocis.messages.settings.v1.ValueWithIdentifier - (*Identifier)(nil), // 5: ocis.messages.settings.v1.Identifier - (*UserRoleAssignment)(nil), // 6: ocis.messages.settings.v1.UserRoleAssignment - (*Resource)(nil), // 7: ocis.messages.settings.v1.Resource - (*Bundle)(nil), // 8: ocis.messages.settings.v1.Bundle - (*Setting)(nil), // 9: ocis.messages.settings.v1.Setting - (*Int)(nil), // 10: ocis.messages.settings.v1.Int - (*String)(nil), // 11: ocis.messages.settings.v1.String - (*Bool)(nil), // 12: ocis.messages.settings.v1.Bool - (*SingleChoiceList)(nil), // 13: ocis.messages.settings.v1.SingleChoiceList - (*MultiChoiceList)(nil), // 14: ocis.messages.settings.v1.MultiChoiceList - (*ListOption)(nil), // 15: ocis.messages.settings.v1.ListOption - (*Permission)(nil), // 16: ocis.messages.settings.v1.Permission - (*Value)(nil), // 17: ocis.messages.settings.v1.Value - (*ListValue)(nil), // 18: ocis.messages.settings.v1.ListValue - (*ListOptionValue)(nil), // 19: ocis.messages.settings.v1.ListOptionValue +var file_ocis_messages_settings_v0_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_ocis_messages_settings_v0_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_ocis_messages_settings_v0_settings_proto_goTypes = []interface{}{ + (Resource_Type)(0), // 0: ocis.messages.settings.v0.Resource.Type + (Bundle_Type)(0), // 1: ocis.messages.settings.v0.Bundle.Type + (Permission_Operation)(0), // 2: ocis.messages.settings.v0.Permission.Operation + (Permission_Constraint)(0), // 3: ocis.messages.settings.v0.Permission.Constraint + (*ValueWithIdentifier)(nil), // 4: ocis.messages.settings.v0.ValueWithIdentifier + (*Identifier)(nil), // 5: ocis.messages.settings.v0.Identifier + (*UserRoleAssignment)(nil), // 6: ocis.messages.settings.v0.UserRoleAssignment + (*Resource)(nil), // 7: ocis.messages.settings.v0.Resource + (*Bundle)(nil), // 8: ocis.messages.settings.v0.Bundle + (*Setting)(nil), // 9: ocis.messages.settings.v0.Setting + (*Int)(nil), // 10: ocis.messages.settings.v0.Int + (*String)(nil), // 11: ocis.messages.settings.v0.String + (*Bool)(nil), // 12: ocis.messages.settings.v0.Bool + (*SingleChoiceList)(nil), // 13: ocis.messages.settings.v0.SingleChoiceList + (*MultiChoiceList)(nil), // 14: ocis.messages.settings.v0.MultiChoiceList + (*ListOption)(nil), // 15: ocis.messages.settings.v0.ListOption + (*Permission)(nil), // 16: ocis.messages.settings.v0.Permission + (*Value)(nil), // 17: ocis.messages.settings.v0.Value + (*ListValue)(nil), // 18: ocis.messages.settings.v0.ListValue + (*ListOptionValue)(nil), // 19: ocis.messages.settings.v0.ListOptionValue } -var file_ocis_messages_settings_v1_settings_proto_depIdxs = []int32{ - 5, // 0: ocis.messages.settings.v1.ValueWithIdentifier.identifier:type_name -> ocis.messages.settings.v1.Identifier - 17, // 1: ocis.messages.settings.v1.ValueWithIdentifier.value:type_name -> ocis.messages.settings.v1.Value - 0, // 2: ocis.messages.settings.v1.Resource.type:type_name -> ocis.messages.settings.v1.Resource.Type - 1, // 3: ocis.messages.settings.v1.Bundle.type:type_name -> ocis.messages.settings.v1.Bundle.Type - 9, // 4: ocis.messages.settings.v1.Bundle.settings:type_name -> ocis.messages.settings.v1.Setting - 7, // 5: ocis.messages.settings.v1.Bundle.resource:type_name -> ocis.messages.settings.v1.Resource - 10, // 6: ocis.messages.settings.v1.Setting.int_value:type_name -> ocis.messages.settings.v1.Int - 11, // 7: ocis.messages.settings.v1.Setting.string_value:type_name -> ocis.messages.settings.v1.String - 12, // 8: ocis.messages.settings.v1.Setting.bool_value:type_name -> ocis.messages.settings.v1.Bool - 13, // 9: ocis.messages.settings.v1.Setting.single_choice_value:type_name -> ocis.messages.settings.v1.SingleChoiceList - 14, // 10: ocis.messages.settings.v1.Setting.multi_choice_value:type_name -> ocis.messages.settings.v1.MultiChoiceList - 16, // 11: ocis.messages.settings.v1.Setting.permission_value:type_name -> ocis.messages.settings.v1.Permission - 7, // 12: ocis.messages.settings.v1.Setting.resource:type_name -> ocis.messages.settings.v1.Resource - 15, // 13: ocis.messages.settings.v1.SingleChoiceList.options:type_name -> ocis.messages.settings.v1.ListOption - 15, // 14: ocis.messages.settings.v1.MultiChoiceList.options:type_name -> ocis.messages.settings.v1.ListOption - 19, // 15: ocis.messages.settings.v1.ListOption.value:type_name -> ocis.messages.settings.v1.ListOptionValue - 2, // 16: ocis.messages.settings.v1.Permission.operation:type_name -> ocis.messages.settings.v1.Permission.Operation - 3, // 17: ocis.messages.settings.v1.Permission.constraint:type_name -> ocis.messages.settings.v1.Permission.Constraint - 7, // 18: ocis.messages.settings.v1.Value.resource:type_name -> ocis.messages.settings.v1.Resource - 18, // 19: ocis.messages.settings.v1.Value.list_value:type_name -> ocis.messages.settings.v1.ListValue - 19, // 20: ocis.messages.settings.v1.ListValue.values:type_name -> ocis.messages.settings.v1.ListOptionValue +var file_ocis_messages_settings_v0_settings_proto_depIdxs = []int32{ + 5, // 0: ocis.messages.settings.v0.ValueWithIdentifier.identifier:type_name -> ocis.messages.settings.v0.Identifier + 17, // 1: ocis.messages.settings.v0.ValueWithIdentifier.value:type_name -> ocis.messages.settings.v0.Value + 0, // 2: ocis.messages.settings.v0.Resource.type:type_name -> ocis.messages.settings.v0.Resource.Type + 1, // 3: ocis.messages.settings.v0.Bundle.type:type_name -> ocis.messages.settings.v0.Bundle.Type + 9, // 4: ocis.messages.settings.v0.Bundle.settings:type_name -> ocis.messages.settings.v0.Setting + 7, // 5: ocis.messages.settings.v0.Bundle.resource:type_name -> ocis.messages.settings.v0.Resource + 10, // 6: ocis.messages.settings.v0.Setting.int_value:type_name -> ocis.messages.settings.v0.Int + 11, // 7: ocis.messages.settings.v0.Setting.string_value:type_name -> ocis.messages.settings.v0.String + 12, // 8: ocis.messages.settings.v0.Setting.bool_value:type_name -> ocis.messages.settings.v0.Bool + 13, // 9: ocis.messages.settings.v0.Setting.single_choice_value:type_name -> ocis.messages.settings.v0.SingleChoiceList + 14, // 10: ocis.messages.settings.v0.Setting.multi_choice_value:type_name -> ocis.messages.settings.v0.MultiChoiceList + 16, // 11: ocis.messages.settings.v0.Setting.permission_value:type_name -> ocis.messages.settings.v0.Permission + 7, // 12: ocis.messages.settings.v0.Setting.resource:type_name -> ocis.messages.settings.v0.Resource + 15, // 13: ocis.messages.settings.v0.SingleChoiceList.options:type_name -> ocis.messages.settings.v0.ListOption + 15, // 14: ocis.messages.settings.v0.MultiChoiceList.options:type_name -> ocis.messages.settings.v0.ListOption + 19, // 15: ocis.messages.settings.v0.ListOption.value:type_name -> ocis.messages.settings.v0.ListOptionValue + 2, // 16: ocis.messages.settings.v0.Permission.operation:type_name -> ocis.messages.settings.v0.Permission.Operation + 3, // 17: ocis.messages.settings.v0.Permission.constraint:type_name -> ocis.messages.settings.v0.Permission.Constraint + 7, // 18: ocis.messages.settings.v0.Value.resource:type_name -> ocis.messages.settings.v0.Resource + 18, // 19: ocis.messages.settings.v0.Value.list_value:type_name -> ocis.messages.settings.v0.ListValue + 19, // 20: ocis.messages.settings.v0.ListValue.values:type_name -> ocis.messages.settings.v0.ListOptionValue 21, // [21:21] is the sub-list for method output_type 21, // [21:21] is the sub-list for method input_type 21, // [21:21] is the sub-list for extension type_name @@ -1739,13 +1739,13 @@ var file_ocis_messages_settings_v1_settings_proto_depIdxs = []int32{ 0, // [0:21] is the sub-list for field type_name } -func init() { file_ocis_messages_settings_v1_settings_proto_init() } -func file_ocis_messages_settings_v1_settings_proto_init() { - if File_ocis_messages_settings_v1_settings_proto != nil { +func init() { file_ocis_messages_settings_v0_settings_proto_init() } +func file_ocis_messages_settings_v0_settings_proto_init() { + if File_ocis_messages_settings_v0_settings_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_ocis_messages_settings_v1_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ValueWithIdentifier); i { case 0: return &v.state @@ -1757,7 +1757,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Identifier); i { case 0: return &v.state @@ -1769,7 +1769,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserRoleAssignment); i { case 0: return &v.state @@ -1781,7 +1781,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Resource); i { case 0: return &v.state @@ -1793,7 +1793,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Bundle); i { case 0: return &v.state @@ -1805,7 +1805,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Setting); i { case 0: return &v.state @@ -1817,7 +1817,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Int); i { case 0: return &v.state @@ -1829,7 +1829,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*String); i { case 0: return &v.state @@ -1841,7 +1841,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Bool); i { case 0: return &v.state @@ -1853,7 +1853,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SingleChoiceList); i { case 0: return &v.state @@ -1865,7 +1865,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MultiChoiceList); i { case 0: return &v.state @@ -1877,7 +1877,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListOption); i { case 0: return &v.state @@ -1889,7 +1889,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Permission); i { case 0: return &v.state @@ -1901,7 +1901,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Value); i { case 0: return &v.state @@ -1913,7 +1913,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListValue); i { case 0: return &v.state @@ -1925,7 +1925,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { return nil } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_settings_v0_settings_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListOptionValue); i { case 0: return &v.state @@ -1938,7 +1938,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() { } } } - file_ocis_messages_settings_v1_settings_proto_msgTypes[5].OneofWrappers = []interface{}{ + file_ocis_messages_settings_v0_settings_proto_msgTypes[5].OneofWrappers = []interface{}{ (*Setting_IntValue)(nil), (*Setting_StringValue)(nil), (*Setting_BoolValue)(nil), @@ -1946,13 +1946,13 @@ func file_ocis_messages_settings_v1_settings_proto_init() { (*Setting_MultiChoiceValue)(nil), (*Setting_PermissionValue)(nil), } - file_ocis_messages_settings_v1_settings_proto_msgTypes[13].OneofWrappers = []interface{}{ + file_ocis_messages_settings_v0_settings_proto_msgTypes[13].OneofWrappers = []interface{}{ (*Value_BoolValue)(nil), (*Value_IntValue)(nil), (*Value_StringValue)(nil), (*Value_ListValue)(nil), } - file_ocis_messages_settings_v1_settings_proto_msgTypes[15].OneofWrappers = []interface{}{ + file_ocis_messages_settings_v0_settings_proto_msgTypes[15].OneofWrappers = []interface{}{ (*ListOptionValue_StringValue)(nil), (*ListOptionValue_IntValue)(nil), } @@ -1960,19 +1960,19 @@ func file_ocis_messages_settings_v1_settings_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ocis_messages_settings_v1_settings_proto_rawDesc, + RawDescriptor: file_ocis_messages_settings_v0_settings_proto_rawDesc, NumEnums: 4, NumMessages: 16, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_ocis_messages_settings_v1_settings_proto_goTypes, - DependencyIndexes: file_ocis_messages_settings_v1_settings_proto_depIdxs, - EnumInfos: file_ocis_messages_settings_v1_settings_proto_enumTypes, - MessageInfos: file_ocis_messages_settings_v1_settings_proto_msgTypes, + GoTypes: file_ocis_messages_settings_v0_settings_proto_goTypes, + DependencyIndexes: file_ocis_messages_settings_v0_settings_proto_depIdxs, + EnumInfos: file_ocis_messages_settings_v0_settings_proto_enumTypes, + MessageInfos: file_ocis_messages_settings_v0_settings_proto_msgTypes, }.Build() - File_ocis_messages_settings_v1_settings_proto = out.File - file_ocis_messages_settings_v1_settings_proto_rawDesc = nil - file_ocis_messages_settings_v1_settings_proto_goTypes = nil - file_ocis_messages_settings_v1_settings_proto_depIdxs = nil + File_ocis_messages_settings_v0_settings_proto = out.File + file_ocis_messages_settings_v0_settings_proto_rawDesc = nil + file_ocis_messages_settings_v0_settings_proto_goTypes = nil + file_ocis_messages_settings_v0_settings_proto_depIdxs = nil } diff --git a/protogen/gen/ocis/messages/settings/v1/settings.pb.micro.go b/protogen/gen/ocis/messages/settings/v0/settings.pb.micro.go similarity index 80% rename from protogen/gen/ocis/messages/settings/v1/settings.pb.micro.go rename to protogen/gen/ocis/messages/settings/v0/settings.pb.micro.go index 8061b393c..86469f193 100644 --- a/protogen/gen/ocis/messages/settings/v1/settings.pb.micro.go +++ b/protogen/gen/ocis/messages/settings/v0/settings.pb.micro.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-micro. DO NOT EDIT. -// source: ocis/messages/settings/v1/settings.proto +// source: ocis/messages/settings/v0/settings.proto -package v1 +package v0 import ( fmt "fmt" diff --git a/protogen/gen/ocis/messages/settings/v1/settings.pb.web.go b/protogen/gen/ocis/messages/settings/v0/settings.pb.web.go similarity index 99% rename from protogen/gen/ocis/messages/settings/v1/settings.pb.web.go rename to protogen/gen/ocis/messages/settings/v0/settings.pb.web.go index b8e8615a5..71f02ed36 100644 --- a/protogen/gen/ocis/messages/settings/v1/settings.pb.web.go +++ b/protogen/gen/ocis/messages/settings/v0/settings.pb.web.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-microweb. DO NOT EDIT. -// source: v1.proto +// source: v0.proto -package v1 +package v0 import ( "bytes" diff --git a/protogen/gen/ocis/messages/settings/v1/settings.swagger.json b/protogen/gen/ocis/messages/settings/v0/settings.swagger.json similarity index 92% rename from protogen/gen/ocis/messages/settings/v1/settings.swagger.json rename to protogen/gen/ocis/messages/settings/v0/settings.swagger.json index 8d47f2e10..5c56586dd 100644 --- a/protogen/gen/ocis/messages/settings/v1/settings.swagger.json +++ b/protogen/gen/ocis/messages/settings/v0/settings.swagger.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "ocis/messages/settings/v1/settings.proto", + "title": "ocis/messages/settings/v0/settings.proto", "version": "version not set" }, "consumes": [ diff --git a/protogen/gen/ocis/messages/store/v1/store.pb.go b/protogen/gen/ocis/messages/store/v0/store.pb.go similarity index 81% rename from protogen/gen/ocis/messages/store/v1/store.pb.go rename to protogen/gen/ocis/messages/store/v0/store.pb.go index a3d7f4ad7..1471dda61 100644 --- a/protogen/gen/ocis/messages/store/v1/store.pb.go +++ b/protogen/gen/ocis/messages/store/v0/store.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 -// source: ocis/messages/store/v1/store.proto +// source: ocis/messages/store/v0/store.proto -package v1 +package v0 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -34,7 +34,7 @@ type Field struct { func (x *Field) Reset() { *x = Field{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[0] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +47,7 @@ func (x *Field) String() string { func (*Field) ProtoMessage() {} func (x *Field) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[0] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +60,7 @@ func (x *Field) ProtoReflect() protoreflect.Message { // Deprecated: Use Field.ProtoReflect.Descriptor instead. func (*Field) Descriptor() ([]byte, []int) { - return file_ocis_messages_store_v1_store_proto_rawDescGZIP(), []int{0} + return file_ocis_messages_store_v0_store_proto_rawDescGZIP(), []int{0} } func (x *Field) GetType() string { @@ -95,7 +95,7 @@ type Record struct { func (x *Record) Reset() { *x = Record{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[1] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -108,7 +108,7 @@ func (x *Record) String() string { func (*Record) ProtoMessage() {} func (x *Record) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[1] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -121,7 +121,7 @@ func (x *Record) ProtoReflect() protoreflect.Message { // Deprecated: Use Record.ProtoReflect.Descriptor instead. func (*Record) Descriptor() ([]byte, []int) { - return file_ocis_messages_store_v1_store_proto_rawDescGZIP(), []int{1} + return file_ocis_messages_store_v0_store_proto_rawDescGZIP(), []int{1} } func (x *Record) GetKey() string { @@ -169,7 +169,7 @@ type ReadOptions struct { func (x *ReadOptions) Reset() { *x = ReadOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[2] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -182,7 +182,7 @@ func (x *ReadOptions) String() string { func (*ReadOptions) ProtoMessage() {} func (x *ReadOptions) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[2] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -195,7 +195,7 @@ func (x *ReadOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadOptions.ProtoReflect.Descriptor instead. func (*ReadOptions) Descriptor() ([]byte, []int) { - return file_ocis_messages_store_v1_store_proto_rawDescGZIP(), []int{2} + return file_ocis_messages_store_v0_store_proto_rawDescGZIP(), []int{2} } func (x *ReadOptions) GetDatabase() string { @@ -263,7 +263,7 @@ type WriteOptions struct { func (x *WriteOptions) Reset() { *x = WriteOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[3] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -276,7 +276,7 @@ func (x *WriteOptions) String() string { func (*WriteOptions) ProtoMessage() {} func (x *WriteOptions) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[3] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -289,7 +289,7 @@ func (x *WriteOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteOptions.ProtoReflect.Descriptor instead. func (*WriteOptions) Descriptor() ([]byte, []int) { - return file_ocis_messages_store_v1_store_proto_rawDescGZIP(), []int{3} + return file_ocis_messages_store_v0_store_proto_rawDescGZIP(), []int{3} } func (x *WriteOptions) GetDatabase() string { @@ -332,7 +332,7 @@ type DeleteOptions struct { func (x *DeleteOptions) Reset() { *x = DeleteOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[4] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -345,7 +345,7 @@ func (x *DeleteOptions) String() string { func (*DeleteOptions) ProtoMessage() {} func (x *DeleteOptions) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[4] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -358,7 +358,7 @@ func (x *DeleteOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead. func (*DeleteOptions) Descriptor() ([]byte, []int) { - return file_ocis_messages_store_v1_store_proto_rawDescGZIP(), []int{4} + return file_ocis_messages_store_v0_store_proto_rawDescGZIP(), []int{4} } func (x *DeleteOptions) GetDatabase() string { @@ -391,7 +391,7 @@ type ListOptions struct { func (x *ListOptions) Reset() { *x = ListOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[5] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -404,7 +404,7 @@ func (x *ListOptions) String() string { func (*ListOptions) ProtoMessage() {} func (x *ListOptions) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_store_v1_store_proto_msgTypes[5] + mi := &file_ocis_messages_store_v0_store_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -417,7 +417,7 @@ func (x *ListOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOptions.ProtoReflect.Descriptor instead. func (*ListOptions) Descriptor() ([]byte, []int) { - return file_ocis_messages_store_v1_store_proto_rawDescGZIP(), []int{5} + return file_ocis_messages_store_v0_store_proto_rawDescGZIP(), []int{5} } func (x *ListOptions) GetDatabase() string { @@ -462,13 +462,13 @@ func (x *ListOptions) GetOffset() uint64 { return 0 } -var File_ocis_messages_store_v1_store_proto protoreflect.FileDescriptor +var File_ocis_messages_store_v0_store_proto protoreflect.FileDescriptor -var file_ocis_messages_store_v1_store_proto_rawDesc = []byte{ +var file_ocis_messages_store_v0_store_proto_rawDesc = []byte{ 0x0a, 0x22, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, - 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x22, 0x31, 0x0a, 0x05, + 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x22, 0x31, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, @@ -479,13 +479,13 @@ var file_ocis_messages_store_v1_store_proto_rawDesc = []byte{ 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x48, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 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, 0x5a, 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, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbc, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, @@ -499,13 +499,13 @@ var file_ocis_messages_store_v1_store_proto_rawDesc = []byte{ 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x44, 0x0a, 0x05, 0x77, 0x68, 0x65, 0x72, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x57, 0x68, 0x65, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x77, 0x68, 0x65, 0x72, 0x65, 0x1a, 0x57, 0x0a, 0x0a, 0x57, 0x68, 0x65, 0x72, 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, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6a, 0x0a, 0x0c, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, @@ -531,38 +531,38 @@ var file_ocis_messages_store_v1_store_proto_rawDesc = []byte{ 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_ocis_messages_store_v1_store_proto_rawDescOnce sync.Once - file_ocis_messages_store_v1_store_proto_rawDescData = file_ocis_messages_store_v1_store_proto_rawDesc + file_ocis_messages_store_v0_store_proto_rawDescOnce sync.Once + file_ocis_messages_store_v0_store_proto_rawDescData = file_ocis_messages_store_v0_store_proto_rawDesc ) -func file_ocis_messages_store_v1_store_proto_rawDescGZIP() []byte { - file_ocis_messages_store_v1_store_proto_rawDescOnce.Do(func() { - file_ocis_messages_store_v1_store_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_store_v1_store_proto_rawDescData) +func file_ocis_messages_store_v0_store_proto_rawDescGZIP() []byte { + file_ocis_messages_store_v0_store_proto_rawDescOnce.Do(func() { + file_ocis_messages_store_v0_store_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_store_v0_store_proto_rawDescData) }) - return file_ocis_messages_store_v1_store_proto_rawDescData + return file_ocis_messages_store_v0_store_proto_rawDescData } -var file_ocis_messages_store_v1_store_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_ocis_messages_store_v1_store_proto_goTypes = []interface{}{ - (*Field)(nil), // 0: ocis.messages.store.v1.Field - (*Record)(nil), // 1: ocis.messages.store.v1.Record - (*ReadOptions)(nil), // 2: ocis.messages.store.v1.ReadOptions - (*WriteOptions)(nil), // 3: ocis.messages.store.v1.WriteOptions - (*DeleteOptions)(nil), // 4: ocis.messages.store.v1.DeleteOptions - (*ListOptions)(nil), // 5: ocis.messages.store.v1.ListOptions - nil, // 6: ocis.messages.store.v1.Record.MetadataEntry - nil, // 7: ocis.messages.store.v1.ReadOptions.WhereEntry +var file_ocis_messages_store_v0_store_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_ocis_messages_store_v0_store_proto_goTypes = []interface{}{ + (*Field)(nil), // 0: ocis.messages.store.v0.Field + (*Record)(nil), // 1: ocis.messages.store.v0.Record + (*ReadOptions)(nil), // 2: ocis.messages.store.v0.ReadOptions + (*WriteOptions)(nil), // 3: ocis.messages.store.v0.WriteOptions + (*DeleteOptions)(nil), // 4: ocis.messages.store.v0.DeleteOptions + (*ListOptions)(nil), // 5: ocis.messages.store.v0.ListOptions + nil, // 6: ocis.messages.store.v0.Record.MetadataEntry + nil, // 7: ocis.messages.store.v0.ReadOptions.WhereEntry } -var file_ocis_messages_store_v1_store_proto_depIdxs = []int32{ - 6, // 0: ocis.messages.store.v1.Record.metadata:type_name -> ocis.messages.store.v1.Record.MetadataEntry - 7, // 1: ocis.messages.store.v1.ReadOptions.where:type_name -> ocis.messages.store.v1.ReadOptions.WhereEntry - 0, // 2: ocis.messages.store.v1.Record.MetadataEntry.value:type_name -> ocis.messages.store.v1.Field - 0, // 3: ocis.messages.store.v1.ReadOptions.WhereEntry.value:type_name -> ocis.messages.store.v1.Field +var file_ocis_messages_store_v0_store_proto_depIdxs = []int32{ + 6, // 0: ocis.messages.store.v0.Record.metadata:type_name -> ocis.messages.store.v0.Record.MetadataEntry + 7, // 1: ocis.messages.store.v0.ReadOptions.where:type_name -> ocis.messages.store.v0.ReadOptions.WhereEntry + 0, // 2: ocis.messages.store.v0.Record.MetadataEntry.value:type_name -> ocis.messages.store.v0.Field + 0, // 3: ocis.messages.store.v0.ReadOptions.WhereEntry.value:type_name -> ocis.messages.store.v0.Field 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 @@ -570,13 +570,13 @@ var file_ocis_messages_store_v1_store_proto_depIdxs = []int32{ 0, // [0:4] is the sub-list for field type_name } -func init() { file_ocis_messages_store_v1_store_proto_init() } -func file_ocis_messages_store_v1_store_proto_init() { - if File_ocis_messages_store_v1_store_proto != nil { +func init() { file_ocis_messages_store_v0_store_proto_init() } +func file_ocis_messages_store_v0_store_proto_init() { + if File_ocis_messages_store_v0_store_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_ocis_messages_store_v1_store_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_store_v0_store_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Field); i { case 0: return &v.state @@ -588,7 +588,7 @@ func file_ocis_messages_store_v1_store_proto_init() { return nil } } - file_ocis_messages_store_v1_store_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_store_v0_store_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Record); i { case 0: return &v.state @@ -600,7 +600,7 @@ func file_ocis_messages_store_v1_store_proto_init() { return nil } } - file_ocis_messages_store_v1_store_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_store_v0_store_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadOptions); i { case 0: return &v.state @@ -612,7 +612,7 @@ func file_ocis_messages_store_v1_store_proto_init() { return nil } } - file_ocis_messages_store_v1_store_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_store_v0_store_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WriteOptions); i { case 0: return &v.state @@ -624,7 +624,7 @@ func file_ocis_messages_store_v1_store_proto_init() { return nil } } - file_ocis_messages_store_v1_store_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_store_v0_store_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteOptions); i { case 0: return &v.state @@ -636,7 +636,7 @@ func file_ocis_messages_store_v1_store_proto_init() { return nil } } - file_ocis_messages_store_v1_store_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_store_v0_store_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListOptions); i { case 0: return &v.state @@ -653,18 +653,18 @@ func file_ocis_messages_store_v1_store_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ocis_messages_store_v1_store_proto_rawDesc, + RawDescriptor: file_ocis_messages_store_v0_store_proto_rawDesc, NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_ocis_messages_store_v1_store_proto_goTypes, - DependencyIndexes: file_ocis_messages_store_v1_store_proto_depIdxs, - MessageInfos: file_ocis_messages_store_v1_store_proto_msgTypes, + GoTypes: file_ocis_messages_store_v0_store_proto_goTypes, + DependencyIndexes: file_ocis_messages_store_v0_store_proto_depIdxs, + MessageInfos: file_ocis_messages_store_v0_store_proto_msgTypes, }.Build() - File_ocis_messages_store_v1_store_proto = out.File - file_ocis_messages_store_v1_store_proto_rawDesc = nil - file_ocis_messages_store_v1_store_proto_goTypes = nil - file_ocis_messages_store_v1_store_proto_depIdxs = nil + File_ocis_messages_store_v0_store_proto = out.File + file_ocis_messages_store_v0_store_proto_rawDesc = nil + file_ocis_messages_store_v0_store_proto_goTypes = nil + file_ocis_messages_store_v0_store_proto_depIdxs = nil } diff --git a/protogen/gen/ocis/messages/store/v1/store.pb.micro.go b/protogen/gen/ocis/messages/store/v0/store.pb.micro.go similarity index 82% rename from protogen/gen/ocis/messages/store/v1/store.pb.micro.go rename to protogen/gen/ocis/messages/store/v0/store.pb.micro.go index ecdb09726..bbba85039 100644 --- a/protogen/gen/ocis/messages/store/v1/store.pb.micro.go +++ b/protogen/gen/ocis/messages/store/v0/store.pb.micro.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-micro. DO NOT EDIT. -// source: ocis/messages/store/v1/store.proto +// source: ocis/messages/store/v0/store.proto -package v1 +package v0 import ( fmt "fmt" diff --git a/protogen/gen/ocis/messages/store/v1/store.swagger.json b/protogen/gen/ocis/messages/store/v0/store.swagger.json similarity index 93% rename from protogen/gen/ocis/messages/store/v1/store.swagger.json rename to protogen/gen/ocis/messages/store/v0/store.swagger.json index f770774cc..646829b0b 100644 --- a/protogen/gen/ocis/messages/store/v1/store.swagger.json +++ b/protogen/gen/ocis/messages/store/v0/store.swagger.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "ocis/messages/store/v1/store.proto", + "title": "ocis/messages/store/v0/store.proto", "version": "version not set" }, "consumes": [ diff --git a/protogen/gen/ocis/messages/thumbnails/v1/thumbnails.pb.go b/protogen/gen/ocis/messages/thumbnails/v0/thumbnails.pb.go similarity index 76% rename from protogen/gen/ocis/messages/thumbnails/v1/thumbnails.pb.go rename to protogen/gen/ocis/messages/thumbnails/v0/thumbnails.pb.go index f5caeb6e3..1fab202ed 100644 --- a/protogen/gen/ocis/messages/thumbnails/v1/thumbnails.pb.go +++ b/protogen/gen/ocis/messages/thumbnails/v0/thumbnails.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 -// source: ocis/messages/thumbnails/v1/thumbnails.proto +// source: ocis/messages/thumbnails/v0/thumbnails.proto -package v1 +package v0 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -40,7 +40,7 @@ type WebdavSource struct { func (x *WebdavSource) Reset() { *x = WebdavSource{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_thumbnails_v1_thumbnails_proto_msgTypes[0] + mi := &file_ocis_messages_thumbnails_v0_thumbnails_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -53,7 +53,7 @@ func (x *WebdavSource) String() string { func (*WebdavSource) ProtoMessage() {} func (x *WebdavSource) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_thumbnails_v1_thumbnails_proto_msgTypes[0] + mi := &file_ocis_messages_thumbnails_v0_thumbnails_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -66,7 +66,7 @@ func (x *WebdavSource) ProtoReflect() protoreflect.Message { // Deprecated: Use WebdavSource.ProtoReflect.Descriptor instead. func (*WebdavSource) Descriptor() ([]byte, []int) { - return file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescGZIP(), []int{0} + return file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescGZIP(), []int{0} } func (x *WebdavSource) GetUrl() string { @@ -116,7 +116,7 @@ type CS3Source struct { func (x *CS3Source) Reset() { *x = CS3Source{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_messages_thumbnails_v1_thumbnails_proto_msgTypes[1] + mi := &file_ocis_messages_thumbnails_v0_thumbnails_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -129,7 +129,7 @@ func (x *CS3Source) String() string { func (*CS3Source) ProtoMessage() {} func (x *CS3Source) ProtoReflect() protoreflect.Message { - mi := &file_ocis_messages_thumbnails_v1_thumbnails_proto_msgTypes[1] + mi := &file_ocis_messages_thumbnails_v0_thumbnails_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -142,7 +142,7 @@ func (x *CS3Source) ProtoReflect() protoreflect.Message { // Deprecated: Use CS3Source.ProtoReflect.Descriptor instead. func (*CS3Source) Descriptor() ([]byte, []int) { - return file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescGZIP(), []int{1} + return file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescGZIP(), []int{1} } func (x *CS3Source) GetPath() string { @@ -159,14 +159,14 @@ func (x *CS3Source) GetAuthorization() string { return "" } -var File_ocis_messages_thumbnails_v1_thumbnails_proto protoreflect.FileDescriptor +var File_ocis_messages_thumbnails_v0_thumbnails_proto protoreflect.FileDescriptor -var file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDesc = []byte{ +var file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDesc = []byte{ 0x0a, 0x2c, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, - 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x68, + 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x30, 0x2f, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x74, 0x68, - 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x31, 0x22, 0xd4, 0x01, 0x0a, 0x0c, + 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x30, 0x22, 0xd4, 0x01, 0x0a, 0x0c, 0x57, 0x65, 0x62, 0x64, 0x61, 0x76, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, @@ -188,28 +188,28 @@ var file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDesc = []byte{ 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, - 0x2f, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x06, + 0x2f, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescOnce sync.Once - file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescData = file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDesc + file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescOnce sync.Once + file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescData = file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDesc ) -func file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescGZIP() []byte { - file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescOnce.Do(func() { - file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescData) +func file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescGZIP() []byte { + file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescOnce.Do(func() { + file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescData) }) - return file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescData + return file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescData } -var file_ocis_messages_thumbnails_v1_thumbnails_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_ocis_messages_thumbnails_v1_thumbnails_proto_goTypes = []interface{}{ - (*WebdavSource)(nil), // 0: ocis.messages.thumbnails.v1.WebdavSource - (*CS3Source)(nil), // 1: ocis.messages.thumbnails.v1.CS3Source +var file_ocis_messages_thumbnails_v0_thumbnails_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ocis_messages_thumbnails_v0_thumbnails_proto_goTypes = []interface{}{ + (*WebdavSource)(nil), // 0: ocis.messages.thumbnails.v0.WebdavSource + (*CS3Source)(nil), // 1: ocis.messages.thumbnails.v0.CS3Source } -var file_ocis_messages_thumbnails_v1_thumbnails_proto_depIdxs = []int32{ +var file_ocis_messages_thumbnails_v0_thumbnails_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 @@ -217,13 +217,13 @@ var file_ocis_messages_thumbnails_v1_thumbnails_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_ocis_messages_thumbnails_v1_thumbnails_proto_init() } -func file_ocis_messages_thumbnails_v1_thumbnails_proto_init() { - if File_ocis_messages_thumbnails_v1_thumbnails_proto != nil { +func init() { file_ocis_messages_thumbnails_v0_thumbnails_proto_init() } +func file_ocis_messages_thumbnails_v0_thumbnails_proto_init() { + if File_ocis_messages_thumbnails_v0_thumbnails_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_ocis_messages_thumbnails_v1_thumbnails_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_thumbnails_v0_thumbnails_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WebdavSource); i { case 0: return &v.state @@ -235,7 +235,7 @@ func file_ocis_messages_thumbnails_v1_thumbnails_proto_init() { return nil } } - file_ocis_messages_thumbnails_v1_thumbnails_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_ocis_messages_thumbnails_v0_thumbnails_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CS3Source); i { case 0: return &v.state @@ -252,18 +252,18 @@ func file_ocis_messages_thumbnails_v1_thumbnails_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDesc, + RawDescriptor: file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_ocis_messages_thumbnails_v1_thumbnails_proto_goTypes, - DependencyIndexes: file_ocis_messages_thumbnails_v1_thumbnails_proto_depIdxs, - MessageInfos: file_ocis_messages_thumbnails_v1_thumbnails_proto_msgTypes, + GoTypes: file_ocis_messages_thumbnails_v0_thumbnails_proto_goTypes, + DependencyIndexes: file_ocis_messages_thumbnails_v0_thumbnails_proto_depIdxs, + MessageInfos: file_ocis_messages_thumbnails_v0_thumbnails_proto_msgTypes, }.Build() - File_ocis_messages_thumbnails_v1_thumbnails_proto = out.File - file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDesc = nil - file_ocis_messages_thumbnails_v1_thumbnails_proto_goTypes = nil - file_ocis_messages_thumbnails_v1_thumbnails_proto_depIdxs = nil + File_ocis_messages_thumbnails_v0_thumbnails_proto = out.File + file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDesc = nil + file_ocis_messages_thumbnails_v0_thumbnails_proto_goTypes = nil + file_ocis_messages_thumbnails_v0_thumbnails_proto_depIdxs = nil } diff --git a/protogen/gen/ocis/messages/thumbnails/v1/thumbnails.pb.micro.go b/protogen/gen/ocis/messages/thumbnails/v0/thumbnails.pb.micro.go similarity index 79% rename from protogen/gen/ocis/messages/thumbnails/v1/thumbnails.pb.micro.go rename to protogen/gen/ocis/messages/thumbnails/v0/thumbnails.pb.micro.go index 8e8ae50c7..70d506749 100644 --- a/protogen/gen/ocis/messages/thumbnails/v1/thumbnails.pb.micro.go +++ b/protogen/gen/ocis/messages/thumbnails/v0/thumbnails.pb.micro.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-micro. DO NOT EDIT. -// source: ocis/messages/thumbnails/v1/thumbnails.proto +// source: ocis/messages/thumbnails/v0/thumbnails.proto -package v1 +package v0 import ( fmt "fmt" diff --git a/protogen/gen/ocis/messages/thumbnails/v1/thumbnails.swagger.json b/protogen/gen/ocis/messages/thumbnails/v0/thumbnails.swagger.json similarity index 92% rename from protogen/gen/ocis/messages/thumbnails/v1/thumbnails.swagger.json rename to protogen/gen/ocis/messages/thumbnails/v0/thumbnails.swagger.json index 0060cf673..d0083e7cc 100644 --- a/protogen/gen/ocis/messages/thumbnails/v1/thumbnails.swagger.json +++ b/protogen/gen/ocis/messages/thumbnails/v0/thumbnails.swagger.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "ocis/messages/thumbnails/v1/thumbnails.proto", + "title": "ocis/messages/thumbnails/v0/thumbnails.proto", "version": "version not set" }, "consumes": [ diff --git a/protogen/gen/ocis/services/accounts/v1/accounts.mock.go b/protogen/gen/ocis/services/accounts/v0/accounts.mock.go similarity index 99% rename from protogen/gen/ocis/services/accounts/v1/accounts.mock.go rename to protogen/gen/ocis/services/accounts/v0/accounts.mock.go index ca3e37d01..d5e408864 100644 --- a/protogen/gen/ocis/services/accounts/v1/accounts.mock.go +++ b/protogen/gen/ocis/services/accounts/v0/accounts.mock.go @@ -1,9 +1,9 @@ -package v1 +package v0 import ( context "context" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" client "go-micro.dev/v4/client" empty "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/protogen/gen/ocis/services/accounts/v1/accounts.pb.go b/protogen/gen/ocis/services/accounts/v0/accounts.pb.go similarity index 80% rename from protogen/gen/ocis/services/accounts/v1/accounts.pb.go rename to protogen/gen/ocis/services/accounts/v0/accounts.pb.go index 5d3072c76..bc4f5c54d 100644 --- a/protogen/gen/ocis/services/accounts/v1/accounts.pb.go +++ b/protogen/gen/ocis/services/accounts/v0/accounts.pb.go @@ -2,13 +2,13 @@ // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 -// source: ocis/services/accounts/v1/accounts.proto +// source: ocis/services/accounts/v0/accounts.proto -package v1 +package v0 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - v1 "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + v0 "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -34,7 +34,7 @@ type RebuildIndexRequest struct { func (x *RebuildIndexRequest) Reset() { *x = RebuildIndexRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[0] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +47,7 @@ func (x *RebuildIndexRequest) String() string { func (*RebuildIndexRequest) ProtoMessage() {} func (x *RebuildIndexRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[0] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +60,7 @@ func (x *RebuildIndexRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RebuildIndexRequest.ProtoReflect.Descriptor instead. func (*RebuildIndexRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{0} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{0} } type RebuildIndexResponse struct { @@ -72,7 +72,7 @@ type RebuildIndexResponse struct { func (x *RebuildIndexResponse) Reset() { *x = RebuildIndexResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[1] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -85,7 +85,7 @@ func (x *RebuildIndexResponse) String() string { func (*RebuildIndexResponse) ProtoMessage() {} func (x *RebuildIndexResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[1] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -98,7 +98,7 @@ func (x *RebuildIndexResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RebuildIndexResponse.ProtoReflect.Descriptor instead. func (*RebuildIndexResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{1} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{1} } type ListAccountsRequest struct { @@ -140,7 +140,7 @@ type ListAccountsRequest struct { func (x *ListAccountsRequest) Reset() { *x = ListAccountsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[2] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -153,7 +153,7 @@ func (x *ListAccountsRequest) String() string { func (*ListAccountsRequest) ProtoMessage() {} func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[2] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -166,7 +166,7 @@ func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead. func (*ListAccountsRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{2} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{2} } func (x *ListAccountsRequest) GetPageSize() int32 { @@ -205,7 +205,7 @@ type ListAccountsResponse struct { // The field name should match the noun "accounts" in the method name. There // will be a maximum number of items returned based on the page_size field // in the request - Accounts []*v1.Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` + Accounts []*v0.Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -214,7 +214,7 @@ type ListAccountsResponse struct { func (x *ListAccountsResponse) Reset() { *x = ListAccountsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[3] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -227,7 +227,7 @@ func (x *ListAccountsResponse) String() string { func (*ListAccountsResponse) ProtoMessage() {} func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[3] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -240,10 +240,10 @@ func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead. func (*ListAccountsResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{3} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{3} } -func (x *ListAccountsResponse) GetAccounts() []*v1.Account { +func (x *ListAccountsResponse) GetAccounts() []*v0.Account { if x != nil { return x.Accounts } @@ -268,7 +268,7 @@ type GetAccountRequest struct { func (x *GetAccountRequest) Reset() { *x = GetAccountRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[4] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -281,7 +281,7 @@ func (x *GetAccountRequest) String() string { func (*GetAccountRequest) ProtoMessage() {} func (x *GetAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[4] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -294,7 +294,7 @@ func (x *GetAccountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead. func (*GetAccountRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{4} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{4} } func (x *GetAccountRequest) GetId() string { @@ -310,13 +310,13 @@ type CreateAccountRequest struct { unknownFields protoimpl.UnknownFields // The account resource to create - Account *v1.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + Account *v0.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` } func (x *CreateAccountRequest) Reset() { *x = CreateAccountRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[5] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -329,7 +329,7 @@ func (x *CreateAccountRequest) String() string { func (*CreateAccountRequest) ProtoMessage() {} func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[5] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -342,10 +342,10 @@ func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead. func (*CreateAccountRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{5} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{5} } -func (x *CreateAccountRequest) GetAccount() *v1.Account { +func (x *CreateAccountRequest) GetAccount() *v0.Account { if x != nil { return x.Account } @@ -358,7 +358,7 @@ type UpdateAccountRequest struct { unknownFields protoimpl.UnknownFields // The account resource which replaces the resource on the server - Account *v1.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + Account *v0.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,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 *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` @@ -367,7 +367,7 @@ type UpdateAccountRequest struct { func (x *UpdateAccountRequest) Reset() { *x = UpdateAccountRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[6] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -380,7 +380,7 @@ func (x *UpdateAccountRequest) String() string { func (*UpdateAccountRequest) ProtoMessage() {} func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[6] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -393,10 +393,10 @@ func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead. func (*UpdateAccountRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{6} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{6} } -func (x *UpdateAccountRequest) GetAccount() *v1.Account { +func (x *UpdateAccountRequest) GetAccount() *v0.Account { if x != nil { return x.Account } @@ -421,7 +421,7 @@ type DeleteAccountRequest struct { func (x *DeleteAccountRequest) Reset() { *x = DeleteAccountRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[7] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -434,7 +434,7 @@ func (x *DeleteAccountRequest) String() string { func (*DeleteAccountRequest) ProtoMessage() {} func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[7] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -447,7 +447,7 @@ func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead. func (*DeleteAccountRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{7} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{7} } func (x *DeleteAccountRequest) GetId() string { @@ -494,7 +494,7 @@ type ListGroupsRequest struct { func (x *ListGroupsRequest) Reset() { *x = ListGroupsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[8] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -507,7 +507,7 @@ func (x *ListGroupsRequest) String() string { func (*ListGroupsRequest) ProtoMessage() {} func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[8] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -520,7 +520,7 @@ func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead. func (*ListGroupsRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{8} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{8} } func (x *ListGroupsRequest) GetPageSize() int32 { @@ -559,7 +559,7 @@ type ListGroupsResponse struct { // The field name should match the noun "group" in the method name. There // will be a maximum number of items returned based on the page_size field // in the request - Groups []*v1.Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` + Groups []*v0.Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -568,7 +568,7 @@ type ListGroupsResponse struct { func (x *ListGroupsResponse) Reset() { *x = ListGroupsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[9] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -581,7 +581,7 @@ func (x *ListGroupsResponse) String() string { func (*ListGroupsResponse) ProtoMessage() {} func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[9] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -594,10 +594,10 @@ func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead. func (*ListGroupsResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{9} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{9} } -func (x *ListGroupsResponse) GetGroups() []*v1.Group { +func (x *ListGroupsResponse) GetGroups() []*v0.Group { if x != nil { return x.Groups } @@ -622,7 +622,7 @@ type GetGroupRequest struct { func (x *GetGroupRequest) Reset() { *x = GetGroupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[10] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -635,7 +635,7 @@ func (x *GetGroupRequest) String() string { func (*GetGroupRequest) ProtoMessage() {} func (x *GetGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[10] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -648,7 +648,7 @@ func (x *GetGroupRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead. func (*GetGroupRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{10} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{10} } func (x *GetGroupRequest) GetId() string { @@ -664,13 +664,13 @@ type CreateGroupRequest struct { unknownFields protoimpl.UnknownFields // The account resource to create - Group *v1.Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` + Group *v0.Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` } func (x *CreateGroupRequest) Reset() { *x = CreateGroupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[11] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -683,7 +683,7 @@ func (x *CreateGroupRequest) String() string { func (*CreateGroupRequest) ProtoMessage() {} func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[11] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -696,10 +696,10 @@ func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead. func (*CreateGroupRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{11} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{11} } -func (x *CreateGroupRequest) GetGroup() *v1.Group { +func (x *CreateGroupRequest) GetGroup() *v0.Group { if x != nil { return x.Group } @@ -712,7 +712,7 @@ type UpdateGroupRequest struct { unknownFields protoimpl.UnknownFields // The group resource which replaces the resource on the server - Group *v1.Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` + Group *v0.Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,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 *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` @@ -721,7 +721,7 @@ type UpdateGroupRequest struct { func (x *UpdateGroupRequest) Reset() { *x = UpdateGroupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[12] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -734,7 +734,7 @@ func (x *UpdateGroupRequest) String() string { func (*UpdateGroupRequest) ProtoMessage() {} func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[12] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -747,10 +747,10 @@ func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead. func (*UpdateGroupRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{12} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{12} } -func (x *UpdateGroupRequest) GetGroup() *v1.Group { +func (x *UpdateGroupRequest) GetGroup() *v0.Group { if x != nil { return x.Group } @@ -775,7 +775,7 @@ type DeleteGroupRequest struct { func (x *DeleteGroupRequest) Reset() { *x = DeleteGroupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[13] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -788,7 +788,7 @@ func (x *DeleteGroupRequest) String() string { func (*DeleteGroupRequest) ProtoMessage() {} func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[13] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -801,7 +801,7 @@ func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead. func (*DeleteGroupRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{13} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{13} } func (x *DeleteGroupRequest) GetId() string { @@ -825,7 +825,7 @@ type AddMemberRequest struct { func (x *AddMemberRequest) Reset() { *x = AddMemberRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[14] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -838,7 +838,7 @@ func (x *AddMemberRequest) String() string { func (*AddMemberRequest) ProtoMessage() {} func (x *AddMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[14] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -851,7 +851,7 @@ func (x *AddMemberRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddMemberRequest.ProtoReflect.Descriptor instead. func (*AddMemberRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{14} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{14} } func (x *AddMemberRequest) GetGroupId() string { @@ -882,7 +882,7 @@ type RemoveMemberRequest struct { func (x *RemoveMemberRequest) Reset() { *x = RemoveMemberRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[15] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -895,7 +895,7 @@ func (x *RemoveMemberRequest) String() string { func (*RemoveMemberRequest) ProtoMessage() {} func (x *RemoveMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[15] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -908,7 +908,7 @@ func (x *RemoveMemberRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveMemberRequest.ProtoReflect.Descriptor instead. func (*RemoveMemberRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{15} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{15} } func (x *RemoveMemberRequest) GetGroupId() string { @@ -963,7 +963,7 @@ type ListMembersRequest struct { func (x *ListMembersRequest) Reset() { *x = ListMembersRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[16] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -976,7 +976,7 @@ func (x *ListMembersRequest) String() string { func (*ListMembersRequest) ProtoMessage() {} func (x *ListMembersRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[16] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -989,7 +989,7 @@ func (x *ListMembersRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMembersRequest.ProtoReflect.Descriptor instead. func (*ListMembersRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{16} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{16} } func (x *ListMembersRequest) GetPageSize() int32 { @@ -1035,7 +1035,7 @@ type ListMembersResponse struct { // The field name should match the noun "members" in the method name. There // will be a maximum number of items returned based on the page_size field // in the request - Members []*v1.Account `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + Members []*v0.Account `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` @@ -1044,7 +1044,7 @@ type ListMembersResponse struct { func (x *ListMembersResponse) Reset() { *x = ListMembersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[17] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1057,7 +1057,7 @@ func (x *ListMembersResponse) String() string { func (*ListMembersResponse) ProtoMessage() {} func (x *ListMembersResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_accounts_v1_accounts_proto_msgTypes[17] + mi := &file_ocis_services_accounts_v0_accounts_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1070,10 +1070,10 @@ func (x *ListMembersResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMembersResponse.ProtoReflect.Descriptor instead. func (*ListMembersResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP(), []int{17} + return file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP(), []int{17} } -func (x *ListMembersResponse) GetMembers() []*v1.Account { +func (x *ListMembersResponse) GetMembers() []*v0.Account { if x != nil { return x.Members } @@ -1087,15 +1087,15 @@ func (x *ListMembersResponse) GetNextPageToken() string { return "" } -var File_ocis_services_accounts_v1_accounts_proto protoreflect.FileDescriptor +var File_ocis_services_accounts_v0_accounts_proto protoreflect.FileDescriptor -var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ +var file_ocis_services_accounts_v0_accounts_proto_rawDesc = []byte{ 0x0a, 0x28, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x28, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, + 0x74, 0x73, 0x2e, 0x76, 0x30, 0x1a, 0x28, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -1126,7 +1126,7 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, @@ -1136,13 +1136,13 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, + 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, + 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 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, @@ -1165,7 +1165,7 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, + 0x30, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x21, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x72, @@ -1174,12 +1174,12 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x89, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, @@ -1213,51 +1213,51 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x6d, 0x65, 0x6d, + 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xe9, 0x05, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x88, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x28, + 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2d, 0x67, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x91, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, + 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, + 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x91, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x85, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2b, 0x82, 0xd3, 0xe4, @@ -1267,42 +1267,42 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ 0x75, 0x70, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x92, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x2c, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, + 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x80, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, + 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2d, 0x67, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x89, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, + 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x89, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x7f, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, + 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, @@ -1310,29 +1310,29 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ 0x73, 0x2d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x8f, 0x01, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, + 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, + 0x76, 0x30, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2f, 0x24, 0x72, 0x65, 0x66, 0x3a, 0x01, 0x2a, 0x12, 0xa2, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x22, 0x35, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x24, 0x72, 0x65, 0x66, 0x3a, 0x01, 0x2a, 0x12, 0x9b, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x22, 0x22, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x3d, 0x2a, 0x7d, @@ -1340,10 +1340,10 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ 0x32, 0xa2, 0x01, 0x0a, 0x0c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x91, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2f, 0x72, 0x65, 0x62, 0x75, 0x69, @@ -1351,7 +1351,7 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x76, 0x69, 0x6c, 0x6c, 0x61, 0x66, 0x61, 0x6e, 0x65, 0x7a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x74, 0x65, 0x73, 0x74, 0x30, 0x30, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x92, 0x41, 0xa0, 0x02, 0x12, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x30, 0x92, 0x41, 0xa0, 0x02, 0x12, 0xb6, 0x01, 0x0a, 0x20, 0x6f, 0x77, 0x6e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x20, 0x49, 0x6e, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x65, 0x20, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x20, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x47, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x43, 0x6c, 0x6f, 0x75, 0x64, @@ -1374,83 +1374,83 @@ var file_ocis_services_accounts_v1_accounts_proto_rawDesc = []byte{ } var ( - file_ocis_services_accounts_v1_accounts_proto_rawDescOnce sync.Once - file_ocis_services_accounts_v1_accounts_proto_rawDescData = file_ocis_services_accounts_v1_accounts_proto_rawDesc + file_ocis_services_accounts_v0_accounts_proto_rawDescOnce sync.Once + file_ocis_services_accounts_v0_accounts_proto_rawDescData = file_ocis_services_accounts_v0_accounts_proto_rawDesc ) -func file_ocis_services_accounts_v1_accounts_proto_rawDescGZIP() []byte { - file_ocis_services_accounts_v1_accounts_proto_rawDescOnce.Do(func() { - file_ocis_services_accounts_v1_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_accounts_v1_accounts_proto_rawDescData) +func file_ocis_services_accounts_v0_accounts_proto_rawDescGZIP() []byte { + file_ocis_services_accounts_v0_accounts_proto_rawDescOnce.Do(func() { + file_ocis_services_accounts_v0_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_accounts_v0_accounts_proto_rawDescData) }) - return file_ocis_services_accounts_v1_accounts_proto_rawDescData + return file_ocis_services_accounts_v0_accounts_proto_rawDescData } -var file_ocis_services_accounts_v1_accounts_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_ocis_services_accounts_v1_accounts_proto_goTypes = []interface{}{ - (*RebuildIndexRequest)(nil), // 0: ocis.services.accounts.v1.RebuildIndexRequest - (*RebuildIndexResponse)(nil), // 1: ocis.services.accounts.v1.RebuildIndexResponse - (*ListAccountsRequest)(nil), // 2: ocis.services.accounts.v1.ListAccountsRequest - (*ListAccountsResponse)(nil), // 3: ocis.services.accounts.v1.ListAccountsResponse - (*GetAccountRequest)(nil), // 4: ocis.services.accounts.v1.GetAccountRequest - (*CreateAccountRequest)(nil), // 5: ocis.services.accounts.v1.CreateAccountRequest - (*UpdateAccountRequest)(nil), // 6: ocis.services.accounts.v1.UpdateAccountRequest - (*DeleteAccountRequest)(nil), // 7: ocis.services.accounts.v1.DeleteAccountRequest - (*ListGroupsRequest)(nil), // 8: ocis.services.accounts.v1.ListGroupsRequest - (*ListGroupsResponse)(nil), // 9: ocis.services.accounts.v1.ListGroupsResponse - (*GetGroupRequest)(nil), // 10: ocis.services.accounts.v1.GetGroupRequest - (*CreateGroupRequest)(nil), // 11: ocis.services.accounts.v1.CreateGroupRequest - (*UpdateGroupRequest)(nil), // 12: ocis.services.accounts.v1.UpdateGroupRequest - (*DeleteGroupRequest)(nil), // 13: ocis.services.accounts.v1.DeleteGroupRequest - (*AddMemberRequest)(nil), // 14: ocis.services.accounts.v1.AddMemberRequest - (*RemoveMemberRequest)(nil), // 15: ocis.services.accounts.v1.RemoveMemberRequest - (*ListMembersRequest)(nil), // 16: ocis.services.accounts.v1.ListMembersRequest - (*ListMembersResponse)(nil), // 17: ocis.services.accounts.v1.ListMembersResponse +var file_ocis_services_accounts_v0_accounts_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_ocis_services_accounts_v0_accounts_proto_goTypes = []interface{}{ + (*RebuildIndexRequest)(nil), // 0: ocis.services.accounts.v0.RebuildIndexRequest + (*RebuildIndexResponse)(nil), // 1: ocis.services.accounts.v0.RebuildIndexResponse + (*ListAccountsRequest)(nil), // 2: ocis.services.accounts.v0.ListAccountsRequest + (*ListAccountsResponse)(nil), // 3: ocis.services.accounts.v0.ListAccountsResponse + (*GetAccountRequest)(nil), // 4: ocis.services.accounts.v0.GetAccountRequest + (*CreateAccountRequest)(nil), // 5: ocis.services.accounts.v0.CreateAccountRequest + (*UpdateAccountRequest)(nil), // 6: ocis.services.accounts.v0.UpdateAccountRequest + (*DeleteAccountRequest)(nil), // 7: ocis.services.accounts.v0.DeleteAccountRequest + (*ListGroupsRequest)(nil), // 8: ocis.services.accounts.v0.ListGroupsRequest + (*ListGroupsResponse)(nil), // 9: ocis.services.accounts.v0.ListGroupsResponse + (*GetGroupRequest)(nil), // 10: ocis.services.accounts.v0.GetGroupRequest + (*CreateGroupRequest)(nil), // 11: ocis.services.accounts.v0.CreateGroupRequest + (*UpdateGroupRequest)(nil), // 12: ocis.services.accounts.v0.UpdateGroupRequest + (*DeleteGroupRequest)(nil), // 13: ocis.services.accounts.v0.DeleteGroupRequest + (*AddMemberRequest)(nil), // 14: ocis.services.accounts.v0.AddMemberRequest + (*RemoveMemberRequest)(nil), // 15: ocis.services.accounts.v0.RemoveMemberRequest + (*ListMembersRequest)(nil), // 16: ocis.services.accounts.v0.ListMembersRequest + (*ListMembersResponse)(nil), // 17: ocis.services.accounts.v0.ListMembersResponse (*fieldmaskpb.FieldMask)(nil), // 18: google.protobuf.FieldMask - (*v1.Account)(nil), // 19: ocis.messages.accounts.v1.Account - (*v1.Group)(nil), // 20: ocis.messages.accounts.v1.Group + (*v0.Account)(nil), // 19: ocis.messages.accounts.v0.Account + (*v0.Group)(nil), // 20: ocis.messages.accounts.v0.Group (*emptypb.Empty)(nil), // 21: google.protobuf.Empty } -var file_ocis_services_accounts_v1_accounts_proto_depIdxs = []int32{ - 18, // 0: ocis.services.accounts.v1.ListAccountsRequest.field_mask:type_name -> google.protobuf.FieldMask - 19, // 1: ocis.services.accounts.v1.ListAccountsResponse.accounts:type_name -> ocis.messages.accounts.v1.Account - 19, // 2: ocis.services.accounts.v1.CreateAccountRequest.account:type_name -> ocis.messages.accounts.v1.Account - 19, // 3: ocis.services.accounts.v1.UpdateAccountRequest.account:type_name -> ocis.messages.accounts.v1.Account - 18, // 4: ocis.services.accounts.v1.UpdateAccountRequest.update_mask:type_name -> google.protobuf.FieldMask - 18, // 5: ocis.services.accounts.v1.ListGroupsRequest.field_mask:type_name -> google.protobuf.FieldMask - 20, // 6: ocis.services.accounts.v1.ListGroupsResponse.groups:type_name -> ocis.messages.accounts.v1.Group - 20, // 7: ocis.services.accounts.v1.CreateGroupRequest.group:type_name -> ocis.messages.accounts.v1.Group - 20, // 8: ocis.services.accounts.v1.UpdateGroupRequest.group:type_name -> ocis.messages.accounts.v1.Group - 18, // 9: ocis.services.accounts.v1.UpdateGroupRequest.update_mask:type_name -> google.protobuf.FieldMask - 18, // 10: ocis.services.accounts.v1.ListMembersRequest.field_mask:type_name -> google.protobuf.FieldMask - 19, // 11: ocis.services.accounts.v1.ListMembersResponse.members:type_name -> ocis.messages.accounts.v1.Account - 2, // 12: ocis.services.accounts.v1.AccountsService.ListAccounts:input_type -> ocis.services.accounts.v1.ListAccountsRequest - 4, // 13: ocis.services.accounts.v1.AccountsService.GetAccount:input_type -> ocis.services.accounts.v1.GetAccountRequest - 5, // 14: ocis.services.accounts.v1.AccountsService.CreateAccount:input_type -> ocis.services.accounts.v1.CreateAccountRequest - 6, // 15: ocis.services.accounts.v1.AccountsService.UpdateAccount:input_type -> ocis.services.accounts.v1.UpdateAccountRequest - 7, // 16: ocis.services.accounts.v1.AccountsService.DeleteAccount:input_type -> ocis.services.accounts.v1.DeleteAccountRequest - 8, // 17: ocis.services.accounts.v1.GroupsService.ListGroups:input_type -> ocis.services.accounts.v1.ListGroupsRequest - 10, // 18: ocis.services.accounts.v1.GroupsService.GetGroup:input_type -> ocis.services.accounts.v1.GetGroupRequest - 11, // 19: ocis.services.accounts.v1.GroupsService.CreateGroup:input_type -> ocis.services.accounts.v1.CreateGroupRequest - 12, // 20: ocis.services.accounts.v1.GroupsService.UpdateGroup:input_type -> ocis.services.accounts.v1.UpdateGroupRequest - 13, // 21: ocis.services.accounts.v1.GroupsService.DeleteGroup:input_type -> ocis.services.accounts.v1.DeleteGroupRequest - 14, // 22: ocis.services.accounts.v1.GroupsService.AddMember:input_type -> ocis.services.accounts.v1.AddMemberRequest - 15, // 23: ocis.services.accounts.v1.GroupsService.RemoveMember:input_type -> ocis.services.accounts.v1.RemoveMemberRequest - 16, // 24: ocis.services.accounts.v1.GroupsService.ListMembers:input_type -> ocis.services.accounts.v1.ListMembersRequest - 0, // 25: ocis.services.accounts.v1.IndexService.RebuildIndex:input_type -> ocis.services.accounts.v1.RebuildIndexRequest - 3, // 26: ocis.services.accounts.v1.AccountsService.ListAccounts:output_type -> ocis.services.accounts.v1.ListAccountsResponse - 19, // 27: ocis.services.accounts.v1.AccountsService.GetAccount:output_type -> ocis.messages.accounts.v1.Account - 19, // 28: ocis.services.accounts.v1.AccountsService.CreateAccount:output_type -> ocis.messages.accounts.v1.Account - 19, // 29: ocis.services.accounts.v1.AccountsService.UpdateAccount:output_type -> ocis.messages.accounts.v1.Account - 21, // 30: ocis.services.accounts.v1.AccountsService.DeleteAccount:output_type -> google.protobuf.Empty - 9, // 31: ocis.services.accounts.v1.GroupsService.ListGroups:output_type -> ocis.services.accounts.v1.ListGroupsResponse - 20, // 32: ocis.services.accounts.v1.GroupsService.GetGroup:output_type -> ocis.messages.accounts.v1.Group - 20, // 33: ocis.services.accounts.v1.GroupsService.CreateGroup:output_type -> ocis.messages.accounts.v1.Group - 20, // 34: ocis.services.accounts.v1.GroupsService.UpdateGroup:output_type -> ocis.messages.accounts.v1.Group - 21, // 35: ocis.services.accounts.v1.GroupsService.DeleteGroup:output_type -> google.protobuf.Empty - 20, // 36: ocis.services.accounts.v1.GroupsService.AddMember:output_type -> ocis.messages.accounts.v1.Group - 20, // 37: ocis.services.accounts.v1.GroupsService.RemoveMember:output_type -> ocis.messages.accounts.v1.Group - 17, // 38: ocis.services.accounts.v1.GroupsService.ListMembers:output_type -> ocis.services.accounts.v1.ListMembersResponse - 1, // 39: ocis.services.accounts.v1.IndexService.RebuildIndex:output_type -> ocis.services.accounts.v1.RebuildIndexResponse +var file_ocis_services_accounts_v0_accounts_proto_depIdxs = []int32{ + 18, // 0: ocis.services.accounts.v0.ListAccountsRequest.field_mask:type_name -> google.protobuf.FieldMask + 19, // 1: ocis.services.accounts.v0.ListAccountsResponse.accounts:type_name -> ocis.messages.accounts.v0.Account + 19, // 2: ocis.services.accounts.v0.CreateAccountRequest.account:type_name -> ocis.messages.accounts.v0.Account + 19, // 3: ocis.services.accounts.v0.UpdateAccountRequest.account:type_name -> ocis.messages.accounts.v0.Account + 18, // 4: ocis.services.accounts.v0.UpdateAccountRequest.update_mask:type_name -> google.protobuf.FieldMask + 18, // 5: ocis.services.accounts.v0.ListGroupsRequest.field_mask:type_name -> google.protobuf.FieldMask + 20, // 6: ocis.services.accounts.v0.ListGroupsResponse.groups:type_name -> ocis.messages.accounts.v0.Group + 20, // 7: ocis.services.accounts.v0.CreateGroupRequest.group:type_name -> ocis.messages.accounts.v0.Group + 20, // 8: ocis.services.accounts.v0.UpdateGroupRequest.group:type_name -> ocis.messages.accounts.v0.Group + 18, // 9: ocis.services.accounts.v0.UpdateGroupRequest.update_mask:type_name -> google.protobuf.FieldMask + 18, // 10: ocis.services.accounts.v0.ListMembersRequest.field_mask:type_name -> google.protobuf.FieldMask + 19, // 11: ocis.services.accounts.v0.ListMembersResponse.members:type_name -> ocis.messages.accounts.v0.Account + 2, // 12: ocis.services.accounts.v0.AccountsService.ListAccounts:input_type -> ocis.services.accounts.v0.ListAccountsRequest + 4, // 13: ocis.services.accounts.v0.AccountsService.GetAccount:input_type -> ocis.services.accounts.v0.GetAccountRequest + 5, // 14: ocis.services.accounts.v0.AccountsService.CreateAccount:input_type -> ocis.services.accounts.v0.CreateAccountRequest + 6, // 15: ocis.services.accounts.v0.AccountsService.UpdateAccount:input_type -> ocis.services.accounts.v0.UpdateAccountRequest + 7, // 16: ocis.services.accounts.v0.AccountsService.DeleteAccount:input_type -> ocis.services.accounts.v0.DeleteAccountRequest + 8, // 17: ocis.services.accounts.v0.GroupsService.ListGroups:input_type -> ocis.services.accounts.v0.ListGroupsRequest + 10, // 18: ocis.services.accounts.v0.GroupsService.GetGroup:input_type -> ocis.services.accounts.v0.GetGroupRequest + 11, // 19: ocis.services.accounts.v0.GroupsService.CreateGroup:input_type -> ocis.services.accounts.v0.CreateGroupRequest + 12, // 20: ocis.services.accounts.v0.GroupsService.UpdateGroup:input_type -> ocis.services.accounts.v0.UpdateGroupRequest + 13, // 21: ocis.services.accounts.v0.GroupsService.DeleteGroup:input_type -> ocis.services.accounts.v0.DeleteGroupRequest + 14, // 22: ocis.services.accounts.v0.GroupsService.AddMember:input_type -> ocis.services.accounts.v0.AddMemberRequest + 15, // 23: ocis.services.accounts.v0.GroupsService.RemoveMember:input_type -> ocis.services.accounts.v0.RemoveMemberRequest + 16, // 24: ocis.services.accounts.v0.GroupsService.ListMembers:input_type -> ocis.services.accounts.v0.ListMembersRequest + 0, // 25: ocis.services.accounts.v0.IndexService.RebuildIndex:input_type -> ocis.services.accounts.v0.RebuildIndexRequest + 3, // 26: ocis.services.accounts.v0.AccountsService.ListAccounts:output_type -> ocis.services.accounts.v0.ListAccountsResponse + 19, // 27: ocis.services.accounts.v0.AccountsService.GetAccount:output_type -> ocis.messages.accounts.v0.Account + 19, // 28: ocis.services.accounts.v0.AccountsService.CreateAccount:output_type -> ocis.messages.accounts.v0.Account + 19, // 29: ocis.services.accounts.v0.AccountsService.UpdateAccount:output_type -> ocis.messages.accounts.v0.Account + 21, // 30: ocis.services.accounts.v0.AccountsService.DeleteAccount:output_type -> google.protobuf.Empty + 9, // 31: ocis.services.accounts.v0.GroupsService.ListGroups:output_type -> ocis.services.accounts.v0.ListGroupsResponse + 20, // 32: ocis.services.accounts.v0.GroupsService.GetGroup:output_type -> ocis.messages.accounts.v0.Group + 20, // 33: ocis.services.accounts.v0.GroupsService.CreateGroup:output_type -> ocis.messages.accounts.v0.Group + 20, // 34: ocis.services.accounts.v0.GroupsService.UpdateGroup:output_type -> ocis.messages.accounts.v0.Group + 21, // 35: ocis.services.accounts.v0.GroupsService.DeleteGroup:output_type -> google.protobuf.Empty + 20, // 36: ocis.services.accounts.v0.GroupsService.AddMember:output_type -> ocis.messages.accounts.v0.Group + 20, // 37: ocis.services.accounts.v0.GroupsService.RemoveMember:output_type -> ocis.messages.accounts.v0.Group + 17, // 38: ocis.services.accounts.v0.GroupsService.ListMembers:output_type -> ocis.services.accounts.v0.ListMembersResponse + 1, // 39: ocis.services.accounts.v0.IndexService.RebuildIndex:output_type -> ocis.services.accounts.v0.RebuildIndexResponse 26, // [26:40] is the sub-list for method output_type 12, // [12:26] is the sub-list for method input_type 12, // [12:12] is the sub-list for extension type_name @@ -1458,13 +1458,13 @@ var file_ocis_services_accounts_v1_accounts_proto_depIdxs = []int32{ 0, // [0:12] is the sub-list for field type_name } -func init() { file_ocis_services_accounts_v1_accounts_proto_init() } -func file_ocis_services_accounts_v1_accounts_proto_init() { - if File_ocis_services_accounts_v1_accounts_proto != nil { +func init() { file_ocis_services_accounts_v0_accounts_proto_init() } +func file_ocis_services_accounts_v0_accounts_proto_init() { + if File_ocis_services_accounts_v0_accounts_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_ocis_services_accounts_v1_accounts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RebuildIndexRequest); i { case 0: return &v.state @@ -1476,7 +1476,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RebuildIndexResponse); i { case 0: return &v.state @@ -1488,7 +1488,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListAccountsRequest); i { case 0: return &v.state @@ -1500,7 +1500,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListAccountsResponse); i { case 0: return &v.state @@ -1512,7 +1512,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAccountRequest); i { case 0: return &v.state @@ -1524,7 +1524,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateAccountRequest); i { case 0: return &v.state @@ -1536,7 +1536,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateAccountRequest); i { case 0: return &v.state @@ -1548,7 +1548,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteAccountRequest); i { case 0: return &v.state @@ -1560,7 +1560,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListGroupsRequest); i { case 0: return &v.state @@ -1572,7 +1572,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListGroupsResponse); i { case 0: return &v.state @@ -1584,7 +1584,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetGroupRequest); i { case 0: return &v.state @@ -1596,7 +1596,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateGroupRequest); i { case 0: return &v.state @@ -1608,7 +1608,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateGroupRequest); i { case 0: return &v.state @@ -1620,7 +1620,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteGroupRequest); i { case 0: return &v.state @@ -1632,7 +1632,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddMemberRequest); i { case 0: return &v.state @@ -1644,7 +1644,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveMemberRequest); i { case 0: return &v.state @@ -1656,7 +1656,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMembersRequest); i { case 0: return &v.state @@ -1668,7 +1668,7 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { return nil } } - file_ocis_services_accounts_v1_accounts_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_accounts_v0_accounts_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMembersResponse); i { case 0: return &v.state @@ -1685,18 +1685,18 @@ func file_ocis_services_accounts_v1_accounts_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ocis_services_accounts_v1_accounts_proto_rawDesc, + RawDescriptor: file_ocis_services_accounts_v0_accounts_proto_rawDesc, NumEnums: 0, NumMessages: 18, NumExtensions: 0, NumServices: 3, }, - GoTypes: file_ocis_services_accounts_v1_accounts_proto_goTypes, - DependencyIndexes: file_ocis_services_accounts_v1_accounts_proto_depIdxs, - MessageInfos: file_ocis_services_accounts_v1_accounts_proto_msgTypes, + GoTypes: file_ocis_services_accounts_v0_accounts_proto_goTypes, + DependencyIndexes: file_ocis_services_accounts_v0_accounts_proto_depIdxs, + MessageInfos: file_ocis_services_accounts_v0_accounts_proto_msgTypes, }.Build() - File_ocis_services_accounts_v1_accounts_proto = out.File - file_ocis_services_accounts_v1_accounts_proto_rawDesc = nil - file_ocis_services_accounts_v1_accounts_proto_goTypes = nil - file_ocis_services_accounts_v1_accounts_proto_depIdxs = nil + File_ocis_services_accounts_v0_accounts_proto = out.File + file_ocis_services_accounts_v0_accounts_proto_rawDesc = nil + file_ocis_services_accounts_v0_accounts_proto_goTypes = nil + file_ocis_services_accounts_v0_accounts_proto_depIdxs = nil } diff --git a/protogen/gen/ocis/services/accounts/v1/accounts.pb.micro.go b/protogen/gen/ocis/services/accounts/v0/accounts.pb.micro.go similarity index 88% rename from protogen/gen/ocis/services/accounts/v1/accounts.pb.micro.go rename to protogen/gen/ocis/services/accounts/v0/accounts.pb.micro.go index b255ba98d..583becb16 100644 --- a/protogen/gen/ocis/services/accounts/v1/accounts.pb.micro.go +++ b/protogen/gen/ocis/services/accounts/v0/accounts.pb.micro.go @@ -1,12 +1,12 @@ // Code generated by protoc-gen-micro. DO NOT EDIT. -// source: ocis/services/accounts/v1/accounts.proto +// source: ocis/services/accounts/v0/accounts.proto -package v1 +package v0 import ( fmt "fmt" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - v1 "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + v0 "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" _ "google.golang.org/genproto/googleapis/api/annotations" proto "google.golang.org/protobuf/proto" emptypb "google.golang.org/protobuf/types/known/emptypb" @@ -80,11 +80,11 @@ type AccountsService interface { // Lists accounts ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...client.CallOption) (*ListAccountsResponse, error) // Gets an account - GetAccount(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*v1.Account, error) + GetAccount(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*v0.Account, error) // Creates an account - CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*v1.Account, error) + CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*v0.Account, error) // Updates an account - UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*v1.Account, error) + UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*v0.Account, error) // Deletes an account DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*emptypb.Empty, error) } @@ -111,9 +111,9 @@ func (c *accountsService) ListAccounts(ctx context.Context, in *ListAccountsRequ return out, nil } -func (c *accountsService) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*v1.Account, error) { +func (c *accountsService) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*v0.Account, error) { req := c.c.NewRequest(c.name, "AccountsService.GetAccount", in) - out := new(v1.Account) + out := new(v0.Account) err := c.c.Call(ctx, req, out, opts...) if err != nil { return nil, err @@ -121,9 +121,9 @@ func (c *accountsService) GetAccount(ctx context.Context, in *GetAccountRequest, return out, nil } -func (c *accountsService) CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*v1.Account, error) { +func (c *accountsService) CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*v0.Account, error) { req := c.c.NewRequest(c.name, "AccountsService.CreateAccount", in) - out := new(v1.Account) + out := new(v0.Account) err := c.c.Call(ctx, req, out, opts...) if err != nil { return nil, err @@ -131,9 +131,9 @@ func (c *accountsService) CreateAccount(ctx context.Context, in *CreateAccountRe return out, nil } -func (c *accountsService) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*v1.Account, error) { +func (c *accountsService) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*v0.Account, error) { req := c.c.NewRequest(c.name, "AccountsService.UpdateAccount", in) - out := new(v1.Account) + out := new(v0.Account) err := c.c.Call(ctx, req, out, opts...) if err != nil { return nil, err @@ -157,11 +157,11 @@ type AccountsServiceHandler interface { // Lists accounts ListAccounts(context.Context, *ListAccountsRequest, *ListAccountsResponse) error // Gets an account - GetAccount(context.Context, *GetAccountRequest, *v1.Account) error + GetAccount(context.Context, *GetAccountRequest, *v0.Account) error // Creates an account - CreateAccount(context.Context, *CreateAccountRequest, *v1.Account) error + CreateAccount(context.Context, *CreateAccountRequest, *v0.Account) error // Updates an account - UpdateAccount(context.Context, *UpdateAccountRequest, *v1.Account) error + UpdateAccount(context.Context, *UpdateAccountRequest, *v0.Account) error // Deletes an account DeleteAccount(context.Context, *DeleteAccountRequest, *emptypb.Empty) error } @@ -169,9 +169,9 @@ type AccountsServiceHandler interface { func RegisterAccountsServiceHandler(s server.Server, hdlr AccountsServiceHandler, opts ...server.HandlerOption) error { type accountsService interface { ListAccounts(ctx context.Context, in *ListAccountsRequest, out *ListAccountsResponse) error - GetAccount(ctx context.Context, in *GetAccountRequest, out *v1.Account) error - CreateAccount(ctx context.Context, in *CreateAccountRequest, out *v1.Account) error - UpdateAccount(ctx context.Context, in *UpdateAccountRequest, out *v1.Account) error + GetAccount(ctx context.Context, in *GetAccountRequest, out *v0.Account) error + CreateAccount(ctx context.Context, in *CreateAccountRequest, out *v0.Account) error + UpdateAccount(ctx context.Context, in *UpdateAccountRequest, out *v0.Account) error DeleteAccount(ctx context.Context, in *DeleteAccountRequest, out *emptypb.Empty) error } type AccountsService struct { @@ -224,15 +224,15 @@ func (h *accountsServiceHandler) ListAccounts(ctx context.Context, in *ListAccou return h.AccountsServiceHandler.ListAccounts(ctx, in, out) } -func (h *accountsServiceHandler) GetAccount(ctx context.Context, in *GetAccountRequest, out *v1.Account) error { +func (h *accountsServiceHandler) GetAccount(ctx context.Context, in *GetAccountRequest, out *v0.Account) error { return h.AccountsServiceHandler.GetAccount(ctx, in, out) } -func (h *accountsServiceHandler) CreateAccount(ctx context.Context, in *CreateAccountRequest, out *v1.Account) error { +func (h *accountsServiceHandler) CreateAccount(ctx context.Context, in *CreateAccountRequest, out *v0.Account) error { return h.AccountsServiceHandler.CreateAccount(ctx, in, out) } -func (h *accountsServiceHandler) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, out *v1.Account) error { +func (h *accountsServiceHandler) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, out *v0.Account) error { return h.AccountsServiceHandler.UpdateAccount(ctx, in, out) } @@ -309,17 +309,17 @@ type GroupsService interface { // Lists groups ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...client.CallOption) (*ListGroupsResponse, error) // Gets an groups - GetGroup(ctx context.Context, in *GetGroupRequest, opts ...client.CallOption) (*v1.Group, error) + GetGroup(ctx context.Context, in *GetGroupRequest, opts ...client.CallOption) (*v0.Group, error) // Creates a group - CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...client.CallOption) (*v1.Group, error) + CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...client.CallOption) (*v0.Group, error) // Updates a group - UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...client.CallOption) (*v1.Group, error) + UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...client.CallOption) (*v0.Group, error) // Deletes a group DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...client.CallOption) (*emptypb.Empty, error) // group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http - AddMember(ctx context.Context, in *AddMemberRequest, opts ...client.CallOption) (*v1.Group, error) + AddMember(ctx context.Context, in *AddMemberRequest, opts ...client.CallOption) (*v0.Group, error) // group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0 - RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...client.CallOption) (*v1.Group, error) + RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...client.CallOption) (*v0.Group, error) // group:listmembers https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0 ListMembers(ctx context.Context, in *ListMembersRequest, opts ...client.CallOption) (*ListMembersResponse, error) } @@ -346,9 +346,9 @@ func (c *groupsService) ListGroups(ctx context.Context, in *ListGroupsRequest, o return out, nil } -func (c *groupsService) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...client.CallOption) (*v1.Group, error) { +func (c *groupsService) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...client.CallOption) (*v0.Group, error) { req := c.c.NewRequest(c.name, "GroupsService.GetGroup", in) - out := new(v1.Group) + out := new(v0.Group) err := c.c.Call(ctx, req, out, opts...) if err != nil { return nil, err @@ -356,9 +356,9 @@ func (c *groupsService) GetGroup(ctx context.Context, in *GetGroupRequest, opts return out, nil } -func (c *groupsService) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...client.CallOption) (*v1.Group, error) { +func (c *groupsService) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...client.CallOption) (*v0.Group, error) { req := c.c.NewRequest(c.name, "GroupsService.CreateGroup", in) - out := new(v1.Group) + out := new(v0.Group) err := c.c.Call(ctx, req, out, opts...) if err != nil { return nil, err @@ -366,9 +366,9 @@ func (c *groupsService) CreateGroup(ctx context.Context, in *CreateGroupRequest, return out, nil } -func (c *groupsService) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...client.CallOption) (*v1.Group, error) { +func (c *groupsService) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...client.CallOption) (*v0.Group, error) { req := c.c.NewRequest(c.name, "GroupsService.UpdateGroup", in) - out := new(v1.Group) + out := new(v0.Group) err := c.c.Call(ctx, req, out, opts...) if err != nil { return nil, err @@ -386,9 +386,9 @@ func (c *groupsService) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, return out, nil } -func (c *groupsService) AddMember(ctx context.Context, in *AddMemberRequest, opts ...client.CallOption) (*v1.Group, error) { +func (c *groupsService) AddMember(ctx context.Context, in *AddMemberRequest, opts ...client.CallOption) (*v0.Group, error) { req := c.c.NewRequest(c.name, "GroupsService.AddMember", in) - out := new(v1.Group) + out := new(v0.Group) err := c.c.Call(ctx, req, out, opts...) if err != nil { return nil, err @@ -396,9 +396,9 @@ func (c *groupsService) AddMember(ctx context.Context, in *AddMemberRequest, opt return out, nil } -func (c *groupsService) RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...client.CallOption) (*v1.Group, error) { +func (c *groupsService) RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...client.CallOption) (*v0.Group, error) { req := c.c.NewRequest(c.name, "GroupsService.RemoveMember", in) - out := new(v1.Group) + out := new(v0.Group) err := c.c.Call(ctx, req, out, opts...) if err != nil { return nil, err @@ -422,17 +422,17 @@ type GroupsServiceHandler interface { // Lists groups ListGroups(context.Context, *ListGroupsRequest, *ListGroupsResponse) error // Gets an groups - GetGroup(context.Context, *GetGroupRequest, *v1.Group) error + GetGroup(context.Context, *GetGroupRequest, *v0.Group) error // Creates a group - CreateGroup(context.Context, *CreateGroupRequest, *v1.Group) error + CreateGroup(context.Context, *CreateGroupRequest, *v0.Group) error // Updates a group - UpdateGroup(context.Context, *UpdateGroupRequest, *v1.Group) error + UpdateGroup(context.Context, *UpdateGroupRequest, *v0.Group) error // Deletes a group DeleteGroup(context.Context, *DeleteGroupRequest, *emptypb.Empty) error // group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http - AddMember(context.Context, *AddMemberRequest, *v1.Group) error + AddMember(context.Context, *AddMemberRequest, *v0.Group) error // group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0 - RemoveMember(context.Context, *RemoveMemberRequest, *v1.Group) error + RemoveMember(context.Context, *RemoveMemberRequest, *v0.Group) error // group:listmembers https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0 ListMembers(context.Context, *ListMembersRequest, *ListMembersResponse) error } @@ -440,12 +440,12 @@ type GroupsServiceHandler interface { func RegisterGroupsServiceHandler(s server.Server, hdlr GroupsServiceHandler, opts ...server.HandlerOption) error { type groupsService interface { ListGroups(ctx context.Context, in *ListGroupsRequest, out *ListGroupsResponse) error - GetGroup(ctx context.Context, in *GetGroupRequest, out *v1.Group) error - CreateGroup(ctx context.Context, in *CreateGroupRequest, out *v1.Group) error - UpdateGroup(ctx context.Context, in *UpdateGroupRequest, out *v1.Group) error + GetGroup(ctx context.Context, in *GetGroupRequest, out *v0.Group) error + CreateGroup(ctx context.Context, in *CreateGroupRequest, out *v0.Group) error + UpdateGroup(ctx context.Context, in *UpdateGroupRequest, out *v0.Group) error DeleteGroup(ctx context.Context, in *DeleteGroupRequest, out *emptypb.Empty) error - AddMember(ctx context.Context, in *AddMemberRequest, out *v1.Group) error - RemoveMember(ctx context.Context, in *RemoveMemberRequest, out *v1.Group) error + AddMember(ctx context.Context, in *AddMemberRequest, out *v0.Group) error + RemoveMember(ctx context.Context, in *RemoveMemberRequest, out *v0.Group) error ListMembers(ctx context.Context, in *ListMembersRequest, out *ListMembersResponse) error } type GroupsService struct { @@ -519,15 +519,15 @@ func (h *groupsServiceHandler) ListGroups(ctx context.Context, in *ListGroupsReq return h.GroupsServiceHandler.ListGroups(ctx, in, out) } -func (h *groupsServiceHandler) GetGroup(ctx context.Context, in *GetGroupRequest, out *v1.Group) error { +func (h *groupsServiceHandler) GetGroup(ctx context.Context, in *GetGroupRequest, out *v0.Group) error { return h.GroupsServiceHandler.GetGroup(ctx, in, out) } -func (h *groupsServiceHandler) CreateGroup(ctx context.Context, in *CreateGroupRequest, out *v1.Group) error { +func (h *groupsServiceHandler) CreateGroup(ctx context.Context, in *CreateGroupRequest, out *v0.Group) error { return h.GroupsServiceHandler.CreateGroup(ctx, in, out) } -func (h *groupsServiceHandler) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, out *v1.Group) error { +func (h *groupsServiceHandler) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, out *v0.Group) error { return h.GroupsServiceHandler.UpdateGroup(ctx, in, out) } @@ -535,11 +535,11 @@ func (h *groupsServiceHandler) DeleteGroup(ctx context.Context, in *DeleteGroupR return h.GroupsServiceHandler.DeleteGroup(ctx, in, out) } -func (h *groupsServiceHandler) AddMember(ctx context.Context, in *AddMemberRequest, out *v1.Group) error { +func (h *groupsServiceHandler) AddMember(ctx context.Context, in *AddMemberRequest, out *v0.Group) error { return h.GroupsServiceHandler.AddMember(ctx, in, out) } -func (h *groupsServiceHandler) RemoveMember(ctx context.Context, in *RemoveMemberRequest, out *v1.Group) error { +func (h *groupsServiceHandler) RemoveMember(ctx context.Context, in *RemoveMemberRequest, out *v0.Group) error { return h.GroupsServiceHandler.RemoveMember(ctx, in, out) } diff --git a/protogen/gen/ocis/services/accounts/v1/accounts.pb.web.go b/protogen/gen/ocis/services/accounts/v0/accounts.pb.web.go similarity index 98% rename from protogen/gen/ocis/services/accounts/v1/accounts.pb.web.go rename to protogen/gen/ocis/services/accounts/v0/accounts.pb.web.go index 446d14993..1d18174a3 100644 --- a/protogen/gen/ocis/services/accounts/v1/accounts.pb.web.go +++ b/protogen/gen/ocis/services/accounts/v0/accounts.pb.web.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-microweb. DO NOT EDIT. -// source: v1.proto +// source: v0.proto -package v1 +package v0 import ( "bytes" @@ -13,7 +13,7 @@ import ( "github.com/golang/protobuf/jsonpb" ptypesempty "github.com/golang/protobuf/ptypes/empty" - accountsv1 "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" + accountsv0 "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" ) type webAccountsServiceHandler struct { @@ -49,7 +49,7 @@ func (h *webAccountsServiceHandler) ListAccounts(w http.ResponseWriter, r *http. func (h *webAccountsServiceHandler) GetAccount(w http.ResponseWriter, r *http.Request) { req := &GetAccountRequest{} - resp := &accountsv1.Account{} + resp := &accountsv0.Account{} if err := json.NewDecoder(r.Body).Decode(&req); err != nil { http.Error(w, err.Error(), http.StatusPreconditionFailed) @@ -71,7 +71,7 @@ func (h *webAccountsServiceHandler) GetAccount(w http.ResponseWriter, r *http.Re func (h *webAccountsServiceHandler) CreateAccount(w http.ResponseWriter, r *http.Request) { req := &CreateAccountRequest{} - resp := &accountsv1.Account{} + resp := &accountsv0.Account{} if err := json.NewDecoder(r.Body).Decode(&req); err != nil { http.Error(w, err.Error(), http.StatusPreconditionFailed) @@ -93,7 +93,7 @@ func (h *webAccountsServiceHandler) CreateAccount(w http.ResponseWriter, r *http func (h *webAccountsServiceHandler) UpdateAccount(w http.ResponseWriter, r *http.Request) { req := &UpdateAccountRequest{} - resp := &accountsv1.Account{} + resp := &accountsv0.Account{} if err := json.NewDecoder(r.Body).Decode(&req); err != nil { http.Error(w, err.Error(), http.StatusPreconditionFailed) @@ -181,7 +181,7 @@ func (h *webGroupsServiceHandler) ListGroups(w http.ResponseWriter, r *http.Requ func (h *webGroupsServiceHandler) GetGroup(w http.ResponseWriter, r *http.Request) { req := &GetGroupRequest{} - resp := &accountsv1.Group{} + resp := &accountsv0.Group{} if err := json.NewDecoder(r.Body).Decode(&req); err != nil { http.Error(w, err.Error(), http.StatusPreconditionFailed) @@ -203,7 +203,7 @@ func (h *webGroupsServiceHandler) GetGroup(w http.ResponseWriter, r *http.Reques func (h *webGroupsServiceHandler) CreateGroup(w http.ResponseWriter, r *http.Request) { req := &CreateGroupRequest{} - resp := &accountsv1.Group{} + resp := &accountsv0.Group{} if err := json.NewDecoder(r.Body).Decode(&req); err != nil { http.Error(w, err.Error(), http.StatusPreconditionFailed) @@ -225,7 +225,7 @@ func (h *webGroupsServiceHandler) CreateGroup(w http.ResponseWriter, r *http.Req func (h *webGroupsServiceHandler) UpdateGroup(w http.ResponseWriter, r *http.Request) { req := &UpdateGroupRequest{} - resp := &accountsv1.Group{} + resp := &accountsv0.Group{} if err := json.NewDecoder(r.Body).Decode(&req); err != nil { http.Error(w, err.Error(), http.StatusPreconditionFailed) @@ -269,7 +269,7 @@ func (h *webGroupsServiceHandler) DeleteGroup(w http.ResponseWriter, r *http.Req func (h *webGroupsServiceHandler) AddMember(w http.ResponseWriter, r *http.Request) { req := &AddMemberRequest{} - resp := &accountsv1.Group{} + resp := &accountsv0.Group{} if err := json.NewDecoder(r.Body).Decode(&req); err != nil { http.Error(w, err.Error(), http.StatusPreconditionFailed) @@ -291,7 +291,7 @@ func (h *webGroupsServiceHandler) AddMember(w http.ResponseWriter, r *http.Reque func (h *webGroupsServiceHandler) RemoveMember(w http.ResponseWriter, r *http.Request) { req := &RemoveMemberRequest{} - resp := &accountsv1.Group{} + resp := &accountsv0.Group{} if err := json.NewDecoder(r.Body).Decode(&req); err != nil { http.Error(w, err.Error(), http.StatusPreconditionFailed) diff --git a/protogen/gen/ocis/services/accounts/v1/accounts.swagger.json b/protogen/gen/ocis/services/accounts/v0/accounts.swagger.json similarity index 94% rename from protogen/gen/ocis/services/accounts/v1/accounts.swagger.json rename to protogen/gen/ocis/services/accounts/v0/accounts.swagger.json index 67365de3f..13b50de4c 100644 --- a/protogen/gen/ocis/services/accounts/v1/accounts.swagger.json +++ b/protogen/gen/ocis/services/accounts/v0/accounts.swagger.json @@ -43,7 +43,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Account" + "$ref": "#/definitions/v0Account" } }, "default": { @@ -59,7 +59,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1CreateAccountRequest" + "$ref": "#/definitions/v0CreateAccountRequest" } } ], @@ -92,7 +92,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1DeleteAccountRequest" + "$ref": "#/definitions/v0DeleteAccountRequest" } } ], @@ -109,7 +109,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Account" + "$ref": "#/definitions/v0Account" } }, "default": { @@ -125,7 +125,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1GetAccountRequest" + "$ref": "#/definitions/v0GetAccountRequest" } } ], @@ -142,7 +142,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ListAccountsResponse" + "$ref": "#/definitions/v0ListAccountsResponse" } }, "default": { @@ -158,7 +158,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1ListAccountsRequest" + "$ref": "#/definitions/v0ListAccountsRequest" } } ], @@ -175,7 +175,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Account" + "$ref": "#/definitions/v0Account" } }, "default": { @@ -191,7 +191,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1UpdateAccountRequest" + "$ref": "#/definitions/v0UpdateAccountRequest" } } ], @@ -208,7 +208,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Group" + "$ref": "#/definitions/v0Group" } }, "default": { @@ -224,7 +224,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1CreateGroupRequest" + "$ref": "#/definitions/v0CreateGroupRequest" } } ], @@ -257,7 +257,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1DeleteGroupRequest" + "$ref": "#/definitions/v0DeleteGroupRequest" } } ], @@ -274,7 +274,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Group" + "$ref": "#/definitions/v0Group" } }, "default": { @@ -290,7 +290,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1GetGroupRequest" + "$ref": "#/definitions/v0GetGroupRequest" } } ], @@ -307,7 +307,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ListGroupsResponse" + "$ref": "#/definitions/v0ListGroupsResponse" } }, "default": { @@ -323,7 +323,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1ListGroupsRequest" + "$ref": "#/definitions/v0ListGroupsRequest" } } ], @@ -340,7 +340,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Group" + "$ref": "#/definitions/v0Group" } }, "default": { @@ -356,7 +356,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1UpdateGroupRequest" + "$ref": "#/definitions/v0UpdateGroupRequest" } } ], @@ -373,7 +373,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Group" + "$ref": "#/definitions/v0Group" } }, "default": { @@ -420,7 +420,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Group" + "$ref": "#/definitions/v0Group" } }, "default": { @@ -468,7 +468,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ListMembersResponse" + "$ref": "#/definitions/v0ListMembersResponse" } }, "default": { @@ -527,7 +527,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1RebuildIndexResponse" + "$ref": "#/definitions/v0RebuildIndexResponse" } }, "default": { @@ -543,7 +543,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1RebuildIndexRequest" + "$ref": "#/definitions/v0RebuildIndexRequest" } } ], @@ -581,7 +581,7 @@ } } }, - "v1Account": { + "v0Account": { "type": "object", "properties": { "id": { @@ -603,7 +603,7 @@ "identities": { "type": "array", "items": { - "$ref": "#/definitions/v1Identities" + "$ref": "#/definitions/v0Identities" }, "description": "Represents the identities that can be used to sign in to this account.\nAn identity can be provided by oCIS (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and is tied to an account.\nMay contain multiple items with the same signInType value. Supports $filter." }, @@ -634,13 +634,13 @@ "title": "A description, useful for resource accounts\nposixaccount MAY description" }, "passwordProfile": { - "$ref": "#/definitions/v1PasswordProfile", + "$ref": "#/definitions/v0PasswordProfile", "title": "Specifies the password profile for the user.\nThe profile contains the user’s password. This property is required when a user is created.\nThe password in the profile must satisfy minimum requirements as specified by the passwordPolicies property.\nBy default, a strong password is required.\nposixaccount MAY authPassword" }, "memberOf": { "type": "array", "items": { - "$ref": "#/definitions/v1Group" + "$ref": "#/definitions/v0Group" }, "title": "The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable.\nshould we only respond with repeated strings of ids? no clients should a proper filter mask!" }, @@ -690,7 +690,7 @@ "onPremisesProvisioningErrors": { "type": "array", "items": { - "$ref": "#/definitions/v1OnPremisesProvisioningError" + "$ref": "#/definitions/v0OnPremisesProvisioningError" }, "description": "Errors when using synchronization during provisioning." }, @@ -716,25 +716,25 @@ }, "title": "Account follows the properties of the ms graph api user resource.\nSee https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties" }, - "v1CreateAccountRequest": { + "v0CreateAccountRequest": { "type": "object", "properties": { "account": { - "$ref": "#/definitions/v1Account", + "$ref": "#/definitions/v0Account", "title": "The account resource to create" } } }, - "v1CreateGroupRequest": { + "v0CreateGroupRequest": { "type": "object", "properties": { "group": { - "$ref": "#/definitions/v1Group", + "$ref": "#/definitions/v0Group", "title": "The account resource to create" } } }, - "v1DeleteAccountRequest": { + "v0DeleteAccountRequest": { "type": "object", "properties": { "id": { @@ -742,7 +742,7 @@ } } }, - "v1DeleteGroupRequest": { + "v0DeleteGroupRequest": { "type": "object", "properties": { "id": { @@ -750,7 +750,7 @@ } } }, - "v1GetAccountRequest": { + "v0GetAccountRequest": { "type": "object", "properties": { "id": { @@ -758,7 +758,7 @@ } } }, - "v1GetGroupRequest": { + "v0GetGroupRequest": { "type": "object", "properties": { "id": { @@ -766,7 +766,7 @@ } } }, - "v1Group": { + "v0Group": { "type": "object", "properties": { "id": { @@ -780,14 +780,14 @@ "members": { "type": "array", "items": { - "$ref": "#/definitions/v1Account" + "$ref": "#/definitions/v0Account" }, "description": "Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable." }, "owners": { "type": "array", "items": { - "$ref": "#/definitions/v1Account" + "$ref": "#/definitions/v0Account" }, "title": "groupofnames MAY businessCategory\ngroupofnames MAY o\ngroupofnames MAY ou\ngroupofnames MAY owner, SINGLE-VALUE but there might be multiple owners" }, @@ -858,13 +858,13 @@ "onPremisesProvisioningErrors": { "type": "array", "items": { - "$ref": "#/definitions/v1OnPremisesProvisioningError" + "$ref": "#/definitions/v0OnPremisesProvisioningError" }, "description": "Errors when using synchronization during provisioning." } } }, - "v1Identities": { + "v0Identities": { "type": "object", "properties": { "signInType": { @@ -882,7 +882,7 @@ }, "description": "Identities Represents an identity used to sign in to a user account.\nAn identity can be provided by oCIS, by organizations, or by social identity providers such as Facebook, Google, or Microsoft, that are tied to a user account.\nThis enables the user to sign in to the user account with any of those associated identities.\nThey are also used to keep a history of old usernames." }, - "v1ListAccountsRequest": { + "v0ListAccountsRequest": { "type": "object", "properties": { "pageSize": { @@ -905,13 +905,13 @@ } } }, - "v1ListAccountsResponse": { + "v0ListAccountsResponse": { "type": "object", "properties": { "accounts": { "type": "array", "items": { - "$ref": "#/definitions/v1Account" + "$ref": "#/definitions/v0Account" }, "title": "The field name should match the noun \"accounts\" in the method name. There\nwill be a maximum number of items returned based on the page_size field\nin the request" }, @@ -921,7 +921,7 @@ } } }, - "v1ListGroupsRequest": { + "v0ListGroupsRequest": { "type": "object", "properties": { "pageSize": { @@ -944,13 +944,13 @@ } } }, - "v1ListGroupsResponse": { + "v0ListGroupsResponse": { "type": "object", "properties": { "groups": { "type": "array", "items": { - "$ref": "#/definitions/v1Group" + "$ref": "#/definitions/v0Group" }, "title": "The field name should match the noun \"group\" in the method name. There\nwill be a maximum number of items returned based on the page_size field\nin the request" }, @@ -960,13 +960,13 @@ } } }, - "v1ListMembersResponse": { + "v0ListMembersResponse": { "type": "object", "properties": { "members": { "type": "array", "items": { - "$ref": "#/definitions/v1Account" + "$ref": "#/definitions/v0Account" }, "title": "The field name should match the noun \"members\" in the method name. There\nwill be a maximum number of items returned based on the page_size field\nin the request" }, @@ -976,7 +976,7 @@ } } }, - "v1OnPremisesProvisioningError": { + "v0OnPremisesProvisioningError": { "type": "object", "properties": { "category": { @@ -998,7 +998,7 @@ } } }, - "v1PasswordProfile": { + "v0PasswordProfile": { "type": "object", "properties": { "password": { @@ -1027,17 +1027,17 @@ } } }, - "v1RebuildIndexRequest": { + "v0RebuildIndexRequest": { "type": "object" }, - "v1RebuildIndexResponse": { + "v0RebuildIndexResponse": { "type": "object" }, - "v1UpdateAccountRequest": { + "v0UpdateAccountRequest": { "type": "object", "properties": { "account": { - "$ref": "#/definitions/v1Account", + "$ref": "#/definitions/v0Account", "title": "The account resource which replaces the resource on the server" }, "updateMask": { @@ -1046,11 +1046,11 @@ } } }, - "v1UpdateGroupRequest": { + "v0UpdateGroupRequest": { "type": "object", "properties": { "group": { - "$ref": "#/definitions/v1Group", + "$ref": "#/definitions/v0Group", "title": "The group resource which replaces the resource on the server" }, "updateMask": { diff --git a/protogen/gen/ocis/services/settings/v1/settings.mock.go b/protogen/gen/ocis/services/settings/v0/settings.mock.go similarity index 99% rename from protogen/gen/ocis/services/settings/v1/settings.mock.go rename to protogen/gen/ocis/services/settings/v0/settings.mock.go index fe509d9dc..d04a55e4f 100644 --- a/protogen/gen/ocis/services/settings/v1/settings.mock.go +++ b/protogen/gen/ocis/services/settings/v0/settings.mock.go @@ -1,4 +1,4 @@ -package v1 +package v0 import ( "context" diff --git a/protogen/gen/ocis/services/settings/v1/settings.pb.go b/protogen/gen/ocis/services/settings/v0/settings.pb.go similarity index 77% rename from protogen/gen/ocis/services/settings/v1/settings.pb.go rename to protogen/gen/ocis/services/settings/v0/settings.pb.go index 926182a36..5eeeb9566 100644 --- a/protogen/gen/ocis/services/settings/v1/settings.pb.go +++ b/protogen/gen/ocis/services/settings/v0/settings.pb.go @@ -2,13 +2,13 @@ // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 -// source: ocis/services/settings/v1/settings.proto +// source: ocis/services/settings/v0/settings.proto -package v1 +package v0 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - v1 "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + v0 "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -32,13 +32,13 @@ type SaveBundleRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Bundle *v1.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` + Bundle *v0.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` } func (x *SaveBundleRequest) Reset() { *x = SaveBundleRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[0] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -51,7 +51,7 @@ func (x *SaveBundleRequest) String() string { func (*SaveBundleRequest) ProtoMessage() {} func (x *SaveBundleRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[0] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -64,10 +64,10 @@ func (x *SaveBundleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SaveBundleRequest.ProtoReflect.Descriptor instead. func (*SaveBundleRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{0} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{0} } -func (x *SaveBundleRequest) GetBundle() *v1.Bundle { +func (x *SaveBundleRequest) GetBundle() *v0.Bundle { if x != nil { return x.Bundle } @@ -79,13 +79,13 @@ type SaveBundleResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Bundle *v1.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` + Bundle *v0.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` } func (x *SaveBundleResponse) Reset() { *x = SaveBundleResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[1] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -98,7 +98,7 @@ func (x *SaveBundleResponse) String() string { func (*SaveBundleResponse) ProtoMessage() {} func (x *SaveBundleResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[1] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -111,10 +111,10 @@ func (x *SaveBundleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SaveBundleResponse.ProtoReflect.Descriptor instead. func (*SaveBundleResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{1} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{1} } -func (x *SaveBundleResponse) GetBundle() *v1.Bundle { +func (x *SaveBundleResponse) GetBundle() *v0.Bundle { if x != nil { return x.Bundle } @@ -132,7 +132,7 @@ type GetBundleRequest struct { func (x *GetBundleRequest) Reset() { *x = GetBundleRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[2] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -145,7 +145,7 @@ func (x *GetBundleRequest) String() string { func (*GetBundleRequest) ProtoMessage() {} func (x *GetBundleRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[2] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -158,7 +158,7 @@ func (x *GetBundleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBundleRequest.ProtoReflect.Descriptor instead. func (*GetBundleRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{2} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{2} } func (x *GetBundleRequest) GetBundleId() string { @@ -173,13 +173,13 @@ type GetBundleResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Bundle *v1.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` + Bundle *v0.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` } func (x *GetBundleResponse) Reset() { *x = GetBundleResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[3] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -192,7 +192,7 @@ func (x *GetBundleResponse) String() string { func (*GetBundleResponse) ProtoMessage() {} func (x *GetBundleResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[3] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -205,10 +205,10 @@ func (x *GetBundleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBundleResponse.ProtoReflect.Descriptor instead. func (*GetBundleResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{3} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{3} } -func (x *GetBundleResponse) GetBundle() *v1.Bundle { +func (x *GetBundleResponse) GetBundle() *v0.Bundle { if x != nil { return x.Bundle } @@ -226,7 +226,7 @@ type ListBundlesRequest struct { func (x *ListBundlesRequest) Reset() { *x = ListBundlesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[4] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -239,7 +239,7 @@ func (x *ListBundlesRequest) String() string { func (*ListBundlesRequest) ProtoMessage() {} func (x *ListBundlesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[4] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -252,7 +252,7 @@ func (x *ListBundlesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListBundlesRequest.ProtoReflect.Descriptor instead. func (*ListBundlesRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{4} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{4} } func (x *ListBundlesRequest) GetBundleIds() []string { @@ -267,13 +267,13 @@ type ListBundlesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Bundles []*v1.Bundle `protobuf:"bytes,1,rep,name=bundles,proto3" json:"bundles,omitempty"` + Bundles []*v0.Bundle `protobuf:"bytes,1,rep,name=bundles,proto3" json:"bundles,omitempty"` } func (x *ListBundlesResponse) Reset() { *x = ListBundlesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[5] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -286,7 +286,7 @@ func (x *ListBundlesResponse) String() string { func (*ListBundlesResponse) ProtoMessage() {} func (x *ListBundlesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[5] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -299,10 +299,10 @@ func (x *ListBundlesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListBundlesResponse.ProtoReflect.Descriptor instead. func (*ListBundlesResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{5} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{5} } -func (x *ListBundlesResponse) GetBundles() []*v1.Bundle { +func (x *ListBundlesResponse) GetBundles() []*v0.Bundle { if x != nil { return x.Bundles } @@ -315,13 +315,13 @@ type AddSettingToBundleRequest struct { unknownFields protoimpl.UnknownFields BundleId string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"` - Setting *v1.Setting `protobuf:"bytes,2,opt,name=setting,proto3" json:"setting,omitempty"` + Setting *v0.Setting `protobuf:"bytes,2,opt,name=setting,proto3" json:"setting,omitempty"` } func (x *AddSettingToBundleRequest) Reset() { *x = AddSettingToBundleRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[6] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -334,7 +334,7 @@ func (x *AddSettingToBundleRequest) String() string { func (*AddSettingToBundleRequest) ProtoMessage() {} func (x *AddSettingToBundleRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[6] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -347,7 +347,7 @@ func (x *AddSettingToBundleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddSettingToBundleRequest.ProtoReflect.Descriptor instead. func (*AddSettingToBundleRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{6} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{6} } func (x *AddSettingToBundleRequest) GetBundleId() string { @@ -357,7 +357,7 @@ func (x *AddSettingToBundleRequest) GetBundleId() string { return "" } -func (x *AddSettingToBundleRequest) GetSetting() *v1.Setting { +func (x *AddSettingToBundleRequest) GetSetting() *v0.Setting { if x != nil { return x.Setting } @@ -369,13 +369,13 @@ type AddSettingToBundleResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Setting *v1.Setting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` + Setting *v0.Setting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` } func (x *AddSettingToBundleResponse) Reset() { *x = AddSettingToBundleResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[7] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -388,7 +388,7 @@ func (x *AddSettingToBundleResponse) String() string { func (*AddSettingToBundleResponse) ProtoMessage() {} func (x *AddSettingToBundleResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[7] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -401,10 +401,10 @@ func (x *AddSettingToBundleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddSettingToBundleResponse.ProtoReflect.Descriptor instead. func (*AddSettingToBundleResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{7} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{7} } -func (x *AddSettingToBundleResponse) GetSetting() *v1.Setting { +func (x *AddSettingToBundleResponse) GetSetting() *v0.Setting { if x != nil { return x.Setting } @@ -423,7 +423,7 @@ type RemoveSettingFromBundleRequest struct { func (x *RemoveSettingFromBundleRequest) Reset() { *x = RemoveSettingFromBundleRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[8] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -436,7 +436,7 @@ func (x *RemoveSettingFromBundleRequest) String() string { func (*RemoveSettingFromBundleRequest) ProtoMessage() {} func (x *RemoveSettingFromBundleRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[8] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -449,7 +449,7 @@ func (x *RemoveSettingFromBundleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveSettingFromBundleRequest.ProtoReflect.Descriptor instead. func (*RemoveSettingFromBundleRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{8} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{8} } func (x *RemoveSettingFromBundleRequest) GetBundleId() string { @@ -471,13 +471,13 @@ type SaveValueRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value *v1.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value *v0.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` } func (x *SaveValueRequest) Reset() { *x = SaveValueRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[9] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -490,7 +490,7 @@ func (x *SaveValueRequest) String() string { func (*SaveValueRequest) ProtoMessage() {} func (x *SaveValueRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[9] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -503,10 +503,10 @@ func (x *SaveValueRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SaveValueRequest.ProtoReflect.Descriptor instead. func (*SaveValueRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{9} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{9} } -func (x *SaveValueRequest) GetValue() *v1.Value { +func (x *SaveValueRequest) GetValue() *v0.Value { if x != nil { return x.Value } @@ -518,13 +518,13 @@ type SaveValueResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value *v1.ValueWithIdentifier `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value *v0.ValueWithIdentifier `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` } func (x *SaveValueResponse) Reset() { *x = SaveValueResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[10] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -537,7 +537,7 @@ func (x *SaveValueResponse) String() string { func (*SaveValueResponse) ProtoMessage() {} func (x *SaveValueResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[10] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -550,10 +550,10 @@ func (x *SaveValueResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SaveValueResponse.ProtoReflect.Descriptor instead. func (*SaveValueResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{10} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{10} } -func (x *SaveValueResponse) GetValue() *v1.ValueWithIdentifier { +func (x *SaveValueResponse) GetValue() *v0.ValueWithIdentifier { if x != nil { return x.Value } @@ -571,7 +571,7 @@ type GetValueRequest struct { func (x *GetValueRequest) Reset() { *x = GetValueRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[11] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -584,7 +584,7 @@ func (x *GetValueRequest) String() string { func (*GetValueRequest) ProtoMessage() {} func (x *GetValueRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[11] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -597,7 +597,7 @@ func (x *GetValueRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead. func (*GetValueRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{11} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{11} } func (x *GetValueRequest) GetId() string { @@ -612,13 +612,13 @@ type GetValueResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value *v1.ValueWithIdentifier `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value *v0.ValueWithIdentifier `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` } func (x *GetValueResponse) Reset() { *x = GetValueResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[12] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -631,7 +631,7 @@ func (x *GetValueResponse) String() string { func (*GetValueResponse) ProtoMessage() {} func (x *GetValueResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[12] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -644,10 +644,10 @@ func (x *GetValueResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead. func (*GetValueResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{12} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{12} } -func (x *GetValueResponse) GetValue() *v1.ValueWithIdentifier { +func (x *GetValueResponse) GetValue() *v0.ValueWithIdentifier { if x != nil { return x.Value } @@ -666,7 +666,7 @@ type ListValuesRequest struct { func (x *ListValuesRequest) Reset() { *x = ListValuesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[13] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -679,7 +679,7 @@ func (x *ListValuesRequest) String() string { func (*ListValuesRequest) ProtoMessage() {} func (x *ListValuesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[13] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -692,7 +692,7 @@ func (x *ListValuesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListValuesRequest.ProtoReflect.Descriptor instead. func (*ListValuesRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{13} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{13} } func (x *ListValuesRequest) GetBundleId() string { @@ -714,13 +714,13 @@ type ListValuesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Values []*v1.ValueWithIdentifier `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + Values []*v0.ValueWithIdentifier `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` } func (x *ListValuesResponse) Reset() { *x = ListValuesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[14] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -733,7 +733,7 @@ func (x *ListValuesResponse) String() string { func (*ListValuesResponse) ProtoMessage() {} func (x *ListValuesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[14] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -746,10 +746,10 @@ func (x *ListValuesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListValuesResponse.ProtoReflect.Descriptor instead. func (*ListValuesResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{14} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{14} } -func (x *ListValuesResponse) GetValues() []*v1.ValueWithIdentifier { +func (x *ListValuesResponse) GetValues() []*v0.ValueWithIdentifier { if x != nil { return x.Values } @@ -768,7 +768,7 @@ type GetValueByUniqueIdentifiersRequest struct { func (x *GetValueByUniqueIdentifiersRequest) Reset() { *x = GetValueByUniqueIdentifiersRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[15] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -781,7 +781,7 @@ func (x *GetValueByUniqueIdentifiersRequest) String() string { func (*GetValueByUniqueIdentifiersRequest) ProtoMessage() {} func (x *GetValueByUniqueIdentifiersRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[15] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -794,7 +794,7 @@ func (x *GetValueByUniqueIdentifiersRequest) ProtoReflect() protoreflect.Message // Deprecated: Use GetValueByUniqueIdentifiersRequest.ProtoReflect.Descriptor instead. func (*GetValueByUniqueIdentifiersRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{15} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{15} } func (x *GetValueByUniqueIdentifiersRequest) GetAccountUuid() string { @@ -822,7 +822,7 @@ type ListRoleAssignmentsRequest struct { func (x *ListRoleAssignmentsRequest) Reset() { *x = ListRoleAssignmentsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[16] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -835,7 +835,7 @@ func (x *ListRoleAssignmentsRequest) String() string { func (*ListRoleAssignmentsRequest) ProtoMessage() {} func (x *ListRoleAssignmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[16] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -848,7 +848,7 @@ func (x *ListRoleAssignmentsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRoleAssignmentsRequest.ProtoReflect.Descriptor instead. func (*ListRoleAssignmentsRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{16} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{16} } func (x *ListRoleAssignmentsRequest) GetAccountUuid() string { @@ -863,13 +863,13 @@ type ListRoleAssignmentsResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Assignments []*v1.UserRoleAssignment `protobuf:"bytes,1,rep,name=assignments,proto3" json:"assignments,omitempty"` + Assignments []*v0.UserRoleAssignment `protobuf:"bytes,1,rep,name=assignments,proto3" json:"assignments,omitempty"` } func (x *ListRoleAssignmentsResponse) Reset() { *x = ListRoleAssignmentsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[17] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -882,7 +882,7 @@ func (x *ListRoleAssignmentsResponse) String() string { func (*ListRoleAssignmentsResponse) ProtoMessage() {} func (x *ListRoleAssignmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[17] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -895,10 +895,10 @@ func (x *ListRoleAssignmentsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRoleAssignmentsResponse.ProtoReflect.Descriptor instead. func (*ListRoleAssignmentsResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{17} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{17} } -func (x *ListRoleAssignmentsResponse) GetAssignments() []*v1.UserRoleAssignment { +func (x *ListRoleAssignmentsResponse) GetAssignments() []*v0.UserRoleAssignment { if x != nil { return x.Assignments } @@ -918,7 +918,7 @@ type AssignRoleToUserRequest struct { func (x *AssignRoleToUserRequest) Reset() { *x = AssignRoleToUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[18] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -931,7 +931,7 @@ func (x *AssignRoleToUserRequest) String() string { func (*AssignRoleToUserRequest) ProtoMessage() {} func (x *AssignRoleToUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[18] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -944,7 +944,7 @@ func (x *AssignRoleToUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignRoleToUserRequest.ProtoReflect.Descriptor instead. func (*AssignRoleToUserRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{18} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{18} } func (x *AssignRoleToUserRequest) GetAccountUuid() string { @@ -966,13 +966,13 @@ type AssignRoleToUserResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Assignment *v1.UserRoleAssignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` + Assignment *v0.UserRoleAssignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` } func (x *AssignRoleToUserResponse) Reset() { *x = AssignRoleToUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[19] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -985,7 +985,7 @@ func (x *AssignRoleToUserResponse) String() string { func (*AssignRoleToUserResponse) ProtoMessage() {} func (x *AssignRoleToUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[19] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -998,10 +998,10 @@ func (x *AssignRoleToUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignRoleToUserResponse.ProtoReflect.Descriptor instead. func (*AssignRoleToUserResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{19} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{19} } -func (x *AssignRoleToUserResponse) GetAssignment() *v1.UserRoleAssignment { +func (x *AssignRoleToUserResponse) GetAssignment() *v0.UserRoleAssignment { if x != nil { return x.Assignment } @@ -1019,7 +1019,7 @@ type RemoveRoleFromUserRequest struct { func (x *RemoveRoleFromUserRequest) Reset() { *x = RemoveRoleFromUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[20] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1032,7 +1032,7 @@ func (x *RemoveRoleFromUserRequest) String() string { func (*RemoveRoleFromUserRequest) ProtoMessage() {} func (x *RemoveRoleFromUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[20] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1045,7 +1045,7 @@ func (x *RemoveRoleFromUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveRoleFromUserRequest.ProtoReflect.Descriptor instead. func (*RemoveRoleFromUserRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{20} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{20} } func (x *RemoveRoleFromUserRequest) GetId() string { @@ -1060,13 +1060,13 @@ type ListPermissionsByResourceRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Resource *v1.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` + Resource *v0.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` } func (x *ListPermissionsByResourceRequest) Reset() { *x = ListPermissionsByResourceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[21] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1079,7 +1079,7 @@ func (x *ListPermissionsByResourceRequest) String() string { func (*ListPermissionsByResourceRequest) ProtoMessage() {} func (x *ListPermissionsByResourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[21] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1092,10 +1092,10 @@ func (x *ListPermissionsByResourceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListPermissionsByResourceRequest.ProtoReflect.Descriptor instead. func (*ListPermissionsByResourceRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{21} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{21} } -func (x *ListPermissionsByResourceRequest) GetResource() *v1.Resource { +func (x *ListPermissionsByResourceRequest) GetResource() *v0.Resource { if x != nil { return x.Resource } @@ -1107,13 +1107,13 @@ type ListPermissionsByResourceResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Permissions []*v1.Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` + Permissions []*v0.Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` } func (x *ListPermissionsByResourceResponse) Reset() { *x = ListPermissionsByResourceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[22] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1126,7 +1126,7 @@ func (x *ListPermissionsByResourceResponse) String() string { func (*ListPermissionsByResourceResponse) ProtoMessage() {} func (x *ListPermissionsByResourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[22] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1139,10 +1139,10 @@ func (x *ListPermissionsByResourceResponse) ProtoReflect() protoreflect.Message // Deprecated: Use ListPermissionsByResourceResponse.ProtoReflect.Descriptor instead. func (*ListPermissionsByResourceResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{22} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{22} } -func (x *ListPermissionsByResourceResponse) GetPermissions() []*v1.Permission { +func (x *ListPermissionsByResourceResponse) GetPermissions() []*v0.Permission { if x != nil { return x.Permissions } @@ -1160,7 +1160,7 @@ type GetPermissionByIDRequest struct { func (x *GetPermissionByIDRequest) Reset() { *x = GetPermissionByIDRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[23] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1173,7 +1173,7 @@ func (x *GetPermissionByIDRequest) String() string { func (*GetPermissionByIDRequest) ProtoMessage() {} func (x *GetPermissionByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[23] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1186,7 +1186,7 @@ func (x *GetPermissionByIDRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPermissionByIDRequest.ProtoReflect.Descriptor instead. func (*GetPermissionByIDRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{23} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{23} } func (x *GetPermissionByIDRequest) GetPermissionId() string { @@ -1201,13 +1201,13 @@ type GetPermissionByIDResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Permission *v1.Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` + Permission *v0.Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` } func (x *GetPermissionByIDResponse) Reset() { *x = GetPermissionByIDResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[24] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1220,7 +1220,7 @@ func (x *GetPermissionByIDResponse) String() string { func (*GetPermissionByIDResponse) ProtoMessage() {} func (x *GetPermissionByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_settings_v1_settings_proto_msgTypes[24] + mi := &file_ocis_services_settings_v0_settings_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1233,25 +1233,25 @@ func (x *GetPermissionByIDResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPermissionByIDResponse.ProtoReflect.Descriptor instead. func (*GetPermissionByIDResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_settings_v1_settings_proto_rawDescGZIP(), []int{24} + return file_ocis_services_settings_v0_settings_proto_rawDescGZIP(), []int{24} } -func (x *GetPermissionByIDResponse) GetPermission() *v1.Permission { +func (x *GetPermissionByIDResponse) GetPermission() *v0.Permission { if x != nil { return x.Permission } return nil } -var File_ocis_services_settings_v1_settings_proto protoreflect.FileDescriptor +var File_ocis_services_settings_v0_settings_proto protoreflect.FileDescriptor -var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ +var file_ocis_services_settings_v0_settings_proto_rawDesc = []byte{ 0x0a, 0x28, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, - 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x74, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x28, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x31, + 0x67, 0x73, 0x2e, 0x76, 0x30, 0x1a, 0x28, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, @@ -1263,12 +1263,12 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x76, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, - 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6e, 0x64, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x4f, 0x0a, 0x12, 0x53, 0x61, 0x76, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, - 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6e, + 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x2f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, @@ -1276,7 +1276,7 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x47, 0x65, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, + 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x33, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, @@ -1285,20 +1285,20 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x07, 0x62, 0x75, + 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x07, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x22, 0x76, 0x0a, 0x19, 0x41, 0x64, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, - 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, + 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x5a, 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x5c, 0x0a, 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x62, @@ -1309,19 +1309,19 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, + 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x59, 0x0a, 0x11, 0x53, 0x61, 0x76, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x57, 0x69, 0x74, 0x68, 0x49, 0x64, 0x65, + 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x57, 0x69, 0x74, 0x68, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x21, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, + 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x57, 0x69, 0x74, 0x68, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x53, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, @@ -1333,7 +1333,7 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x57, 0x69, 0x74, 0x68, 0x49, 0x64, 0x65, 0x6e, + 0x76, 0x30, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x57, 0x69, 0x74, 0x68, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x66, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, @@ -1350,7 +1350,7 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, + 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x55, 0x0a, 0x17, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, @@ -1362,7 +1362,7 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x2b, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, @@ -1372,14 +1372,14 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x6c, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x65, + 0x30, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, @@ -1389,44 +1389,44 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0xa6, 0x06, 0x0a, 0x0d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x92, 0x01, 0x0a, 0x0a, 0x53, 0x61, 0x76, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x2c, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x42, 0x75, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2d, 0x73, 0x61, 0x76, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x8e, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x2b, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2d, 0x67, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x96, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0xb2, 0x01, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x34, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, + 0x76, 0x30, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x65, 0x74, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22, 0x24, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x75, @@ -1434,7 +1434,7 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x67, 0x3a, 0x01, 0x2a, 0x12, 0xa0, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x39, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, + 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, @@ -1445,39 +1445,39 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8f, 0x01, 0x0a, 0x09, 0x53, 0x61, 0x76, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2b, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x76, 0x30, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2d, 0x73, 0x61, 0x76, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x8b, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2d, 0x67, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x92, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, + 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0xc7, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x22, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2d, 0x67, 0x65, 0x74, 0x2d, 0x62, @@ -1486,20 +1486,20 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x92, 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0xb2, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x35, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c, 0x65, + 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x61, 0x73, @@ -1507,17 +1507,17 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x2a, 0x12, 0xa8, 0x01, 0x0a, 0x10, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x6f, 0x55, + 0x76, 0x30, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x6f, 0x6c, + 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2d, 0x61, 0x64, 0x64, 0x3a, 0x01, 0x2a, 0x12, 0x92, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x12, 0x34, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, @@ -1529,10 +1529,10 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3b, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x2d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, @@ -1541,11 +1541,11 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xb1, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x44, 0x12, 0x33, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, + 0x30, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x26, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, @@ -1554,7 +1554,7 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, - 0x76, 0x31, 0x92, 0x41, 0xa0, 0x02, 0x12, 0xb6, 0x01, 0x0a, 0x20, 0x6f, 0x77, 0x6e, 0x43, 0x6c, + 0x76, 0x30, 0x92, 0x41, 0xa0, 0x02, 0x12, 0xb6, 0x01, 0x0a, 0x20, 0x6f, 0x77, 0x6e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x20, 0x49, 0x6e, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x65, 0x20, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x47, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x20, 0x47, 0x6d, 0x62, 0x48, 0x12, 0x20, 0x68, 0x74, @@ -1576,99 +1576,99 @@ var file_ocis_services_settings_v1_settings_proto_rawDesc = []byte{ } var ( - file_ocis_services_settings_v1_settings_proto_rawDescOnce sync.Once - file_ocis_services_settings_v1_settings_proto_rawDescData = file_ocis_services_settings_v1_settings_proto_rawDesc + file_ocis_services_settings_v0_settings_proto_rawDescOnce sync.Once + file_ocis_services_settings_v0_settings_proto_rawDescData = file_ocis_services_settings_v0_settings_proto_rawDesc ) -func file_ocis_services_settings_v1_settings_proto_rawDescGZIP() []byte { - file_ocis_services_settings_v1_settings_proto_rawDescOnce.Do(func() { - file_ocis_services_settings_v1_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_settings_v1_settings_proto_rawDescData) +func file_ocis_services_settings_v0_settings_proto_rawDescGZIP() []byte { + file_ocis_services_settings_v0_settings_proto_rawDescOnce.Do(func() { + file_ocis_services_settings_v0_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_settings_v0_settings_proto_rawDescData) }) - return file_ocis_services_settings_v1_settings_proto_rawDescData + return file_ocis_services_settings_v0_settings_proto_rawDescData } -var file_ocis_services_settings_v1_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 25) -var file_ocis_services_settings_v1_settings_proto_goTypes = []interface{}{ - (*SaveBundleRequest)(nil), // 0: ocis.services.settings.v1.SaveBundleRequest - (*SaveBundleResponse)(nil), // 1: ocis.services.settings.v1.SaveBundleResponse - (*GetBundleRequest)(nil), // 2: ocis.services.settings.v1.GetBundleRequest - (*GetBundleResponse)(nil), // 3: ocis.services.settings.v1.GetBundleResponse - (*ListBundlesRequest)(nil), // 4: ocis.services.settings.v1.ListBundlesRequest - (*ListBundlesResponse)(nil), // 5: ocis.services.settings.v1.ListBundlesResponse - (*AddSettingToBundleRequest)(nil), // 6: ocis.services.settings.v1.AddSettingToBundleRequest - (*AddSettingToBundleResponse)(nil), // 7: ocis.services.settings.v1.AddSettingToBundleResponse - (*RemoveSettingFromBundleRequest)(nil), // 8: ocis.services.settings.v1.RemoveSettingFromBundleRequest - (*SaveValueRequest)(nil), // 9: ocis.services.settings.v1.SaveValueRequest - (*SaveValueResponse)(nil), // 10: ocis.services.settings.v1.SaveValueResponse - (*GetValueRequest)(nil), // 11: ocis.services.settings.v1.GetValueRequest - (*GetValueResponse)(nil), // 12: ocis.services.settings.v1.GetValueResponse - (*ListValuesRequest)(nil), // 13: ocis.services.settings.v1.ListValuesRequest - (*ListValuesResponse)(nil), // 14: ocis.services.settings.v1.ListValuesResponse - (*GetValueByUniqueIdentifiersRequest)(nil), // 15: ocis.services.settings.v1.GetValueByUniqueIdentifiersRequest - (*ListRoleAssignmentsRequest)(nil), // 16: ocis.services.settings.v1.ListRoleAssignmentsRequest - (*ListRoleAssignmentsResponse)(nil), // 17: ocis.services.settings.v1.ListRoleAssignmentsResponse - (*AssignRoleToUserRequest)(nil), // 18: ocis.services.settings.v1.AssignRoleToUserRequest - (*AssignRoleToUserResponse)(nil), // 19: ocis.services.settings.v1.AssignRoleToUserResponse - (*RemoveRoleFromUserRequest)(nil), // 20: ocis.services.settings.v1.RemoveRoleFromUserRequest - (*ListPermissionsByResourceRequest)(nil), // 21: ocis.services.settings.v1.ListPermissionsByResourceRequest - (*ListPermissionsByResourceResponse)(nil), // 22: ocis.services.settings.v1.ListPermissionsByResourceResponse - (*GetPermissionByIDRequest)(nil), // 23: ocis.services.settings.v1.GetPermissionByIDRequest - (*GetPermissionByIDResponse)(nil), // 24: ocis.services.settings.v1.GetPermissionByIDResponse - (*v1.Bundle)(nil), // 25: ocis.messages.settings.v1.Bundle - (*v1.Setting)(nil), // 26: ocis.messages.settings.v1.Setting - (*v1.Value)(nil), // 27: ocis.messages.settings.v1.Value - (*v1.ValueWithIdentifier)(nil), // 28: ocis.messages.settings.v1.ValueWithIdentifier - (*v1.UserRoleAssignment)(nil), // 29: ocis.messages.settings.v1.UserRoleAssignment - (*v1.Resource)(nil), // 30: ocis.messages.settings.v1.Resource - (*v1.Permission)(nil), // 31: ocis.messages.settings.v1.Permission +var file_ocis_services_settings_v0_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 25) +var file_ocis_services_settings_v0_settings_proto_goTypes = []interface{}{ + (*SaveBundleRequest)(nil), // 0: ocis.services.settings.v0.SaveBundleRequest + (*SaveBundleResponse)(nil), // 1: ocis.services.settings.v0.SaveBundleResponse + (*GetBundleRequest)(nil), // 2: ocis.services.settings.v0.GetBundleRequest + (*GetBundleResponse)(nil), // 3: ocis.services.settings.v0.GetBundleResponse + (*ListBundlesRequest)(nil), // 4: ocis.services.settings.v0.ListBundlesRequest + (*ListBundlesResponse)(nil), // 5: ocis.services.settings.v0.ListBundlesResponse + (*AddSettingToBundleRequest)(nil), // 6: ocis.services.settings.v0.AddSettingToBundleRequest + (*AddSettingToBundleResponse)(nil), // 7: ocis.services.settings.v0.AddSettingToBundleResponse + (*RemoveSettingFromBundleRequest)(nil), // 8: ocis.services.settings.v0.RemoveSettingFromBundleRequest + (*SaveValueRequest)(nil), // 9: ocis.services.settings.v0.SaveValueRequest + (*SaveValueResponse)(nil), // 10: ocis.services.settings.v0.SaveValueResponse + (*GetValueRequest)(nil), // 11: ocis.services.settings.v0.GetValueRequest + (*GetValueResponse)(nil), // 12: ocis.services.settings.v0.GetValueResponse + (*ListValuesRequest)(nil), // 13: ocis.services.settings.v0.ListValuesRequest + (*ListValuesResponse)(nil), // 14: ocis.services.settings.v0.ListValuesResponse + (*GetValueByUniqueIdentifiersRequest)(nil), // 15: ocis.services.settings.v0.GetValueByUniqueIdentifiersRequest + (*ListRoleAssignmentsRequest)(nil), // 16: ocis.services.settings.v0.ListRoleAssignmentsRequest + (*ListRoleAssignmentsResponse)(nil), // 17: ocis.services.settings.v0.ListRoleAssignmentsResponse + (*AssignRoleToUserRequest)(nil), // 18: ocis.services.settings.v0.AssignRoleToUserRequest + (*AssignRoleToUserResponse)(nil), // 19: ocis.services.settings.v0.AssignRoleToUserResponse + (*RemoveRoleFromUserRequest)(nil), // 20: ocis.services.settings.v0.RemoveRoleFromUserRequest + (*ListPermissionsByResourceRequest)(nil), // 21: ocis.services.settings.v0.ListPermissionsByResourceRequest + (*ListPermissionsByResourceResponse)(nil), // 22: ocis.services.settings.v0.ListPermissionsByResourceResponse + (*GetPermissionByIDRequest)(nil), // 23: ocis.services.settings.v0.GetPermissionByIDRequest + (*GetPermissionByIDResponse)(nil), // 24: ocis.services.settings.v0.GetPermissionByIDResponse + (*v0.Bundle)(nil), // 25: ocis.messages.settings.v0.Bundle + (*v0.Setting)(nil), // 26: ocis.messages.settings.v0.Setting + (*v0.Value)(nil), // 27: ocis.messages.settings.v0.Value + (*v0.ValueWithIdentifier)(nil), // 28: ocis.messages.settings.v0.ValueWithIdentifier + (*v0.UserRoleAssignment)(nil), // 29: ocis.messages.settings.v0.UserRoleAssignment + (*v0.Resource)(nil), // 30: ocis.messages.settings.v0.Resource + (*v0.Permission)(nil), // 31: ocis.messages.settings.v0.Permission (*emptypb.Empty)(nil), // 32: google.protobuf.Empty } -var file_ocis_services_settings_v1_settings_proto_depIdxs = []int32{ - 25, // 0: ocis.services.settings.v1.SaveBundleRequest.bundle:type_name -> ocis.messages.settings.v1.Bundle - 25, // 1: ocis.services.settings.v1.SaveBundleResponse.bundle:type_name -> ocis.messages.settings.v1.Bundle - 25, // 2: ocis.services.settings.v1.GetBundleResponse.bundle:type_name -> ocis.messages.settings.v1.Bundle - 25, // 3: ocis.services.settings.v1.ListBundlesResponse.bundles:type_name -> ocis.messages.settings.v1.Bundle - 26, // 4: ocis.services.settings.v1.AddSettingToBundleRequest.setting:type_name -> ocis.messages.settings.v1.Setting - 26, // 5: ocis.services.settings.v1.AddSettingToBundleResponse.setting:type_name -> ocis.messages.settings.v1.Setting - 27, // 6: ocis.services.settings.v1.SaveValueRequest.value:type_name -> ocis.messages.settings.v1.Value - 28, // 7: ocis.services.settings.v1.SaveValueResponse.value:type_name -> ocis.messages.settings.v1.ValueWithIdentifier - 28, // 8: ocis.services.settings.v1.GetValueResponse.value:type_name -> ocis.messages.settings.v1.ValueWithIdentifier - 28, // 9: ocis.services.settings.v1.ListValuesResponse.values:type_name -> ocis.messages.settings.v1.ValueWithIdentifier - 29, // 10: ocis.services.settings.v1.ListRoleAssignmentsResponse.assignments:type_name -> ocis.messages.settings.v1.UserRoleAssignment - 29, // 11: ocis.services.settings.v1.AssignRoleToUserResponse.assignment:type_name -> ocis.messages.settings.v1.UserRoleAssignment - 30, // 12: ocis.services.settings.v1.ListPermissionsByResourceRequest.resource:type_name -> ocis.messages.settings.v1.Resource - 31, // 13: ocis.services.settings.v1.ListPermissionsByResourceResponse.permissions:type_name -> ocis.messages.settings.v1.Permission - 31, // 14: ocis.services.settings.v1.GetPermissionByIDResponse.permission:type_name -> ocis.messages.settings.v1.Permission - 0, // 15: ocis.services.settings.v1.BundleService.SaveBundle:input_type -> ocis.services.settings.v1.SaveBundleRequest - 2, // 16: ocis.services.settings.v1.BundleService.GetBundle:input_type -> ocis.services.settings.v1.GetBundleRequest - 4, // 17: ocis.services.settings.v1.BundleService.ListBundles:input_type -> ocis.services.settings.v1.ListBundlesRequest - 6, // 18: ocis.services.settings.v1.BundleService.AddSettingToBundle:input_type -> ocis.services.settings.v1.AddSettingToBundleRequest - 8, // 19: ocis.services.settings.v1.BundleService.RemoveSettingFromBundle:input_type -> ocis.services.settings.v1.RemoveSettingFromBundleRequest - 9, // 20: ocis.services.settings.v1.ValueService.SaveValue:input_type -> ocis.services.settings.v1.SaveValueRequest - 11, // 21: ocis.services.settings.v1.ValueService.GetValue:input_type -> ocis.services.settings.v1.GetValueRequest - 13, // 22: ocis.services.settings.v1.ValueService.ListValues:input_type -> ocis.services.settings.v1.ListValuesRequest - 15, // 23: ocis.services.settings.v1.ValueService.GetValueByUniqueIdentifiers:input_type -> ocis.services.settings.v1.GetValueByUniqueIdentifiersRequest - 4, // 24: ocis.services.settings.v1.RoleService.ListRoles:input_type -> ocis.services.settings.v1.ListBundlesRequest - 16, // 25: ocis.services.settings.v1.RoleService.ListRoleAssignments:input_type -> ocis.services.settings.v1.ListRoleAssignmentsRequest - 18, // 26: ocis.services.settings.v1.RoleService.AssignRoleToUser:input_type -> ocis.services.settings.v1.AssignRoleToUserRequest - 20, // 27: ocis.services.settings.v1.RoleService.RemoveRoleFromUser:input_type -> ocis.services.settings.v1.RemoveRoleFromUserRequest - 21, // 28: ocis.services.settings.v1.PermissionService.ListPermissionsByResource:input_type -> ocis.services.settings.v1.ListPermissionsByResourceRequest - 23, // 29: ocis.services.settings.v1.PermissionService.GetPermissionByID:input_type -> ocis.services.settings.v1.GetPermissionByIDRequest - 1, // 30: ocis.services.settings.v1.BundleService.SaveBundle:output_type -> ocis.services.settings.v1.SaveBundleResponse - 3, // 31: ocis.services.settings.v1.BundleService.GetBundle:output_type -> ocis.services.settings.v1.GetBundleResponse - 5, // 32: ocis.services.settings.v1.BundleService.ListBundles:output_type -> ocis.services.settings.v1.ListBundlesResponse - 7, // 33: ocis.services.settings.v1.BundleService.AddSettingToBundle:output_type -> ocis.services.settings.v1.AddSettingToBundleResponse - 32, // 34: ocis.services.settings.v1.BundleService.RemoveSettingFromBundle:output_type -> google.protobuf.Empty - 10, // 35: ocis.services.settings.v1.ValueService.SaveValue:output_type -> ocis.services.settings.v1.SaveValueResponse - 12, // 36: ocis.services.settings.v1.ValueService.GetValue:output_type -> ocis.services.settings.v1.GetValueResponse - 14, // 37: ocis.services.settings.v1.ValueService.ListValues:output_type -> ocis.services.settings.v1.ListValuesResponse - 12, // 38: ocis.services.settings.v1.ValueService.GetValueByUniqueIdentifiers:output_type -> ocis.services.settings.v1.GetValueResponse - 5, // 39: ocis.services.settings.v1.RoleService.ListRoles:output_type -> ocis.services.settings.v1.ListBundlesResponse - 17, // 40: ocis.services.settings.v1.RoleService.ListRoleAssignments:output_type -> ocis.services.settings.v1.ListRoleAssignmentsResponse - 19, // 41: ocis.services.settings.v1.RoleService.AssignRoleToUser:output_type -> ocis.services.settings.v1.AssignRoleToUserResponse - 32, // 42: ocis.services.settings.v1.RoleService.RemoveRoleFromUser:output_type -> google.protobuf.Empty - 22, // 43: ocis.services.settings.v1.PermissionService.ListPermissionsByResource:output_type -> ocis.services.settings.v1.ListPermissionsByResourceResponse - 24, // 44: ocis.services.settings.v1.PermissionService.GetPermissionByID:output_type -> ocis.services.settings.v1.GetPermissionByIDResponse +var file_ocis_services_settings_v0_settings_proto_depIdxs = []int32{ + 25, // 0: ocis.services.settings.v0.SaveBundleRequest.bundle:type_name -> ocis.messages.settings.v0.Bundle + 25, // 1: ocis.services.settings.v0.SaveBundleResponse.bundle:type_name -> ocis.messages.settings.v0.Bundle + 25, // 2: ocis.services.settings.v0.GetBundleResponse.bundle:type_name -> ocis.messages.settings.v0.Bundle + 25, // 3: ocis.services.settings.v0.ListBundlesResponse.bundles:type_name -> ocis.messages.settings.v0.Bundle + 26, // 4: ocis.services.settings.v0.AddSettingToBundleRequest.setting:type_name -> ocis.messages.settings.v0.Setting + 26, // 5: ocis.services.settings.v0.AddSettingToBundleResponse.setting:type_name -> ocis.messages.settings.v0.Setting + 27, // 6: ocis.services.settings.v0.SaveValueRequest.value:type_name -> ocis.messages.settings.v0.Value + 28, // 7: ocis.services.settings.v0.SaveValueResponse.value:type_name -> ocis.messages.settings.v0.ValueWithIdentifier + 28, // 8: ocis.services.settings.v0.GetValueResponse.value:type_name -> ocis.messages.settings.v0.ValueWithIdentifier + 28, // 9: ocis.services.settings.v0.ListValuesResponse.values:type_name -> ocis.messages.settings.v0.ValueWithIdentifier + 29, // 10: ocis.services.settings.v0.ListRoleAssignmentsResponse.assignments:type_name -> ocis.messages.settings.v0.UserRoleAssignment + 29, // 11: ocis.services.settings.v0.AssignRoleToUserResponse.assignment:type_name -> ocis.messages.settings.v0.UserRoleAssignment + 30, // 12: ocis.services.settings.v0.ListPermissionsByResourceRequest.resource:type_name -> ocis.messages.settings.v0.Resource + 31, // 13: ocis.services.settings.v0.ListPermissionsByResourceResponse.permissions:type_name -> ocis.messages.settings.v0.Permission + 31, // 14: ocis.services.settings.v0.GetPermissionByIDResponse.permission:type_name -> ocis.messages.settings.v0.Permission + 0, // 15: ocis.services.settings.v0.BundleService.SaveBundle:input_type -> ocis.services.settings.v0.SaveBundleRequest + 2, // 16: ocis.services.settings.v0.BundleService.GetBundle:input_type -> ocis.services.settings.v0.GetBundleRequest + 4, // 17: ocis.services.settings.v0.BundleService.ListBundles:input_type -> ocis.services.settings.v0.ListBundlesRequest + 6, // 18: ocis.services.settings.v0.BundleService.AddSettingToBundle:input_type -> ocis.services.settings.v0.AddSettingToBundleRequest + 8, // 19: ocis.services.settings.v0.BundleService.RemoveSettingFromBundle:input_type -> ocis.services.settings.v0.RemoveSettingFromBundleRequest + 9, // 20: ocis.services.settings.v0.ValueService.SaveValue:input_type -> ocis.services.settings.v0.SaveValueRequest + 11, // 21: ocis.services.settings.v0.ValueService.GetValue:input_type -> ocis.services.settings.v0.GetValueRequest + 13, // 22: ocis.services.settings.v0.ValueService.ListValues:input_type -> ocis.services.settings.v0.ListValuesRequest + 15, // 23: ocis.services.settings.v0.ValueService.GetValueByUniqueIdentifiers:input_type -> ocis.services.settings.v0.GetValueByUniqueIdentifiersRequest + 4, // 24: ocis.services.settings.v0.RoleService.ListRoles:input_type -> ocis.services.settings.v0.ListBundlesRequest + 16, // 25: ocis.services.settings.v0.RoleService.ListRoleAssignments:input_type -> ocis.services.settings.v0.ListRoleAssignmentsRequest + 18, // 26: ocis.services.settings.v0.RoleService.AssignRoleToUser:input_type -> ocis.services.settings.v0.AssignRoleToUserRequest + 20, // 27: ocis.services.settings.v0.RoleService.RemoveRoleFromUser:input_type -> ocis.services.settings.v0.RemoveRoleFromUserRequest + 21, // 28: ocis.services.settings.v0.PermissionService.ListPermissionsByResource:input_type -> ocis.services.settings.v0.ListPermissionsByResourceRequest + 23, // 29: ocis.services.settings.v0.PermissionService.GetPermissionByID:input_type -> ocis.services.settings.v0.GetPermissionByIDRequest + 1, // 30: ocis.services.settings.v0.BundleService.SaveBundle:output_type -> ocis.services.settings.v0.SaveBundleResponse + 3, // 31: ocis.services.settings.v0.BundleService.GetBundle:output_type -> ocis.services.settings.v0.GetBundleResponse + 5, // 32: ocis.services.settings.v0.BundleService.ListBundles:output_type -> ocis.services.settings.v0.ListBundlesResponse + 7, // 33: ocis.services.settings.v0.BundleService.AddSettingToBundle:output_type -> ocis.services.settings.v0.AddSettingToBundleResponse + 32, // 34: ocis.services.settings.v0.BundleService.RemoveSettingFromBundle:output_type -> google.protobuf.Empty + 10, // 35: ocis.services.settings.v0.ValueService.SaveValue:output_type -> ocis.services.settings.v0.SaveValueResponse + 12, // 36: ocis.services.settings.v0.ValueService.GetValue:output_type -> ocis.services.settings.v0.GetValueResponse + 14, // 37: ocis.services.settings.v0.ValueService.ListValues:output_type -> ocis.services.settings.v0.ListValuesResponse + 12, // 38: ocis.services.settings.v0.ValueService.GetValueByUniqueIdentifiers:output_type -> ocis.services.settings.v0.GetValueResponse + 5, // 39: ocis.services.settings.v0.RoleService.ListRoles:output_type -> ocis.services.settings.v0.ListBundlesResponse + 17, // 40: ocis.services.settings.v0.RoleService.ListRoleAssignments:output_type -> ocis.services.settings.v0.ListRoleAssignmentsResponse + 19, // 41: ocis.services.settings.v0.RoleService.AssignRoleToUser:output_type -> ocis.services.settings.v0.AssignRoleToUserResponse + 32, // 42: ocis.services.settings.v0.RoleService.RemoveRoleFromUser:output_type -> google.protobuf.Empty + 22, // 43: ocis.services.settings.v0.PermissionService.ListPermissionsByResource:output_type -> ocis.services.settings.v0.ListPermissionsByResourceResponse + 24, // 44: ocis.services.settings.v0.PermissionService.GetPermissionByID:output_type -> ocis.services.settings.v0.GetPermissionByIDResponse 30, // [30:45] is the sub-list for method output_type 15, // [15:30] is the sub-list for method input_type 15, // [15:15] is the sub-list for extension type_name @@ -1676,13 +1676,13 @@ var file_ocis_services_settings_v1_settings_proto_depIdxs = []int32{ 0, // [0:15] is the sub-list for field type_name } -func init() { file_ocis_services_settings_v1_settings_proto_init() } -func file_ocis_services_settings_v1_settings_proto_init() { - if File_ocis_services_settings_v1_settings_proto != nil { +func init() { file_ocis_services_settings_v0_settings_proto_init() } +func file_ocis_services_settings_v0_settings_proto_init() { + if File_ocis_services_settings_v0_settings_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_ocis_services_settings_v1_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SaveBundleRequest); i { case 0: return &v.state @@ -1694,7 +1694,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SaveBundleResponse); i { case 0: return &v.state @@ -1706,7 +1706,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBundleRequest); i { case 0: return &v.state @@ -1718,7 +1718,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBundleResponse); i { case 0: return &v.state @@ -1730,7 +1730,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListBundlesRequest); i { case 0: return &v.state @@ -1742,7 +1742,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListBundlesResponse); i { case 0: return &v.state @@ -1754,7 +1754,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddSettingToBundleRequest); i { case 0: return &v.state @@ -1766,7 +1766,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddSettingToBundleResponse); i { case 0: return &v.state @@ -1778,7 +1778,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveSettingFromBundleRequest); i { case 0: return &v.state @@ -1790,7 +1790,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SaveValueRequest); i { case 0: return &v.state @@ -1802,7 +1802,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SaveValueResponse); i { case 0: return &v.state @@ -1814,7 +1814,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetValueRequest); i { case 0: return &v.state @@ -1826,7 +1826,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetValueResponse); i { case 0: return &v.state @@ -1838,7 +1838,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListValuesRequest); i { case 0: return &v.state @@ -1850,7 +1850,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListValuesResponse); i { case 0: return &v.state @@ -1862,7 +1862,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetValueByUniqueIdentifiersRequest); i { case 0: return &v.state @@ -1874,7 +1874,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListRoleAssignmentsRequest); i { case 0: return &v.state @@ -1886,7 +1886,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListRoleAssignmentsResponse); i { case 0: return &v.state @@ -1898,7 +1898,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignRoleToUserRequest); i { case 0: return &v.state @@ -1910,7 +1910,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignRoleToUserResponse); i { case 0: return &v.state @@ -1922,7 +1922,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveRoleFromUserRequest); i { case 0: return &v.state @@ -1934,7 +1934,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListPermissionsByResourceRequest); i { case 0: return &v.state @@ -1946,7 +1946,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListPermissionsByResourceResponse); i { case 0: return &v.state @@ -1958,7 +1958,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPermissionByIDRequest); i { case 0: return &v.state @@ -1970,7 +1970,7 @@ func file_ocis_services_settings_v1_settings_proto_init() { return nil } } - file_ocis_services_settings_v1_settings_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_settings_v0_settings_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPermissionByIDResponse); i { case 0: return &v.state @@ -1987,18 +1987,18 @@ func file_ocis_services_settings_v1_settings_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ocis_services_settings_v1_settings_proto_rawDesc, + RawDescriptor: file_ocis_services_settings_v0_settings_proto_rawDesc, NumEnums: 0, NumMessages: 25, NumExtensions: 0, NumServices: 4, }, - GoTypes: file_ocis_services_settings_v1_settings_proto_goTypes, - DependencyIndexes: file_ocis_services_settings_v1_settings_proto_depIdxs, - MessageInfos: file_ocis_services_settings_v1_settings_proto_msgTypes, + GoTypes: file_ocis_services_settings_v0_settings_proto_goTypes, + DependencyIndexes: file_ocis_services_settings_v0_settings_proto_depIdxs, + MessageInfos: file_ocis_services_settings_v0_settings_proto_msgTypes, }.Build() - File_ocis_services_settings_v1_settings_proto = out.File - file_ocis_services_settings_v1_settings_proto_rawDesc = nil - file_ocis_services_settings_v1_settings_proto_goTypes = nil - file_ocis_services_settings_v1_settings_proto_depIdxs = nil + File_ocis_services_settings_v0_settings_proto = out.File + file_ocis_services_settings_v0_settings_proto_rawDesc = nil + file_ocis_services_settings_v0_settings_proto_goTypes = nil + file_ocis_services_settings_v0_settings_proto_depIdxs = nil } diff --git a/protogen/gen/ocis/services/settings/v1/settings.pb.micro.go b/protogen/gen/ocis/services/settings/v0/settings.pb.micro.go similarity index 99% rename from protogen/gen/ocis/services/settings/v1/settings.pb.micro.go rename to protogen/gen/ocis/services/settings/v0/settings.pb.micro.go index d6e7ece4c..fedae6448 100644 --- a/protogen/gen/ocis/services/settings/v1/settings.pb.micro.go +++ b/protogen/gen/ocis/services/settings/v0/settings.pb.micro.go @@ -1,12 +1,12 @@ // Code generated by protoc-gen-micro. DO NOT EDIT. -// source: ocis/services/settings/v1/settings.proto +// source: ocis/services/settings/v0/settings.proto -package v1 +package v0 import ( fmt "fmt" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - _ "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + _ "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" _ "google.golang.org/genproto/googleapis/api/annotations" proto "google.golang.org/protobuf/proto" emptypb "google.golang.org/protobuf/types/known/emptypb" diff --git a/protogen/gen/ocis/services/settings/v1/settings.pb.web.go b/protogen/gen/ocis/services/settings/v0/settings.pb.web.go similarity index 99% rename from protogen/gen/ocis/services/settings/v1/settings.pb.web.go rename to protogen/gen/ocis/services/settings/v0/settings.pb.web.go index b6de3fcbd..bcad905cc 100644 --- a/protogen/gen/ocis/services/settings/v1/settings.pb.web.go +++ b/protogen/gen/ocis/services/settings/v0/settings.pb.web.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-microweb. DO NOT EDIT. -// source: v1.proto +// source: v0.proto -package v1 +package v0 import ( "bytes" diff --git a/protogen/gen/ocis/services/settings/v1/settings.swagger.json b/protogen/gen/ocis/services/settings/v0/settings.swagger.json similarity index 81% rename from protogen/gen/ocis/services/settings/v1/settings.swagger.json rename to protogen/gen/ocis/services/settings/v0/settings.swagger.json index b0e93656d..4d2db4d52 100644 --- a/protogen/gen/ocis/services/settings/v1/settings.swagger.json +++ b/protogen/gen/ocis/services/settings/v0/settings.swagger.json @@ -45,7 +45,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1AssignRoleToUserResponse" + "$ref": "#/definitions/v0AssignRoleToUserResponse" } }, "default": { @@ -61,7 +61,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1AssignRoleToUserRequest" + "$ref": "#/definitions/v0AssignRoleToUserRequest" } } ], @@ -77,7 +77,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ListRoleAssignmentsResponse" + "$ref": "#/definitions/v0ListRoleAssignmentsResponse" } }, "default": { @@ -93,7 +93,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1ListRoleAssignmentsRequest" + "$ref": "#/definitions/v0ListRoleAssignmentsRequest" } } ], @@ -125,7 +125,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1RemoveRoleFromUserRequest" + "$ref": "#/definitions/v0RemoveRoleFromUserRequest" } } ], @@ -141,7 +141,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1GetBundleResponse" + "$ref": "#/definitions/v0GetBundleResponse" } }, "default": { @@ -157,7 +157,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1GetBundleRequest" + "$ref": "#/definitions/v0GetBundleRequest" } } ], @@ -173,7 +173,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1SaveBundleResponse" + "$ref": "#/definitions/v0SaveBundleResponse" } }, "default": { @@ -189,7 +189,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1SaveBundleRequest" + "$ref": "#/definitions/v0SaveBundleRequest" } } ], @@ -205,7 +205,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1AddSettingToBundleResponse" + "$ref": "#/definitions/v0AddSettingToBundleResponse" } }, "default": { @@ -221,7 +221,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1AddSettingToBundleRequest" + "$ref": "#/definitions/v0AddSettingToBundleRequest" } } ], @@ -237,7 +237,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ListBundlesResponse" + "$ref": "#/definitions/v0ListBundlesResponse" } }, "default": { @@ -253,7 +253,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1ListBundlesRequest" + "$ref": "#/definitions/v0ListBundlesRequest" } } ], @@ -285,7 +285,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1RemoveSettingFromBundleRequest" + "$ref": "#/definitions/v0RemoveSettingFromBundleRequest" } } ], @@ -301,7 +301,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1GetPermissionByIDResponse" + "$ref": "#/definitions/v0GetPermissionByIDResponse" } }, "default": { @@ -317,7 +317,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1GetPermissionByIDRequest" + "$ref": "#/definitions/v0GetPermissionByIDRequest" } } ], @@ -333,7 +333,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ListPermissionsByResourceResponse" + "$ref": "#/definitions/v0ListPermissionsByResourceResponse" } }, "default": { @@ -349,7 +349,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1ListPermissionsByResourceRequest" + "$ref": "#/definitions/v0ListPermissionsByResourceRequest" } } ], @@ -365,7 +365,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ListBundlesResponse" + "$ref": "#/definitions/v0ListBundlesResponse" } }, "default": { @@ -381,7 +381,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1ListBundlesRequest" + "$ref": "#/definitions/v0ListBundlesRequest" } } ], @@ -397,7 +397,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1GetValueResponse" + "$ref": "#/definitions/v0GetValueResponse" } }, "default": { @@ -413,7 +413,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1GetValueRequest" + "$ref": "#/definitions/v0GetValueRequest" } } ], @@ -429,7 +429,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1GetValueResponse" + "$ref": "#/definitions/v0GetValueResponse" } }, "default": { @@ -445,7 +445,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1GetValueByUniqueIdentifiersRequest" + "$ref": "#/definitions/v0GetValueByUniqueIdentifiersRequest" } } ], @@ -461,7 +461,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ListValuesResponse" + "$ref": "#/definitions/v0ListValuesResponse" } }, "default": { @@ -477,7 +477,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1ListValuesRequest" + "$ref": "#/definitions/v0ListValuesRequest" } } ], @@ -493,7 +493,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1SaveValueResponse" + "$ref": "#/definitions/v0SaveValueResponse" } }, "default": { @@ -509,7 +509,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1SaveValueRequest" + "$ref": "#/definitions/v0SaveValueRequest" } } ], @@ -557,18 +557,18 @@ } } }, - "settingsv1ListValue": { + "settingsv0ListValue": { "type": "object", "properties": { "values": { "type": "array", "items": { - "$ref": "#/definitions/v1ListOptionValue" + "$ref": "#/definitions/v0ListOptionValue" } } } }, - "settingsv1Value": { + "settingsv0Value": { "type": "object", "properties": { "id": { @@ -586,7 +586,7 @@ "type": "string" }, "resource": { - "$ref": "#/definitions/v1Resource" + "$ref": "#/definitions/v0Resource" }, "boolValue": { "type": "boolean" @@ -599,30 +599,30 @@ "type": "string" }, "listValue": { - "$ref": "#/definitions/settingsv1ListValue" + "$ref": "#/definitions/settingsv0ListValue" } } }, - "v1AddSettingToBundleRequest": { + "v0AddSettingToBundleRequest": { "type": "object", "properties": { "bundleId": { "type": "string" }, "setting": { - "$ref": "#/definitions/v1Setting" + "$ref": "#/definitions/v0Setting" } } }, - "v1AddSettingToBundleResponse": { + "v0AddSettingToBundleResponse": { "type": "object", "properties": { "setting": { - "$ref": "#/definitions/v1Setting" + "$ref": "#/definitions/v0Setting" } } }, - "v1AssignRoleToUserRequest": { + "v0AssignRoleToUserRequest": { "type": "object", "properties": { "accountUuid": { @@ -634,15 +634,15 @@ } } }, - "v1AssignRoleToUserResponse": { + "v0AssignRoleToUserResponse": { "type": "object", "properties": { "assignment": { - "$ref": "#/definitions/v1UserRoleAssignment" + "$ref": "#/definitions/v0UserRoleAssignment" } } }, - "v1Bool": { + "v0Bool": { "type": "object", "properties": { "default": { @@ -653,7 +653,7 @@ } } }, - "v1Bundle": { + "v0Bundle": { "type": "object", "properties": { "id": { @@ -663,7 +663,7 @@ "type": "string" }, "type": { - "$ref": "#/definitions/v1BundleType" + "$ref": "#/definitions/v0BundleType" }, "extension": { "type": "string" @@ -674,15 +674,15 @@ "settings": { "type": "array", "items": { - "$ref": "#/definitions/v1Setting" + "$ref": "#/definitions/v0Setting" } }, "resource": { - "$ref": "#/definitions/v1Resource" + "$ref": "#/definitions/v0Resource" } } }, - "v1BundleType": { + "v0BundleType": { "type": "string", "enum": [ "TYPE_UNKNOWN", @@ -691,7 +691,7 @@ ], "default": "TYPE_UNKNOWN" }, - "v1GetBundleRequest": { + "v0GetBundleRequest": { "type": "object", "properties": { "bundleId": { @@ -699,15 +699,15 @@ } } }, - "v1GetBundleResponse": { + "v0GetBundleResponse": { "type": "object", "properties": { "bundle": { - "$ref": "#/definitions/v1Bundle" + "$ref": "#/definitions/v0Bundle" } } }, - "v1GetPermissionByIDRequest": { + "v0GetPermissionByIDRequest": { "type": "object", "properties": { "permissionId": { @@ -715,15 +715,15 @@ } } }, - "v1GetPermissionByIDResponse": { + "v0GetPermissionByIDResponse": { "type": "object", "properties": { "permission": { - "$ref": "#/definitions/v1Permission" + "$ref": "#/definitions/v0Permission" } } }, - "v1GetValueByUniqueIdentifiersRequest": { + "v0GetValueByUniqueIdentifiersRequest": { "type": "object", "properties": { "accountUuid": { @@ -734,7 +734,7 @@ } } }, - "v1GetValueRequest": { + "v0GetValueRequest": { "type": "object", "properties": { "id": { @@ -742,15 +742,15 @@ } } }, - "v1GetValueResponse": { + "v0GetValueResponse": { "type": "object", "properties": { "value": { - "$ref": "#/definitions/v1ValueWithIdentifier" + "$ref": "#/definitions/v0ValueWithIdentifier" } } }, - "v1Identifier": { + "v0Identifier": { "type": "object", "properties": { "extension": { @@ -764,7 +764,7 @@ } } }, - "v1Int": { + "v0Int": { "type": "object", "properties": { "default": { @@ -788,7 +788,7 @@ } } }, - "v1ListBundlesRequest": { + "v0ListBundlesRequest": { "type": "object", "properties": { "bundleIds": { @@ -799,22 +799,22 @@ } } }, - "v1ListBundlesResponse": { + "v0ListBundlesResponse": { "type": "object", "properties": { "bundles": { "type": "array", "items": { - "$ref": "#/definitions/v1Bundle" + "$ref": "#/definitions/v0Bundle" } } } }, - "v1ListOption": { + "v0ListOption": { "type": "object", "properties": { "value": { - "$ref": "#/definitions/v1ListOptionValue" + "$ref": "#/definitions/v0ListOptionValue" }, "default": { "type": "boolean" @@ -824,7 +824,7 @@ } } }, - "v1ListOptionValue": { + "v0ListOptionValue": { "type": "object", "properties": { "stringValue": { @@ -836,26 +836,26 @@ } } }, - "v1ListPermissionsByResourceRequest": { + "v0ListPermissionsByResourceRequest": { "type": "object", "properties": { "resource": { - "$ref": "#/definitions/v1Resource" + "$ref": "#/definitions/v0Resource" } } }, - "v1ListPermissionsByResourceResponse": { + "v0ListPermissionsByResourceResponse": { "type": "object", "properties": { "permissions": { "type": "array", "items": { - "$ref": "#/definitions/v1Permission" + "$ref": "#/definitions/v0Permission" } } } }, - "v1ListRoleAssignmentsRequest": { + "v0ListRoleAssignmentsRequest": { "type": "object", "properties": { "accountUuid": { @@ -863,18 +863,18 @@ } } }, - "v1ListRoleAssignmentsResponse": { + "v0ListRoleAssignmentsResponse": { "type": "object", "properties": { "assignments": { "type": "array", "items": { - "$ref": "#/definitions/v1UserRoleAssignment" + "$ref": "#/definitions/v0UserRoleAssignment" } } } }, - "v1ListValuesRequest": { + "v0ListValuesRequest": { "type": "object", "properties": { "bundleId": { @@ -885,40 +885,40 @@ } } }, - "v1ListValuesResponse": { + "v0ListValuesResponse": { "type": "object", "properties": { "values": { "type": "array", "items": { - "$ref": "#/definitions/v1ValueWithIdentifier" + "$ref": "#/definitions/v0ValueWithIdentifier" } } } }, - "v1MultiChoiceList": { + "v0MultiChoiceList": { "type": "object", "properties": { "options": { "type": "array", "items": { - "$ref": "#/definitions/v1ListOption" + "$ref": "#/definitions/v0ListOption" } } } }, - "v1Permission": { + "v0Permission": { "type": "object", "properties": { "operation": { - "$ref": "#/definitions/v1PermissionOperation" + "$ref": "#/definitions/v0PermissionOperation" }, "constraint": { "$ref": "#/definitions/PermissionConstraint" } } }, - "v1PermissionOperation": { + "v0PermissionOperation": { "type": "string", "enum": [ "OPERATION_UNKNOWN", @@ -931,7 +931,7 @@ ], "default": "OPERATION_UNKNOWN" }, - "v1RemoveRoleFromUserRequest": { + "v0RemoveRoleFromUserRequest": { "type": "object", "properties": { "id": { @@ -939,7 +939,7 @@ } } }, - "v1RemoveSettingFromBundleRequest": { + "v0RemoveSettingFromBundleRequest": { "type": "object", "properties": { "bundleId": { @@ -950,18 +950,18 @@ } } }, - "v1Resource": { + "v0Resource": { "type": "object", "properties": { "type": { - "$ref": "#/definitions/v1ResourceType" + "$ref": "#/definitions/v0ResourceType" }, "id": { "type": "string" } } }, - "v1ResourceType": { + "v0ResourceType": { "type": "string", "enum": [ "TYPE_UNKNOWN", @@ -975,40 +975,40 @@ ], "default": "TYPE_UNKNOWN" }, - "v1SaveBundleRequest": { + "v0SaveBundleRequest": { "type": "object", "properties": { "bundle": { - "$ref": "#/definitions/v1Bundle" + "$ref": "#/definitions/v0Bundle" } }, "title": "---\nrequests and responses for settings bundles\n---" }, - "v1SaveBundleResponse": { + "v0SaveBundleResponse": { "type": "object", "properties": { "bundle": { - "$ref": "#/definitions/v1Bundle" + "$ref": "#/definitions/v0Bundle" } } }, - "v1SaveValueRequest": { + "v0SaveValueRequest": { "type": "object", "properties": { "value": { - "$ref": "#/definitions/settingsv1Value" + "$ref": "#/definitions/settingsv0Value" } } }, - "v1SaveValueResponse": { + "v0SaveValueResponse": { "type": "object", "properties": { "value": { - "$ref": "#/definitions/v1ValueWithIdentifier" + "$ref": "#/definitions/v0ValueWithIdentifier" } } }, - "v1Setting": { + "v0Setting": { "type": "object", "properties": { "id": { @@ -1024,40 +1024,40 @@ "type": "string" }, "intValue": { - "$ref": "#/definitions/v1Int" + "$ref": "#/definitions/v0Int" }, "stringValue": { - "$ref": "#/definitions/v1String" + "$ref": "#/definitions/v0String" }, "boolValue": { - "$ref": "#/definitions/v1Bool" + "$ref": "#/definitions/v0Bool" }, "singleChoiceValue": { - "$ref": "#/definitions/v1SingleChoiceList" + "$ref": "#/definitions/v0SingleChoiceList" }, "multiChoiceValue": { - "$ref": "#/definitions/v1MultiChoiceList" + "$ref": "#/definitions/v0MultiChoiceList" }, "permissionValue": { - "$ref": "#/definitions/v1Permission" + "$ref": "#/definitions/v0Permission" }, "resource": { - "$ref": "#/definitions/v1Resource" + "$ref": "#/definitions/v0Resource" } } }, - "v1SingleChoiceList": { + "v0SingleChoiceList": { "type": "object", "properties": { "options": { "type": "array", "items": { - "$ref": "#/definitions/v1ListOption" + "$ref": "#/definitions/v0ListOption" } } } }, - "v1String": { + "v0String": { "type": "object", "properties": { "default": { @@ -1079,7 +1079,7 @@ } } }, - "v1UserRoleAssignment": { + "v0UserRoleAssignment": { "type": "object", "properties": { "id": { @@ -1095,14 +1095,14 @@ } } }, - "v1ValueWithIdentifier": { + "v0ValueWithIdentifier": { "type": "object", "properties": { "identifier": { - "$ref": "#/definitions/v1Identifier" + "$ref": "#/definitions/v0Identifier" }, "value": { - "$ref": "#/definitions/settingsv1Value" + "$ref": "#/definitions/settingsv0Value" } } } diff --git a/protogen/gen/ocis/services/store/v1/store.pb.go b/protogen/gen/ocis/services/store/v0/store.pb.go similarity index 73% rename from protogen/gen/ocis/services/store/v1/store.pb.go rename to protogen/gen/ocis/services/store/v0/store.pb.go index 1e20e0580..5dd2fc436 100644 --- a/protogen/gen/ocis/services/store/v1/store.pb.go +++ b/protogen/gen/ocis/services/store/v0/store.pb.go @@ -2,13 +2,13 @@ // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 -// source: ocis/services/store/v1/store.proto +// source: ocis/services/store/v0/store.proto -package v1 +package v0 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - v1 "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v1" + v0 "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v0" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -28,13 +28,13 @@ type ReadRequest struct { unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Options *v1.ReadOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + Options *v0.ReadOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } func (x *ReadRequest) Reset() { *x = ReadRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[0] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +47,7 @@ func (x *ReadRequest) String() string { func (*ReadRequest) ProtoMessage() {} func (x *ReadRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[0] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +60,7 @@ func (x *ReadRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead. func (*ReadRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{0} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{0} } func (x *ReadRequest) GetKey() string { @@ -70,7 +70,7 @@ func (x *ReadRequest) GetKey() string { return "" } -func (x *ReadRequest) GetOptions() *v1.ReadOptions { +func (x *ReadRequest) GetOptions() *v0.ReadOptions { if x != nil { return x.Options } @@ -82,13 +82,13 @@ type ReadResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Records []*v1.Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` + Records []*v0.Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` } func (x *ReadResponse) Reset() { *x = ReadResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[1] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -101,7 +101,7 @@ func (x *ReadResponse) String() string { func (*ReadResponse) ProtoMessage() {} func (x *ReadResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[1] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -114,10 +114,10 @@ func (x *ReadResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead. func (*ReadResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{1} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{1} } -func (x *ReadResponse) GetRecords() []*v1.Record { +func (x *ReadResponse) GetRecords() []*v0.Record { if x != nil { return x.Records } @@ -129,14 +129,14 @@ type WriteRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Record *v1.Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` - Options *v1.WriteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + Record *v0.Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` + Options *v0.WriteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } func (x *WriteRequest) Reset() { *x = WriteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[2] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -149,7 +149,7 @@ func (x *WriteRequest) String() string { func (*WriteRequest) ProtoMessage() {} func (x *WriteRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[2] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -162,17 +162,17 @@ func (x *WriteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead. func (*WriteRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{2} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{2} } -func (x *WriteRequest) GetRecord() *v1.Record { +func (x *WriteRequest) GetRecord() *v0.Record { if x != nil { return x.Record } return nil } -func (x *WriteRequest) GetOptions() *v1.WriteOptions { +func (x *WriteRequest) GetOptions() *v0.WriteOptions { if x != nil { return x.Options } @@ -188,7 +188,7 @@ type WriteResponse struct { func (x *WriteResponse) Reset() { *x = WriteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[3] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -201,7 +201,7 @@ func (x *WriteResponse) String() string { func (*WriteResponse) ProtoMessage() {} func (x *WriteResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[3] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -214,7 +214,7 @@ func (x *WriteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead. func (*WriteResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{3} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{3} } type DeleteRequest struct { @@ -223,13 +223,13 @@ type DeleteRequest struct { unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Options *v1.DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + Options *v0.DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } func (x *DeleteRequest) Reset() { *x = DeleteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[4] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -242,7 +242,7 @@ func (x *DeleteRequest) String() string { func (*DeleteRequest) ProtoMessage() {} func (x *DeleteRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[4] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -255,7 +255,7 @@ func (x *DeleteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead. func (*DeleteRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{4} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{4} } func (x *DeleteRequest) GetKey() string { @@ -265,7 +265,7 @@ func (x *DeleteRequest) GetKey() string { return "" } -func (x *DeleteRequest) GetOptions() *v1.DeleteOptions { +func (x *DeleteRequest) GetOptions() *v0.DeleteOptions { if x != nil { return x.Options } @@ -281,7 +281,7 @@ type DeleteResponse struct { func (x *DeleteResponse) Reset() { *x = DeleteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[5] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -294,7 +294,7 @@ func (x *DeleteResponse) String() string { func (*DeleteResponse) ProtoMessage() {} func (x *DeleteResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[5] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -307,7 +307,7 @@ func (x *DeleteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead. func (*DeleteResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{5} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{5} } type ListRequest struct { @@ -315,13 +315,13 @@ type ListRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Options *v1.ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` + Options *v0.ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` } func (x *ListRequest) Reset() { *x = ListRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[6] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -334,7 +334,7 @@ func (x *ListRequest) String() string { func (*ListRequest) ProtoMessage() {} func (x *ListRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[6] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -347,10 +347,10 @@ func (x *ListRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead. func (*ListRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{6} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{6} } -func (x *ListRequest) GetOptions() *v1.ListOptions { +func (x *ListRequest) GetOptions() *v0.ListOptions { if x != nil { return x.Options } @@ -368,7 +368,7 @@ type ListResponse struct { func (x *ListResponse) Reset() { *x = ListResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[7] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -381,7 +381,7 @@ func (x *ListResponse) String() string { func (*ListResponse) ProtoMessage() {} func (x *ListResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[7] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -394,7 +394,7 @@ func (x *ListResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead. func (*ListResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{7} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{7} } func (x *ListResponse) GetKeys() []string { @@ -413,7 +413,7 @@ type DatabasesRequest struct { func (x *DatabasesRequest) Reset() { *x = DatabasesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[8] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -426,7 +426,7 @@ func (x *DatabasesRequest) String() string { func (*DatabasesRequest) ProtoMessage() {} func (x *DatabasesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[8] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -439,7 +439,7 @@ func (x *DatabasesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DatabasesRequest.ProtoReflect.Descriptor instead. func (*DatabasesRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{8} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{8} } type DatabasesResponse struct { @@ -453,7 +453,7 @@ type DatabasesResponse struct { func (x *DatabasesResponse) Reset() { *x = DatabasesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[9] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -466,7 +466,7 @@ func (x *DatabasesResponse) String() string { func (*DatabasesResponse) ProtoMessage() {} func (x *DatabasesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[9] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -479,7 +479,7 @@ func (x *DatabasesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DatabasesResponse.ProtoReflect.Descriptor instead. func (*DatabasesResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{9} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{9} } func (x *DatabasesResponse) GetDatabases() []string { @@ -500,7 +500,7 @@ type TablesRequest struct { func (x *TablesRequest) Reset() { *x = TablesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[10] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -513,7 +513,7 @@ func (x *TablesRequest) String() string { func (*TablesRequest) ProtoMessage() {} func (x *TablesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[10] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -526,7 +526,7 @@ func (x *TablesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TablesRequest.ProtoReflect.Descriptor instead. func (*TablesRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{10} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{10} } func (x *TablesRequest) GetDatabase() string { @@ -547,7 +547,7 @@ type TablesResponse struct { func (x *TablesResponse) Reset() { *x = TablesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[11] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -560,7 +560,7 @@ func (x *TablesResponse) String() string { func (*TablesResponse) ProtoMessage() {} func (x *TablesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_store_v1_store_proto_msgTypes[11] + mi := &file_ocis_services_store_v0_store_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -573,7 +573,7 @@ func (x *TablesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TablesResponse.ProtoReflect.Descriptor instead. func (*TablesResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_store_v1_store_proto_rawDescGZIP(), []int{11} + return file_ocis_services_store_v0_store_proto_rawDescGZIP(), []int{11} } func (x *TablesResponse) GetTables() []string { @@ -583,15 +583,15 @@ func (x *TablesResponse) GetTables() []string { return nil } -var File_ocis_services_store_v1_store_proto protoreflect.FileDescriptor +var File_ocis_services_store_v0_store_proto protoreflect.FileDescriptor -var file_ocis_services_store_v1_store_proto_rawDesc = []byte{ +var file_ocis_services_store_v0_store_proto_rawDesc = []byte{ 0x0a, 0x22, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, - 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x22, 0x6f, 0x63, + 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x1a, 0x22, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, - 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x65, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -599,20 +599,20 @@ var file_ocis_services_store_v1_store_proto_rawDesc = []byte{ 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, + 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x48, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x0c, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65, 0x63, + 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x3e, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x72, + 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x0f, 0x0a, 0x0d, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, @@ -620,13 +620,13 @@ var file_ocis_services_store_v1_store_proto_rawDesc = []byte{ 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x30, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x4a, 0x04, 0x08, 0x01, @@ -642,43 +642,43 @@ var file_ocis_services_store_v1_store_proto_rawDesc = []byte{ 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x32, 0xa5, 0x04, 0x0a, 0x05, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x53, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x23, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, + 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x05, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, + 0x30, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x30, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x62, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x06, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x30, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xdb, 0x02, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, - 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x92, 0x41, 0x9a, 0x02, 0x12, 0xb3, 0x01, 0x0a, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x30, 0x92, 0x41, 0x9a, 0x02, 0x12, 0xb3, 0x01, 0x0a, 0x1d, 0x6f, 0x77, 0x6e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x20, 0x49, 0x6e, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x65, 0x20, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x20, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22, 0x47, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x20, 0x47, 0x6d, 0x62, 0x48, 0x12, @@ -700,56 +700,56 @@ var file_ocis_services_store_v1_store_proto_rawDesc = []byte{ } var ( - file_ocis_services_store_v1_store_proto_rawDescOnce sync.Once - file_ocis_services_store_v1_store_proto_rawDescData = file_ocis_services_store_v1_store_proto_rawDesc + file_ocis_services_store_v0_store_proto_rawDescOnce sync.Once + file_ocis_services_store_v0_store_proto_rawDescData = file_ocis_services_store_v0_store_proto_rawDesc ) -func file_ocis_services_store_v1_store_proto_rawDescGZIP() []byte { - file_ocis_services_store_v1_store_proto_rawDescOnce.Do(func() { - file_ocis_services_store_v1_store_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_store_v1_store_proto_rawDescData) +func file_ocis_services_store_v0_store_proto_rawDescGZIP() []byte { + file_ocis_services_store_v0_store_proto_rawDescOnce.Do(func() { + file_ocis_services_store_v0_store_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_store_v0_store_proto_rawDescData) }) - return file_ocis_services_store_v1_store_proto_rawDescData + return file_ocis_services_store_v0_store_proto_rawDescData } -var file_ocis_services_store_v1_store_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_ocis_services_store_v1_store_proto_goTypes = []interface{}{ - (*ReadRequest)(nil), // 0: ocis.services.store.v1.ReadRequest - (*ReadResponse)(nil), // 1: ocis.services.store.v1.ReadResponse - (*WriteRequest)(nil), // 2: ocis.services.store.v1.WriteRequest - (*WriteResponse)(nil), // 3: ocis.services.store.v1.WriteResponse - (*DeleteRequest)(nil), // 4: ocis.services.store.v1.DeleteRequest - (*DeleteResponse)(nil), // 5: ocis.services.store.v1.DeleteResponse - (*ListRequest)(nil), // 6: ocis.services.store.v1.ListRequest - (*ListResponse)(nil), // 7: ocis.services.store.v1.ListResponse - (*DatabasesRequest)(nil), // 8: ocis.services.store.v1.DatabasesRequest - (*DatabasesResponse)(nil), // 9: ocis.services.store.v1.DatabasesResponse - (*TablesRequest)(nil), // 10: ocis.services.store.v1.TablesRequest - (*TablesResponse)(nil), // 11: ocis.services.store.v1.TablesResponse - (*v1.ReadOptions)(nil), // 12: ocis.messages.store.v1.ReadOptions - (*v1.Record)(nil), // 13: ocis.messages.store.v1.Record - (*v1.WriteOptions)(nil), // 14: ocis.messages.store.v1.WriteOptions - (*v1.DeleteOptions)(nil), // 15: ocis.messages.store.v1.DeleteOptions - (*v1.ListOptions)(nil), // 16: ocis.messages.store.v1.ListOptions +var file_ocis_services_store_v0_store_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_ocis_services_store_v0_store_proto_goTypes = []interface{}{ + (*ReadRequest)(nil), // 0: ocis.services.store.v0.ReadRequest + (*ReadResponse)(nil), // 1: ocis.services.store.v0.ReadResponse + (*WriteRequest)(nil), // 2: ocis.services.store.v0.WriteRequest + (*WriteResponse)(nil), // 3: ocis.services.store.v0.WriteResponse + (*DeleteRequest)(nil), // 4: ocis.services.store.v0.DeleteRequest + (*DeleteResponse)(nil), // 5: ocis.services.store.v0.DeleteResponse + (*ListRequest)(nil), // 6: ocis.services.store.v0.ListRequest + (*ListResponse)(nil), // 7: ocis.services.store.v0.ListResponse + (*DatabasesRequest)(nil), // 8: ocis.services.store.v0.DatabasesRequest + (*DatabasesResponse)(nil), // 9: ocis.services.store.v0.DatabasesResponse + (*TablesRequest)(nil), // 10: ocis.services.store.v0.TablesRequest + (*TablesResponse)(nil), // 11: ocis.services.store.v0.TablesResponse + (*v0.ReadOptions)(nil), // 12: ocis.messages.store.v0.ReadOptions + (*v0.Record)(nil), // 13: ocis.messages.store.v0.Record + (*v0.WriteOptions)(nil), // 14: ocis.messages.store.v0.WriteOptions + (*v0.DeleteOptions)(nil), // 15: ocis.messages.store.v0.DeleteOptions + (*v0.ListOptions)(nil), // 16: ocis.messages.store.v0.ListOptions } -var file_ocis_services_store_v1_store_proto_depIdxs = []int32{ - 12, // 0: ocis.services.store.v1.ReadRequest.options:type_name -> ocis.messages.store.v1.ReadOptions - 13, // 1: ocis.services.store.v1.ReadResponse.records:type_name -> ocis.messages.store.v1.Record - 13, // 2: ocis.services.store.v1.WriteRequest.record:type_name -> ocis.messages.store.v1.Record - 14, // 3: ocis.services.store.v1.WriteRequest.options:type_name -> ocis.messages.store.v1.WriteOptions - 15, // 4: ocis.services.store.v1.DeleteRequest.options:type_name -> ocis.messages.store.v1.DeleteOptions - 16, // 5: ocis.services.store.v1.ListRequest.options:type_name -> ocis.messages.store.v1.ListOptions - 0, // 6: ocis.services.store.v1.Store.Read:input_type -> ocis.services.store.v1.ReadRequest - 2, // 7: ocis.services.store.v1.Store.Write:input_type -> ocis.services.store.v1.WriteRequest - 4, // 8: ocis.services.store.v1.Store.Delete:input_type -> ocis.services.store.v1.DeleteRequest - 6, // 9: ocis.services.store.v1.Store.List:input_type -> ocis.services.store.v1.ListRequest - 8, // 10: ocis.services.store.v1.Store.Databases:input_type -> ocis.services.store.v1.DatabasesRequest - 10, // 11: ocis.services.store.v1.Store.Tables:input_type -> ocis.services.store.v1.TablesRequest - 1, // 12: ocis.services.store.v1.Store.Read:output_type -> ocis.services.store.v1.ReadResponse - 3, // 13: ocis.services.store.v1.Store.Write:output_type -> ocis.services.store.v1.WriteResponse - 5, // 14: ocis.services.store.v1.Store.Delete:output_type -> ocis.services.store.v1.DeleteResponse - 7, // 15: ocis.services.store.v1.Store.List:output_type -> ocis.services.store.v1.ListResponse - 9, // 16: ocis.services.store.v1.Store.Databases:output_type -> ocis.services.store.v1.DatabasesResponse - 11, // 17: ocis.services.store.v1.Store.Tables:output_type -> ocis.services.store.v1.TablesResponse +var file_ocis_services_store_v0_store_proto_depIdxs = []int32{ + 12, // 0: ocis.services.store.v0.ReadRequest.options:type_name -> ocis.messages.store.v0.ReadOptions + 13, // 1: ocis.services.store.v0.ReadResponse.records:type_name -> ocis.messages.store.v0.Record + 13, // 2: ocis.services.store.v0.WriteRequest.record:type_name -> ocis.messages.store.v0.Record + 14, // 3: ocis.services.store.v0.WriteRequest.options:type_name -> ocis.messages.store.v0.WriteOptions + 15, // 4: ocis.services.store.v0.DeleteRequest.options:type_name -> ocis.messages.store.v0.DeleteOptions + 16, // 5: ocis.services.store.v0.ListRequest.options:type_name -> ocis.messages.store.v0.ListOptions + 0, // 6: ocis.services.store.v0.Store.Read:input_type -> ocis.services.store.v0.ReadRequest + 2, // 7: ocis.services.store.v0.Store.Write:input_type -> ocis.services.store.v0.WriteRequest + 4, // 8: ocis.services.store.v0.Store.Delete:input_type -> ocis.services.store.v0.DeleteRequest + 6, // 9: ocis.services.store.v0.Store.List:input_type -> ocis.services.store.v0.ListRequest + 8, // 10: ocis.services.store.v0.Store.Databases:input_type -> ocis.services.store.v0.DatabasesRequest + 10, // 11: ocis.services.store.v0.Store.Tables:input_type -> ocis.services.store.v0.TablesRequest + 1, // 12: ocis.services.store.v0.Store.Read:output_type -> ocis.services.store.v0.ReadResponse + 3, // 13: ocis.services.store.v0.Store.Write:output_type -> ocis.services.store.v0.WriteResponse + 5, // 14: ocis.services.store.v0.Store.Delete:output_type -> ocis.services.store.v0.DeleteResponse + 7, // 15: ocis.services.store.v0.Store.List:output_type -> ocis.services.store.v0.ListResponse + 9, // 16: ocis.services.store.v0.Store.Databases:output_type -> ocis.services.store.v0.DatabasesResponse + 11, // 17: ocis.services.store.v0.Store.Tables:output_type -> ocis.services.store.v0.TablesResponse 12, // [12:18] is the sub-list for method output_type 6, // [6:12] is the sub-list for method input_type 6, // [6:6] is the sub-list for extension type_name @@ -757,13 +757,13 @@ var file_ocis_services_store_v1_store_proto_depIdxs = []int32{ 0, // [0:6] is the sub-list for field type_name } -func init() { file_ocis_services_store_v1_store_proto_init() } -func file_ocis_services_store_v1_store_proto_init() { - if File_ocis_services_store_v1_store_proto != nil { +func init() { file_ocis_services_store_v0_store_proto_init() } +func file_ocis_services_store_v0_store_proto_init() { + if File_ocis_services_store_v0_store_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_ocis_services_store_v1_store_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadRequest); i { case 0: return &v.state @@ -775,7 +775,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadResponse); i { case 0: return &v.state @@ -787,7 +787,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WriteRequest); i { case 0: return &v.state @@ -799,7 +799,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WriteResponse); i { case 0: return &v.state @@ -811,7 +811,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteRequest); i { case 0: return &v.state @@ -823,7 +823,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteResponse); i { case 0: return &v.state @@ -835,7 +835,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListRequest); i { case 0: return &v.state @@ -847,7 +847,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListResponse); i { case 0: return &v.state @@ -859,7 +859,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DatabasesRequest); i { case 0: return &v.state @@ -871,7 +871,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DatabasesResponse); i { case 0: return &v.state @@ -883,7 +883,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TablesRequest); i { case 0: return &v.state @@ -895,7 +895,7 @@ func file_ocis_services_store_v1_store_proto_init() { return nil } } - file_ocis_services_store_v1_store_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_store_v0_store_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TablesResponse); i { case 0: return &v.state @@ -912,18 +912,18 @@ func file_ocis_services_store_v1_store_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ocis_services_store_v1_store_proto_rawDesc, + RawDescriptor: file_ocis_services_store_v0_store_proto_rawDesc, NumEnums: 0, NumMessages: 12, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_ocis_services_store_v1_store_proto_goTypes, - DependencyIndexes: file_ocis_services_store_v1_store_proto_depIdxs, - MessageInfos: file_ocis_services_store_v1_store_proto_msgTypes, + GoTypes: file_ocis_services_store_v0_store_proto_goTypes, + DependencyIndexes: file_ocis_services_store_v0_store_proto_depIdxs, + MessageInfos: file_ocis_services_store_v0_store_proto_msgTypes, }.Build() - File_ocis_services_store_v1_store_proto = out.File - file_ocis_services_store_v1_store_proto_rawDesc = nil - file_ocis_services_store_v1_store_proto_goTypes = nil - file_ocis_services_store_v1_store_proto_depIdxs = nil + File_ocis_services_store_v0_store_proto = out.File + file_ocis_services_store_v0_store_proto_rawDesc = nil + file_ocis_services_store_v0_store_proto_goTypes = nil + file_ocis_services_store_v0_store_proto_depIdxs = nil } diff --git a/protogen/gen/ocis/services/store/v1/store.pb.micro.go b/protogen/gen/ocis/services/store/v0/store.pb.micro.go similarity index 98% rename from protogen/gen/ocis/services/store/v1/store.pb.micro.go rename to protogen/gen/ocis/services/store/v0/store.pb.micro.go index d9dd1ce4e..308060106 100644 --- a/protogen/gen/ocis/services/store/v1/store.pb.micro.go +++ b/protogen/gen/ocis/services/store/v0/store.pb.micro.go @@ -1,12 +1,12 @@ // Code generated by protoc-gen-micro. DO NOT EDIT. -// source: ocis/services/store/v1/store.proto +// source: ocis/services/store/v0/store.proto -package v1 +package v0 import ( fmt "fmt" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - _ "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v1" + _ "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v0" proto "google.golang.org/protobuf/proto" math "math" ) diff --git a/protogen/gen/ocis/services/store/v1/store.swagger.json b/protogen/gen/ocis/services/store/v0/store.swagger.json similarity index 91% rename from protogen/gen/ocis/services/store/v1/store.swagger.json rename to protogen/gen/ocis/services/store/v0/store.swagger.json index 14f5a2ba4..2beaed54c 100644 --- a/protogen/gen/ocis/services/store/v1/store.swagger.json +++ b/protogen/gen/ocis/services/store/v0/store.swagger.json @@ -57,7 +57,7 @@ } } }, - "v1DatabasesResponse": { + "v0DatabasesResponse": { "type": "object", "properties": { "databases": { @@ -68,7 +68,7 @@ } } }, - "v1DeleteOptions": { + "v0DeleteOptions": { "type": "object", "properties": { "database": { @@ -79,10 +79,10 @@ } } }, - "v1DeleteResponse": { + "v0DeleteResponse": { "type": "object" }, - "v1Field": { + "v0Field": { "type": "object", "properties": { "type": { @@ -95,7 +95,7 @@ } } }, - "v1ListOptions": { + "v0ListOptions": { "type": "object", "properties": { "database": { @@ -120,7 +120,7 @@ } } }, - "v1ListResponse": { + "v0ListResponse": { "type": "object", "properties": { "keys": { @@ -131,7 +131,7 @@ } } }, - "v1ReadOptions": { + "v0ReadOptions": { "type": "object", "properties": { "database": { @@ -157,23 +157,23 @@ "where": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/v1Field" + "$ref": "#/definitions/v0Field" } } } }, - "v1ReadResponse": { + "v0ReadResponse": { "type": "object", "properties": { "records": { "type": "array", "items": { - "$ref": "#/definitions/v1Record" + "$ref": "#/definitions/v0Record" } } } }, - "v1Record": { + "v0Record": { "type": "object", "properties": { "key": { @@ -193,13 +193,13 @@ "metadata": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/v1Field" + "$ref": "#/definitions/v0Field" }, "title": "the associated metadata" } } }, - "v1TablesResponse": { + "v0TablesResponse": { "type": "object", "properties": { "tables": { @@ -210,7 +210,7 @@ } } }, - "v1WriteOptions": { + "v0WriteOptions": { "type": "object", "properties": { "database": { @@ -231,7 +231,7 @@ } } }, - "v1WriteResponse": { + "v0WriteResponse": { "type": "object" } }, diff --git a/protogen/gen/ocis/services/thumbnails/v1/thumbnails.pb.go b/protogen/gen/ocis/services/thumbnails/v0/thumbnails.pb.go similarity index 77% rename from protogen/gen/ocis/services/thumbnails/v1/thumbnails.pb.go rename to protogen/gen/ocis/services/thumbnails/v0/thumbnails.pb.go index 14adf22d3..cb2dd1d86 100644 --- a/protogen/gen/ocis/services/thumbnails/v1/thumbnails.pb.go +++ b/protogen/gen/ocis/services/thumbnails/v0/thumbnails.pb.go @@ -2,13 +2,13 @@ // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 -// source: ocis/services/thumbnails/v1/thumbnails.proto +// source: ocis/services/thumbnails/v0/thumbnails.proto -package v1 +package v0 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - v1 "github.com/owncloud/ocis/protogen/gen/ocis/messages/thumbnails/v1" + v0 "github.com/owncloud/ocis/protogen/gen/ocis/messages/thumbnails/v0" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -53,11 +53,11 @@ func (x GetThumbnailRequest_ThumbnailType) String() string { } func (GetThumbnailRequest_ThumbnailType) Descriptor() protoreflect.EnumDescriptor { - return file_ocis_services_thumbnails_v1_thumbnails_proto_enumTypes[0].Descriptor() + return file_ocis_services_thumbnails_v0_thumbnails_proto_enumTypes[0].Descriptor() } func (GetThumbnailRequest_ThumbnailType) Type() protoreflect.EnumType { - return &file_ocis_services_thumbnails_v1_thumbnails_proto_enumTypes[0] + return &file_ocis_services_thumbnails_v0_thumbnails_proto_enumTypes[0] } func (x GetThumbnailRequest_ThumbnailType) Number() protoreflect.EnumNumber { @@ -66,7 +66,7 @@ func (x GetThumbnailRequest_ThumbnailType) Number() protoreflect.EnumNumber { // Deprecated: Use GetThumbnailRequest_ThumbnailType.Descriptor instead. func (GetThumbnailRequest_ThumbnailType) EnumDescriptor() ([]byte, []int) { - return file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescGZIP(), []int{0, 0} + return file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescGZIP(), []int{0, 0} } // A request to retrieve a thumbnail @@ -78,7 +78,7 @@ type GetThumbnailRequest struct { // The path to the source image Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // The type to which the thumbnail should get encoded to. - ThumbnailType GetThumbnailRequest_ThumbnailType `protobuf:"varint,2,opt,name=thumbnail_type,json=thumbnailType,proto3,enum=ocis.services.thumbnails.v1.GetThumbnailRequest_ThumbnailType" json:"thumbnail_type,omitempty"` + ThumbnailType GetThumbnailRequest_ThumbnailType `protobuf:"varint,2,opt,name=thumbnail_type,json=thumbnailType,proto3,enum=ocis.services.thumbnails.v0.GetThumbnailRequest_ThumbnailType" json:"thumbnail_type,omitempty"` // The width of the thumbnail Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` // The height of the thumbnail @@ -92,7 +92,7 @@ type GetThumbnailRequest struct { func (x *GetThumbnailRequest) Reset() { *x = GetThumbnailRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes[0] + mi := &file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -105,7 +105,7 @@ func (x *GetThumbnailRequest) String() string { func (*GetThumbnailRequest) ProtoMessage() {} func (x *GetThumbnailRequest) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes[0] + mi := &file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -118,7 +118,7 @@ func (x *GetThumbnailRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetThumbnailRequest.ProtoReflect.Descriptor instead. func (*GetThumbnailRequest) Descriptor() ([]byte, []int) { - return file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescGZIP(), []int{0} + return file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescGZIP(), []int{0} } func (x *GetThumbnailRequest) GetFilepath() string { @@ -156,14 +156,14 @@ func (m *GetThumbnailRequest) GetSource() isGetThumbnailRequest_Source { return nil } -func (x *GetThumbnailRequest) GetWebdavSource() *v1.WebdavSource { +func (x *GetThumbnailRequest) GetWebdavSource() *v0.WebdavSource { if x, ok := x.GetSource().(*GetThumbnailRequest_WebdavSource); ok { return x.WebdavSource } return nil } -func (x *GetThumbnailRequest) GetCs3Source() *v1.CS3Source { +func (x *GetThumbnailRequest) GetCs3Source() *v0.CS3Source { if x, ok := x.GetSource().(*GetThumbnailRequest_Cs3Source); ok { return x.Cs3Source } @@ -175,11 +175,11 @@ type isGetThumbnailRequest_Source interface { } type GetThumbnailRequest_WebdavSource struct { - WebdavSource *v1.WebdavSource `protobuf:"bytes,5,opt,name=webdav_source,json=webdavSource,proto3,oneof"` + WebdavSource *v0.WebdavSource `protobuf:"bytes,5,opt,name=webdav_source,json=webdavSource,proto3,oneof"` } type GetThumbnailRequest_Cs3Source struct { - Cs3Source *v1.CS3Source `protobuf:"bytes,6,opt,name=cs3_source,json=cs3Source,proto3,oneof"` + Cs3Source *v0.CS3Source `protobuf:"bytes,6,opt,name=cs3_source,json=cs3Source,proto3,oneof"` } func (*GetThumbnailRequest_WebdavSource) isGetThumbnailRequest_Source() {} @@ -201,7 +201,7 @@ type GetThumbnailResponse struct { func (x *GetThumbnailResponse) Reset() { *x = GetThumbnailResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes[1] + mi := &file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -214,7 +214,7 @@ func (x *GetThumbnailResponse) String() string { func (*GetThumbnailResponse) ProtoMessage() {} func (x *GetThumbnailResponse) ProtoReflect() protoreflect.Message { - mi := &file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes[1] + mi := &file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -227,7 +227,7 @@ func (x *GetThumbnailResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetThumbnailResponse.ProtoReflect.Descriptor instead. func (*GetThumbnailResponse) Descriptor() ([]byte, []int) { - return file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescGZIP(), []int{1} + return file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescGZIP(), []int{1} } func (x *GetThumbnailResponse) GetThumbnail() []byte { @@ -244,16 +244,16 @@ func (x *GetThumbnailResponse) GetMimetype() string { return "" } -var File_ocis_services_thumbnails_v1_thumbnails_proto protoreflect.FileDescriptor +var File_ocis_services_thumbnails_v0_thumbnails_proto protoreflect.FileDescriptor -var file_ocis_services_thumbnails_v1_thumbnails_proto_rawDesc = []byte{ +var file_ocis_services_thumbnails_v0_thumbnails_proto_rawDesc = []byte{ 0x0a, 0x2c, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, - 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x68, + 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x30, 0x2f, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x68, - 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x2c, 0x6f, 0x63, 0x69, + 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x30, 0x1a, 0x2c, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x74, 0x68, 0x75, 0x6d, 0x62, - 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, + 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x30, 0x2f, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, @@ -264,7 +264,7 @@ var file_ocis_services_thumbnails_v1_thumbnails_proto_rawDesc = []byte{ 0x0e, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, + 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, @@ -273,12 +273,12 @@ var file_ocis_services_thumbnails_v1_thumbnails_proto_rawDesc = []byte{ 0x68, 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x77, 0x65, 0x62, 0x64, 0x61, 0x76, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, - 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x64, 0x61, 0x76, 0x53, 0x6f, + 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x57, 0x65, 0x62, 0x64, 0x61, 0x76, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x77, 0x65, 0x62, 0x64, 0x61, 0x76, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x63, 0x73, 0x33, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, - 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x53, 0x33, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x43, 0x53, 0x33, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x63, 0x73, 0x33, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x21, 0x0a, 0x0d, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4a, 0x50, 0x47, 0x10, 0x01, @@ -291,16 +291,16 @@ var file_ocis_services_thumbnails_v1_thumbnails_proto_rawDesc = []byte{ 0x10, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x12, 0x30, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x2e, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x6f, 0x63, 0x69, 0x73, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x52, 0x65, + 0x30, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xeb, 0x02, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, - 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x31, 0x92, 0x41, 0xa4, 0x02, + 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x2f, 0x76, 0x30, 0x92, 0x41, 0xa4, 0x02, 0x12, 0xb8, 0x01, 0x0a, 0x22, 0x6f, 0x77, 0x6e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x20, 0x49, 0x6e, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x65, 0x20, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x20, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x47, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x43, 0x6c, @@ -323,32 +323,32 @@ var file_ocis_services_thumbnails_v1_thumbnails_proto_rawDesc = []byte{ } var ( - file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescOnce sync.Once - file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescData = file_ocis_services_thumbnails_v1_thumbnails_proto_rawDesc + file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescOnce sync.Once + file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescData = file_ocis_services_thumbnails_v0_thumbnails_proto_rawDesc ) -func file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescGZIP() []byte { - file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescOnce.Do(func() { - file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescData) +func file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescGZIP() []byte { + file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescOnce.Do(func() { + file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescData) }) - return file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescData + return file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescData } -var file_ocis_services_thumbnails_v1_thumbnails_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_ocis_services_thumbnails_v1_thumbnails_proto_goTypes = []interface{}{ - (GetThumbnailRequest_ThumbnailType)(0), // 0: ocis.services.thumbnails.v1.GetThumbnailRequest.ThumbnailType - (*GetThumbnailRequest)(nil), // 1: ocis.services.thumbnails.v1.GetThumbnailRequest - (*GetThumbnailResponse)(nil), // 2: ocis.services.thumbnails.v1.GetThumbnailResponse - (*v1.WebdavSource)(nil), // 3: ocis.messages.thumbnails.v1.WebdavSource - (*v1.CS3Source)(nil), // 4: ocis.messages.thumbnails.v1.CS3Source +var file_ocis_services_thumbnails_v0_thumbnails_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ocis_services_thumbnails_v0_thumbnails_proto_goTypes = []interface{}{ + (GetThumbnailRequest_ThumbnailType)(0), // 0: ocis.services.thumbnails.v0.GetThumbnailRequest.ThumbnailType + (*GetThumbnailRequest)(nil), // 1: ocis.services.thumbnails.v0.GetThumbnailRequest + (*GetThumbnailResponse)(nil), // 2: ocis.services.thumbnails.v0.GetThumbnailResponse + (*v0.WebdavSource)(nil), // 3: ocis.messages.thumbnails.v0.WebdavSource + (*v0.CS3Source)(nil), // 4: ocis.messages.thumbnails.v0.CS3Source } -var file_ocis_services_thumbnails_v1_thumbnails_proto_depIdxs = []int32{ - 0, // 0: ocis.services.thumbnails.v1.GetThumbnailRequest.thumbnail_type:type_name -> ocis.services.thumbnails.v1.GetThumbnailRequest.ThumbnailType - 3, // 1: ocis.services.thumbnails.v1.GetThumbnailRequest.webdav_source:type_name -> ocis.messages.thumbnails.v1.WebdavSource - 4, // 2: ocis.services.thumbnails.v1.GetThumbnailRequest.cs3_source:type_name -> ocis.messages.thumbnails.v1.CS3Source - 1, // 3: ocis.services.thumbnails.v1.ThumbnailService.GetThumbnail:input_type -> ocis.services.thumbnails.v1.GetThumbnailRequest - 2, // 4: ocis.services.thumbnails.v1.ThumbnailService.GetThumbnail:output_type -> ocis.services.thumbnails.v1.GetThumbnailResponse +var file_ocis_services_thumbnails_v0_thumbnails_proto_depIdxs = []int32{ + 0, // 0: ocis.services.thumbnails.v0.GetThumbnailRequest.thumbnail_type:type_name -> ocis.services.thumbnails.v0.GetThumbnailRequest.ThumbnailType + 3, // 1: ocis.services.thumbnails.v0.GetThumbnailRequest.webdav_source:type_name -> ocis.messages.thumbnails.v0.WebdavSource + 4, // 2: ocis.services.thumbnails.v0.GetThumbnailRequest.cs3_source:type_name -> ocis.messages.thumbnails.v0.CS3Source + 1, // 3: ocis.services.thumbnails.v0.ThumbnailService.GetThumbnail:input_type -> ocis.services.thumbnails.v0.GetThumbnailRequest + 2, // 4: ocis.services.thumbnails.v0.ThumbnailService.GetThumbnail:output_type -> ocis.services.thumbnails.v0.GetThumbnailResponse 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 @@ -356,13 +356,13 @@ var file_ocis_services_thumbnails_v1_thumbnails_proto_depIdxs = []int32{ 0, // [0:3] is the sub-list for field type_name } -func init() { file_ocis_services_thumbnails_v1_thumbnails_proto_init() } -func file_ocis_services_thumbnails_v1_thumbnails_proto_init() { - if File_ocis_services_thumbnails_v1_thumbnails_proto != nil { +func init() { file_ocis_services_thumbnails_v0_thumbnails_proto_init() } +func file_ocis_services_thumbnails_v0_thumbnails_proto_init() { + if File_ocis_services_thumbnails_v0_thumbnails_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetThumbnailRequest); i { case 0: return &v.state @@ -374,7 +374,7 @@ func file_ocis_services_thumbnails_v1_thumbnails_proto_init() { return nil } } - file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetThumbnailResponse); i { case 0: return &v.state @@ -387,7 +387,7 @@ func file_ocis_services_thumbnails_v1_thumbnails_proto_init() { } } } - file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes[0].OneofWrappers = []interface{}{ (*GetThumbnailRequest_WebdavSource)(nil), (*GetThumbnailRequest_Cs3Source)(nil), } @@ -395,19 +395,19 @@ func file_ocis_services_thumbnails_v1_thumbnails_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ocis_services_thumbnails_v1_thumbnails_proto_rawDesc, + RawDescriptor: file_ocis_services_thumbnails_v0_thumbnails_proto_rawDesc, NumEnums: 1, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_ocis_services_thumbnails_v1_thumbnails_proto_goTypes, - DependencyIndexes: file_ocis_services_thumbnails_v1_thumbnails_proto_depIdxs, - EnumInfos: file_ocis_services_thumbnails_v1_thumbnails_proto_enumTypes, - MessageInfos: file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes, + GoTypes: file_ocis_services_thumbnails_v0_thumbnails_proto_goTypes, + DependencyIndexes: file_ocis_services_thumbnails_v0_thumbnails_proto_depIdxs, + EnumInfos: file_ocis_services_thumbnails_v0_thumbnails_proto_enumTypes, + MessageInfos: file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes, }.Build() - File_ocis_services_thumbnails_v1_thumbnails_proto = out.File - file_ocis_services_thumbnails_v1_thumbnails_proto_rawDesc = nil - file_ocis_services_thumbnails_v1_thumbnails_proto_goTypes = nil - file_ocis_services_thumbnails_v1_thumbnails_proto_depIdxs = nil + File_ocis_services_thumbnails_v0_thumbnails_proto = out.File + file_ocis_services_thumbnails_v0_thumbnails_proto_rawDesc = nil + file_ocis_services_thumbnails_v0_thumbnails_proto_goTypes = nil + file_ocis_services_thumbnails_v0_thumbnails_proto_depIdxs = nil } diff --git a/protogen/gen/ocis/services/thumbnails/v1/thumbnails.pb.micro.go b/protogen/gen/ocis/services/thumbnails/v0/thumbnails.pb.micro.go similarity index 97% rename from protogen/gen/ocis/services/thumbnails/v1/thumbnails.pb.micro.go rename to protogen/gen/ocis/services/thumbnails/v0/thumbnails.pb.micro.go index 281619319..701f1d58c 100644 --- a/protogen/gen/ocis/services/thumbnails/v1/thumbnails.pb.micro.go +++ b/protogen/gen/ocis/services/thumbnails/v0/thumbnails.pb.micro.go @@ -1,12 +1,12 @@ // Code generated by protoc-gen-micro. DO NOT EDIT. -// source: ocis/services/thumbnails/v1/thumbnails.proto +// source: ocis/services/thumbnails/v0/thumbnails.proto -package v1 +package v0 import ( fmt "fmt" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - _ "github.com/owncloud/ocis/protogen/gen/ocis/messages/thumbnails/v1" + _ "github.com/owncloud/ocis/protogen/gen/ocis/messages/thumbnails/v0" proto "google.golang.org/protobuf/proto" math "math" ) diff --git a/protogen/gen/ocis/services/thumbnails/v1/thumbnails.swagger.json b/protogen/gen/ocis/services/thumbnails/v0/thumbnails.swagger.json similarity index 97% rename from protogen/gen/ocis/services/thumbnails/v1/thumbnails.swagger.json rename to protogen/gen/ocis/services/thumbnails/v0/thumbnails.swagger.json index 982d58920..f79a4f119 100644 --- a/protogen/gen/ocis/services/thumbnails/v1/thumbnails.swagger.json +++ b/protogen/gen/ocis/services/thumbnails/v0/thumbnails.swagger.json @@ -66,7 +66,7 @@ } } }, - "v1CS3Source": { + "v0CS3Source": { "type": "object", "properties": { "path": { @@ -77,7 +77,7 @@ } } }, - "v1GetThumbnailResponse": { + "v0GetThumbnailResponse": { "type": "object", "properties": { "thumbnail": { @@ -92,7 +92,7 @@ }, "title": "The service response" }, - "v1WebdavSource": { + "v0WebdavSource": { "type": "object", "properties": { "url": { diff --git a/protogen/proto/buf.gen.yaml b/protogen/proto/buf.gen.yaml index 0ab33a71f..ff14a89dd 100644 --- a/protogen/proto/buf.gen.yaml +++ b/protogen/proto/buf.gen.yaml @@ -18,10 +18,10 @@ plugins: opt: - paths=source_relative - "ignore_packages=\ - ocis.services.thumbnails.v1;\ - ocis.messages.thumbnails.v1;\ - ocis.services.store.v1;\ - ocis.messages.store.v1" + ocis.services.thumbnails.v0;\ + ocis.messages.thumbnails.v0;\ + ocis.services.store.v0;\ + ocis.messages.store.v0" - name: openapiv2 path: ../../.bingo/protoc-gen-openapiv2 diff --git a/protogen/proto/ocis/messages/accounts/v1/accounts.proto b/protogen/proto/ocis/messages/accounts/v0/accounts.proto similarity index 99% rename from protogen/proto/ocis/messages/accounts/v1/accounts.proto rename to protogen/proto/ocis/messages/accounts/v0/accounts.proto index ba4862ba1..e09deb277 100644 --- a/protogen/proto/ocis/messages/accounts/v1/accounts.proto +++ b/protogen/proto/ocis/messages/accounts/v0/accounts.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package ocis.messages.accounts.v1; +package ocis.messages.accounts.v0; -option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1"; +option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"; import "google/protobuf/timestamp.proto"; // Account follows the properties of the ms graph api user resource. diff --git a/protogen/proto/ocis/messages/settings/v1/settings.proto b/protogen/proto/ocis/messages/settings/v0/settings.proto similarity index 98% rename from protogen/proto/ocis/messages/settings/v1/settings.proto rename to protogen/proto/ocis/messages/settings/v0/settings.proto index 889b51cd3..aaf9f511b 100644 --- a/protogen/proto/ocis/messages/settings/v1/settings.proto +++ b/protogen/proto/ocis/messages/settings/v0/settings.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package ocis.messages.settings.v1; +package ocis.messages.settings.v0; -option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1"; +option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0"; // --- // messages for settings values diff --git a/protogen/proto/ocis/messages/store/v1/store.proto b/protogen/proto/ocis/messages/store/v0/store.proto similarity index 94% rename from protogen/proto/ocis/messages/store/v1/store.proto rename to protogen/proto/ocis/messages/store/v0/store.proto index c43079289..d7991d563 100644 --- a/protogen/proto/ocis/messages/store/v1/store.proto +++ b/protogen/proto/ocis/messages/store/v0/store.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package ocis.messages.store.v1; +package ocis.messages.store.v0; -option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v1"; +option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v0"; message Field { // type of value e.g string, int, int64, bool, float64 diff --git a/protogen/proto/ocis/messages/thumbnails/v1/thumbnails.proto b/protogen/proto/ocis/messages/thumbnails/v0/thumbnails.proto similarity index 87% rename from protogen/proto/ocis/messages/thumbnails/v1/thumbnails.proto rename to protogen/proto/ocis/messages/thumbnails/v0/thumbnails.proto index 1a3afa174..3964970ef 100644 --- a/protogen/proto/ocis/messages/thumbnails/v1/thumbnails.proto +++ b/protogen/proto/ocis/messages/thumbnails/v0/thumbnails.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package ocis.messages.thumbnails.v1; +package ocis.messages.thumbnails.v0; -option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/messages/thumbnails/v1"; +option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/messages/thumbnails/v0"; message WebdavSource { // REQUIRED. diff --git a/protogen/proto/ocis/services/accounts/v1/accounts.proto b/protogen/proto/ocis/services/accounts/v0/accounts.proto similarity index 95% rename from protogen/proto/ocis/services/accounts/v1/accounts.proto rename to protogen/proto/ocis/services/accounts/v0/accounts.proto index 21e15b4ff..fc07dd6bb 100644 --- a/protogen/proto/ocis/services/accounts/v1/accounts.proto +++ b/protogen/proto/ocis/services/accounts/v0/accounts.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package ocis.services.accounts.v1; +package ocis.services.accounts.v0; -option go_package = "github.com/jvillafanez/prototest001/gen/ocis/services/accounts/v1"; +option go_package = "github.com/jvillafanez/prototest001/gen/ocis/services/accounts/v0"; -import "ocis/messages/accounts/v1/accounts.proto"; +import "ocis/messages/accounts/v0/accounts.proto"; import "google/api/field_behavior.proto"; import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; @@ -48,14 +48,14 @@ service AccountsService { }; } // Gets an account - rpc GetAccount(GetAccountRequest) returns (ocis.messages.accounts.v1.Account) { + rpc GetAccount(GetAccountRequest) returns (ocis.messages.accounts.v0.Account) { option (google.api.http) = { post: "/api/v0/accounts/accounts-get", body: "*" }; } // Creates an account - rpc CreateAccount(CreateAccountRequest) returns (ocis.messages.accounts.v1.Account) { + rpc CreateAccount(CreateAccountRequest) returns (ocis.messages.accounts.v0.Account) { // Create maps to HTTP POST. URL path as the collection name. // HTTP request body contains the resource option (google.api.http) = { @@ -64,7 +64,7 @@ service AccountsService { }; } // Updates an account - rpc UpdateAccount(UpdateAccountRequest) returns (ocis.messages.accounts.v1.Account) { + rpc UpdateAccount(UpdateAccountRequest) returns (ocis.messages.accounts.v0.Account) { // Update maps to HTTP PATCH. Resource name is mapped to a URL path. // Resource is contained in the HTTP request body option (google.api.http) = { @@ -93,14 +93,14 @@ service GroupsService { }; } // Gets an groups - rpc GetGroup(GetGroupRequest) returns (ocis.messages.accounts.v1.Group) { + rpc GetGroup(GetGroupRequest) returns (ocis.messages.accounts.v0.Group) { option (google.api.http) = { post: "/api/v0/accounts/groups-get", body: "*" }; } // Creates a group - rpc CreateGroup(CreateGroupRequest) returns (ocis.messages.accounts.v1.Group) { + rpc CreateGroup(CreateGroupRequest) returns (ocis.messages.accounts.v0.Group) { // Create maps to HTTP POST. URL path as the collection name. // HTTP request body contains the resource option (google.api.http) = { @@ -109,7 +109,7 @@ service GroupsService { }; } // Updates a group - rpc UpdateGroup(UpdateGroupRequest) returns (ocis.messages.accounts.v1.Group) { + rpc UpdateGroup(UpdateGroupRequest) returns (ocis.messages.accounts.v0.Group) { // Update maps to HTTP PATCH. Resource name is mapped to a URL path. // Resource is contained in the HTTP request body option (google.api.http) = { @@ -133,7 +133,7 @@ service GroupsService { // or the stack overflow question https://stackoverflow.com/questions/49362894/why-is-the-microsoft-graph-api-using-ref-in-the-uri // group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http - rpc AddMember(AddMemberRequest) returns (ocis.messages.accounts.v1.Group) { + rpc AddMember(AddMemberRequest) returns (ocis.messages.accounts.v0.Group) { // All request parameters go into body. option (google.api.http) = { post: "/api/v0/groups/{group_id=*}/members/$ref" @@ -141,7 +141,7 @@ service GroupsService { }; } // group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0 - rpc RemoveMember(RemoveMemberRequest) returns (ocis.messages.accounts.v1.Group) { + rpc RemoveMember(RemoveMemberRequest) returns (ocis.messages.accounts.v0.Group) { // All request parameters go into body. option (google.api.http) = { // URLs are broken @@ -217,7 +217,7 @@ message ListAccountsResponse { // The field name should match the noun "accounts" in the method name. There // will be a maximum number of items returned based on the page_size field // in the request - repeated ocis.messages.accounts.v1.Account accounts = 1; + repeated ocis.messages.accounts.v0.Account accounts = 1; // Token to retrieve the next page of results, or empty if there are no // more results in the list @@ -230,12 +230,12 @@ message GetAccountRequest { message CreateAccountRequest { // The account resource to create - ocis.messages.accounts.v1.Account account = 1; + ocis.messages.accounts.v0.Account account = 1; } message UpdateAccountRequest { // The account resource which replaces the resource on the server - ocis.messages.accounts.v1.Account account = 1; + ocis.messages.accounts.v0.Account account = 1; // The update mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask @@ -283,7 +283,7 @@ message ListGroupsResponse { // The field name should match the noun "group" in the method name. There // will be a maximum number of items returned based on the page_size field // in the request - repeated ocis.messages.accounts.v1.Group groups = 1; + repeated ocis.messages.accounts.v0.Group groups = 1; // Token to retrieve the next page of results, or empty if there are no // more results in the list @@ -296,12 +296,12 @@ message GetGroupRequest { message CreateGroupRequest { // The account resource to create - ocis.messages.accounts.v1.Group group = 1; + ocis.messages.accounts.v0.Group group = 1; } message UpdateGroupRequest { // The group resource which replaces the resource on the server - ocis.messages.accounts.v1.Group group = 1; + ocis.messages.accounts.v0.Group group = 1; // The update mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask @@ -365,7 +365,7 @@ message ListMembersResponse { // The field name should match the noun "members" in the method name. There // will be a maximum number of items returned based on the page_size field // in the request - repeated ocis.messages.accounts.v1.Account members = 1; + repeated ocis.messages.accounts.v0.Account members = 1; // Token to retrieve the next page of results, or empty if there are no // more results in the list diff --git a/protogen/proto/ocis/services/settings/v1/settings.proto b/protogen/proto/ocis/services/settings/v0/settings.proto similarity index 85% rename from protogen/proto/ocis/services/settings/v1/settings.proto rename to protogen/proto/ocis/services/settings/v0/settings.proto index 2fb61a33c..7aa342a1e 100644 --- a/protogen/proto/ocis/services/settings/v1/settings.proto +++ b/protogen/proto/ocis/services/settings/v0/settings.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package ocis.services.settings.v1; +package ocis.services.settings.v0; -option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1"; +option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0"; -import "ocis/messages/settings/v1/settings.proto"; +import "ocis/messages/settings/v0/settings.proto"; import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; @@ -139,11 +139,11 @@ service PermissionService { // requests and responses for settings bundles // --- message SaveBundleRequest { - ocis.messages.settings.v1.Bundle bundle = 1; + ocis.messages.settings.v0.Bundle bundle = 1; } message SaveBundleResponse { - ocis.messages.settings.v1.Bundle bundle = 1; + ocis.messages.settings.v0.Bundle bundle = 1; } message GetBundleRequest { @@ -151,7 +151,7 @@ message GetBundleRequest { } message GetBundleResponse { - ocis.messages.settings.v1.Bundle bundle = 1; + ocis.messages.settings.v0.Bundle bundle = 1; } message ListBundlesRequest { @@ -159,16 +159,16 @@ message ListBundlesRequest { } message ListBundlesResponse { - repeated ocis.messages.settings.v1.Bundle bundles = 1; + repeated ocis.messages.settings.v0.Bundle bundles = 1; } message AddSettingToBundleRequest { string bundle_id = 1; - ocis.messages.settings.v1.Setting setting = 2; + ocis.messages.settings.v0.Setting setting = 2; } message AddSettingToBundleResponse { - ocis.messages.settings.v1.Setting setting = 1; + ocis.messages.settings.v0.Setting setting = 1; } message RemoveSettingFromBundleRequest { @@ -181,11 +181,11 @@ message RemoveSettingFromBundleRequest { // --- message SaveValueRequest { - ocis.messages.settings.v1.Value value = 1; + ocis.messages.settings.v0.Value value = 1; } message SaveValueResponse { - ocis.messages.settings.v1.ValueWithIdentifier value = 1; + ocis.messages.settings.v0.ValueWithIdentifier value = 1; } message GetValueRequest { @@ -193,7 +193,7 @@ message GetValueRequest { } message GetValueResponse { - ocis.messages.settings.v1.ValueWithIdentifier value = 1; + ocis.messages.settings.v0.ValueWithIdentifier value = 1; } message ListValuesRequest { @@ -202,7 +202,7 @@ message ListValuesRequest { } message ListValuesResponse { - repeated ocis.messages.settings.v1.ValueWithIdentifier values = 1; + repeated ocis.messages.settings.v0.ValueWithIdentifier values = 1; } message GetValueByUniqueIdentifiersRequest{ @@ -219,7 +219,7 @@ message ListRoleAssignmentsRequest { } message ListRoleAssignmentsResponse { - repeated ocis.messages.settings.v1.UserRoleAssignment assignments = 1; + repeated ocis.messages.settings.v0.UserRoleAssignment assignments = 1; } message AssignRoleToUserRequest { @@ -229,7 +229,7 @@ message AssignRoleToUserRequest { } message AssignRoleToUserResponse { - ocis.messages.settings.v1.UserRoleAssignment assignment = 1; + ocis.messages.settings.v0.UserRoleAssignment assignment = 1; } message RemoveRoleFromUserRequest { @@ -241,11 +241,11 @@ message RemoveRoleFromUserRequest { // --- message ListPermissionsByResourceRequest { - ocis.messages.settings.v1.Resource resource = 1; + ocis.messages.settings.v0.Resource resource = 1; } message ListPermissionsByResourceResponse { - repeated ocis.messages.settings.v1.Permission permissions = 1; + repeated ocis.messages.settings.v0.Permission permissions = 1; } message GetPermissionByIDRequest { @@ -253,5 +253,5 @@ message GetPermissionByIDRequest { } message GetPermissionByIDResponse { - ocis.messages.settings.v1.Permission permission = 1; + ocis.messages.settings.v0.Permission permission = 1; } diff --git a/protogen/proto/ocis/services/store/v1/store.proto b/protogen/proto/ocis/services/store/v0/store.proto similarity index 80% rename from protogen/proto/ocis/services/store/v1/store.proto rename to protogen/proto/ocis/services/store/v0/store.proto index 0d8d54e72..01f9d1839 100644 --- a/protogen/proto/ocis/services/store/v1/store.proto +++ b/protogen/proto/ocis/services/store/v0/store.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package ocis.services.store.v1; +package ocis.services.store.v0; + +option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/service/store/v0"; -option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/service/store/v1"; - -import "ocis/messages/store/v1/store.proto"; +import "ocis/messages/store/v0/store.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { @@ -42,29 +42,29 @@ service Store { message ReadRequest { string key = 1; - ocis.messages.store.v1.ReadOptions options = 2; + ocis.messages.store.v0.ReadOptions options = 2; } message ReadResponse { - repeated ocis.messages.store.v1.Record records = 1; + repeated ocis.messages.store.v0.Record records = 1; } message WriteRequest { - ocis.messages.store.v1.Record record = 1; - ocis.messages.store.v1.WriteOptions options = 2; + ocis.messages.store.v0.Record record = 1; + ocis.messages.store.v0.WriteOptions options = 2; } message WriteResponse {} message DeleteRequest { string key = 1; - ocis.messages.store.v1.DeleteOptions options = 2; + ocis.messages.store.v0.DeleteOptions options = 2; } message DeleteResponse {} message ListRequest { - ocis.messages.store.v1.ListOptions options = 1; + ocis.messages.store.v0.ListOptions options = 1; } message ListResponse { diff --git a/protogen/proto/ocis/services/thumbnails/v1/thumbnails.proto b/protogen/proto/ocis/services/thumbnails/v0/thumbnails.proto similarity index 87% rename from protogen/proto/ocis/services/thumbnails/v1/thumbnails.proto rename to protogen/proto/ocis/services/thumbnails/v0/thumbnails.proto index 3facf001d..0b7eae517 100644 --- a/protogen/proto/ocis/services/thumbnails/v1/thumbnails.proto +++ b/protogen/proto/ocis/services/thumbnails/v0/thumbnails.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package ocis.services.thumbnails.v1; +package ocis.services.thumbnails.v0; -option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v1"; +option go_package = "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v0"; -import "ocis/messages/thumbnails/v1/thumbnails.proto"; +import "ocis/messages/thumbnails/v0/thumbnails.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { @@ -53,8 +53,8 @@ message GetThumbnailRequest { // The height of the thumbnail int32 height = 4; oneof source { - ocis.messages.thumbnails.v1.WebdavSource webdav_source = 5; - ocis.messages.thumbnails.v1.CS3Source cs3_source = 6; + ocis.messages.thumbnails.v0.WebdavSource webdav_source = 5; + ocis.messages.thumbnails.v0.CS3Source cs3_source = 6; } } diff --git a/proxy/pkg/command/server.go b/proxy/pkg/command/server.go index 787e39834..90d8a1de1 100644 --- a/proxy/pkg/command/server.go +++ b/proxy/pkg/command/server.go @@ -7,9 +7,9 @@ import ( "net/http" "time" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" - storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v1" + storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v0" "github.com/coreos/go-oidc/v3/oidc" "github.com/cs3org/reva/pkg/token/manager/jwt" @@ -20,7 +20,7 @@ import ( pkgmiddleware "github.com/owncloud/ocis/ocis-pkg/middleware" "github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/version" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" "github.com/owncloud/ocis/proxy/pkg/config" "github.com/owncloud/ocis/proxy/pkg/config/parser" "github.com/owncloud/ocis/proxy/pkg/cs3" diff --git a/proxy/pkg/middleware/options.go b/proxy/pkg/middleware/options.go index 8486f5a4a..f45c428d7 100644 --- a/proxy/pkg/middleware/options.go +++ b/proxy/pkg/middleware/options.go @@ -6,9 +6,9 @@ import ( "github.com/owncloud/ocis/proxy/pkg/user/backend" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" - storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" + storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v0" gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1" "github.com/owncloud/ocis/ocis-pkg/log" diff --git a/proxy/pkg/middleware/signed_url_auth.go b/proxy/pkg/middleware/signed_url_auth.go index 5abc9df02..ee33a790f 100644 --- a/proxy/pkg/middleware/signed_url_auth.go +++ b/proxy/pkg/middleware/signed_url_auth.go @@ -13,8 +13,8 @@ import ( revactx "github.com/cs3org/reva/pkg/ctx" "github.com/owncloud/ocis/ocis-pkg/log" - storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v1" - storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v1" + storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v0" + storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v0" "github.com/owncloud/ocis/proxy/pkg/config" "github.com/owncloud/ocis/proxy/pkg/user/backend" "golang.org/x/crypto/pbkdf2" diff --git a/proxy/pkg/proxy/policy/selector.go b/proxy/pkg/proxy/policy/selector.go index 963f5df00..a3d1224fd 100644 --- a/proxy/pkg/proxy/policy/selector.go +++ b/proxy/pkg/proxy/policy/selector.go @@ -6,7 +6,7 @@ import ( "regexp" "sort" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/asim/go-micro/plugins/client/grpc/v4" revactx "github.com/cs3org/reva/pkg/ctx" diff --git a/proxy/pkg/proxy/policy/selector_test.go b/proxy/pkg/proxy/policy/selector_test.go index c8a965578..28eb1a07b 100644 --- a/proxy/pkg/proxy/policy/selector_test.go +++ b/proxy/pkg/proxy/policy/selector_test.go @@ -10,8 +10,8 @@ import ( userv1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" revactx "github.com/cs3org/reva/pkg/ctx" "github.com/owncloud/ocis/ocis-pkg/oidc" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" "github.com/owncloud/ocis/proxy/pkg/config" "go-micro.dev/v4/client" ) diff --git a/proxy/pkg/user/backend/accounts.go b/proxy/pkg/user/backend/accounts.go index f5d19fc56..1c33c61b1 100644 --- a/proxy/pkg/user/backend/accounts.go +++ b/proxy/pkg/user/backend/accounts.go @@ -6,8 +6,8 @@ import ( "net/http" "strings" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" cs3 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" @@ -15,7 +15,7 @@ import ( "github.com/cs3org/reva/pkg/token" "github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/oidc" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ) // NewAccountsServiceUserBackend creates a user-provider which fetches users from the ocis accounts-service diff --git a/proxy/pkg/user/backend/accounts_test.go b/proxy/pkg/user/backend/accounts_test.go index 4e1f2a356..3115d2507 100644 --- a/proxy/pkg/user/backend/accounts_test.go +++ b/proxy/pkg/user/backend/accounts_test.go @@ -8,10 +8,10 @@ import ( "github.com/cs3org/reva/pkg/token/manager/jwt" "github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/oidc" - accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" - accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" + accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" "github.com/rs/zerolog" "github.com/stretchr/testify/assert" "go-micro.dev/v4/client" diff --git a/proxy/pkg/user/backend/backend.go b/proxy/pkg/user/backend/backend.go index cc6cf8353..9cfb51d61 100644 --- a/proxy/pkg/user/backend/backend.go +++ b/proxy/pkg/user/backend/backend.go @@ -8,7 +8,7 @@ import ( gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1" cs3 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" "google.golang.org/grpc" ) diff --git a/proxy/pkg/user/backend/cs3.go b/proxy/pkg/user/backend/cs3.go index 43f532a9d..e754760b9 100644 --- a/proxy/pkg/user/backend/cs3.go +++ b/proxy/pkg/user/backend/cs3.go @@ -9,7 +9,7 @@ import ( rpcv1beta1 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" "github.com/owncloud/ocis/ocis-pkg/log" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" settingsService "github.com/owncloud/ocis/settings/pkg/service/v0" ) diff --git a/settings/pkg/server/grpc/server.go b/settings/pkg/server/grpc/server.go index 409f44029..ee9e3720d 100644 --- a/settings/pkg/server/grpc/server.go +++ b/settings/pkg/server/grpc/server.go @@ -6,7 +6,7 @@ import ( permissions "github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1" "github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/version" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" svc "github.com/owncloud/ocis/settings/pkg/service/v0" "go-micro.dev/v4/api" "go-micro.dev/v4/server" diff --git a/settings/pkg/server/http/server.go b/settings/pkg/server/http/server.go index 1f693334b..173a9fc7a 100644 --- a/settings/pkg/server/http/server.go +++ b/settings/pkg/server/http/server.go @@ -8,7 +8,7 @@ import ( "github.com/owncloud/ocis/ocis-pkg/middleware" "github.com/owncloud/ocis/ocis-pkg/service/http" "github.com/owncloud/ocis/ocis-pkg/version" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" "github.com/owncloud/ocis/settings/pkg/assets" svc "github.com/owncloud/ocis/settings/pkg/service/v0" "go-micro.dev/v4" diff --git a/settings/pkg/service/v0/permissions.go b/settings/pkg/service/v0/permissions.go index 4ed01d30d..016457913 100644 --- a/settings/pkg/service/v0/permissions.go +++ b/settings/pkg/service/v0/permissions.go @@ -1,7 +1,7 @@ package svc import ( - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" ) func (g Service) hasPermission( diff --git a/settings/pkg/service/v0/service.go b/settings/pkg/service/v0/service.go index 4590b2ce9..b7d500acf 100644 --- a/settings/pkg/service/v0/service.go +++ b/settings/pkg/service/v0/service.go @@ -11,8 +11,8 @@ import ( "github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/middleware" "github.com/owncloud/ocis/ocis-pkg/roles" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" "github.com/owncloud/ocis/settings/pkg/config" "github.com/owncloud/ocis/settings/pkg/settings" store "github.com/owncloud/ocis/settings/pkg/store/filesystem" diff --git a/settings/pkg/service/v0/settings.go b/settings/pkg/service/v0/settings.go index 902dcd9a3..454becfba 100644 --- a/settings/pkg/service/v0/settings.go +++ b/settings/pkg/service/v0/settings.go @@ -1,8 +1,8 @@ package svc import ( - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ) const ( diff --git a/settings/pkg/service/v0/validator.go b/settings/pkg/service/v0/validator.go index 3f66e12d0..1120af1b5 100644 --- a/settings/pkg/service/v0/validator.go +++ b/settings/pkg/service/v0/validator.go @@ -5,8 +5,8 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" - settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" + settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0" ) var ( diff --git a/settings/pkg/settings/settings.go b/settings/pkg/settings/settings.go index 81ba4938d..9132423e8 100644 --- a/settings/pkg/settings/settings.go +++ b/settings/pkg/settings/settings.go @@ -3,7 +3,7 @@ package settings import ( "errors" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" "github.com/owncloud/ocis/settings/pkg/config" ) diff --git a/settings/pkg/store/filesystem/assignments.go b/settings/pkg/store/filesystem/assignments.go index 9ce9e0af3..d34496a7a 100644 --- a/settings/pkg/store/filesystem/assignments.go +++ b/settings/pkg/store/filesystem/assignments.go @@ -7,7 +7,7 @@ import ( "path/filepath" "github.com/gofrs/uuid" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" ) // ListRoleAssignments loads and returns all role assignments matching the given assignment identifier. diff --git a/settings/pkg/store/filesystem/assignments_test.go b/settings/pkg/store/filesystem/assignments_test.go index 0051d7cc7..1edeb7296 100644 --- a/settings/pkg/store/filesystem/assignments_test.go +++ b/settings/pkg/store/filesystem/assignments_test.go @@ -8,7 +8,7 @@ import ( "testing" olog "github.com/owncloud/ocis/ocis-pkg/log" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" "github.com/stretchr/testify/assert" ) diff --git a/settings/pkg/store/filesystem/bundles.go b/settings/pkg/store/filesystem/bundles.go index d1a63924f..9ab850839 100644 --- a/settings/pkg/store/filesystem/bundles.go +++ b/settings/pkg/store/filesystem/bundles.go @@ -8,7 +8,7 @@ import ( "sync" "github.com/gofrs/uuid" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" "github.com/owncloud/ocis/settings/pkg/store/errortypes" ) diff --git a/settings/pkg/store/filesystem/bundles_test.go b/settings/pkg/store/filesystem/bundles_test.go index 096a9b3dd..ddee0f94e 100644 --- a/settings/pkg/store/filesystem/bundles_test.go +++ b/settings/pkg/store/filesystem/bundles_test.go @@ -4,7 +4,7 @@ import ( "testing" olog "github.com/owncloud/ocis/ocis-pkg/log" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" "github.com/stretchr/testify/assert" ) diff --git a/settings/pkg/store/filesystem/permissions.go b/settings/pkg/store/filesystem/permissions.go index 49f3c097a..eacd0f828 100644 --- a/settings/pkg/store/filesystem/permissions.go +++ b/settings/pkg/store/filesystem/permissions.go @@ -1,7 +1,7 @@ package store import ( - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" "github.com/owncloud/ocis/settings/pkg/settings" "github.com/owncloud/ocis/settings/pkg/util" ) diff --git a/settings/pkg/store/filesystem/values.go b/settings/pkg/store/filesystem/values.go index 89014f4d3..43245ed3d 100644 --- a/settings/pkg/store/filesystem/values.go +++ b/settings/pkg/store/filesystem/values.go @@ -7,7 +7,7 @@ import ( "path/filepath" "github.com/gofrs/uuid" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" ) // ListValues reads all values that match the given bundleId and accountUUID. diff --git a/settings/pkg/store/filesystem/values_test.go b/settings/pkg/store/filesystem/values_test.go index 8464cb690..f65a94574 100644 --- a/settings/pkg/store/filesystem/values_test.go +++ b/settings/pkg/store/filesystem/values_test.go @@ -4,7 +4,7 @@ import ( "testing" olog "github.com/owncloud/ocis/ocis-pkg/log" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" "github.com/stretchr/testify/assert" ) diff --git a/settings/pkg/util/resource_helper.go b/settings/pkg/util/resource_helper.go index 0554e7f9e..95818575c 100644 --- a/settings/pkg/util/resource_helper.go +++ b/settings/pkg/util/resource_helper.go @@ -1,7 +1,7 @@ package util import ( - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" ) const ( diff --git a/settings/pkg/util/resource_helper_test.go b/settings/pkg/util/resource_helper_test.go index 8530bdb70..8f864a78e 100644 --- a/settings/pkg/util/resource_helper_test.go +++ b/settings/pkg/util/resource_helper_test.go @@ -3,7 +3,7 @@ package util import ( "testing" - settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" + settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0" "gotest.tools/v3/assert" ) diff --git a/store/pkg/server/grpc/server.go b/store/pkg/server/grpc/server.go index 2e3cdcdb2..d17a40ea2 100644 --- a/store/pkg/server/grpc/server.go +++ b/store/pkg/server/grpc/server.go @@ -3,7 +3,7 @@ package grpc import ( "github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/version" - storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v1" + storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v0" svc "github.com/owncloud/ocis/store/pkg/service/v0" ) diff --git a/store/pkg/service/v0/service.go b/store/pkg/service/v0/service.go index bed2728da..2373d3b4a 100644 --- a/store/pkg/service/v0/service.go +++ b/store/pkg/service/v0/service.go @@ -10,8 +10,8 @@ import ( "github.com/blevesearch/bleve/v2" "github.com/blevesearch/bleve/v2/analysis/analyzer/keyword" "github.com/owncloud/ocis/ocis-pkg/log" - storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v1" - storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v1" + storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v0" + storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v0" "github.com/owncloud/ocis/store/pkg/config" merrors "go-micro.dev/v4/errors" "google.golang.org/protobuf/encoding/protojson" diff --git a/thumbnails/pkg/server/grpc/server.go b/thumbnails/pkg/server/grpc/server.go index 318c3dc4b..815154c7a 100644 --- a/thumbnails/pkg/server/grpc/server.go +++ b/thumbnails/pkg/server/grpc/server.go @@ -4,7 +4,7 @@ import ( "github.com/cs3org/reva/pkg/rgrpc/todo/pool" "github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/version" - thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v1" + thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v0" svc "github.com/owncloud/ocis/thumbnails/pkg/service/v0" "github.com/owncloud/ocis/thumbnails/pkg/thumbnail/imgsource" "github.com/owncloud/ocis/thumbnails/pkg/thumbnail/storage" diff --git a/thumbnails/pkg/service/v0/instrument.go b/thumbnails/pkg/service/v0/instrument.go index fb3b83410..9423349d8 100644 --- a/thumbnails/pkg/service/v0/instrument.go +++ b/thumbnails/pkg/service/v0/instrument.go @@ -3,7 +3,7 @@ package svc import ( "context" - thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v1" + thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v0" "github.com/owncloud/ocis/thumbnails/pkg/metrics" "github.com/prometheus/client_golang/prometheus" ) diff --git a/thumbnails/pkg/service/v0/logging.go b/thumbnails/pkg/service/v0/logging.go index eb04c263f..c4e845355 100644 --- a/thumbnails/pkg/service/v0/logging.go +++ b/thumbnails/pkg/service/v0/logging.go @@ -5,7 +5,7 @@ import ( "time" "github.com/owncloud/ocis/ocis-pkg/log" - thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v1" + thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v0" ) // NewLogging returns a service that logs messages. diff --git a/thumbnails/pkg/service/v0/service.go b/thumbnails/pkg/service/v0/service.go index 9e7de3192..5a99c6d7f 100644 --- a/thumbnails/pkg/service/v0/service.go +++ b/thumbnails/pkg/service/v0/service.go @@ -12,7 +12,7 @@ import ( provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" revactx "github.com/cs3org/reva/pkg/ctx" "github.com/owncloud/ocis/ocis-pkg/log" - thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v1" + thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v0" "github.com/owncloud/ocis/thumbnails/pkg/preprocessor" "github.com/owncloud/ocis/thumbnails/pkg/thumbnail" "github.com/owncloud/ocis/thumbnails/pkg/thumbnail/imgsource" diff --git a/thumbnails/pkg/service/v0/tracing.go b/thumbnails/pkg/service/v0/tracing.go index 25256aafb..fcd8cc449 100644 --- a/thumbnails/pkg/service/v0/tracing.go +++ b/thumbnails/pkg/service/v0/tracing.go @@ -5,7 +5,7 @@ import ( "go.opentelemetry.io/otel/trace" - thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v1" + thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v0" thumbnailsTracing "github.com/owncloud/ocis/thumbnails/pkg/tracing" "go.opentelemetry.io/otel/attribute" ) diff --git a/webdav/pkg/service/v0/service.go b/webdav/pkg/service/v0/service.go index e2477ad0c..2ab53bd48 100644 --- a/webdav/pkg/service/v0/service.go +++ b/webdav/pkg/service/v0/service.go @@ -19,8 +19,8 @@ import ( "github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/go-chi/chi/v5" - thumbnailsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/thumbnails/v1" - thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v1" + thumbnailsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/thumbnails/v0" + thumbnailssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/thumbnails/v0" "github.com/owncloud/ocis/webdav/pkg/config" "github.com/owncloud/ocis/webdav/pkg/dav/requests" )