Revert v1 to v0

This commit is contained in:
Juan Pablo Villafáñez
2022-01-31 12:17:56 +01:00
parent 8ab2034083
commit 7d8e334537
106 changed files with 1490 additions and 1490 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ package command
import ( import (
"fmt" "fmt"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
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/asim/go-micro/plugins/client/grpc/v4"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"os" "os"
"strconv" "strconv"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
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" "github.com/owncloud/ocis/accounts/pkg/flagset"
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"os" "os"
"strconv" "strconv"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
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" "github.com/owncloud/ocis/accounts/pkg/flagset"
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context" "context"
"fmt" "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/asim/go-micro/plugins/client/grpc/v4"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os" "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" "github.com/owncloud/ocis/accounts/pkg/flagset"
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"errors" "errors"
"fmt" "fmt"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
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" "github.com/owncloud/ocis/accounts/pkg/flagset"
+1 -1
View File
@@ -1,7 +1,7 @@
package flagset package flagset
import ( 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/accounts/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/flags" "github.com/owncloud/ocis/ocis-pkg/flags"
+1 -1
View File
@@ -1,7 +1,7 @@
package grpc package grpc
import ( 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/service/grpc"
"github.com/owncloud/ocis/ocis-pkg/version" "github.com/owncloud/ocis/ocis-pkg/version"
+1 -1
View File
@@ -1,7 +1,7 @@
package http package http
import ( 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" "github.com/go-chi/chi/v5"
chimiddleware "github.com/go-chi/chi/v5/middleware" chimiddleware "github.com/go-chi/chi/v5/middleware"
+3 -3
View File
@@ -16,8 +16,8 @@ import (
"go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/attribute"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/golang/protobuf/ptypes/empty" "github.com/golang/protobuf/ptypes/empty"
@@ -28,7 +28,7 @@ import (
"github.com/owncloud/ocis/ocis-pkg/middleware" "github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/roles" "github.com/owncloud/ocis/ocis-pkg/roles"
"github.com/owncloud/ocis/ocis-pkg/sync" "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" settings_svc "github.com/owncloud/ocis/settings/pkg/service/v0"
"github.com/rs/zerolog" "github.com/rs/zerolog"
merrors "go-micro.dev/v4/errors" merrors "go-micro.dev/v4/errors"
@@ -9,16 +9,16 @@ import (
"testing" "testing"
"time" "time"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0"
"github.com/golang/protobuf/ptypes/empty" "github.com/golang/protobuf/ptypes/empty"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
olog "github.com/owncloud/ocis/ocis-pkg/log" olog "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/middleware" "github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/roles" "github.com/owncloud/ocis/ocis-pkg/roles"
settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0"
settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0"
ssvc "github.com/owncloud/ocis/settings/pkg/service/v0" ssvc "github.com/owncloud/ocis/settings/pkg/service/v0"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"go-micro.dev/v4/client" "go-micro.dev/v4/client"
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"path" "path"
"strconv" "strconv"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/golang/protobuf/ptypes/empty" "github.com/golang/protobuf/ptypes/empty"
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"context" "context"
"fmt" "fmt"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
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/storage" "github.com/owncloud/ocis/accounts/pkg/storage"
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/roles" "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. // Option defines a single option function.
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/service/grpc"
olog "github.com/owncloud/ocis/ocis-pkg/log" 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"
settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0"
ssvc "github.com/owncloud/ocis/settings/pkg/service/v0" ssvc "github.com/owncloud/ocis/settings/pkg/service/v0"
) )
+2 -2
View File
@@ -8,7 +8,7 @@ import (
"strings" "strings"
"time" "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/pkg/errors"
"github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/service/grpc"
@@ -22,7 +22,7 @@ import (
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
oreg "github.com/owncloud/ocis/ocis-pkg/registry" oreg "github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/owncloud/ocis/ocis-pkg/roles" "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. // userDefaultGID is the default integer representing the "users" group.
+1 -1
View File
@@ -18,7 +18,7 @@ import (
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
olog "github.com/owncloud/ocis/ocis-pkg/log" olog "github.com/owncloud/ocis/ocis-pkg/log"
metadatastorage "github.com/owncloud/ocis/ocis-pkg/metadata_storage" 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" "google.golang.org/grpc/metadata"
) )
+1 -1
View File
@@ -4,7 +4,7 @@ package storage
//import ( //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"
// "github.com/owncloud/ocis/accounts/pkg/config" // "github.com/owncloud/ocis/accounts/pkg/config"
// "github.com/stretchr/testify/assert" // "github.com/stretchr/testify/assert"
// "testing" // "testing"
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"path/filepath" "path/filepath"
"sync" "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" "github.com/owncloud/ocis/accounts/pkg/config"
olog "github.com/owncloud/ocis/ocis-pkg/log" olog "github.com/owncloud/ocis/ocis-pkg/log"
+1 -1
View File
@@ -3,7 +3,7 @@ package storage
import ( 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"
) )
const ( const (
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context" "context"
"fmt" "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" glauthcfg "github.com/glauth/glauth/v2/pkg/config"
"github.com/oklog/run" "github.com/oklog/run"
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"strconv" "strconv"
"strings" "strings"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
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/glauth/glauth/v2/pkg/config"
"github.com/glauth/glauth/v2/pkg/handler" "github.com/glauth/glauth/v2/pkg/handler"
+1 -1
View File
@@ -3,7 +3,7 @@ package glauth
import ( import (
"context" "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/glauth/glauth/v2/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"github.com/owncloud/ocis/graph/pkg/service/v0/errorcode" "github.com/owncloud/ocis/graph/pkg/service/v0/errorcode"
"github.com/owncloud/ocis/graph/pkg/service/v0/net" "github.com/owncloud/ocis/graph/pkg/service/v0/net"
"github.com/owncloud/ocis/ocis-pkg/service/grpc" "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" settingsServiceExt "github.com/owncloud/ocis/settings/pkg/service/v0"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"
@@ -8,7 +8,7 @@ import (
"github.com/owncloud/ocis/ocis-pkg/indexer/option" "github.com/owncloud/ocis/ocis-pkg/indexer/option"
//. "github.com/owncloud/ocis/ocis-pkg/indexer/test" //. "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" "github.com/stretchr/testify/assert"
) )
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"time" "time"
"github.com/owncloud/ocis/ocis-pkg/sync" "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. // cache is a cache implementation for roles, keyed by roleIDs.
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"testing" "testing"
"time" "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" "github.com/stretchr/testify/assert"
) )
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"context" "context"
"github.com/owncloud/ocis/ocis-pkg/log" "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"
settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" 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. // Manager manages a cache of roles by fetching unknown roles from the settings.RoleService.
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"time" "time"
"github.com/owncloud/ocis/ocis-pkg/log" "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. // Options are all the possible options.
+4 -4
View File
@@ -27,10 +27,10 @@ import (
"github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/service/grpc"
"github.com/owncloud/ocis/ocs/pkg/config" "github.com/owncloud/ocis/ocs/pkg/config"
svc "github.com/owncloud/ocis/ocs/pkg/service/v0" svc "github.com/owncloud/ocis/ocs/pkg/service/v0"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0"
accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0"
settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0"
ssvc "github.com/owncloud/ocis/settings/pkg/service/v0" ssvc "github.com/owncloud/ocis/settings/pkg/service/v0"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"go-micro.dev/v4/client" "go-micro.dev/v4/client"
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"regexp" "regexp"
"strconv" "strconv"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0"
revactx "github.com/cs3org/reva/pkg/ctx" revactx "github.com/cs3org/reva/pkg/ctx"
"github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5"
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/roles" "github.com/owncloud/ocis/ocis-pkg/roles"
"github.com/owncloud/ocis/ocs/pkg/config" "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. // Option defines a single option function.
+2 -2
View File
@@ -11,7 +11,7 @@ import (
"github.com/go-chi/chi/v5/middleware" "github.com/go-chi/chi/v5/middleware"
"github.com/go-chi/render" "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/account"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
@@ -21,7 +21,7 @@ import (
ocsm "github.com/owncloud/ocis/ocs/pkg/middleware" 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/data"
"github.com/owncloud/ocis/ocs/pkg/service/v0/response" "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" "github.com/owncloud/ocis/proxy/pkg/user/backend"
) )
+4 -4
View File
@@ -10,11 +10,11 @@ import (
"strconv" "strconv"
"strings" "strings"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0"
storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v1" storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/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/asim/go-micro/plugins/client/grpc/v4" "github.com/asim/go-micro/plugins/client/grpc/v4"
revauser "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" revauser "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
@@ -2,9 +2,9 @@
// versions: // versions:
// protoc-gen-go v1.27.1 // protoc-gen-go v1.27.1
// protoc v3.17.3 // protoc v3.17.3
// source: ocis/messages/accounts/v1/accounts.proto // source: ocis/messages/accounts/v0/accounts.proto
package v1 package v0
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
@@ -129,7 +129,7 @@ type Account struct {
func (x *Account) Reset() { func (x *Account) Reset() {
*x = Account{} *x = Account{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -142,7 +142,7 @@ func (x *Account) String() string {
func (*Account) ProtoMessage() {} func (*Account) ProtoMessage() {}
func (x *Account) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -155,7 +155,7 @@ func (x *Account) ProtoReflect() protoreflect.Message {
// Deprecated: Use Account.ProtoReflect.Descriptor instead. // Deprecated: Use Account.ProtoReflect.Descriptor instead.
func (*Account) Descriptor() ([]byte, []int) { 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 { func (x *Account) GetId() string {
@@ -386,7 +386,7 @@ type Identities struct {
func (x *Identities) Reset() { func (x *Identities) Reset() {
*x = Identities{} *x = Identities{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -399,7 +399,7 @@ func (x *Identities) String() string {
func (*Identities) ProtoMessage() {} func (*Identities) ProtoMessage() {}
func (x *Identities) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -412,7 +412,7 @@ func (x *Identities) ProtoReflect() protoreflect.Message {
// Deprecated: Use Identities.ProtoReflect.Descriptor instead. // Deprecated: Use Identities.ProtoReflect.Descriptor instead.
func (*Identities) Descriptor() ([]byte, []int) { 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 { func (x *Identities) GetSignInType() string {
@@ -460,7 +460,7 @@ type PasswordProfile struct {
func (x *PasswordProfile) Reset() { func (x *PasswordProfile) Reset() {
*x = PasswordProfile{} *x = PasswordProfile{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -473,7 +473,7 @@ func (x *PasswordProfile) String() string {
func (*PasswordProfile) ProtoMessage() {} func (*PasswordProfile) ProtoMessage() {}
func (x *PasswordProfile) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -486,7 +486,7 @@ func (x *PasswordProfile) ProtoReflect() protoreflect.Message {
// Deprecated: Use PasswordProfile.ProtoReflect.Descriptor instead. // Deprecated: Use PasswordProfile.ProtoReflect.Descriptor instead.
func (*PasswordProfile) Descriptor() ([]byte, []int) { 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 { func (x *PasswordProfile) GetPassword() string {
@@ -599,7 +599,7 @@ type Group struct {
func (x *Group) Reset() { func (x *Group) Reset() {
*x = Group{} *x = Group{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -612,7 +612,7 @@ func (x *Group) String() string {
func (*Group) ProtoMessage() {} func (*Group) ProtoMessage() {}
func (x *Group) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -625,7 +625,7 @@ func (x *Group) ProtoReflect() protoreflect.Message {
// Deprecated: Use Group.ProtoReflect.Descriptor instead. // Deprecated: Use Group.ProtoReflect.Descriptor instead.
func (*Group) Descriptor() ([]byte, []int) { 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 { func (x *Group) GetId() string {
@@ -786,7 +786,7 @@ type OnPremisesProvisioningError struct {
func (x *OnPremisesProvisioningError) Reset() { func (x *OnPremisesProvisioningError) Reset() {
*x = OnPremisesProvisioningError{} *x = OnPremisesProvisioningError{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -799,7 +799,7 @@ func (x *OnPremisesProvisioningError) String() string {
func (*OnPremisesProvisioningError) ProtoMessage() {} func (*OnPremisesProvisioningError) ProtoMessage() {}
func (x *OnPremisesProvisioningError) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -812,7 +812,7 @@ func (x *OnPremisesProvisioningError) ProtoReflect() protoreflect.Message {
// Deprecated: Use OnPremisesProvisioningError.ProtoReflect.Descriptor instead. // Deprecated: Use OnPremisesProvisioningError.ProtoReflect.Descriptor instead.
func (*OnPremisesProvisioningError) Descriptor() ([]byte, []int) { 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 { func (x *OnPremisesProvisioningError) GetCategory() string {
@@ -843,14 +843,14 @@ func (x *OnPremisesProvisioningError) GetValue() string {
return "" 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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 ( var (
file_ocis_messages_accounts_v1_accounts_proto_rawDescOnce sync.Once file_ocis_messages_accounts_v0_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_rawDescData = file_ocis_messages_accounts_v0_accounts_proto_rawDesc
) )
func file_ocis_messages_accounts_v1_accounts_proto_rawDescGZIP() []byte { func file_ocis_messages_accounts_v0_accounts_proto_rawDescGZIP() []byte {
file_ocis_messages_accounts_v1_accounts_proto_rawDescOnce.Do(func() { file_ocis_messages_accounts_v0_accounts_proto_rawDescOnce.Do(func() {
file_ocis_messages_accounts_v1_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_accounts_v1_accounts_proto_rawDescData) 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_v0_accounts_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_ocis_messages_accounts_v1_accounts_proto_goTypes = []interface{}{ var file_ocis_messages_accounts_v0_accounts_proto_goTypes = []interface{}{
(*Account)(nil), // 0: ocis.messages.accounts.v1.Account (*Account)(nil), // 0: ocis.messages.accounts.v0.Account
(*Identities)(nil), // 1: ocis.messages.accounts.v1.Identities (*Identities)(nil), // 1: ocis.messages.accounts.v0.Identities
(*PasswordProfile)(nil), // 2: ocis.messages.accounts.v1.PasswordProfile (*PasswordProfile)(nil), // 2: ocis.messages.accounts.v0.PasswordProfile
(*Group)(nil), // 3: ocis.messages.accounts.v1.Group (*Group)(nil), // 3: ocis.messages.accounts.v0.Group
(*OnPremisesProvisioningError)(nil), // 4: ocis.messages.accounts.v1.OnPremisesProvisioningError (*OnPremisesProvisioningError)(nil), // 4: ocis.messages.accounts.v0.OnPremisesProvisioningError
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
} }
var file_ocis_messages_accounts_v1_accounts_proto_depIdxs = []int32{ var file_ocis_messages_accounts_v0_accounts_proto_depIdxs = []int32{
1, // 0: ocis.messages.accounts.v1.Account.identities:type_name -> ocis.messages.accounts.v1.Identities 1, // 0: ocis.messages.accounts.v0.Account.identities:type_name -> ocis.messages.accounts.v0.Identities
2, // 1: ocis.messages.accounts.v1.Account.password_profile:type_name -> ocis.messages.accounts.v1.PasswordProfile 2, // 1: ocis.messages.accounts.v0.Account.password_profile:type_name -> ocis.messages.accounts.v0.PasswordProfile
3, // 2: ocis.messages.accounts.v1.Account.memberOf:type_name -> ocis.messages.accounts.v1.Group 3, // 2: ocis.messages.accounts.v0.Account.memberOf:type_name -> ocis.messages.accounts.v0.Group
5, // 3: ocis.messages.accounts.v1.Account.created_date_time:type_name -> google.protobuf.Timestamp 5, // 3: ocis.messages.accounts.v0.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, // 4: ocis.messages.accounts.v0.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 5, // 5: ocis.messages.accounts.v0.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 4, // 6: ocis.messages.accounts.v0.Account.on_premises_provisioning_errors:type_name -> ocis.messages.accounts.v0.OnPremisesProvisioningError
5, // 7: ocis.messages.accounts.v1.Account.external_user_state_change_date_time:type_name -> google.protobuf.Timestamp 5, // 7: ocis.messages.accounts.v0.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, // 8: ocis.messages.accounts.v0.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, // 9: ocis.messages.accounts.v0.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 5, // 10: ocis.messages.accounts.v0.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, // 11: ocis.messages.accounts.v0.Group.members:type_name -> ocis.messages.accounts.v0.Account
0, // 12: ocis.messages.accounts.v1.Group.owners:type_name -> ocis.messages.accounts.v1.Account 0, // 12: ocis.messages.accounts.v0.Group.owners:type_name -> ocis.messages.accounts.v0.Account
5, // 13: ocis.messages.accounts.v1.Group.created_date_time:type_name -> google.protobuf.Timestamp 5, // 13: ocis.messages.accounts.v0.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, // 14: ocis.messages.accounts.v0.Group.deleted_date_time:type_name -> google.protobuf.Timestamp
5, // 15: ocis.messages.accounts.v1.Group.expiration_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.v1.Group.on_premises_provisioning_errors:type_name -> ocis.messages.accounts.v1.OnPremisesProvisioningError 4, // 16: ocis.messages.accounts.v0.Group.on_premises_provisioning_errors:type_name -> ocis.messages.accounts.v0.OnPremisesProvisioningError
5, // 17: ocis.messages.accounts.v1.OnPremisesProvisioningError.occurred_date_time:type_name -> google.protobuf.Timestamp 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 output_type
18, // [18:18] is the sub-list for method input_type 18, // [18:18] is the sub-list for method input_type
18, // [18:18] is the sub-list for extension type_name 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 0, // [0:18] is the sub-list for field type_name
} }
func init() { file_ocis_messages_accounts_v1_accounts_proto_init() } func init() { file_ocis_messages_accounts_v0_accounts_proto_init() }
func file_ocis_messages_accounts_v1_accounts_proto_init() { func file_ocis_messages_accounts_v0_accounts_proto_init() {
if File_ocis_messages_accounts_v1_accounts_proto != nil { if File_ocis_messages_accounts_v0_accounts_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled { 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 { switch v := v.(*Account); i {
case 0: case 0:
return &v.state return &v.state
@@ -1150,7 +1150,7 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() {
return nil 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 { switch v := v.(*Identities); i {
case 0: case 0:
return &v.state return &v.state
@@ -1162,7 +1162,7 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() {
return nil 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 { switch v := v.(*PasswordProfile); i {
case 0: case 0:
return &v.state return &v.state
@@ -1174,7 +1174,7 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() {
return nil 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 { switch v := v.(*Group); i {
case 0: case 0:
return &v.state return &v.state
@@ -1186,7 +1186,7 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() {
return nil 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 { switch v := v.(*OnPremisesProvisioningError); i {
case 0: case 0:
return &v.state return &v.state
@@ -1203,18 +1203,18 @@ func file_ocis_messages_accounts_v1_accounts_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 5, NumMessages: 5,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },
GoTypes: file_ocis_messages_accounts_v1_accounts_proto_goTypes, GoTypes: file_ocis_messages_accounts_v0_accounts_proto_goTypes,
DependencyIndexes: file_ocis_messages_accounts_v1_accounts_proto_depIdxs, DependencyIndexes: file_ocis_messages_accounts_v0_accounts_proto_depIdxs,
MessageInfos: file_ocis_messages_accounts_v1_accounts_proto_msgTypes, MessageInfos: file_ocis_messages_accounts_v0_accounts_proto_msgTypes,
}.Build() }.Build()
File_ocis_messages_accounts_v1_accounts_proto = out.File File_ocis_messages_accounts_v0_accounts_proto = out.File
file_ocis_messages_accounts_v1_accounts_proto_rawDesc = nil file_ocis_messages_accounts_v0_accounts_proto_rawDesc = nil
file_ocis_messages_accounts_v1_accounts_proto_goTypes = nil file_ocis_messages_accounts_v0_accounts_proto_goTypes = nil
file_ocis_messages_accounts_v1_accounts_proto_depIdxs = nil file_ocis_messages_accounts_v0_accounts_proto_depIdxs = nil
} }
@@ -1,7 +1,7 @@
// Code generated by protoc-gen-micro. DO NOT EDIT. // 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 ( import (
fmt "fmt" fmt "fmt"
@@ -1,7 +1,7 @@
// Code generated by protoc-gen-microweb. DO NOT EDIT. // Code generated by protoc-gen-microweb. DO NOT EDIT.
// source: v1.proto // source: v0.proto
package v1 package v0
import ( import (
"bytes" "bytes"
@@ -1,7 +1,7 @@
{ {
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"title": "ocis/messages/accounts/v1/accounts.proto", "title": "ocis/messages/accounts/v0/accounts.proto",
"version": "version not set" "version": "version not set"
}, },
"consumes": [ "consumes": [
@@ -2,9 +2,9 @@
// versions: // versions:
// protoc-gen-go v1.27.1 // protoc-gen-go v1.27.1
// protoc v3.17.3 // protoc v3.17.3
// source: ocis/messages/settings/v1/settings.proto // source: ocis/messages/settings/v0/settings.proto
package v1 package v0
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
@@ -68,11 +68,11 @@ func (x Resource_Type) String() string {
} }
func (Resource_Type) Descriptor() protoreflect.EnumDescriptor { 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 { 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 { func (x Resource_Type) Number() protoreflect.EnumNumber {
@@ -81,7 +81,7 @@ func (x Resource_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use Resource_Type.Descriptor instead. // Deprecated: Use Resource_Type.Descriptor instead.
func (Resource_Type) EnumDescriptor() ([]byte, []int) { 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 type Bundle_Type int32
@@ -117,11 +117,11 @@ func (x Bundle_Type) String() string {
} }
func (Bundle_Type) Descriptor() protoreflect.EnumDescriptor { 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 { 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 { func (x Bundle_Type) Number() protoreflect.EnumNumber {
@@ -130,7 +130,7 @@ func (x Bundle_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use Bundle_Type.Descriptor instead. // Deprecated: Use Bundle_Type.Descriptor instead.
func (Bundle_Type) EnumDescriptor() ([]byte, []int) { 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 type Permission_Operation int32
@@ -178,11 +178,11 @@ func (x Permission_Operation) String() string {
} }
func (Permission_Operation) Descriptor() protoreflect.EnumDescriptor { 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 { 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 { func (x Permission_Operation) Number() protoreflect.EnumNumber {
@@ -191,7 +191,7 @@ func (x Permission_Operation) Number() protoreflect.EnumNumber {
// Deprecated: Use Permission_Operation.Descriptor instead. // Deprecated: Use Permission_Operation.Descriptor instead.
func (Permission_Operation) EnumDescriptor() ([]byte, []int) { 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 type Permission_Constraint int32
@@ -230,11 +230,11 @@ func (x Permission_Constraint) String() string {
} }
func (Permission_Constraint) Descriptor() protoreflect.EnumDescriptor { 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 { 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 { func (x Permission_Constraint) Number() protoreflect.EnumNumber {
@@ -243,7 +243,7 @@ func (x Permission_Constraint) Number() protoreflect.EnumNumber {
// Deprecated: Use Permission_Constraint.Descriptor instead. // Deprecated: Use Permission_Constraint.Descriptor instead.
func (Permission_Constraint) EnumDescriptor() ([]byte, []int) { 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 { type ValueWithIdentifier struct {
@@ -258,7 +258,7 @@ type ValueWithIdentifier struct {
func (x *ValueWithIdentifier) Reset() { func (x *ValueWithIdentifier) Reset() {
*x = ValueWithIdentifier{} *x = ValueWithIdentifier{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -271,7 +271,7 @@ func (x *ValueWithIdentifier) String() string {
func (*ValueWithIdentifier) ProtoMessage() {} func (*ValueWithIdentifier) ProtoMessage() {}
func (x *ValueWithIdentifier) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -284,7 +284,7 @@ func (x *ValueWithIdentifier) ProtoReflect() protoreflect.Message {
// Deprecated: Use ValueWithIdentifier.ProtoReflect.Descriptor instead. // Deprecated: Use ValueWithIdentifier.ProtoReflect.Descriptor instead.
func (*ValueWithIdentifier) Descriptor() ([]byte, []int) { 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 { func (x *ValueWithIdentifier) GetIdentifier() *Identifier {
@@ -314,7 +314,7 @@ type Identifier struct {
func (x *Identifier) Reset() { func (x *Identifier) Reset() {
*x = Identifier{} *x = Identifier{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -327,7 +327,7 @@ func (x *Identifier) String() string {
func (*Identifier) ProtoMessage() {} func (*Identifier) ProtoMessage() {}
func (x *Identifier) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -340,7 +340,7 @@ func (x *Identifier) ProtoReflect() protoreflect.Message {
// Deprecated: Use Identifier.ProtoReflect.Descriptor instead. // Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) Descriptor() ([]byte, []int) { 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 { func (x *Identifier) GetExtension() string {
@@ -379,7 +379,7 @@ type UserRoleAssignment struct {
func (x *UserRoleAssignment) Reset() { func (x *UserRoleAssignment) Reset() {
*x = UserRoleAssignment{} *x = UserRoleAssignment{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -392,7 +392,7 @@ func (x *UserRoleAssignment) String() string {
func (*UserRoleAssignment) ProtoMessage() {} func (*UserRoleAssignment) ProtoMessage() {}
func (x *UserRoleAssignment) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -405,7 +405,7 @@ func (x *UserRoleAssignment) ProtoReflect() protoreflect.Message {
// Deprecated: Use UserRoleAssignment.ProtoReflect.Descriptor instead. // Deprecated: Use UserRoleAssignment.ProtoReflect.Descriptor instead.
func (*UserRoleAssignment) Descriptor() ([]byte, []int) { 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 { func (x *UserRoleAssignment) GetId() string {
@@ -434,14 +434,14 @@ type Resource struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields 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"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
} }
func (x *Resource) Reset() { func (x *Resource) Reset() {
*x = Resource{} *x = Resource{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -454,7 +454,7 @@ func (x *Resource) String() string {
func (*Resource) ProtoMessage() {} func (*Resource) ProtoMessage() {}
func (x *Resource) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -467,7 +467,7 @@ func (x *Resource) ProtoReflect() protoreflect.Message {
// Deprecated: Use Resource.ProtoReflect.Descriptor instead. // Deprecated: Use Resource.ProtoReflect.Descriptor instead.
func (*Resource) Descriptor() ([]byte, []int) { 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 { 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"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,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"` 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"` 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"` Settings []*Setting `protobuf:"bytes,6,rep,name=settings,proto3" json:"settings,omitempty"`
@@ -501,7 +501,7 @@ type Bundle struct {
func (x *Bundle) Reset() { func (x *Bundle) Reset() {
*x = Bundle{} *x = Bundle{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -514,7 +514,7 @@ func (x *Bundle) String() string {
func (*Bundle) ProtoMessage() {} func (*Bundle) ProtoMessage() {}
func (x *Bundle) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -527,7 +527,7 @@ func (x *Bundle) ProtoReflect() protoreflect.Message {
// Deprecated: Use Bundle.ProtoReflect.Descriptor instead. // Deprecated: Use Bundle.ProtoReflect.Descriptor instead.
func (*Bundle) Descriptor() ([]byte, []int) { 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 { func (x *Bundle) GetId() string {
@@ -602,7 +602,7 @@ type Setting struct {
func (x *Setting) Reset() { func (x *Setting) Reset() {
*x = Setting{} *x = Setting{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -615,7 +615,7 @@ func (x *Setting) String() string {
func (*Setting) ProtoMessage() {} func (*Setting) ProtoMessage() {}
func (x *Setting) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -628,7 +628,7 @@ func (x *Setting) ProtoReflect() protoreflect.Message {
// Deprecated: Use Setting.ProtoReflect.Descriptor instead. // Deprecated: Use Setting.ProtoReflect.Descriptor instead.
func (*Setting) Descriptor() ([]byte, []int) { 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 { func (x *Setting) GetId() string {
@@ -770,7 +770,7 @@ type Int struct {
func (x *Int) Reset() { func (x *Int) Reset() {
*x = Int{} *x = Int{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -783,7 +783,7 @@ func (x *Int) String() string {
func (*Int) ProtoMessage() {} func (*Int) ProtoMessage() {}
func (x *Int) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -796,7 +796,7 @@ func (x *Int) ProtoReflect() protoreflect.Message {
// Deprecated: Use Int.ProtoReflect.Descriptor instead. // Deprecated: Use Int.ProtoReflect.Descriptor instead.
func (*Int) Descriptor() ([]byte, []int) { 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 { func (x *Int) GetDefault() int64 {
@@ -849,7 +849,7 @@ type String struct {
func (x *String) Reset() { func (x *String) Reset() {
*x = String{} *x = String{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -862,7 +862,7 @@ func (x *String) String() string {
func (*String) ProtoMessage() {} func (*String) ProtoMessage() {}
func (x *String) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -875,7 +875,7 @@ func (x *String) ProtoReflect() protoreflect.Message {
// Deprecated: Use String.ProtoReflect.Descriptor instead. // Deprecated: Use String.ProtoReflect.Descriptor instead.
func (*String) Descriptor() ([]byte, []int) { 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 { func (x *String) GetDefault() string {
@@ -925,7 +925,7 @@ type Bool struct {
func (x *Bool) Reset() { func (x *Bool) Reset() {
*x = Bool{} *x = Bool{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -938,7 +938,7 @@ func (x *Bool) String() string {
func (*Bool) ProtoMessage() {} func (*Bool) ProtoMessage() {}
func (x *Bool) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -951,7 +951,7 @@ func (x *Bool) ProtoReflect() protoreflect.Message {
// Deprecated: Use Bool.ProtoReflect.Descriptor instead. // Deprecated: Use Bool.ProtoReflect.Descriptor instead.
func (*Bool) Descriptor() ([]byte, []int) { 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 { func (x *Bool) GetDefault() bool {
@@ -979,7 +979,7 @@ type SingleChoiceList struct {
func (x *SingleChoiceList) Reset() { func (x *SingleChoiceList) Reset() {
*x = SingleChoiceList{} *x = SingleChoiceList{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -992,7 +992,7 @@ func (x *SingleChoiceList) String() string {
func (*SingleChoiceList) ProtoMessage() {} func (*SingleChoiceList) ProtoMessage() {}
func (x *SingleChoiceList) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1005,7 +1005,7 @@ func (x *SingleChoiceList) ProtoReflect() protoreflect.Message {
// Deprecated: Use SingleChoiceList.ProtoReflect.Descriptor instead. // Deprecated: Use SingleChoiceList.ProtoReflect.Descriptor instead.
func (*SingleChoiceList) Descriptor() ([]byte, []int) { 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 { func (x *SingleChoiceList) GetOptions() []*ListOption {
@@ -1026,7 +1026,7 @@ type MultiChoiceList struct {
func (x *MultiChoiceList) Reset() { func (x *MultiChoiceList) Reset() {
*x = MultiChoiceList{} *x = MultiChoiceList{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1039,7 +1039,7 @@ func (x *MultiChoiceList) String() string {
func (*MultiChoiceList) ProtoMessage() {} func (*MultiChoiceList) ProtoMessage() {}
func (x *MultiChoiceList) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1052,7 +1052,7 @@ func (x *MultiChoiceList) ProtoReflect() protoreflect.Message {
// Deprecated: Use MultiChoiceList.ProtoReflect.Descriptor instead. // Deprecated: Use MultiChoiceList.ProtoReflect.Descriptor instead.
func (*MultiChoiceList) Descriptor() ([]byte, []int) { 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 { func (x *MultiChoiceList) GetOptions() []*ListOption {
@@ -1075,7 +1075,7 @@ type ListOption struct {
func (x *ListOption) Reset() { func (x *ListOption) Reset() {
*x = ListOption{} *x = ListOption{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1088,7 +1088,7 @@ func (x *ListOption) String() string {
func (*ListOption) ProtoMessage() {} func (*ListOption) ProtoMessage() {}
func (x *ListOption) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1101,7 +1101,7 @@ func (x *ListOption) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListOption.ProtoReflect.Descriptor instead. // Deprecated: Use ListOption.ProtoReflect.Descriptor instead.
func (*ListOption) Descriptor() ([]byte, []int) { 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 { func (x *ListOption) GetValue() *ListOptionValue {
@@ -1130,14 +1130,14 @@ type Permission struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Operation Permission_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=ocis.messages.settings.v1.Permission_Operation" json:"operation,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.v1.Permission_Constraint" json:"constraint,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() { func (x *Permission) Reset() {
*x = Permission{} *x = Permission{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1150,7 +1150,7 @@ func (x *Permission) String() string {
func (*Permission) ProtoMessage() {} func (*Permission) ProtoMessage() {}
func (x *Permission) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1163,7 +1163,7 @@ func (x *Permission) ProtoReflect() protoreflect.Message {
// Deprecated: Use Permission.ProtoReflect.Descriptor instead. // Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) Descriptor() ([]byte, []int) { 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 { func (x *Permission) GetOperation() Permission_Operation {
@@ -1203,7 +1203,7 @@ type Value struct {
func (x *Value) Reset() { func (x *Value) Reset() {
*x = Value{} *x = Value{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1216,7 +1216,7 @@ func (x *Value) String() string {
func (*Value) ProtoMessage() {} func (*Value) ProtoMessage() {}
func (x *Value) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1229,7 +1229,7 @@ func (x *Value) ProtoReflect() protoreflect.Message {
// Deprecated: Use Value.ProtoReflect.Descriptor instead. // Deprecated: Use Value.ProtoReflect.Descriptor instead.
func (*Value) Descriptor() ([]byte, []int) { 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 { func (x *Value) GetId() string {
@@ -1341,7 +1341,7 @@ type ListValue struct {
func (x *ListValue) Reset() { func (x *ListValue) Reset() {
*x = ListValue{} *x = ListValue{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1354,7 +1354,7 @@ func (x *ListValue) String() string {
func (*ListValue) ProtoMessage() {} func (*ListValue) ProtoMessage() {}
func (x *ListValue) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1367,7 +1367,7 @@ func (x *ListValue) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListValue.ProtoReflect.Descriptor instead. // Deprecated: Use ListValue.ProtoReflect.Descriptor instead.
func (*ListValue) Descriptor() ([]byte, []int) { 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 { func (x *ListValue) GetValues() []*ListOptionValue {
@@ -1391,7 +1391,7 @@ type ListOptionValue struct {
func (x *ListOptionValue) Reset() { func (x *ListOptionValue) Reset() {
*x = ListOptionValue{} *x = ListOptionValue{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1404,7 +1404,7 @@ func (x *ListOptionValue) String() string {
func (*ListOptionValue) ProtoMessage() {} func (*ListOptionValue) ProtoMessage() {}
func (x *ListOptionValue) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1417,7 +1417,7 @@ func (x *ListOptionValue) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListOptionValue.ProtoReflect.Descriptor instead. // Deprecated: Use ListOptionValue.ProtoReflect.Descriptor instead.
func (*ListOptionValue) Descriptor() ([]byte, []int) { 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 { func (m *ListOptionValue) GetOption() isListOptionValue_Option {
@@ -1457,22 +1457,22 @@ func (*ListOptionValue_StringValue) isListOptionValue_Option() {}
func (*ListOptionValue_IntValue) 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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 ( var (
file_ocis_messages_settings_v1_settings_proto_rawDescOnce sync.Once file_ocis_messages_settings_v0_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_rawDescData = file_ocis_messages_settings_v0_settings_proto_rawDesc
) )
func file_ocis_messages_settings_v1_settings_proto_rawDescGZIP() []byte { func file_ocis_messages_settings_v0_settings_proto_rawDescGZIP() []byte {
file_ocis_messages_settings_v1_settings_proto_rawDescOnce.Do(func() { file_ocis_messages_settings_v0_settings_proto_rawDescOnce.Do(func() {
file_ocis_messages_settings_v1_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_settings_v1_settings_proto_rawDescData) 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_v0_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_v0_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_ocis_messages_settings_v1_settings_proto_goTypes = []interface{}{ var file_ocis_messages_settings_v0_settings_proto_goTypes = []interface{}{
(Resource_Type)(0), // 0: ocis.messages.settings.v1.Resource.Type (Resource_Type)(0), // 0: ocis.messages.settings.v0.Resource.Type
(Bundle_Type)(0), // 1: ocis.messages.settings.v1.Bundle.Type (Bundle_Type)(0), // 1: ocis.messages.settings.v0.Bundle.Type
(Permission_Operation)(0), // 2: ocis.messages.settings.v1.Permission.Operation (Permission_Operation)(0), // 2: ocis.messages.settings.v0.Permission.Operation
(Permission_Constraint)(0), // 3: ocis.messages.settings.v1.Permission.Constraint (Permission_Constraint)(0), // 3: ocis.messages.settings.v0.Permission.Constraint
(*ValueWithIdentifier)(nil), // 4: ocis.messages.settings.v1.ValueWithIdentifier (*ValueWithIdentifier)(nil), // 4: ocis.messages.settings.v0.ValueWithIdentifier
(*Identifier)(nil), // 5: ocis.messages.settings.v1.Identifier (*Identifier)(nil), // 5: ocis.messages.settings.v0.Identifier
(*UserRoleAssignment)(nil), // 6: ocis.messages.settings.v1.UserRoleAssignment (*UserRoleAssignment)(nil), // 6: ocis.messages.settings.v0.UserRoleAssignment
(*Resource)(nil), // 7: ocis.messages.settings.v1.Resource (*Resource)(nil), // 7: ocis.messages.settings.v0.Resource
(*Bundle)(nil), // 8: ocis.messages.settings.v1.Bundle (*Bundle)(nil), // 8: ocis.messages.settings.v0.Bundle
(*Setting)(nil), // 9: ocis.messages.settings.v1.Setting (*Setting)(nil), // 9: ocis.messages.settings.v0.Setting
(*Int)(nil), // 10: ocis.messages.settings.v1.Int (*Int)(nil), // 10: ocis.messages.settings.v0.Int
(*String)(nil), // 11: ocis.messages.settings.v1.String (*String)(nil), // 11: ocis.messages.settings.v0.String
(*Bool)(nil), // 12: ocis.messages.settings.v1.Bool (*Bool)(nil), // 12: ocis.messages.settings.v0.Bool
(*SingleChoiceList)(nil), // 13: ocis.messages.settings.v1.SingleChoiceList (*SingleChoiceList)(nil), // 13: ocis.messages.settings.v0.SingleChoiceList
(*MultiChoiceList)(nil), // 14: ocis.messages.settings.v1.MultiChoiceList (*MultiChoiceList)(nil), // 14: ocis.messages.settings.v0.MultiChoiceList
(*ListOption)(nil), // 15: ocis.messages.settings.v1.ListOption (*ListOption)(nil), // 15: ocis.messages.settings.v0.ListOption
(*Permission)(nil), // 16: ocis.messages.settings.v1.Permission (*Permission)(nil), // 16: ocis.messages.settings.v0.Permission
(*Value)(nil), // 17: ocis.messages.settings.v1.Value (*Value)(nil), // 17: ocis.messages.settings.v0.Value
(*ListValue)(nil), // 18: ocis.messages.settings.v1.ListValue (*ListValue)(nil), // 18: ocis.messages.settings.v0.ListValue
(*ListOptionValue)(nil), // 19: ocis.messages.settings.v1.ListOptionValue (*ListOptionValue)(nil), // 19: ocis.messages.settings.v0.ListOptionValue
} }
var file_ocis_messages_settings_v1_settings_proto_depIdxs = []int32{ var file_ocis_messages_settings_v0_settings_proto_depIdxs = []int32{
5, // 0: ocis.messages.settings.v1.ValueWithIdentifier.identifier:type_name -> ocis.messages.settings.v1.Identifier 5, // 0: ocis.messages.settings.v0.ValueWithIdentifier.identifier:type_name -> ocis.messages.settings.v0.Identifier
17, // 1: ocis.messages.settings.v1.ValueWithIdentifier.value:type_name -> ocis.messages.settings.v1.Value 17, // 1: ocis.messages.settings.v0.ValueWithIdentifier.value:type_name -> ocis.messages.settings.v0.Value
0, // 2: ocis.messages.settings.v1.Resource.type:type_name -> ocis.messages.settings.v1.Resource.Type 0, // 2: ocis.messages.settings.v0.Resource.type:type_name -> ocis.messages.settings.v0.Resource.Type
1, // 3: ocis.messages.settings.v1.Bundle.type:type_name -> ocis.messages.settings.v1.Bundle.Type 1, // 3: ocis.messages.settings.v0.Bundle.type:type_name -> ocis.messages.settings.v0.Bundle.Type
9, // 4: ocis.messages.settings.v1.Bundle.settings:type_name -> ocis.messages.settings.v1.Setting 9, // 4: ocis.messages.settings.v0.Bundle.settings:type_name -> ocis.messages.settings.v0.Setting
7, // 5: ocis.messages.settings.v1.Bundle.resource:type_name -> ocis.messages.settings.v1.Resource 7, // 5: ocis.messages.settings.v0.Bundle.resource:type_name -> ocis.messages.settings.v0.Resource
10, // 6: ocis.messages.settings.v1.Setting.int_value:type_name -> ocis.messages.settings.v1.Int 10, // 6: ocis.messages.settings.v0.Setting.int_value:type_name -> ocis.messages.settings.v0.Int
11, // 7: ocis.messages.settings.v1.Setting.string_value:type_name -> ocis.messages.settings.v1.String 11, // 7: ocis.messages.settings.v0.Setting.string_value:type_name -> ocis.messages.settings.v0.String
12, // 8: ocis.messages.settings.v1.Setting.bool_value:type_name -> ocis.messages.settings.v1.Bool 12, // 8: ocis.messages.settings.v0.Setting.bool_value:type_name -> ocis.messages.settings.v0.Bool
13, // 9: ocis.messages.settings.v1.Setting.single_choice_value:type_name -> ocis.messages.settings.v1.SingleChoiceList 13, // 9: ocis.messages.settings.v0.Setting.single_choice_value:type_name -> ocis.messages.settings.v0.SingleChoiceList
14, // 10: ocis.messages.settings.v1.Setting.multi_choice_value:type_name -> ocis.messages.settings.v1.MultiChoiceList 14, // 10: ocis.messages.settings.v0.Setting.multi_choice_value:type_name -> ocis.messages.settings.v0.MultiChoiceList
16, // 11: ocis.messages.settings.v1.Setting.permission_value:type_name -> ocis.messages.settings.v1.Permission 16, // 11: ocis.messages.settings.v0.Setting.permission_value:type_name -> ocis.messages.settings.v0.Permission
7, // 12: ocis.messages.settings.v1.Setting.resource:type_name -> ocis.messages.settings.v1.Resource 7, // 12: ocis.messages.settings.v0.Setting.resource:type_name -> ocis.messages.settings.v0.Resource
15, // 13: ocis.messages.settings.v1.SingleChoiceList.options:type_name -> ocis.messages.settings.v1.ListOption 15, // 13: ocis.messages.settings.v0.SingleChoiceList.options:type_name -> ocis.messages.settings.v0.ListOption
15, // 14: ocis.messages.settings.v1.MultiChoiceList.options:type_name -> ocis.messages.settings.v1.ListOption 15, // 14: ocis.messages.settings.v0.MultiChoiceList.options:type_name -> ocis.messages.settings.v0.ListOption
19, // 15: ocis.messages.settings.v1.ListOption.value:type_name -> ocis.messages.settings.v1.ListOptionValue 19, // 15: ocis.messages.settings.v0.ListOption.value:type_name -> ocis.messages.settings.v0.ListOptionValue
2, // 16: ocis.messages.settings.v1.Permission.operation:type_name -> ocis.messages.settings.v1.Permission.Operation 2, // 16: ocis.messages.settings.v0.Permission.operation:type_name -> ocis.messages.settings.v0.Permission.Operation
3, // 17: ocis.messages.settings.v1.Permission.constraint:type_name -> ocis.messages.settings.v1.Permission.Constraint 3, // 17: ocis.messages.settings.v0.Permission.constraint:type_name -> ocis.messages.settings.v0.Permission.Constraint
7, // 18: ocis.messages.settings.v1.Value.resource:type_name -> ocis.messages.settings.v1.Resource 7, // 18: ocis.messages.settings.v0.Value.resource:type_name -> ocis.messages.settings.v0.Resource
18, // 19: ocis.messages.settings.v1.Value.list_value:type_name -> ocis.messages.settings.v1.ListValue 18, // 19: ocis.messages.settings.v0.Value.list_value:type_name -> ocis.messages.settings.v0.ListValue
19, // 20: ocis.messages.settings.v1.ListValue.values:type_name -> ocis.messages.settings.v1.ListOptionValue 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 output_type
21, // [21:21] is the sub-list for method input_type 21, // [21:21] is the sub-list for method input_type
21, // [21:21] is the sub-list for extension type_name 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 0, // [0:21] is the sub-list for field type_name
} }
func init() { file_ocis_messages_settings_v1_settings_proto_init() } func init() { file_ocis_messages_settings_v0_settings_proto_init() }
func file_ocis_messages_settings_v1_settings_proto_init() { func file_ocis_messages_settings_v0_settings_proto_init() {
if File_ocis_messages_settings_v1_settings_proto != nil { if File_ocis_messages_settings_v0_settings_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled { 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 { switch v := v.(*ValueWithIdentifier); i {
case 0: case 0:
return &v.state return &v.state
@@ -1757,7 +1757,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*Identifier); i {
case 0: case 0:
return &v.state return &v.state
@@ -1769,7 +1769,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*UserRoleAssignment); i {
case 0: case 0:
return &v.state return &v.state
@@ -1781,7 +1781,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*Resource); i {
case 0: case 0:
return &v.state return &v.state
@@ -1793,7 +1793,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*Bundle); i {
case 0: case 0:
return &v.state return &v.state
@@ -1805,7 +1805,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*Setting); i {
case 0: case 0:
return &v.state return &v.state
@@ -1817,7 +1817,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*Int); i {
case 0: case 0:
return &v.state return &v.state
@@ -1829,7 +1829,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*String); i {
case 0: case 0:
return &v.state return &v.state
@@ -1841,7 +1841,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*Bool); i {
case 0: case 0:
return &v.state return &v.state
@@ -1853,7 +1853,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*SingleChoiceList); i {
case 0: case 0:
return &v.state return &v.state
@@ -1865,7 +1865,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*MultiChoiceList); i {
case 0: case 0:
return &v.state return &v.state
@@ -1877,7 +1877,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*ListOption); i {
case 0: case 0:
return &v.state return &v.state
@@ -1889,7 +1889,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*Permission); i {
case 0: case 0:
return &v.state return &v.state
@@ -1901,7 +1901,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*Value); i {
case 0: case 0:
return &v.state return &v.state
@@ -1913,7 +1913,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*ListValue); i {
case 0: case 0:
return &v.state return &v.state
@@ -1925,7 +1925,7 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
return nil 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 { switch v := v.(*ListOptionValue); i {
case 0: case 0:
return &v.state 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_IntValue)(nil),
(*Setting_StringValue)(nil), (*Setting_StringValue)(nil),
(*Setting_BoolValue)(nil), (*Setting_BoolValue)(nil),
@@ -1946,13 +1946,13 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
(*Setting_MultiChoiceValue)(nil), (*Setting_MultiChoiceValue)(nil),
(*Setting_PermissionValue)(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_BoolValue)(nil),
(*Value_IntValue)(nil), (*Value_IntValue)(nil),
(*Value_StringValue)(nil), (*Value_StringValue)(nil),
(*Value_ListValue)(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_StringValue)(nil),
(*ListOptionValue_IntValue)(nil), (*ListOptionValue_IntValue)(nil),
} }
@@ -1960,19 +1960,19 @@ func file_ocis_messages_settings_v1_settings_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 4,
NumMessages: 16, NumMessages: 16,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },
GoTypes: file_ocis_messages_settings_v1_settings_proto_goTypes, GoTypes: file_ocis_messages_settings_v0_settings_proto_goTypes,
DependencyIndexes: file_ocis_messages_settings_v1_settings_proto_depIdxs, DependencyIndexes: file_ocis_messages_settings_v0_settings_proto_depIdxs,
EnumInfos: file_ocis_messages_settings_v1_settings_proto_enumTypes, EnumInfos: file_ocis_messages_settings_v0_settings_proto_enumTypes,
MessageInfos: file_ocis_messages_settings_v1_settings_proto_msgTypes, MessageInfos: file_ocis_messages_settings_v0_settings_proto_msgTypes,
}.Build() }.Build()
File_ocis_messages_settings_v1_settings_proto = out.File File_ocis_messages_settings_v0_settings_proto = out.File
file_ocis_messages_settings_v1_settings_proto_rawDesc = nil file_ocis_messages_settings_v0_settings_proto_rawDesc = nil
file_ocis_messages_settings_v1_settings_proto_goTypes = nil file_ocis_messages_settings_v0_settings_proto_goTypes = nil
file_ocis_messages_settings_v1_settings_proto_depIdxs = nil file_ocis_messages_settings_v0_settings_proto_depIdxs = nil
} }
@@ -1,7 +1,7 @@
// Code generated by protoc-gen-micro. DO NOT EDIT. // 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 ( import (
fmt "fmt" fmt "fmt"
@@ -1,7 +1,7 @@
// Code generated by protoc-gen-microweb. DO NOT EDIT. // Code generated by protoc-gen-microweb. DO NOT EDIT.
// source: v1.proto // source: v0.proto
package v1 package v0
import ( import (
"bytes" "bytes"
@@ -1,7 +1,7 @@
{ {
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"title": "ocis/messages/settings/v1/settings.proto", "title": "ocis/messages/settings/v0/settings.proto",
"version": "version not set" "version": "version not set"
}, },
"consumes": [ "consumes": [
@@ -2,9 +2,9 @@
// versions: // versions:
// protoc-gen-go v1.27.1 // protoc-gen-go v1.27.1
// protoc v3.17.3 // protoc v3.17.3
// source: ocis/messages/store/v1/store.proto // source: ocis/messages/store/v0/store.proto
package v1 package v0
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
@@ -34,7 +34,7 @@ type Field struct {
func (x *Field) Reset() { func (x *Field) Reset() {
*x = Field{} *x = Field{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -47,7 +47,7 @@ func (x *Field) String() string {
func (*Field) ProtoMessage() {} func (*Field) ProtoMessage() {}
func (x *Field) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -60,7 +60,7 @@ func (x *Field) ProtoReflect() protoreflect.Message {
// Deprecated: Use Field.ProtoReflect.Descriptor instead. // Deprecated: Use Field.ProtoReflect.Descriptor instead.
func (*Field) Descriptor() ([]byte, []int) { 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 { func (x *Field) GetType() string {
@@ -95,7 +95,7 @@ type Record struct {
func (x *Record) Reset() { func (x *Record) Reset() {
*x = Record{} *x = Record{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -108,7 +108,7 @@ func (x *Record) String() string {
func (*Record) ProtoMessage() {} func (*Record) ProtoMessage() {}
func (x *Record) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -121,7 +121,7 @@ func (x *Record) ProtoReflect() protoreflect.Message {
// Deprecated: Use Record.ProtoReflect.Descriptor instead. // Deprecated: Use Record.ProtoReflect.Descriptor instead.
func (*Record) Descriptor() ([]byte, []int) { 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 { func (x *Record) GetKey() string {
@@ -169,7 +169,7 @@ type ReadOptions struct {
func (x *ReadOptions) Reset() { func (x *ReadOptions) Reset() {
*x = ReadOptions{} *x = ReadOptions{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -182,7 +182,7 @@ func (x *ReadOptions) String() string {
func (*ReadOptions) ProtoMessage() {} func (*ReadOptions) ProtoMessage() {}
func (x *ReadOptions) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -195,7 +195,7 @@ func (x *ReadOptions) ProtoReflect() protoreflect.Message {
// Deprecated: Use ReadOptions.ProtoReflect.Descriptor instead. // Deprecated: Use ReadOptions.ProtoReflect.Descriptor instead.
func (*ReadOptions) Descriptor() ([]byte, []int) { 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 { func (x *ReadOptions) GetDatabase() string {
@@ -263,7 +263,7 @@ type WriteOptions struct {
func (x *WriteOptions) Reset() { func (x *WriteOptions) Reset() {
*x = WriteOptions{} *x = WriteOptions{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -276,7 +276,7 @@ func (x *WriteOptions) String() string {
func (*WriteOptions) ProtoMessage() {} func (*WriteOptions) ProtoMessage() {}
func (x *WriteOptions) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -289,7 +289,7 @@ func (x *WriteOptions) ProtoReflect() protoreflect.Message {
// Deprecated: Use WriteOptions.ProtoReflect.Descriptor instead. // Deprecated: Use WriteOptions.ProtoReflect.Descriptor instead.
func (*WriteOptions) Descriptor() ([]byte, []int) { 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 { func (x *WriteOptions) GetDatabase() string {
@@ -332,7 +332,7 @@ type DeleteOptions struct {
func (x *DeleteOptions) Reset() { func (x *DeleteOptions) Reset() {
*x = DeleteOptions{} *x = DeleteOptions{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -345,7 +345,7 @@ func (x *DeleteOptions) String() string {
func (*DeleteOptions) ProtoMessage() {} func (*DeleteOptions) ProtoMessage() {}
func (x *DeleteOptions) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -358,7 +358,7 @@ func (x *DeleteOptions) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead. // Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead.
func (*DeleteOptions) Descriptor() ([]byte, []int) { 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 { func (x *DeleteOptions) GetDatabase() string {
@@ -391,7 +391,7 @@ type ListOptions struct {
func (x *ListOptions) Reset() { func (x *ListOptions) Reset() {
*x = ListOptions{} *x = ListOptions{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -404,7 +404,7 @@ func (x *ListOptions) String() string {
func (*ListOptions) ProtoMessage() {} func (*ListOptions) ProtoMessage() {}
func (x *ListOptions) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -417,7 +417,7 @@ func (x *ListOptions) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListOptions.ProtoReflect.Descriptor instead. // Deprecated: Use ListOptions.ProtoReflect.Descriptor instead.
func (*ListOptions) Descriptor() ([]byte, []int) { 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 { func (x *ListOptions) GetDatabase() string {
@@ -462,13 +462,13 @@ func (x *ListOptions) GetOffset() uint64 {
return 0 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
file_ocis_messages_store_v1_store_proto_rawDescOnce sync.Once file_ocis_messages_store_v0_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_rawDescData = file_ocis_messages_store_v0_store_proto_rawDesc
) )
func file_ocis_messages_store_v1_store_proto_rawDescGZIP() []byte { func file_ocis_messages_store_v0_store_proto_rawDescGZIP() []byte {
file_ocis_messages_store_v1_store_proto_rawDescOnce.Do(func() { file_ocis_messages_store_v0_store_proto_rawDescOnce.Do(func() {
file_ocis_messages_store_v1_store_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_store_v1_store_proto_rawDescData) 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_v0_store_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_ocis_messages_store_v1_store_proto_goTypes = []interface{}{ var file_ocis_messages_store_v0_store_proto_goTypes = []interface{}{
(*Field)(nil), // 0: ocis.messages.store.v1.Field (*Field)(nil), // 0: ocis.messages.store.v0.Field
(*Record)(nil), // 1: ocis.messages.store.v1.Record (*Record)(nil), // 1: ocis.messages.store.v0.Record
(*ReadOptions)(nil), // 2: ocis.messages.store.v1.ReadOptions (*ReadOptions)(nil), // 2: ocis.messages.store.v0.ReadOptions
(*WriteOptions)(nil), // 3: ocis.messages.store.v1.WriteOptions (*WriteOptions)(nil), // 3: ocis.messages.store.v0.WriteOptions
(*DeleteOptions)(nil), // 4: ocis.messages.store.v1.DeleteOptions (*DeleteOptions)(nil), // 4: ocis.messages.store.v0.DeleteOptions
(*ListOptions)(nil), // 5: ocis.messages.store.v1.ListOptions (*ListOptions)(nil), // 5: ocis.messages.store.v0.ListOptions
nil, // 6: ocis.messages.store.v1.Record.MetadataEntry nil, // 6: ocis.messages.store.v0.Record.MetadataEntry
nil, // 7: ocis.messages.store.v1.ReadOptions.WhereEntry nil, // 7: ocis.messages.store.v0.ReadOptions.WhereEntry
} }
var file_ocis_messages_store_v1_store_proto_depIdxs = []int32{ var file_ocis_messages_store_v0_store_proto_depIdxs = []int32{
6, // 0: ocis.messages.store.v1.Record.metadata:type_name -> ocis.messages.store.v1.Record.MetadataEntry 6, // 0: ocis.messages.store.v0.Record.metadata:type_name -> ocis.messages.store.v0.Record.MetadataEntry
7, // 1: ocis.messages.store.v1.ReadOptions.where:type_name -> ocis.messages.store.v1.ReadOptions.WhereEntry 7, // 1: ocis.messages.store.v0.ReadOptions.where:type_name -> ocis.messages.store.v0.ReadOptions.WhereEntry
0, // 2: ocis.messages.store.v1.Record.MetadataEntry.value:type_name -> ocis.messages.store.v1.Field 0, // 2: ocis.messages.store.v0.Record.MetadataEntry.value:type_name -> ocis.messages.store.v0.Field
0, // 3: ocis.messages.store.v1.ReadOptions.WhereEntry.value:type_name -> ocis.messages.store.v1.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 output_type
4, // [4:4] is the sub-list for method input_type 4, // [4:4] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name 4, // [4:4] is the sub-list for extension 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 0, // [0:4] is the sub-list for field type_name
} }
func init() { file_ocis_messages_store_v1_store_proto_init() } func init() { file_ocis_messages_store_v0_store_proto_init() }
func file_ocis_messages_store_v1_store_proto_init() { func file_ocis_messages_store_v0_store_proto_init() {
if File_ocis_messages_store_v1_store_proto != nil { if File_ocis_messages_store_v0_store_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled { 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 { switch v := v.(*Field); i {
case 0: case 0:
return &v.state return &v.state
@@ -588,7 +588,7 @@ func file_ocis_messages_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*Record); i {
case 0: case 0:
return &v.state return &v.state
@@ -600,7 +600,7 @@ func file_ocis_messages_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*ReadOptions); i {
case 0: case 0:
return &v.state return &v.state
@@ -612,7 +612,7 @@ func file_ocis_messages_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*WriteOptions); i {
case 0: case 0:
return &v.state return &v.state
@@ -624,7 +624,7 @@ func file_ocis_messages_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*DeleteOptions); i {
case 0: case 0:
return &v.state return &v.state
@@ -636,7 +636,7 @@ func file_ocis_messages_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*ListOptions); i {
case 0: case 0:
return &v.state return &v.state
@@ -653,18 +653,18 @@ func file_ocis_messages_store_v1_store_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 8, NumMessages: 8,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },
GoTypes: file_ocis_messages_store_v1_store_proto_goTypes, GoTypes: file_ocis_messages_store_v0_store_proto_goTypes,
DependencyIndexes: file_ocis_messages_store_v1_store_proto_depIdxs, DependencyIndexes: file_ocis_messages_store_v0_store_proto_depIdxs,
MessageInfos: file_ocis_messages_store_v1_store_proto_msgTypes, MessageInfos: file_ocis_messages_store_v0_store_proto_msgTypes,
}.Build() }.Build()
File_ocis_messages_store_v1_store_proto = out.File File_ocis_messages_store_v0_store_proto = out.File
file_ocis_messages_store_v1_store_proto_rawDesc = nil file_ocis_messages_store_v0_store_proto_rawDesc = nil
file_ocis_messages_store_v1_store_proto_goTypes = nil file_ocis_messages_store_v0_store_proto_goTypes = nil
file_ocis_messages_store_v1_store_proto_depIdxs = nil file_ocis_messages_store_v0_store_proto_depIdxs = nil
} }
@@ -1,7 +1,7 @@
// Code generated by protoc-gen-micro. DO NOT EDIT. // 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 ( import (
fmt "fmt" fmt "fmt"
@@ -1,7 +1,7 @@
{ {
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"title": "ocis/messages/store/v1/store.proto", "title": "ocis/messages/store/v0/store.proto",
"version": "version not set" "version": "version not set"
}, },
"consumes": [ "consumes": [
@@ -2,9 +2,9 @@
// versions: // versions:
// protoc-gen-go v1.27.1 // protoc-gen-go v1.27.1
// protoc v3.17.3 // protoc v3.17.3
// source: ocis/messages/thumbnails/v1/thumbnails.proto // source: ocis/messages/thumbnails/v0/thumbnails.proto
package v1 package v0
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
@@ -40,7 +40,7 @@ type WebdavSource struct {
func (x *WebdavSource) Reset() { func (x *WebdavSource) Reset() {
*x = WebdavSource{} *x = WebdavSource{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -53,7 +53,7 @@ func (x *WebdavSource) String() string {
func (*WebdavSource) ProtoMessage() {} func (*WebdavSource) ProtoMessage() {}
func (x *WebdavSource) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -66,7 +66,7 @@ func (x *WebdavSource) ProtoReflect() protoreflect.Message {
// Deprecated: Use WebdavSource.ProtoReflect.Descriptor instead. // Deprecated: Use WebdavSource.ProtoReflect.Descriptor instead.
func (*WebdavSource) Descriptor() ([]byte, []int) { 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 { func (x *WebdavSource) GetUrl() string {
@@ -116,7 +116,7 @@ type CS3Source struct {
func (x *CS3Source) Reset() { func (x *CS3Source) Reset() {
*x = CS3Source{} *x = CS3Source{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -129,7 +129,7 @@ func (x *CS3Source) String() string {
func (*CS3Source) ProtoMessage() {} func (*CS3Source) ProtoMessage() {}
func (x *CS3Source) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -142,7 +142,7 @@ func (x *CS3Source) ProtoReflect() protoreflect.Message {
// Deprecated: Use CS3Source.ProtoReflect.Descriptor instead. // Deprecated: Use CS3Source.ProtoReflect.Descriptor instead.
func (*CS3Source) Descriptor() ([]byte, []int) { 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 { func (x *CS3Source) GetPath() string {
@@ -159,14 +159,14 @@ func (x *CS3Source) GetAuthorization() string {
return "" 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescOnce sync.Once file_ocis_messages_thumbnails_v0_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_rawDescData = file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDesc
) )
func file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescGZIP() []byte { func file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescGZIP() []byte {
file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescOnce.Do(func() { file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDescOnce.Do(func() {
file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDescData) 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_v0_thumbnails_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_ocis_messages_thumbnails_v1_thumbnails_proto_goTypes = []interface{}{ var file_ocis_messages_thumbnails_v0_thumbnails_proto_goTypes = []interface{}{
(*WebdavSource)(nil), // 0: ocis.messages.thumbnails.v1.WebdavSource (*WebdavSource)(nil), // 0: ocis.messages.thumbnails.v0.WebdavSource
(*CS3Source)(nil), // 1: ocis.messages.thumbnails.v1.CS3Source (*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 output_type
0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension 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 0, // [0:0] is the sub-list for field type_name
} }
func init() { file_ocis_messages_thumbnails_v1_thumbnails_proto_init() } func init() { file_ocis_messages_thumbnails_v0_thumbnails_proto_init() }
func file_ocis_messages_thumbnails_v1_thumbnails_proto_init() { func file_ocis_messages_thumbnails_v0_thumbnails_proto_init() {
if File_ocis_messages_thumbnails_v1_thumbnails_proto != nil { if File_ocis_messages_thumbnails_v0_thumbnails_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled { 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 { switch v := v.(*WebdavSource); i {
case 0: case 0:
return &v.state return &v.state
@@ -235,7 +235,7 @@ func file_ocis_messages_thumbnails_v1_thumbnails_proto_init() {
return nil 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 { switch v := v.(*CS3Source); i {
case 0: case 0:
return &v.state return &v.state
@@ -252,18 +252,18 @@ func file_ocis_messages_thumbnails_v1_thumbnails_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 2, NumMessages: 2,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },
GoTypes: file_ocis_messages_thumbnails_v1_thumbnails_proto_goTypes, GoTypes: file_ocis_messages_thumbnails_v0_thumbnails_proto_goTypes,
DependencyIndexes: file_ocis_messages_thumbnails_v1_thumbnails_proto_depIdxs, DependencyIndexes: file_ocis_messages_thumbnails_v0_thumbnails_proto_depIdxs,
MessageInfos: file_ocis_messages_thumbnails_v1_thumbnails_proto_msgTypes, MessageInfos: file_ocis_messages_thumbnails_v0_thumbnails_proto_msgTypes,
}.Build() }.Build()
File_ocis_messages_thumbnails_v1_thumbnails_proto = out.File File_ocis_messages_thumbnails_v0_thumbnails_proto = out.File
file_ocis_messages_thumbnails_v1_thumbnails_proto_rawDesc = nil file_ocis_messages_thumbnails_v0_thumbnails_proto_rawDesc = nil
file_ocis_messages_thumbnails_v1_thumbnails_proto_goTypes = nil file_ocis_messages_thumbnails_v0_thumbnails_proto_goTypes = nil
file_ocis_messages_thumbnails_v1_thumbnails_proto_depIdxs = nil file_ocis_messages_thumbnails_v0_thumbnails_proto_depIdxs = nil
} }
@@ -1,7 +1,7 @@
// Code generated by protoc-gen-micro. DO NOT EDIT. // 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 ( import (
fmt "fmt" fmt "fmt"
@@ -1,7 +1,7 @@
{ {
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"title": "ocis/messages/thumbnails/v1/thumbnails.proto", "title": "ocis/messages/thumbnails/v0/thumbnails.proto",
"version": "version not set" "version": "version not set"
}, },
"consumes": [ "consumes": [
@@ -1,9 +1,9 @@
package v1 package v0
import ( import (
context "context" 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" client "go-micro.dev/v4/client"
empty "google.golang.org/protobuf/types/known/emptypb" empty "google.golang.org/protobuf/types/known/emptypb"
) )
@@ -1,12 +1,12 @@
// Code generated by protoc-gen-micro. DO NOT EDIT. // 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 ( import (
fmt "fmt" fmt "fmt"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" _ "google.golang.org/genproto/googleapis/api/annotations"
proto "google.golang.org/protobuf/proto" proto "google.golang.org/protobuf/proto"
emptypb "google.golang.org/protobuf/types/known/emptypb" emptypb "google.golang.org/protobuf/types/known/emptypb"
@@ -80,11 +80,11 @@ type AccountsService interface {
// Lists accounts // Lists accounts
ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...client.CallOption) (*ListAccountsResponse, error) ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...client.CallOption) (*ListAccountsResponse, error)
// Gets an account // 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 // 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 // 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 // Deletes an account
DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*emptypb.Empty, error) 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 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) 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...) err := c.c.Call(ctx, req, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
@@ -121,9 +121,9 @@ func (c *accountsService) GetAccount(ctx context.Context, in *GetAccountRequest,
return out, nil 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) 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...) err := c.c.Call(ctx, req, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
@@ -131,9 +131,9 @@ func (c *accountsService) CreateAccount(ctx context.Context, in *CreateAccountRe
return out, nil 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) 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...) err := c.c.Call(ctx, req, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
@@ -157,11 +157,11 @@ type AccountsServiceHandler interface {
// Lists accounts // Lists accounts
ListAccounts(context.Context, *ListAccountsRequest, *ListAccountsResponse) error ListAccounts(context.Context, *ListAccountsRequest, *ListAccountsResponse) error
// Gets an account // Gets an account
GetAccount(context.Context, *GetAccountRequest, *v1.Account) error GetAccount(context.Context, *GetAccountRequest, *v0.Account) error
// Creates an account // Creates an account
CreateAccount(context.Context, *CreateAccountRequest, *v1.Account) error CreateAccount(context.Context, *CreateAccountRequest, *v0.Account) error
// Updates an account // Updates an account
UpdateAccount(context.Context, *UpdateAccountRequest, *v1.Account) error UpdateAccount(context.Context, *UpdateAccountRequest, *v0.Account) error
// Deletes an account // Deletes an account
DeleteAccount(context.Context, *DeleteAccountRequest, *emptypb.Empty) error 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 { func RegisterAccountsServiceHandler(s server.Server, hdlr AccountsServiceHandler, opts ...server.HandlerOption) error {
type accountsService interface { type accountsService interface {
ListAccounts(ctx context.Context, in *ListAccountsRequest, out *ListAccountsResponse) error ListAccounts(ctx context.Context, in *ListAccountsRequest, out *ListAccountsResponse) error
GetAccount(ctx context.Context, in *GetAccountRequest, out *v1.Account) error GetAccount(ctx context.Context, in *GetAccountRequest, out *v0.Account) error
CreateAccount(ctx context.Context, in *CreateAccountRequest, out *v1.Account) error CreateAccount(ctx context.Context, in *CreateAccountRequest, out *v0.Account) error
UpdateAccount(ctx context.Context, in *UpdateAccountRequest, out *v1.Account) error UpdateAccount(ctx context.Context, in *UpdateAccountRequest, out *v0.Account) error
DeleteAccount(ctx context.Context, in *DeleteAccountRequest, out *emptypb.Empty) error DeleteAccount(ctx context.Context, in *DeleteAccountRequest, out *emptypb.Empty) error
} }
type AccountsService struct { type AccountsService struct {
@@ -224,15 +224,15 @@ func (h *accountsServiceHandler) ListAccounts(ctx context.Context, in *ListAccou
return h.AccountsServiceHandler.ListAccounts(ctx, in, out) 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) 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) 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) return h.AccountsServiceHandler.UpdateAccount(ctx, in, out)
} }
@@ -309,17 +309,17 @@ type GroupsService interface {
// Lists groups // Lists groups
ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...client.CallOption) (*ListGroupsResponse, error) ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...client.CallOption) (*ListGroupsResponse, error)
// Gets an groups // 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 // 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 // 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 // Deletes a group
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...client.CallOption) (*emptypb.Empty, error) 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 // 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 // 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 // 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) 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 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) 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...) err := c.c.Call(ctx, req, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
@@ -356,9 +356,9 @@ func (c *groupsService) GetGroup(ctx context.Context, in *GetGroupRequest, opts
return out, nil 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) 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...) err := c.c.Call(ctx, req, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
@@ -366,9 +366,9 @@ func (c *groupsService) CreateGroup(ctx context.Context, in *CreateGroupRequest,
return out, nil 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) 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...) err := c.c.Call(ctx, req, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
@@ -386,9 +386,9 @@ func (c *groupsService) DeleteGroup(ctx context.Context, in *DeleteGroupRequest,
return out, nil 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) 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...) err := c.c.Call(ctx, req, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
@@ -396,9 +396,9 @@ func (c *groupsService) AddMember(ctx context.Context, in *AddMemberRequest, opt
return out, nil 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) 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...) err := c.c.Call(ctx, req, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
@@ -422,17 +422,17 @@ type GroupsServiceHandler interface {
// Lists groups // Lists groups
ListGroups(context.Context, *ListGroupsRequest, *ListGroupsResponse) error ListGroups(context.Context, *ListGroupsRequest, *ListGroupsResponse) error
// Gets an groups // Gets an groups
GetGroup(context.Context, *GetGroupRequest, *v1.Group) error GetGroup(context.Context, *GetGroupRequest, *v0.Group) error
// Creates a group // Creates a group
CreateGroup(context.Context, *CreateGroupRequest, *v1.Group) error CreateGroup(context.Context, *CreateGroupRequest, *v0.Group) error
// Updates a group // Updates a group
UpdateGroup(context.Context, *UpdateGroupRequest, *v1.Group) error UpdateGroup(context.Context, *UpdateGroupRequest, *v0.Group) error
// Deletes a group // Deletes a group
DeleteGroup(context.Context, *DeleteGroupRequest, *emptypb.Empty) error 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 // 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 // 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 // group:listmembers https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0
ListMembers(context.Context, *ListMembersRequest, *ListMembersResponse) error ListMembers(context.Context, *ListMembersRequest, *ListMembersResponse) error
} }
@@ -440,12 +440,12 @@ type GroupsServiceHandler interface {
func RegisterGroupsServiceHandler(s server.Server, hdlr GroupsServiceHandler, opts ...server.HandlerOption) error { func RegisterGroupsServiceHandler(s server.Server, hdlr GroupsServiceHandler, opts ...server.HandlerOption) error {
type groupsService interface { type groupsService interface {
ListGroups(ctx context.Context, in *ListGroupsRequest, out *ListGroupsResponse) error ListGroups(ctx context.Context, in *ListGroupsRequest, out *ListGroupsResponse) error
GetGroup(ctx context.Context, in *GetGroupRequest, out *v1.Group) error GetGroup(ctx context.Context, in *GetGroupRequest, out *v0.Group) error
CreateGroup(ctx context.Context, in *CreateGroupRequest, out *v1.Group) error CreateGroup(ctx context.Context, in *CreateGroupRequest, out *v0.Group) error
UpdateGroup(ctx context.Context, in *UpdateGroupRequest, out *v1.Group) error UpdateGroup(ctx context.Context, in *UpdateGroupRequest, out *v0.Group) error
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, out *emptypb.Empty) error DeleteGroup(ctx context.Context, in *DeleteGroupRequest, out *emptypb.Empty) error
AddMember(ctx context.Context, in *AddMemberRequest, out *v1.Group) error AddMember(ctx context.Context, in *AddMemberRequest, out *v0.Group) error
RemoveMember(ctx context.Context, in *RemoveMemberRequest, out *v1.Group) error RemoveMember(ctx context.Context, in *RemoveMemberRequest, out *v0.Group) error
ListMembers(ctx context.Context, in *ListMembersRequest, out *ListMembersResponse) error ListMembers(ctx context.Context, in *ListMembersRequest, out *ListMembersResponse) error
} }
type GroupsService struct { type GroupsService struct {
@@ -519,15 +519,15 @@ func (h *groupsServiceHandler) ListGroups(ctx context.Context, in *ListGroupsReq
return h.GroupsServiceHandler.ListGroups(ctx, in, out) 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) 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) 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) 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) 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) 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) return h.GroupsServiceHandler.RemoveMember(ctx, in, out)
} }
@@ -1,7 +1,7 @@
// Code generated by protoc-gen-microweb. DO NOT EDIT. // Code generated by protoc-gen-microweb. DO NOT EDIT.
// source: v1.proto // source: v0.proto
package v1 package v0
import ( import (
"bytes" "bytes"
@@ -13,7 +13,7 @@ import (
"github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/jsonpb"
ptypesempty "github.com/golang/protobuf/ptypes/empty" 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 { 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) { func (h *webAccountsServiceHandler) GetAccount(w http.ResponseWriter, r *http.Request) {
req := &GetAccountRequest{} req := &GetAccountRequest{}
resp := &accountsv1.Account{} resp := &accountsv0.Account{}
if err := json.NewDecoder(r.Body).Decode(&req); err != nil { if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
http.Error(w, err.Error(), http.StatusPreconditionFailed) 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) { func (h *webAccountsServiceHandler) CreateAccount(w http.ResponseWriter, r *http.Request) {
req := &CreateAccountRequest{} req := &CreateAccountRequest{}
resp := &accountsv1.Account{} resp := &accountsv0.Account{}
if err := json.NewDecoder(r.Body).Decode(&req); err != nil { if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
http.Error(w, err.Error(), http.StatusPreconditionFailed) 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) { func (h *webAccountsServiceHandler) UpdateAccount(w http.ResponseWriter, r *http.Request) {
req := &UpdateAccountRequest{} req := &UpdateAccountRequest{}
resp := &accountsv1.Account{} resp := &accountsv0.Account{}
if err := json.NewDecoder(r.Body).Decode(&req); err != nil { if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
http.Error(w, err.Error(), http.StatusPreconditionFailed) 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) { func (h *webGroupsServiceHandler) GetGroup(w http.ResponseWriter, r *http.Request) {
req := &GetGroupRequest{} req := &GetGroupRequest{}
resp := &accountsv1.Group{} resp := &accountsv0.Group{}
if err := json.NewDecoder(r.Body).Decode(&req); err != nil { if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
http.Error(w, err.Error(), http.StatusPreconditionFailed) 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) { func (h *webGroupsServiceHandler) CreateGroup(w http.ResponseWriter, r *http.Request) {
req := &CreateGroupRequest{} req := &CreateGroupRequest{}
resp := &accountsv1.Group{} resp := &accountsv0.Group{}
if err := json.NewDecoder(r.Body).Decode(&req); err != nil { if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
http.Error(w, err.Error(), http.StatusPreconditionFailed) 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) { func (h *webGroupsServiceHandler) UpdateGroup(w http.ResponseWriter, r *http.Request) {
req := &UpdateGroupRequest{} req := &UpdateGroupRequest{}
resp := &accountsv1.Group{} resp := &accountsv0.Group{}
if err := json.NewDecoder(r.Body).Decode(&req); err != nil { if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
http.Error(w, err.Error(), http.StatusPreconditionFailed) 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) { func (h *webGroupsServiceHandler) AddMember(w http.ResponseWriter, r *http.Request) {
req := &AddMemberRequest{} req := &AddMemberRequest{}
resp := &accountsv1.Group{} resp := &accountsv0.Group{}
if err := json.NewDecoder(r.Body).Decode(&req); err != nil { if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
http.Error(w, err.Error(), http.StatusPreconditionFailed) 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) { func (h *webGroupsServiceHandler) RemoveMember(w http.ResponseWriter, r *http.Request) {
req := &RemoveMemberRequest{} req := &RemoveMemberRequest{}
resp := &accountsv1.Group{} resp := &accountsv0.Group{}
if err := json.NewDecoder(r.Body).Decode(&req); err != nil { if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
http.Error(w, err.Error(), http.StatusPreconditionFailed) http.Error(w, err.Error(), http.StatusPreconditionFailed)
@@ -43,7 +43,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1Account" "$ref": "#/definitions/v0Account"
} }
}, },
"default": { "default": {
@@ -59,7 +59,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1CreateAccountRequest" "$ref": "#/definitions/v0CreateAccountRequest"
} }
} }
], ],
@@ -92,7 +92,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1DeleteAccountRequest" "$ref": "#/definitions/v0DeleteAccountRequest"
} }
} }
], ],
@@ -109,7 +109,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1Account" "$ref": "#/definitions/v0Account"
} }
}, },
"default": { "default": {
@@ -125,7 +125,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1GetAccountRequest" "$ref": "#/definitions/v0GetAccountRequest"
} }
} }
], ],
@@ -142,7 +142,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1ListAccountsResponse" "$ref": "#/definitions/v0ListAccountsResponse"
} }
}, },
"default": { "default": {
@@ -158,7 +158,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1ListAccountsRequest" "$ref": "#/definitions/v0ListAccountsRequest"
} }
} }
], ],
@@ -175,7 +175,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1Account" "$ref": "#/definitions/v0Account"
} }
}, },
"default": { "default": {
@@ -191,7 +191,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1UpdateAccountRequest" "$ref": "#/definitions/v0UpdateAccountRequest"
} }
} }
], ],
@@ -208,7 +208,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1Group" "$ref": "#/definitions/v0Group"
} }
}, },
"default": { "default": {
@@ -224,7 +224,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1CreateGroupRequest" "$ref": "#/definitions/v0CreateGroupRequest"
} }
} }
], ],
@@ -257,7 +257,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1DeleteGroupRequest" "$ref": "#/definitions/v0DeleteGroupRequest"
} }
} }
], ],
@@ -274,7 +274,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1Group" "$ref": "#/definitions/v0Group"
} }
}, },
"default": { "default": {
@@ -290,7 +290,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1GetGroupRequest" "$ref": "#/definitions/v0GetGroupRequest"
} }
} }
], ],
@@ -307,7 +307,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1ListGroupsResponse" "$ref": "#/definitions/v0ListGroupsResponse"
} }
}, },
"default": { "default": {
@@ -323,7 +323,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1ListGroupsRequest" "$ref": "#/definitions/v0ListGroupsRequest"
} }
} }
], ],
@@ -340,7 +340,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1Group" "$ref": "#/definitions/v0Group"
} }
}, },
"default": { "default": {
@@ -356,7 +356,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1UpdateGroupRequest" "$ref": "#/definitions/v0UpdateGroupRequest"
} }
} }
], ],
@@ -373,7 +373,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1Group" "$ref": "#/definitions/v0Group"
} }
}, },
"default": { "default": {
@@ -420,7 +420,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1Group" "$ref": "#/definitions/v0Group"
} }
}, },
"default": { "default": {
@@ -468,7 +468,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1ListMembersResponse" "$ref": "#/definitions/v0ListMembersResponse"
} }
}, },
"default": { "default": {
@@ -527,7 +527,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1RebuildIndexResponse" "$ref": "#/definitions/v0RebuildIndexResponse"
} }
}, },
"default": { "default": {
@@ -543,7 +543,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1RebuildIndexRequest" "$ref": "#/definitions/v0RebuildIndexRequest"
} }
} }
], ],
@@ -581,7 +581,7 @@
} }
} }
}, },
"v1Account": { "v0Account": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -603,7 +603,7 @@
"identities": { "identities": {
"type": "array", "type": "array",
"items": { "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." "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" "title": "A description, useful for resource accounts\nposixaccount MAY description"
}, },
"passwordProfile": { "passwordProfile": {
"$ref": "#/definitions/v1PasswordProfile", "$ref": "#/definitions/v0PasswordProfile",
"title": "Specifies the password profile for the user.\nThe profile contains the users 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" "title": "Specifies the password profile for the user.\nThe profile contains the users 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": { "memberOf": {
"type": "array", "type": "array",
"items": { "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!" "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": { "onPremisesProvisioningErrors": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1OnPremisesProvisioningError" "$ref": "#/definitions/v0OnPremisesProvisioningError"
}, },
"description": "Errors when using synchronization during provisioning." "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" "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", "type": "object",
"properties": { "properties": {
"account": { "account": {
"$ref": "#/definitions/v1Account", "$ref": "#/definitions/v0Account",
"title": "The account resource to create" "title": "The account resource to create"
} }
} }
}, },
"v1CreateGroupRequest": { "v0CreateGroupRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"group": { "group": {
"$ref": "#/definitions/v1Group", "$ref": "#/definitions/v0Group",
"title": "The account resource to create" "title": "The account resource to create"
} }
} }
}, },
"v1DeleteAccountRequest": { "v0DeleteAccountRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -742,7 +742,7 @@
} }
} }
}, },
"v1DeleteGroupRequest": { "v0DeleteGroupRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -750,7 +750,7 @@
} }
} }
}, },
"v1GetAccountRequest": { "v0GetAccountRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -758,7 +758,7 @@
} }
} }
}, },
"v1GetGroupRequest": { "v0GetGroupRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -766,7 +766,7 @@
} }
} }
}, },
"v1Group": { "v0Group": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -780,14 +780,14 @@
"members": { "members": {
"type": "array", "type": "array",
"items": { "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." "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": { "owners": {
"type": "array", "type": "array",
"items": { "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" "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": { "onPremisesProvisioningErrors": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1OnPremisesProvisioningError" "$ref": "#/definitions/v0OnPremisesProvisioningError"
}, },
"description": "Errors when using synchronization during provisioning." "description": "Errors when using synchronization during provisioning."
} }
} }
}, },
"v1Identities": { "v0Identities": {
"type": "object", "type": "object",
"properties": { "properties": {
"signInType": { "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." "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", "type": "object",
"properties": { "properties": {
"pageSize": { "pageSize": {
@@ -905,13 +905,13 @@
} }
} }
}, },
"v1ListAccountsResponse": { "v0ListAccountsResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"accounts": { "accounts": {
"type": "array", "type": "array",
"items": { "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" "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", "type": "object",
"properties": { "properties": {
"pageSize": { "pageSize": {
@@ -944,13 +944,13 @@
} }
} }
}, },
"v1ListGroupsResponse": { "v0ListGroupsResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"groups": { "groups": {
"type": "array", "type": "array",
"items": { "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" "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", "type": "object",
"properties": { "properties": {
"members": { "members": {
"type": "array", "type": "array",
"items": { "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" "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", "type": "object",
"properties": { "properties": {
"category": { "category": {
@@ -998,7 +998,7 @@
} }
} }
}, },
"v1PasswordProfile": { "v0PasswordProfile": {
"type": "object", "type": "object",
"properties": { "properties": {
"password": { "password": {
@@ -1027,17 +1027,17 @@
} }
} }
}, },
"v1RebuildIndexRequest": { "v0RebuildIndexRequest": {
"type": "object" "type": "object"
}, },
"v1RebuildIndexResponse": { "v0RebuildIndexResponse": {
"type": "object" "type": "object"
}, },
"v1UpdateAccountRequest": { "v0UpdateAccountRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"account": { "account": {
"$ref": "#/definitions/v1Account", "$ref": "#/definitions/v0Account",
"title": "The account resource which replaces the resource on the server" "title": "The account resource which replaces the resource on the server"
}, },
"updateMask": { "updateMask": {
@@ -1046,11 +1046,11 @@
} }
} }
}, },
"v1UpdateGroupRequest": { "v0UpdateGroupRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"group": { "group": {
"$ref": "#/definitions/v1Group", "$ref": "#/definitions/v0Group",
"title": "The group resource which replaces the resource on the server" "title": "The group resource which replaces the resource on the server"
}, },
"updateMask": { "updateMask": {
@@ -1,4 +1,4 @@
package v1 package v0
import ( import (
"context" "context"
@@ -1,12 +1,12 @@
// Code generated by protoc-gen-micro. DO NOT EDIT. // 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 ( import (
fmt "fmt" fmt "fmt"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" _ "google.golang.org/genproto/googleapis/api/annotations"
proto "google.golang.org/protobuf/proto" proto "google.golang.org/protobuf/proto"
emptypb "google.golang.org/protobuf/types/known/emptypb" emptypb "google.golang.org/protobuf/types/known/emptypb"
@@ -1,7 +1,7 @@
// Code generated by protoc-gen-microweb. DO NOT EDIT. // Code generated by protoc-gen-microweb. DO NOT EDIT.
// source: v1.proto // source: v0.proto
package v1 package v0
import ( import (
"bytes" "bytes"
@@ -45,7 +45,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1AssignRoleToUserResponse" "$ref": "#/definitions/v0AssignRoleToUserResponse"
} }
}, },
"default": { "default": {
@@ -61,7 +61,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1AssignRoleToUserRequest" "$ref": "#/definitions/v0AssignRoleToUserRequest"
} }
} }
], ],
@@ -77,7 +77,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1ListRoleAssignmentsResponse" "$ref": "#/definitions/v0ListRoleAssignmentsResponse"
} }
}, },
"default": { "default": {
@@ -93,7 +93,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1ListRoleAssignmentsRequest" "$ref": "#/definitions/v0ListRoleAssignmentsRequest"
} }
} }
], ],
@@ -125,7 +125,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1RemoveRoleFromUserRequest" "$ref": "#/definitions/v0RemoveRoleFromUserRequest"
} }
} }
], ],
@@ -141,7 +141,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1GetBundleResponse" "$ref": "#/definitions/v0GetBundleResponse"
} }
}, },
"default": { "default": {
@@ -157,7 +157,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1GetBundleRequest" "$ref": "#/definitions/v0GetBundleRequest"
} }
} }
], ],
@@ -173,7 +173,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1SaveBundleResponse" "$ref": "#/definitions/v0SaveBundleResponse"
} }
}, },
"default": { "default": {
@@ -189,7 +189,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1SaveBundleRequest" "$ref": "#/definitions/v0SaveBundleRequest"
} }
} }
], ],
@@ -205,7 +205,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1AddSettingToBundleResponse" "$ref": "#/definitions/v0AddSettingToBundleResponse"
} }
}, },
"default": { "default": {
@@ -221,7 +221,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1AddSettingToBundleRequest" "$ref": "#/definitions/v0AddSettingToBundleRequest"
} }
} }
], ],
@@ -237,7 +237,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1ListBundlesResponse" "$ref": "#/definitions/v0ListBundlesResponse"
} }
}, },
"default": { "default": {
@@ -253,7 +253,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1ListBundlesRequest" "$ref": "#/definitions/v0ListBundlesRequest"
} }
} }
], ],
@@ -285,7 +285,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1RemoveSettingFromBundleRequest" "$ref": "#/definitions/v0RemoveSettingFromBundleRequest"
} }
} }
], ],
@@ -301,7 +301,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1GetPermissionByIDResponse" "$ref": "#/definitions/v0GetPermissionByIDResponse"
} }
}, },
"default": { "default": {
@@ -317,7 +317,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1GetPermissionByIDRequest" "$ref": "#/definitions/v0GetPermissionByIDRequest"
} }
} }
], ],
@@ -333,7 +333,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1ListPermissionsByResourceResponse" "$ref": "#/definitions/v0ListPermissionsByResourceResponse"
} }
}, },
"default": { "default": {
@@ -349,7 +349,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1ListPermissionsByResourceRequest" "$ref": "#/definitions/v0ListPermissionsByResourceRequest"
} }
} }
], ],
@@ -365,7 +365,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1ListBundlesResponse" "$ref": "#/definitions/v0ListBundlesResponse"
} }
}, },
"default": { "default": {
@@ -381,7 +381,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1ListBundlesRequest" "$ref": "#/definitions/v0ListBundlesRequest"
} }
} }
], ],
@@ -397,7 +397,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1GetValueResponse" "$ref": "#/definitions/v0GetValueResponse"
} }
}, },
"default": { "default": {
@@ -413,7 +413,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1GetValueRequest" "$ref": "#/definitions/v0GetValueRequest"
} }
} }
], ],
@@ -429,7 +429,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1GetValueResponse" "$ref": "#/definitions/v0GetValueResponse"
} }
}, },
"default": { "default": {
@@ -445,7 +445,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1GetValueByUniqueIdentifiersRequest" "$ref": "#/definitions/v0GetValueByUniqueIdentifiersRequest"
} }
} }
], ],
@@ -461,7 +461,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1ListValuesResponse" "$ref": "#/definitions/v0ListValuesResponse"
} }
}, },
"default": { "default": {
@@ -477,7 +477,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1ListValuesRequest" "$ref": "#/definitions/v0ListValuesRequest"
} }
} }
], ],
@@ -493,7 +493,7 @@
"200": { "200": {
"description": "A successful response.", "description": "A successful response.",
"schema": { "schema": {
"$ref": "#/definitions/v1SaveValueResponse" "$ref": "#/definitions/v0SaveValueResponse"
} }
}, },
"default": { "default": {
@@ -509,7 +509,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/v1SaveValueRequest" "$ref": "#/definitions/v0SaveValueRequest"
} }
} }
], ],
@@ -557,18 +557,18 @@
} }
} }
}, },
"settingsv1ListValue": { "settingsv0ListValue": {
"type": "object", "type": "object",
"properties": { "properties": {
"values": { "values": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1ListOptionValue" "$ref": "#/definitions/v0ListOptionValue"
} }
} }
} }
}, },
"settingsv1Value": { "settingsv0Value": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -586,7 +586,7 @@
"type": "string" "type": "string"
}, },
"resource": { "resource": {
"$ref": "#/definitions/v1Resource" "$ref": "#/definitions/v0Resource"
}, },
"boolValue": { "boolValue": {
"type": "boolean" "type": "boolean"
@@ -599,30 +599,30 @@
"type": "string" "type": "string"
}, },
"listValue": { "listValue": {
"$ref": "#/definitions/settingsv1ListValue" "$ref": "#/definitions/settingsv0ListValue"
} }
} }
}, },
"v1AddSettingToBundleRequest": { "v0AddSettingToBundleRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"bundleId": { "bundleId": {
"type": "string" "type": "string"
}, },
"setting": { "setting": {
"$ref": "#/definitions/v1Setting" "$ref": "#/definitions/v0Setting"
} }
} }
}, },
"v1AddSettingToBundleResponse": { "v0AddSettingToBundleResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"setting": { "setting": {
"$ref": "#/definitions/v1Setting" "$ref": "#/definitions/v0Setting"
} }
} }
}, },
"v1AssignRoleToUserRequest": { "v0AssignRoleToUserRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"accountUuid": { "accountUuid": {
@@ -634,15 +634,15 @@
} }
} }
}, },
"v1AssignRoleToUserResponse": { "v0AssignRoleToUserResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"assignment": { "assignment": {
"$ref": "#/definitions/v1UserRoleAssignment" "$ref": "#/definitions/v0UserRoleAssignment"
} }
} }
}, },
"v1Bool": { "v0Bool": {
"type": "object", "type": "object",
"properties": { "properties": {
"default": { "default": {
@@ -653,7 +653,7 @@
} }
} }
}, },
"v1Bundle": { "v0Bundle": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -663,7 +663,7 @@
"type": "string" "type": "string"
}, },
"type": { "type": {
"$ref": "#/definitions/v1BundleType" "$ref": "#/definitions/v0BundleType"
}, },
"extension": { "extension": {
"type": "string" "type": "string"
@@ -674,15 +674,15 @@
"settings": { "settings": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1Setting" "$ref": "#/definitions/v0Setting"
} }
}, },
"resource": { "resource": {
"$ref": "#/definitions/v1Resource" "$ref": "#/definitions/v0Resource"
} }
} }
}, },
"v1BundleType": { "v0BundleType": {
"type": "string", "type": "string",
"enum": [ "enum": [
"TYPE_UNKNOWN", "TYPE_UNKNOWN",
@@ -691,7 +691,7 @@
], ],
"default": "TYPE_UNKNOWN" "default": "TYPE_UNKNOWN"
}, },
"v1GetBundleRequest": { "v0GetBundleRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"bundleId": { "bundleId": {
@@ -699,15 +699,15 @@
} }
} }
}, },
"v1GetBundleResponse": { "v0GetBundleResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"bundle": { "bundle": {
"$ref": "#/definitions/v1Bundle" "$ref": "#/definitions/v0Bundle"
} }
} }
}, },
"v1GetPermissionByIDRequest": { "v0GetPermissionByIDRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"permissionId": { "permissionId": {
@@ -715,15 +715,15 @@
} }
} }
}, },
"v1GetPermissionByIDResponse": { "v0GetPermissionByIDResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"permission": { "permission": {
"$ref": "#/definitions/v1Permission" "$ref": "#/definitions/v0Permission"
} }
} }
}, },
"v1GetValueByUniqueIdentifiersRequest": { "v0GetValueByUniqueIdentifiersRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"accountUuid": { "accountUuid": {
@@ -734,7 +734,7 @@
} }
} }
}, },
"v1GetValueRequest": { "v0GetValueRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -742,15 +742,15 @@
} }
} }
}, },
"v1GetValueResponse": { "v0GetValueResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"value": { "value": {
"$ref": "#/definitions/v1ValueWithIdentifier" "$ref": "#/definitions/v0ValueWithIdentifier"
} }
} }
}, },
"v1Identifier": { "v0Identifier": {
"type": "object", "type": "object",
"properties": { "properties": {
"extension": { "extension": {
@@ -764,7 +764,7 @@
} }
} }
}, },
"v1Int": { "v0Int": {
"type": "object", "type": "object",
"properties": { "properties": {
"default": { "default": {
@@ -788,7 +788,7 @@
} }
} }
}, },
"v1ListBundlesRequest": { "v0ListBundlesRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"bundleIds": { "bundleIds": {
@@ -799,22 +799,22 @@
} }
} }
}, },
"v1ListBundlesResponse": { "v0ListBundlesResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"bundles": { "bundles": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1Bundle" "$ref": "#/definitions/v0Bundle"
} }
} }
} }
}, },
"v1ListOption": { "v0ListOption": {
"type": "object", "type": "object",
"properties": { "properties": {
"value": { "value": {
"$ref": "#/definitions/v1ListOptionValue" "$ref": "#/definitions/v0ListOptionValue"
}, },
"default": { "default": {
"type": "boolean" "type": "boolean"
@@ -824,7 +824,7 @@
} }
} }
}, },
"v1ListOptionValue": { "v0ListOptionValue": {
"type": "object", "type": "object",
"properties": { "properties": {
"stringValue": { "stringValue": {
@@ -836,26 +836,26 @@
} }
} }
}, },
"v1ListPermissionsByResourceRequest": { "v0ListPermissionsByResourceRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"resource": { "resource": {
"$ref": "#/definitions/v1Resource" "$ref": "#/definitions/v0Resource"
} }
} }
}, },
"v1ListPermissionsByResourceResponse": { "v0ListPermissionsByResourceResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"permissions": { "permissions": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1Permission" "$ref": "#/definitions/v0Permission"
} }
} }
} }
}, },
"v1ListRoleAssignmentsRequest": { "v0ListRoleAssignmentsRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"accountUuid": { "accountUuid": {
@@ -863,18 +863,18 @@
} }
} }
}, },
"v1ListRoleAssignmentsResponse": { "v0ListRoleAssignmentsResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"assignments": { "assignments": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1UserRoleAssignment" "$ref": "#/definitions/v0UserRoleAssignment"
} }
} }
} }
}, },
"v1ListValuesRequest": { "v0ListValuesRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"bundleId": { "bundleId": {
@@ -885,40 +885,40 @@
} }
} }
}, },
"v1ListValuesResponse": { "v0ListValuesResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"values": { "values": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1ValueWithIdentifier" "$ref": "#/definitions/v0ValueWithIdentifier"
} }
} }
} }
}, },
"v1MultiChoiceList": { "v0MultiChoiceList": {
"type": "object", "type": "object",
"properties": { "properties": {
"options": { "options": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1ListOption" "$ref": "#/definitions/v0ListOption"
} }
} }
} }
}, },
"v1Permission": { "v0Permission": {
"type": "object", "type": "object",
"properties": { "properties": {
"operation": { "operation": {
"$ref": "#/definitions/v1PermissionOperation" "$ref": "#/definitions/v0PermissionOperation"
}, },
"constraint": { "constraint": {
"$ref": "#/definitions/PermissionConstraint" "$ref": "#/definitions/PermissionConstraint"
} }
} }
}, },
"v1PermissionOperation": { "v0PermissionOperation": {
"type": "string", "type": "string",
"enum": [ "enum": [
"OPERATION_UNKNOWN", "OPERATION_UNKNOWN",
@@ -931,7 +931,7 @@
], ],
"default": "OPERATION_UNKNOWN" "default": "OPERATION_UNKNOWN"
}, },
"v1RemoveRoleFromUserRequest": { "v0RemoveRoleFromUserRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -939,7 +939,7 @@
} }
} }
}, },
"v1RemoveSettingFromBundleRequest": { "v0RemoveSettingFromBundleRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"bundleId": { "bundleId": {
@@ -950,18 +950,18 @@
} }
} }
}, },
"v1Resource": { "v0Resource": {
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
"$ref": "#/definitions/v1ResourceType" "$ref": "#/definitions/v0ResourceType"
}, },
"id": { "id": {
"type": "string" "type": "string"
} }
} }
}, },
"v1ResourceType": { "v0ResourceType": {
"type": "string", "type": "string",
"enum": [ "enum": [
"TYPE_UNKNOWN", "TYPE_UNKNOWN",
@@ -975,40 +975,40 @@
], ],
"default": "TYPE_UNKNOWN" "default": "TYPE_UNKNOWN"
}, },
"v1SaveBundleRequest": { "v0SaveBundleRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"bundle": { "bundle": {
"$ref": "#/definitions/v1Bundle" "$ref": "#/definitions/v0Bundle"
} }
}, },
"title": "---\nrequests and responses for settings bundles\n---" "title": "---\nrequests and responses for settings bundles\n---"
}, },
"v1SaveBundleResponse": { "v0SaveBundleResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"bundle": { "bundle": {
"$ref": "#/definitions/v1Bundle" "$ref": "#/definitions/v0Bundle"
} }
} }
}, },
"v1SaveValueRequest": { "v0SaveValueRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"value": { "value": {
"$ref": "#/definitions/settingsv1Value" "$ref": "#/definitions/settingsv0Value"
} }
} }
}, },
"v1SaveValueResponse": { "v0SaveValueResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"value": { "value": {
"$ref": "#/definitions/v1ValueWithIdentifier" "$ref": "#/definitions/v0ValueWithIdentifier"
} }
} }
}, },
"v1Setting": { "v0Setting": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -1024,40 +1024,40 @@
"type": "string" "type": "string"
}, },
"intValue": { "intValue": {
"$ref": "#/definitions/v1Int" "$ref": "#/definitions/v0Int"
}, },
"stringValue": { "stringValue": {
"$ref": "#/definitions/v1String" "$ref": "#/definitions/v0String"
}, },
"boolValue": { "boolValue": {
"$ref": "#/definitions/v1Bool" "$ref": "#/definitions/v0Bool"
}, },
"singleChoiceValue": { "singleChoiceValue": {
"$ref": "#/definitions/v1SingleChoiceList" "$ref": "#/definitions/v0SingleChoiceList"
}, },
"multiChoiceValue": { "multiChoiceValue": {
"$ref": "#/definitions/v1MultiChoiceList" "$ref": "#/definitions/v0MultiChoiceList"
}, },
"permissionValue": { "permissionValue": {
"$ref": "#/definitions/v1Permission" "$ref": "#/definitions/v0Permission"
}, },
"resource": { "resource": {
"$ref": "#/definitions/v1Resource" "$ref": "#/definitions/v0Resource"
} }
} }
}, },
"v1SingleChoiceList": { "v0SingleChoiceList": {
"type": "object", "type": "object",
"properties": { "properties": {
"options": { "options": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1ListOption" "$ref": "#/definitions/v0ListOption"
} }
} }
} }
}, },
"v1String": { "v0String": {
"type": "object", "type": "object",
"properties": { "properties": {
"default": { "default": {
@@ -1079,7 +1079,7 @@
} }
} }
}, },
"v1UserRoleAssignment": { "v0UserRoleAssignment": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@@ -1095,14 +1095,14 @@
} }
} }
}, },
"v1ValueWithIdentifier": { "v0ValueWithIdentifier": {
"type": "object", "type": "object",
"properties": { "properties": {
"identifier": { "identifier": {
"$ref": "#/definitions/v1Identifier" "$ref": "#/definitions/v0Identifier"
}, },
"value": { "value": {
"$ref": "#/definitions/settingsv1Value" "$ref": "#/definitions/settingsv0Value"
} }
} }
} }
@@ -2,13 +2,13 @@
// versions: // versions:
// protoc-gen-go v1.27.1 // protoc-gen-go v1.27.1
// protoc v3.17.3 // protoc v3.17.3
// source: ocis/services/store/v1/store.proto // source: ocis/services/store/v0/store.proto
package v1 package v0
import ( import (
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
@@ -28,13 +28,13 @@ type ReadRequest struct {
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 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() { func (x *ReadRequest) Reset() {
*x = ReadRequest{} *x = ReadRequest{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -47,7 +47,7 @@ func (x *ReadRequest) String() string {
func (*ReadRequest) ProtoMessage() {} func (*ReadRequest) ProtoMessage() {}
func (x *ReadRequest) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -60,7 +60,7 @@ func (x *ReadRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.
func (*ReadRequest) Descriptor() ([]byte, []int) { 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 { func (x *ReadRequest) GetKey() string {
@@ -70,7 +70,7 @@ func (x *ReadRequest) GetKey() string {
return "" return ""
} }
func (x *ReadRequest) GetOptions() *v1.ReadOptions { func (x *ReadRequest) GetOptions() *v0.ReadOptions {
if x != nil { if x != nil {
return x.Options return x.Options
} }
@@ -82,13 +82,13 @@ type ReadResponse struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields 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() { func (x *ReadResponse) Reset() {
*x = ReadResponse{} *x = ReadResponse{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -101,7 +101,7 @@ func (x *ReadResponse) String() string {
func (*ReadResponse) ProtoMessage() {} func (*ReadResponse) ProtoMessage() {}
func (x *ReadResponse) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -114,10 +114,10 @@ func (x *ReadResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead. // Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.
func (*ReadResponse) Descriptor() ([]byte, []int) { 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 { if x != nil {
return x.Records return x.Records
} }
@@ -129,14 +129,14 @@ type WriteRequest struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Record *v1.Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` Record *v0.Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
Options *v1.WriteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` Options *v0.WriteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
} }
func (x *WriteRequest) Reset() { func (x *WriteRequest) Reset() {
*x = WriteRequest{} *x = WriteRequest{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -149,7 +149,7 @@ func (x *WriteRequest) String() string {
func (*WriteRequest) ProtoMessage() {} func (*WriteRequest) ProtoMessage() {}
func (x *WriteRequest) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -162,17 +162,17 @@ func (x *WriteRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead. // Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.
func (*WriteRequest) Descriptor() ([]byte, []int) { 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 { if x != nil {
return x.Record return x.Record
} }
return nil return nil
} }
func (x *WriteRequest) GetOptions() *v1.WriteOptions { func (x *WriteRequest) GetOptions() *v0.WriteOptions {
if x != nil { if x != nil {
return x.Options return x.Options
} }
@@ -188,7 +188,7 @@ type WriteResponse struct {
func (x *WriteResponse) Reset() { func (x *WriteResponse) Reset() {
*x = WriteResponse{} *x = WriteResponse{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -201,7 +201,7 @@ func (x *WriteResponse) String() string {
func (*WriteResponse) ProtoMessage() {} func (*WriteResponse) ProtoMessage() {}
func (x *WriteResponse) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -214,7 +214,7 @@ func (x *WriteResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead. // Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.
func (*WriteResponse) Descriptor() ([]byte, []int) { 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 { type DeleteRequest struct {
@@ -223,13 +223,13 @@ type DeleteRequest struct {
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 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() { func (x *DeleteRequest) Reset() {
*x = DeleteRequest{} *x = DeleteRequest{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -242,7 +242,7 @@ func (x *DeleteRequest) String() string {
func (*DeleteRequest) ProtoMessage() {} func (*DeleteRequest) ProtoMessage() {}
func (x *DeleteRequest) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -255,7 +255,7 @@ func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead. // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) Descriptor() ([]byte, []int) { 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 { func (x *DeleteRequest) GetKey() string {
@@ -265,7 +265,7 @@ func (x *DeleteRequest) GetKey() string {
return "" return ""
} }
func (x *DeleteRequest) GetOptions() *v1.DeleteOptions { func (x *DeleteRequest) GetOptions() *v0.DeleteOptions {
if x != nil { if x != nil {
return x.Options return x.Options
} }
@@ -281,7 +281,7 @@ type DeleteResponse struct {
func (x *DeleteResponse) Reset() { func (x *DeleteResponse) Reset() {
*x = DeleteResponse{} *x = DeleteResponse{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -294,7 +294,7 @@ func (x *DeleteResponse) String() string {
func (*DeleteResponse) ProtoMessage() {} func (*DeleteResponse) ProtoMessage() {}
func (x *DeleteResponse) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -307,7 +307,7 @@ func (x *DeleteResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead. // Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) Descriptor() ([]byte, []int) { 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 { type ListRequest struct {
@@ -315,13 +315,13 @@ type ListRequest struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields 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() { func (x *ListRequest) Reset() {
*x = ListRequest{} *x = ListRequest{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -334,7 +334,7 @@ func (x *ListRequest) String() string {
func (*ListRequest) ProtoMessage() {} func (*ListRequest) ProtoMessage() {}
func (x *ListRequest) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -347,10 +347,10 @@ func (x *ListRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) Descriptor() ([]byte, []int) { 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 { if x != nil {
return x.Options return x.Options
} }
@@ -368,7 +368,7 @@ type ListResponse struct {
func (x *ListResponse) Reset() { func (x *ListResponse) Reset() {
*x = ListResponse{} *x = ListResponse{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -381,7 +381,7 @@ func (x *ListResponse) String() string {
func (*ListResponse) ProtoMessage() {} func (*ListResponse) ProtoMessage() {}
func (x *ListResponse) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -394,7 +394,7 @@ func (x *ListResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListResponse.ProtoReflect.Descriptor instead. // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) Descriptor() ([]byte, []int) { 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 { func (x *ListResponse) GetKeys() []string {
@@ -413,7 +413,7 @@ type DatabasesRequest struct {
func (x *DatabasesRequest) Reset() { func (x *DatabasesRequest) Reset() {
*x = DatabasesRequest{} *x = DatabasesRequest{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -426,7 +426,7 @@ func (x *DatabasesRequest) String() string {
func (*DatabasesRequest) ProtoMessage() {} func (*DatabasesRequest) ProtoMessage() {}
func (x *DatabasesRequest) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -439,7 +439,7 @@ func (x *DatabasesRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use DatabasesRequest.ProtoReflect.Descriptor instead. // Deprecated: Use DatabasesRequest.ProtoReflect.Descriptor instead.
func (*DatabasesRequest) Descriptor() ([]byte, []int) { 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 { type DatabasesResponse struct {
@@ -453,7 +453,7 @@ type DatabasesResponse struct {
func (x *DatabasesResponse) Reset() { func (x *DatabasesResponse) Reset() {
*x = DatabasesResponse{} *x = DatabasesResponse{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -466,7 +466,7 @@ func (x *DatabasesResponse) String() string {
func (*DatabasesResponse) ProtoMessage() {} func (*DatabasesResponse) ProtoMessage() {}
func (x *DatabasesResponse) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -479,7 +479,7 @@ func (x *DatabasesResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use DatabasesResponse.ProtoReflect.Descriptor instead. // Deprecated: Use DatabasesResponse.ProtoReflect.Descriptor instead.
func (*DatabasesResponse) Descriptor() ([]byte, []int) { 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 { func (x *DatabasesResponse) GetDatabases() []string {
@@ -500,7 +500,7 @@ type TablesRequest struct {
func (x *TablesRequest) Reset() { func (x *TablesRequest) Reset() {
*x = TablesRequest{} *x = TablesRequest{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -513,7 +513,7 @@ func (x *TablesRequest) String() string {
func (*TablesRequest) ProtoMessage() {} func (*TablesRequest) ProtoMessage() {}
func (x *TablesRequest) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -526,7 +526,7 @@ func (x *TablesRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use TablesRequest.ProtoReflect.Descriptor instead. // Deprecated: Use TablesRequest.ProtoReflect.Descriptor instead.
func (*TablesRequest) Descriptor() ([]byte, []int) { 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 { func (x *TablesRequest) GetDatabase() string {
@@ -547,7 +547,7 @@ type TablesResponse struct {
func (x *TablesResponse) Reset() { func (x *TablesResponse) Reset() {
*x = TablesResponse{} *x = TablesResponse{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -560,7 +560,7 @@ func (x *TablesResponse) String() string {
func (*TablesResponse) ProtoMessage() {} func (*TablesResponse) ProtoMessage() {}
func (x *TablesResponse) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -573,7 +573,7 @@ func (x *TablesResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use TablesResponse.ProtoReflect.Descriptor instead. // Deprecated: Use TablesResponse.ProtoReflect.Descriptor instead.
func (*TablesResponse) Descriptor() ([]byte, []int) { 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 { func (x *TablesResponse) GetTables() []string {
@@ -583,15 +583,15 @@ func (x *TablesResponse) GetTables() []string {
return nil 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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 ( var (
file_ocis_services_store_v1_store_proto_rawDescOnce sync.Once file_ocis_services_store_v0_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_rawDescData = file_ocis_services_store_v0_store_proto_rawDesc
) )
func file_ocis_services_store_v1_store_proto_rawDescGZIP() []byte { func file_ocis_services_store_v0_store_proto_rawDescGZIP() []byte {
file_ocis_services_store_v1_store_proto_rawDescOnce.Do(func() { file_ocis_services_store_v0_store_proto_rawDescOnce.Do(func() {
file_ocis_services_store_v1_store_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_store_v1_store_proto_rawDescData) 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_v0_store_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_ocis_services_store_v1_store_proto_goTypes = []interface{}{ var file_ocis_services_store_v0_store_proto_goTypes = []interface{}{
(*ReadRequest)(nil), // 0: ocis.services.store.v1.ReadRequest (*ReadRequest)(nil), // 0: ocis.services.store.v0.ReadRequest
(*ReadResponse)(nil), // 1: ocis.services.store.v1.ReadResponse (*ReadResponse)(nil), // 1: ocis.services.store.v0.ReadResponse
(*WriteRequest)(nil), // 2: ocis.services.store.v1.WriteRequest (*WriteRequest)(nil), // 2: ocis.services.store.v0.WriteRequest
(*WriteResponse)(nil), // 3: ocis.services.store.v1.WriteResponse (*WriteResponse)(nil), // 3: ocis.services.store.v0.WriteResponse
(*DeleteRequest)(nil), // 4: ocis.services.store.v1.DeleteRequest (*DeleteRequest)(nil), // 4: ocis.services.store.v0.DeleteRequest
(*DeleteResponse)(nil), // 5: ocis.services.store.v1.DeleteResponse (*DeleteResponse)(nil), // 5: ocis.services.store.v0.DeleteResponse
(*ListRequest)(nil), // 6: ocis.services.store.v1.ListRequest (*ListRequest)(nil), // 6: ocis.services.store.v0.ListRequest
(*ListResponse)(nil), // 7: ocis.services.store.v1.ListResponse (*ListResponse)(nil), // 7: ocis.services.store.v0.ListResponse
(*DatabasesRequest)(nil), // 8: ocis.services.store.v1.DatabasesRequest (*DatabasesRequest)(nil), // 8: ocis.services.store.v0.DatabasesRequest
(*DatabasesResponse)(nil), // 9: ocis.services.store.v1.DatabasesResponse (*DatabasesResponse)(nil), // 9: ocis.services.store.v0.DatabasesResponse
(*TablesRequest)(nil), // 10: ocis.services.store.v1.TablesRequest (*TablesRequest)(nil), // 10: ocis.services.store.v0.TablesRequest
(*TablesResponse)(nil), // 11: ocis.services.store.v1.TablesResponse (*TablesResponse)(nil), // 11: ocis.services.store.v0.TablesResponse
(*v1.ReadOptions)(nil), // 12: ocis.messages.store.v1.ReadOptions (*v0.ReadOptions)(nil), // 12: ocis.messages.store.v0.ReadOptions
(*v1.Record)(nil), // 13: ocis.messages.store.v1.Record (*v0.Record)(nil), // 13: ocis.messages.store.v0.Record
(*v1.WriteOptions)(nil), // 14: ocis.messages.store.v1.WriteOptions (*v0.WriteOptions)(nil), // 14: ocis.messages.store.v0.WriteOptions
(*v1.DeleteOptions)(nil), // 15: ocis.messages.store.v1.DeleteOptions (*v0.DeleteOptions)(nil), // 15: ocis.messages.store.v0.DeleteOptions
(*v1.ListOptions)(nil), // 16: ocis.messages.store.v1.ListOptions (*v0.ListOptions)(nil), // 16: ocis.messages.store.v0.ListOptions
} }
var file_ocis_services_store_v1_store_proto_depIdxs = []int32{ var file_ocis_services_store_v0_store_proto_depIdxs = []int32{
12, // 0: ocis.services.store.v1.ReadRequest.options:type_name -> ocis.messages.store.v1.ReadOptions 12, // 0: ocis.services.store.v0.ReadRequest.options:type_name -> ocis.messages.store.v0.ReadOptions
13, // 1: ocis.services.store.v1.ReadResponse.records:type_name -> ocis.messages.store.v1.Record 13, // 1: ocis.services.store.v0.ReadResponse.records:type_name -> ocis.messages.store.v0.Record
13, // 2: ocis.services.store.v1.WriteRequest.record:type_name -> ocis.messages.store.v1.Record 13, // 2: ocis.services.store.v0.WriteRequest.record:type_name -> ocis.messages.store.v0.Record
14, // 3: ocis.services.store.v1.WriteRequest.options:type_name -> ocis.messages.store.v1.WriteOptions 14, // 3: ocis.services.store.v0.WriteRequest.options:type_name -> ocis.messages.store.v0.WriteOptions
15, // 4: ocis.services.store.v1.DeleteRequest.options:type_name -> ocis.messages.store.v1.DeleteOptions 15, // 4: ocis.services.store.v0.DeleteRequest.options:type_name -> ocis.messages.store.v0.DeleteOptions
16, // 5: ocis.services.store.v1.ListRequest.options:type_name -> ocis.messages.store.v1.ListOptions 16, // 5: ocis.services.store.v0.ListRequest.options:type_name -> ocis.messages.store.v0.ListOptions
0, // 6: ocis.services.store.v1.Store.Read:input_type -> ocis.services.store.v1.ReadRequest 0, // 6: ocis.services.store.v0.Store.Read:input_type -> ocis.services.store.v0.ReadRequest
2, // 7: ocis.services.store.v1.Store.Write:input_type -> ocis.services.store.v1.WriteRequest 2, // 7: ocis.services.store.v0.Store.Write:input_type -> ocis.services.store.v0.WriteRequest
4, // 8: ocis.services.store.v1.Store.Delete:input_type -> ocis.services.store.v1.DeleteRequest 4, // 8: ocis.services.store.v0.Store.Delete:input_type -> ocis.services.store.v0.DeleteRequest
6, // 9: ocis.services.store.v1.Store.List:input_type -> ocis.services.store.v1.ListRequest 6, // 9: ocis.services.store.v0.Store.List:input_type -> ocis.services.store.v0.ListRequest
8, // 10: ocis.services.store.v1.Store.Databases:input_type -> ocis.services.store.v1.DatabasesRequest 8, // 10: ocis.services.store.v0.Store.Databases:input_type -> ocis.services.store.v0.DatabasesRequest
10, // 11: ocis.services.store.v1.Store.Tables:input_type -> ocis.services.store.v1.TablesRequest 10, // 11: ocis.services.store.v0.Store.Tables:input_type -> ocis.services.store.v0.TablesRequest
1, // 12: ocis.services.store.v1.Store.Read:output_type -> ocis.services.store.v1.ReadResponse 1, // 12: ocis.services.store.v0.Store.Read:output_type -> ocis.services.store.v0.ReadResponse
3, // 13: ocis.services.store.v1.Store.Write:output_type -> ocis.services.store.v1.WriteResponse 3, // 13: ocis.services.store.v0.Store.Write:output_type -> ocis.services.store.v0.WriteResponse
5, // 14: ocis.services.store.v1.Store.Delete:output_type -> ocis.services.store.v1.DeleteResponse 5, // 14: ocis.services.store.v0.Store.Delete:output_type -> ocis.services.store.v0.DeleteResponse
7, // 15: ocis.services.store.v1.Store.List:output_type -> ocis.services.store.v1.ListResponse 7, // 15: ocis.services.store.v0.Store.List:output_type -> ocis.services.store.v0.ListResponse
9, // 16: ocis.services.store.v1.Store.Databases:output_type -> ocis.services.store.v1.DatabasesResponse 9, // 16: ocis.services.store.v0.Store.Databases:output_type -> ocis.services.store.v0.DatabasesResponse
11, // 17: ocis.services.store.v1.Store.Tables:output_type -> ocis.services.store.v1.TablesResponse 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 12, // [12:18] is the sub-list for method output_type
6, // [6:12] is the sub-list for method input_type 6, // [6:12] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name 6, // [6:6] is the sub-list for extension 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 0, // [0:6] is the sub-list for field type_name
} }
func init() { file_ocis_services_store_v1_store_proto_init() } func init() { file_ocis_services_store_v0_store_proto_init() }
func file_ocis_services_store_v1_store_proto_init() { func file_ocis_services_store_v0_store_proto_init() {
if File_ocis_services_store_v1_store_proto != nil { if File_ocis_services_store_v0_store_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled { 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 { switch v := v.(*ReadRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -775,7 +775,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*ReadResponse); i {
case 0: case 0:
return &v.state return &v.state
@@ -787,7 +787,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*WriteRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -799,7 +799,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*WriteResponse); i {
case 0: case 0:
return &v.state return &v.state
@@ -811,7 +811,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*DeleteRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -823,7 +823,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*DeleteResponse); i {
case 0: case 0:
return &v.state return &v.state
@@ -835,7 +835,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*ListRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -847,7 +847,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*ListResponse); i {
case 0: case 0:
return &v.state return &v.state
@@ -859,7 +859,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*DatabasesRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -871,7 +871,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*DatabasesResponse); i {
case 0: case 0:
return &v.state return &v.state
@@ -883,7 +883,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*TablesRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -895,7 +895,7 @@ func file_ocis_services_store_v1_store_proto_init() {
return nil 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 { switch v := v.(*TablesResponse); i {
case 0: case 0:
return &v.state return &v.state
@@ -912,18 +912,18 @@ func file_ocis_services_store_v1_store_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 12, NumMessages: 12,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },
GoTypes: file_ocis_services_store_v1_store_proto_goTypes, GoTypes: file_ocis_services_store_v0_store_proto_goTypes,
DependencyIndexes: file_ocis_services_store_v1_store_proto_depIdxs, DependencyIndexes: file_ocis_services_store_v0_store_proto_depIdxs,
MessageInfos: file_ocis_services_store_v1_store_proto_msgTypes, MessageInfos: file_ocis_services_store_v0_store_proto_msgTypes,
}.Build() }.Build()
File_ocis_services_store_v1_store_proto = out.File File_ocis_services_store_v0_store_proto = out.File
file_ocis_services_store_v1_store_proto_rawDesc = nil file_ocis_services_store_v0_store_proto_rawDesc = nil
file_ocis_services_store_v1_store_proto_goTypes = nil file_ocis_services_store_v0_store_proto_goTypes = nil
file_ocis_services_store_v1_store_proto_depIdxs = nil file_ocis_services_store_v0_store_proto_depIdxs = nil
} }
@@ -1,12 +1,12 @@
// Code generated by protoc-gen-micro. DO NOT EDIT. // 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 ( import (
fmt "fmt" fmt "fmt"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" proto "google.golang.org/protobuf/proto"
math "math" math "math"
) )
@@ -57,7 +57,7 @@
} }
} }
}, },
"v1DatabasesResponse": { "v0DatabasesResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"databases": { "databases": {
@@ -68,7 +68,7 @@
} }
} }
}, },
"v1DeleteOptions": { "v0DeleteOptions": {
"type": "object", "type": "object",
"properties": { "properties": {
"database": { "database": {
@@ -79,10 +79,10 @@
} }
} }
}, },
"v1DeleteResponse": { "v0DeleteResponse": {
"type": "object" "type": "object"
}, },
"v1Field": { "v0Field": {
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
@@ -95,7 +95,7 @@
} }
} }
}, },
"v1ListOptions": { "v0ListOptions": {
"type": "object", "type": "object",
"properties": { "properties": {
"database": { "database": {
@@ -120,7 +120,7 @@
} }
} }
}, },
"v1ListResponse": { "v0ListResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"keys": { "keys": {
@@ -131,7 +131,7 @@
} }
} }
}, },
"v1ReadOptions": { "v0ReadOptions": {
"type": "object", "type": "object",
"properties": { "properties": {
"database": { "database": {
@@ -157,23 +157,23 @@
"where": { "where": {
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "#/definitions/v1Field" "$ref": "#/definitions/v0Field"
} }
} }
} }
}, },
"v1ReadResponse": { "v0ReadResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"records": { "records": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/v1Record" "$ref": "#/definitions/v0Record"
} }
} }
} }
}, },
"v1Record": { "v0Record": {
"type": "object", "type": "object",
"properties": { "properties": {
"key": { "key": {
@@ -193,13 +193,13 @@
"metadata": { "metadata": {
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "#/definitions/v1Field" "$ref": "#/definitions/v0Field"
}, },
"title": "the associated metadata" "title": "the associated metadata"
} }
} }
}, },
"v1TablesResponse": { "v0TablesResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"tables": { "tables": {
@@ -210,7 +210,7 @@
} }
} }
}, },
"v1WriteOptions": { "v0WriteOptions": {
"type": "object", "type": "object",
"properties": { "properties": {
"database": { "database": {
@@ -231,7 +231,7 @@
} }
} }
}, },
"v1WriteResponse": { "v0WriteResponse": {
"type": "object" "type": "object"
} }
}, },
@@ -2,13 +2,13 @@
// versions: // versions:
// protoc-gen-go v1.27.1 // protoc-gen-go v1.27.1
// protoc v3.17.3 // protoc v3.17.3
// source: ocis/services/thumbnails/v1/thumbnails.proto // source: ocis/services/thumbnails/v0/thumbnails.proto
package v1 package v0
import ( import (
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
@@ -53,11 +53,11 @@ func (x GetThumbnailRequest_ThumbnailType) String() string {
} }
func (GetThumbnailRequest_ThumbnailType) Descriptor() protoreflect.EnumDescriptor { 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 { 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 { func (x GetThumbnailRequest_ThumbnailType) Number() protoreflect.EnumNumber {
@@ -66,7 +66,7 @@ func (x GetThumbnailRequest_ThumbnailType) Number() protoreflect.EnumNumber {
// Deprecated: Use GetThumbnailRequest_ThumbnailType.Descriptor instead. // Deprecated: Use GetThumbnailRequest_ThumbnailType.Descriptor instead.
func (GetThumbnailRequest_ThumbnailType) EnumDescriptor() ([]byte, []int) { 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 // A request to retrieve a thumbnail
@@ -78,7 +78,7 @@ type GetThumbnailRequest struct {
// The path to the source image // The path to the source image
Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"`
// The type to which the thumbnail should get encoded to. // 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 // The width of the thumbnail
Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
// The height of the thumbnail // The height of the thumbnail
@@ -92,7 +92,7 @@ type GetThumbnailRequest struct {
func (x *GetThumbnailRequest) Reset() { func (x *GetThumbnailRequest) Reset() {
*x = GetThumbnailRequest{} *x = GetThumbnailRequest{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -105,7 +105,7 @@ func (x *GetThumbnailRequest) String() string {
func (*GetThumbnailRequest) ProtoMessage() {} func (*GetThumbnailRequest) ProtoMessage() {}
func (x *GetThumbnailRequest) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -118,7 +118,7 @@ func (x *GetThumbnailRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetThumbnailRequest.ProtoReflect.Descriptor instead. // Deprecated: Use GetThumbnailRequest.ProtoReflect.Descriptor instead.
func (*GetThumbnailRequest) Descriptor() ([]byte, []int) { 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 { func (x *GetThumbnailRequest) GetFilepath() string {
@@ -156,14 +156,14 @@ func (m *GetThumbnailRequest) GetSource() isGetThumbnailRequest_Source {
return nil return nil
} }
func (x *GetThumbnailRequest) GetWebdavSource() *v1.WebdavSource { func (x *GetThumbnailRequest) GetWebdavSource() *v0.WebdavSource {
if x, ok := x.GetSource().(*GetThumbnailRequest_WebdavSource); ok { if x, ok := x.GetSource().(*GetThumbnailRequest_WebdavSource); ok {
return x.WebdavSource return x.WebdavSource
} }
return nil return nil
} }
func (x *GetThumbnailRequest) GetCs3Source() *v1.CS3Source { func (x *GetThumbnailRequest) GetCs3Source() *v0.CS3Source {
if x, ok := x.GetSource().(*GetThumbnailRequest_Cs3Source); ok { if x, ok := x.GetSource().(*GetThumbnailRequest_Cs3Source); ok {
return x.Cs3Source return x.Cs3Source
} }
@@ -175,11 +175,11 @@ type isGetThumbnailRequest_Source interface {
} }
type GetThumbnailRequest_WebdavSource struct { 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 { 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() {} func (*GetThumbnailRequest_WebdavSource) isGetThumbnailRequest_Source() {}
@@ -201,7 +201,7 @@ type GetThumbnailResponse struct {
func (x *GetThumbnailResponse) Reset() { func (x *GetThumbnailResponse) Reset() {
*x = GetThumbnailResponse{} *x = GetThumbnailResponse{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -214,7 +214,7 @@ func (x *GetThumbnailResponse) String() string {
func (*GetThumbnailResponse) ProtoMessage() {} func (*GetThumbnailResponse) ProtoMessage() {}
func (x *GetThumbnailResponse) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -227,7 +227,7 @@ func (x *GetThumbnailResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetThumbnailResponse.ProtoReflect.Descriptor instead. // Deprecated: Use GetThumbnailResponse.ProtoReflect.Descriptor instead.
func (*GetThumbnailResponse) Descriptor() ([]byte, []int) { 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 { func (x *GetThumbnailResponse) GetThumbnail() []byte {
@@ -244,16 +244,16 @@ func (x *GetThumbnailResponse) GetMimetype() string {
return "" 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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 ( var (
file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescOnce sync.Once file_ocis_services_thumbnails_v0_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_rawDescData = file_ocis_services_thumbnails_v0_thumbnails_proto_rawDesc
) )
func file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescGZIP() []byte { func file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescGZIP() []byte {
file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescOnce.Do(func() { file_ocis_services_thumbnails_v0_thumbnails_proto_rawDescOnce.Do(func() {
file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescData = protoimpl.X.CompressGZIP(file_ocis_services_thumbnails_v1_thumbnails_proto_rawDescData) 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_v0_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_v0_thumbnails_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_ocis_services_thumbnails_v1_thumbnails_proto_goTypes = []interface{}{ var file_ocis_services_thumbnails_v0_thumbnails_proto_goTypes = []interface{}{
(GetThumbnailRequest_ThumbnailType)(0), // 0: ocis.services.thumbnails.v1.GetThumbnailRequest.ThumbnailType (GetThumbnailRequest_ThumbnailType)(0), // 0: ocis.services.thumbnails.v0.GetThumbnailRequest.ThumbnailType
(*GetThumbnailRequest)(nil), // 1: ocis.services.thumbnails.v1.GetThumbnailRequest (*GetThumbnailRequest)(nil), // 1: ocis.services.thumbnails.v0.GetThumbnailRequest
(*GetThumbnailResponse)(nil), // 2: ocis.services.thumbnails.v1.GetThumbnailResponse (*GetThumbnailResponse)(nil), // 2: ocis.services.thumbnails.v0.GetThumbnailResponse
(*v1.WebdavSource)(nil), // 3: ocis.messages.thumbnails.v1.WebdavSource (*v0.WebdavSource)(nil), // 3: ocis.messages.thumbnails.v0.WebdavSource
(*v1.CS3Source)(nil), // 4: ocis.messages.thumbnails.v1.CS3Source (*v0.CS3Source)(nil), // 4: ocis.messages.thumbnails.v0.CS3Source
} }
var file_ocis_services_thumbnails_v1_thumbnails_proto_depIdxs = []int32{ var file_ocis_services_thumbnails_v0_thumbnails_proto_depIdxs = []int32{
0, // 0: ocis.services.thumbnails.v1.GetThumbnailRequest.thumbnail_type:type_name -> ocis.services.thumbnails.v1.GetThumbnailRequest.ThumbnailType 0, // 0: ocis.services.thumbnails.v0.GetThumbnailRequest.thumbnail_type:type_name -> ocis.services.thumbnails.v0.GetThumbnailRequest.ThumbnailType
3, // 1: ocis.services.thumbnails.v1.GetThumbnailRequest.webdav_source:type_name -> ocis.messages.thumbnails.v1.WebdavSource 3, // 1: ocis.services.thumbnails.v0.GetThumbnailRequest.webdav_source:type_name -> ocis.messages.thumbnails.v0.WebdavSource
4, // 2: ocis.services.thumbnails.v1.GetThumbnailRequest.cs3_source:type_name -> ocis.messages.thumbnails.v1.CS3Source 4, // 2: ocis.services.thumbnails.v0.GetThumbnailRequest.cs3_source:type_name -> ocis.messages.thumbnails.v0.CS3Source
1, // 3: ocis.services.thumbnails.v1.ThumbnailService.GetThumbnail:input_type -> ocis.services.thumbnails.v1.GetThumbnailRequest 1, // 3: ocis.services.thumbnails.v0.ThumbnailService.GetThumbnail:input_type -> ocis.services.thumbnails.v0.GetThumbnailRequest
2, // 4: ocis.services.thumbnails.v1.ThumbnailService.GetThumbnail:output_type -> ocis.services.thumbnails.v1.GetThumbnailResponse 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 4, // [4:5] is the sub-list for method output_type
3, // [3:4] is the sub-list for method input_type 3, // [3:4] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension 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 0, // [0:3] is the sub-list for field type_name
} }
func init() { file_ocis_services_thumbnails_v1_thumbnails_proto_init() } func init() { file_ocis_services_thumbnails_v0_thumbnails_proto_init() }
func file_ocis_services_thumbnails_v1_thumbnails_proto_init() { func file_ocis_services_thumbnails_v0_thumbnails_proto_init() {
if File_ocis_services_thumbnails_v1_thumbnails_proto != nil { if File_ocis_services_thumbnails_v0_thumbnails_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled { 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 { switch v := v.(*GetThumbnailRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -374,7 +374,7 @@ func file_ocis_services_thumbnails_v1_thumbnails_proto_init() {
return nil 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 { switch v := v.(*GetThumbnailResponse); i {
case 0: case 0:
return &v.state 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_WebdavSource)(nil),
(*GetThumbnailRequest_Cs3Source)(nil), (*GetThumbnailRequest_Cs3Source)(nil),
} }
@@ -395,19 +395,19 @@ func file_ocis_services_thumbnails_v1_thumbnails_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 1,
NumMessages: 2, NumMessages: 2,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },
GoTypes: file_ocis_services_thumbnails_v1_thumbnails_proto_goTypes, GoTypes: file_ocis_services_thumbnails_v0_thumbnails_proto_goTypes,
DependencyIndexes: file_ocis_services_thumbnails_v1_thumbnails_proto_depIdxs, DependencyIndexes: file_ocis_services_thumbnails_v0_thumbnails_proto_depIdxs,
EnumInfos: file_ocis_services_thumbnails_v1_thumbnails_proto_enumTypes, EnumInfos: file_ocis_services_thumbnails_v0_thumbnails_proto_enumTypes,
MessageInfos: file_ocis_services_thumbnails_v1_thumbnails_proto_msgTypes, MessageInfos: file_ocis_services_thumbnails_v0_thumbnails_proto_msgTypes,
}.Build() }.Build()
File_ocis_services_thumbnails_v1_thumbnails_proto = out.File File_ocis_services_thumbnails_v0_thumbnails_proto = out.File
file_ocis_services_thumbnails_v1_thumbnails_proto_rawDesc = nil file_ocis_services_thumbnails_v0_thumbnails_proto_rawDesc = nil
file_ocis_services_thumbnails_v1_thumbnails_proto_goTypes = nil file_ocis_services_thumbnails_v0_thumbnails_proto_goTypes = nil
file_ocis_services_thumbnails_v1_thumbnails_proto_depIdxs = nil file_ocis_services_thumbnails_v0_thumbnails_proto_depIdxs = nil
} }
@@ -1,12 +1,12 @@
// Code generated by protoc-gen-micro. DO NOT EDIT. // 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 ( import (
fmt "fmt" fmt "fmt"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" proto "google.golang.org/protobuf/proto"
math "math" math "math"
) )
@@ -66,7 +66,7 @@
} }
} }
}, },
"v1CS3Source": { "v0CS3Source": {
"type": "object", "type": "object",
"properties": { "properties": {
"path": { "path": {
@@ -77,7 +77,7 @@
} }
} }
}, },
"v1GetThumbnailResponse": { "v0GetThumbnailResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"thumbnail": { "thumbnail": {
@@ -92,7 +92,7 @@
}, },
"title": "The service response" "title": "The service response"
}, },
"v1WebdavSource": { "v0WebdavSource": {
"type": "object", "type": "object",
"properties": { "properties": {
"url": { "url": {
+4 -4
View File
@@ -18,10 +18,10 @@ plugins:
opt: opt:
- paths=source_relative - paths=source_relative
- "ignore_packages=\ - "ignore_packages=\
ocis.services.thumbnails.v1;\ ocis.services.thumbnails.v0;\
ocis.messages.thumbnails.v1;\ ocis.messages.thumbnails.v0;\
ocis.services.store.v1;\ ocis.services.store.v0;\
ocis.messages.store.v1" ocis.messages.store.v0"
- name: openapiv2 - name: openapiv2
path: ../../.bingo/protoc-gen-openapiv2 path: ../../.bingo/protoc-gen-openapiv2
@@ -1,8 +1,8 @@
syntax = "proto3"; 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"; import "google/protobuf/timestamp.proto";
// Account follows the properties of the ms graph api user resource. // Account follows the properties of the ms graph api user resource.
@@ -1,8 +1,8 @@
syntax = "proto3"; 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 // messages for settings values
@@ -1,8 +1,8 @@
syntax = "proto3"; 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 { message Field {
// type of value e.g string, int, int64, bool, float64 // type of value e.g string, int, int64, bool, float64
@@ -1,8 +1,8 @@
syntax = "proto3"; 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 { message WebdavSource {
// REQUIRED. // REQUIRED.
@@ -1,10 +1,10 @@
syntax = "proto3"; 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/field_behavior.proto";
import "google/api/annotations.proto"; import "google/api/annotations.proto";
import "google/protobuf/empty.proto"; import "google/protobuf/empty.proto";
@@ -48,14 +48,14 @@ service AccountsService {
}; };
} }
// Gets an account // 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) = { option (google.api.http) = {
post: "/api/v0/accounts/accounts-get", post: "/api/v0/accounts/accounts-get",
body: "*" body: "*"
}; };
} }
// Creates an account // 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. // Create maps to HTTP POST. URL path as the collection name.
// HTTP request body contains the resource // HTTP request body contains the resource
option (google.api.http) = { option (google.api.http) = {
@@ -64,7 +64,7 @@ service AccountsService {
}; };
} }
// Updates an account // 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. // Update maps to HTTP PATCH. Resource name is mapped to a URL path.
// Resource is contained in the HTTP request body // Resource is contained in the HTTP request body
option (google.api.http) = { option (google.api.http) = {
@@ -93,14 +93,14 @@ service GroupsService {
}; };
} }
// Gets an groups // 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) = { option (google.api.http) = {
post: "/api/v0/accounts/groups-get", post: "/api/v0/accounts/groups-get",
body: "*" body: "*"
}; };
} }
// Creates a group // 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. // Create maps to HTTP POST. URL path as the collection name.
// HTTP request body contains the resource // HTTP request body contains the resource
option (google.api.http) = { option (google.api.http) = {
@@ -109,7 +109,7 @@ service GroupsService {
}; };
} }
// Updates a group // 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. // Update maps to HTTP PATCH. Resource name is mapped to a URL path.
// Resource is contained in the HTTP request body // Resource is contained in the HTTP request body
option (google.api.http) = { 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 // 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 // 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. // All request parameters go into body.
option (google.api.http) = { option (google.api.http) = {
post: "/api/v0/groups/{group_id=*}/members/$ref" 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 // 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. // All request parameters go into body.
option (google.api.http) = { option (google.api.http) = {
// URLs are broken // URLs are broken
@@ -217,7 +217,7 @@ message ListAccountsResponse {
// The field name should match the noun "accounts" in the method name. There // 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 // will be a maximum number of items returned based on the page_size field
// in the request // 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 // Token to retrieve the next page of results, or empty if there are no
// more results in the list // more results in the list
@@ -230,12 +230,12 @@ message GetAccountRequest {
message CreateAccountRequest { message CreateAccountRequest {
// The account resource to create // The account resource to create
ocis.messages.accounts.v1.Account account = 1; ocis.messages.accounts.v0.Account account = 1;
} }
message UpdateAccountRequest { message UpdateAccountRequest {
// The account resource which replaces the resource on the server // 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, // The update mask applies to the resource. For the `FieldMask` definition,
// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask // 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 // 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 // will be a maximum number of items returned based on the page_size field
// in the request // 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 // Token to retrieve the next page of results, or empty if there are no
// more results in the list // more results in the list
@@ -296,12 +296,12 @@ message GetGroupRequest {
message CreateGroupRequest { message CreateGroupRequest {
// The account resource to create // The account resource to create
ocis.messages.accounts.v1.Group group = 1; ocis.messages.accounts.v0.Group group = 1;
} }
message UpdateGroupRequest { message UpdateGroupRequest {
// The group resource which replaces the resource on the server // 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, // The update mask applies to the resource. For the `FieldMask` definition,
// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask // 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 // 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 // will be a maximum number of items returned based on the page_size field
// in the request // 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 // Token to retrieve the next page of results, or empty if there are no
// more results in the list // more results in the list
@@ -1,10 +1,10 @@
syntax = "proto3"; 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/api/annotations.proto";
import "google/protobuf/empty.proto"; import "google/protobuf/empty.proto";
import "protoc-gen-openapiv2/options/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto";
@@ -139,11 +139,11 @@ service PermissionService {
// requests and responses for settings bundles // requests and responses for settings bundles
// --- // ---
message SaveBundleRequest { message SaveBundleRequest {
ocis.messages.settings.v1.Bundle bundle = 1; ocis.messages.settings.v0.Bundle bundle = 1;
} }
message SaveBundleResponse { message SaveBundleResponse {
ocis.messages.settings.v1.Bundle bundle = 1; ocis.messages.settings.v0.Bundle bundle = 1;
} }
message GetBundleRequest { message GetBundleRequest {
@@ -151,7 +151,7 @@ message GetBundleRequest {
} }
message GetBundleResponse { message GetBundleResponse {
ocis.messages.settings.v1.Bundle bundle = 1; ocis.messages.settings.v0.Bundle bundle = 1;
} }
message ListBundlesRequest { message ListBundlesRequest {
@@ -159,16 +159,16 @@ message ListBundlesRequest {
} }
message ListBundlesResponse { message ListBundlesResponse {
repeated ocis.messages.settings.v1.Bundle bundles = 1; repeated ocis.messages.settings.v0.Bundle bundles = 1;
} }
message AddSettingToBundleRequest { message AddSettingToBundleRequest {
string bundle_id = 1; string bundle_id = 1;
ocis.messages.settings.v1.Setting setting = 2; ocis.messages.settings.v0.Setting setting = 2;
} }
message AddSettingToBundleResponse { message AddSettingToBundleResponse {
ocis.messages.settings.v1.Setting setting = 1; ocis.messages.settings.v0.Setting setting = 1;
} }
message RemoveSettingFromBundleRequest { message RemoveSettingFromBundleRequest {
@@ -181,11 +181,11 @@ message RemoveSettingFromBundleRequest {
// --- // ---
message SaveValueRequest { message SaveValueRequest {
ocis.messages.settings.v1.Value value = 1; ocis.messages.settings.v0.Value value = 1;
} }
message SaveValueResponse { message SaveValueResponse {
ocis.messages.settings.v1.ValueWithIdentifier value = 1; ocis.messages.settings.v0.ValueWithIdentifier value = 1;
} }
message GetValueRequest { message GetValueRequest {
@@ -193,7 +193,7 @@ message GetValueRequest {
} }
message GetValueResponse { message GetValueResponse {
ocis.messages.settings.v1.ValueWithIdentifier value = 1; ocis.messages.settings.v0.ValueWithIdentifier value = 1;
} }
message ListValuesRequest { message ListValuesRequest {
@@ -202,7 +202,7 @@ message ListValuesRequest {
} }
message ListValuesResponse { message ListValuesResponse {
repeated ocis.messages.settings.v1.ValueWithIdentifier values = 1; repeated ocis.messages.settings.v0.ValueWithIdentifier values = 1;
} }
message GetValueByUniqueIdentifiersRequest{ message GetValueByUniqueIdentifiersRequest{
@@ -219,7 +219,7 @@ message ListRoleAssignmentsRequest {
} }
message ListRoleAssignmentsResponse { message ListRoleAssignmentsResponse {
repeated ocis.messages.settings.v1.UserRoleAssignment assignments = 1; repeated ocis.messages.settings.v0.UserRoleAssignment assignments = 1;
} }
message AssignRoleToUserRequest { message AssignRoleToUserRequest {
@@ -229,7 +229,7 @@ message AssignRoleToUserRequest {
} }
message AssignRoleToUserResponse { message AssignRoleToUserResponse {
ocis.messages.settings.v1.UserRoleAssignment assignment = 1; ocis.messages.settings.v0.UserRoleAssignment assignment = 1;
} }
message RemoveRoleFromUserRequest { message RemoveRoleFromUserRequest {
@@ -241,11 +241,11 @@ message RemoveRoleFromUserRequest {
// --- // ---
message ListPermissionsByResourceRequest { message ListPermissionsByResourceRequest {
ocis.messages.settings.v1.Resource resource = 1; ocis.messages.settings.v0.Resource resource = 1;
} }
message ListPermissionsByResourceResponse { message ListPermissionsByResourceResponse {
repeated ocis.messages.settings.v1.Permission permissions = 1; repeated ocis.messages.settings.v0.Permission permissions = 1;
} }
message GetPermissionByIDRequest { message GetPermissionByIDRequest {
@@ -253,5 +253,5 @@ message GetPermissionByIDRequest {
} }
message GetPermissionByIDResponse { message GetPermissionByIDResponse {
ocis.messages.settings.v1.Permission permission = 1; ocis.messages.settings.v0.Permission permission = 1;
} }
@@ -1,10 +1,10 @@
syntax = "proto3"; 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/v0/store.proto";
import "ocis/messages/store/v1/store.proto";
import "protoc-gen-openapiv2/options/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
@@ -42,29 +42,29 @@ service Store {
message ReadRequest { message ReadRequest {
string key = 1; string key = 1;
ocis.messages.store.v1.ReadOptions options = 2; ocis.messages.store.v0.ReadOptions options = 2;
} }
message ReadResponse { message ReadResponse {
repeated ocis.messages.store.v1.Record records = 1; repeated ocis.messages.store.v0.Record records = 1;
} }
message WriteRequest { message WriteRequest {
ocis.messages.store.v1.Record record = 1; ocis.messages.store.v0.Record record = 1;
ocis.messages.store.v1.WriteOptions options = 2; ocis.messages.store.v0.WriteOptions options = 2;
} }
message WriteResponse {} message WriteResponse {}
message DeleteRequest { message DeleteRequest {
string key = 1; string key = 1;
ocis.messages.store.v1.DeleteOptions options = 2; ocis.messages.store.v0.DeleteOptions options = 2;
} }
message DeleteResponse {} message DeleteResponse {}
message ListRequest { message ListRequest {
ocis.messages.store.v1.ListOptions options = 1; ocis.messages.store.v0.ListOptions options = 1;
} }
message ListResponse { message ListResponse {
@@ -1,10 +1,10 @@
syntax = "proto3"; 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"; import "protoc-gen-openapiv2/options/annotations.proto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
@@ -53,8 +53,8 @@ message GetThumbnailRequest {
// The height of the thumbnail // The height of the thumbnail
int32 height = 4; int32 height = 4;
oneof source { oneof source {
ocis.messages.thumbnails.v1.WebdavSource webdav_source = 5; ocis.messages.thumbnails.v0.WebdavSource webdav_source = 5;
ocis.messages.thumbnails.v1.CS3Source cs3_source = 6; ocis.messages.thumbnails.v0.CS3Source cs3_source = 6;
} }
} }
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"net/http" "net/http"
"time" "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/coreos/go-oidc/v3/oidc"
"github.com/cs3org/reva/pkg/token/manager/jwt" "github.com/cs3org/reva/pkg/token/manager/jwt"
@@ -20,7 +20,7 @@ import (
pkgmiddleware "github.com/owncloud/ocis/ocis-pkg/middleware" pkgmiddleware "github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/service/grpc"
"github.com/owncloud/ocis/ocis-pkg/version" "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"
"github.com/owncloud/ocis/proxy/pkg/config/parser" "github.com/owncloud/ocis/proxy/pkg/config/parser"
"github.com/owncloud/ocis/proxy/pkg/cs3" "github.com/owncloud/ocis/proxy/pkg/cs3"
+3 -3
View File
@@ -6,9 +6,9 @@ import (
"github.com/owncloud/ocis/proxy/pkg/user/backend" "github.com/owncloud/ocis/proxy/pkg/user/backend"
accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0"
settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0"
storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v1" storesvc "github.com/owncloud/ocis/protogen/gen/ocis/services/store/v0"
gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1" gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
+2 -2
View File
@@ -13,8 +13,8 @@ import (
revactx "github.com/cs3org/reva/pkg/ctx" revactx "github.com/cs3org/reva/pkg/ctx"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v1" storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/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/owncloud/ocis/proxy/pkg/config" "github.com/owncloud/ocis/proxy/pkg/config"
"github.com/owncloud/ocis/proxy/pkg/user/backend" "github.com/owncloud/ocis/proxy/pkg/user/backend"
"golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/pbkdf2"
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"regexp" "regexp"
"sort" "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" "github.com/asim/go-micro/plugins/client/grpc/v4"
revactx "github.com/cs3org/reva/pkg/ctx" revactx "github.com/cs3org/reva/pkg/ctx"
+2 -2
View File
@@ -10,8 +10,8 @@ import (
userv1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" userv1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
revactx "github.com/cs3org/reva/pkg/ctx" revactx "github.com/cs3org/reva/pkg/ctx"
"github.com/owncloud/ocis/ocis-pkg/oidc" "github.com/owncloud/ocis/ocis-pkg/oidc"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
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/proxy/pkg/config" "github.com/owncloud/ocis/proxy/pkg/config"
"go-micro.dev/v4/client" "go-micro.dev/v4/client"
) )
+3 -3
View File
@@ -6,8 +6,8 @@ import (
"net/http" "net/http"
"strings" "strings"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0"
cs3 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" cs3 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
@@ -15,7 +15,7 @@ import (
"github.com/cs3org/reva/pkg/token" "github.com/cs3org/reva/pkg/token"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/oidc" "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 // NewAccountsServiceUserBackend creates a user-provider which fetches users from the ocis accounts-service
+4 -4
View File
@@ -8,10 +8,10 @@ import (
"github.com/cs3org/reva/pkg/token/manager/jwt" "github.com/cs3org/reva/pkg/token/manager/jwt"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/oidc" "github.com/owncloud/ocis/ocis-pkg/oidc"
accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v1" accountsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/accounts/v0"
settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0"
accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v1" accountssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/accounts/v0"
settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0"
"github.com/rs/zerolog" "github.com/rs/zerolog"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"go-micro.dev/v4/client" "go-micro.dev/v4/client"
+1 -1
View File
@@ -8,7 +8,7 @@ import (
gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1" gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
cs3 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" cs3 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
types "github.com/cs3org/go-cs3apis/cs3/types/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" "google.golang.org/grpc"
) )
+1 -1
View File
@@ -9,7 +9,7 @@ import (
rpcv1beta1 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" rpcv1beta1 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
"github.com/owncloud/ocis/ocis-pkg/log" "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" settingsService "github.com/owncloud/ocis/settings/pkg/service/v0"
) )
+1 -1
View File
@@ -6,7 +6,7 @@ import (
permissions "github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1" permissions "github.com/cs3org/go-cs3apis/cs3/permissions/v1beta1"
"github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/service/grpc"
"github.com/owncloud/ocis/ocis-pkg/version" "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" svc "github.com/owncloud/ocis/settings/pkg/service/v0"
"go-micro.dev/v4/api" "go-micro.dev/v4/api"
"go-micro.dev/v4/server" "go-micro.dev/v4/server"
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/owncloud/ocis/ocis-pkg/middleware" "github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/service/http" "github.com/owncloud/ocis/ocis-pkg/service/http"
"github.com/owncloud/ocis/ocis-pkg/version" "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" "github.com/owncloud/ocis/settings/pkg/assets"
svc "github.com/owncloud/ocis/settings/pkg/service/v0" svc "github.com/owncloud/ocis/settings/pkg/service/v0"
"go-micro.dev/v4" "go-micro.dev/v4"
+1 -1
View File
@@ -1,7 +1,7 @@
package svc package svc
import ( 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( func (g Service) hasPermission(
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/middleware" "github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/roles" "github.com/owncloud/ocis/ocis-pkg/roles"
settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0"
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/config" "github.com/owncloud/ocis/settings/pkg/config"
"github.com/owncloud/ocis/settings/pkg/settings" "github.com/owncloud/ocis/settings/pkg/settings"
store "github.com/owncloud/ocis/settings/pkg/store/filesystem" store "github.com/owncloud/ocis/settings/pkg/store/filesystem"
+2 -2
View File
@@ -1,8 +1,8 @@
package svc package svc
import ( import (
settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0"
settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0"
) )
const ( const (
+2 -2
View File
@@ -5,8 +5,8 @@ import (
validation "github.com/go-ozzo/ozzo-validation/v4" validation "github.com/go-ozzo/ozzo-validation/v4"
"github.com/go-ozzo/ozzo-validation/v4/is" "github.com/go-ozzo/ozzo-validation/v4/is"
settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0"
settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v1" settingssvc "github.com/owncloud/ocis/protogen/gen/ocis/services/settings/v0"
) )
var ( var (
+1 -1
View File
@@ -3,7 +3,7 @@ package settings
import ( import (
"errors" "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" "github.com/owncloud/ocis/settings/pkg/config"
) )
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"path/filepath" "path/filepath"
"github.com/gofrs/uuid" "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. // ListRoleAssignments loads and returns all role assignments matching the given assignment identifier.
@@ -8,7 +8,7 @@ import (
"testing" "testing"
olog "github.com/owncloud/ocis/ocis-pkg/log" 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" "github.com/stretchr/testify/assert"
) )
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"sync" "sync"
"github.com/gofrs/uuid" "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" "github.com/owncloud/ocis/settings/pkg/store/errortypes"
) )
@@ -4,7 +4,7 @@ import (
"testing" "testing"
olog "github.com/owncloud/ocis/ocis-pkg/log" 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" "github.com/stretchr/testify/assert"
) )
+1 -1
View File
@@ -1,7 +1,7 @@
package store package store
import ( 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/settings"
"github.com/owncloud/ocis/settings/pkg/util" "github.com/owncloud/ocis/settings/pkg/util"
) )
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"path/filepath" "path/filepath"
"github.com/gofrs/uuid" "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. // ListValues reads all values that match the given bundleId and accountUUID.
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing" "testing"
olog "github.com/owncloud/ocis/ocis-pkg/log" 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" "github.com/stretchr/testify/assert"
) )
+1 -1
View File
@@ -1,7 +1,7 @@
package util package util
import ( import (
settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v1" settingsmsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/settings/v0"
) )
const ( const (
+1 -1
View File
@@ -3,7 +3,7 @@ package util
import ( import (
"testing" "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" "gotest.tools/v3/assert"
) )
+1 -1
View File
@@ -3,7 +3,7 @@ package grpc
import ( import (
"github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/service/grpc"
"github.com/owncloud/ocis/ocis-pkg/version" "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" svc "github.com/owncloud/ocis/store/pkg/service/v0"
) )
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"github.com/blevesearch/bleve/v2" "github.com/blevesearch/bleve/v2"
"github.com/blevesearch/bleve/v2/analysis/analyzer/keyword" "github.com/blevesearch/bleve/v2/analysis/analyzer/keyword"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/v1" storemsg "github.com/owncloud/ocis/protogen/gen/ocis/messages/store/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/owncloud/ocis/store/pkg/config" "github.com/owncloud/ocis/store/pkg/config"
merrors "go-micro.dev/v4/errors" merrors "go-micro.dev/v4/errors"
"google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/encoding/protojson"

Some files were not shown because too many files have changed in this diff Show More