Add `ninja plugin gallery list|add|remove|reorder|set-featured` for author-side curation of a plugin/theme's registry screenshot gallery, feeding the browse/detail surfaces shipped in Phases 4-5. - Re-vendor plugin_registry.proto from orchestrator (adds PluginGalleryService) and regenerate the connect client. - Wire the Gallery client into orchclient.Client. - Target plugin defaults from plugin.mod with --scope/--name overrides; device-flow auth via resolveClient. list is a public read; add/remove/ reorder/set-featured are RoleUser (scope/account membership enforced server-side). add derives content_type from the extension against the png/jpg/jpeg/webp allowlist and rejects >8MiB client-side. Scope handling trims a leading @ client-side because ListScreenshots does not trim server-side (GetPlugin does). Live-verified against the dev orchestrator; go build + go test ./... + check-safety all green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6678 lines
223 KiB
Go
6678 lines
223 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: orchestrator/v1/plugin_registry.proto
|
|
|
|
package orchestratorv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// PluginVisibility is the lifecycle/access state of a plugin in the registry.
|
|
// PRIVATE plugins are scoped to a single account; PUBLIC plugins are visible
|
|
// to all. UNDER_REVIEW / REJECTED / TAKEN_DOWN are public-registry moderation
|
|
// states and do not apply to private plugins.
|
|
type PluginVisibility int32
|
|
|
|
const (
|
|
PluginVisibility_PLUGIN_VISIBILITY_UNSPECIFIED PluginVisibility = 0
|
|
PluginVisibility_PLUGIN_VISIBILITY_PRIVATE PluginVisibility = 1
|
|
PluginVisibility_PLUGIN_VISIBILITY_UNDER_REVIEW PluginVisibility = 2
|
|
PluginVisibility_PLUGIN_VISIBILITY_PUBLIC PluginVisibility = 3
|
|
PluginVisibility_PLUGIN_VISIBILITY_REJECTED PluginVisibility = 4
|
|
PluginVisibility_PLUGIN_VISIBILITY_TAKEN_DOWN PluginVisibility = 5
|
|
)
|
|
|
|
// Enum value maps for PluginVisibility.
|
|
var (
|
|
PluginVisibility_name = map[int32]string{
|
|
0: "PLUGIN_VISIBILITY_UNSPECIFIED",
|
|
1: "PLUGIN_VISIBILITY_PRIVATE",
|
|
2: "PLUGIN_VISIBILITY_UNDER_REVIEW",
|
|
3: "PLUGIN_VISIBILITY_PUBLIC",
|
|
4: "PLUGIN_VISIBILITY_REJECTED",
|
|
5: "PLUGIN_VISIBILITY_TAKEN_DOWN",
|
|
}
|
|
PluginVisibility_value = map[string]int32{
|
|
"PLUGIN_VISIBILITY_UNSPECIFIED": 0,
|
|
"PLUGIN_VISIBILITY_PRIVATE": 1,
|
|
"PLUGIN_VISIBILITY_UNDER_REVIEW": 2,
|
|
"PLUGIN_VISIBILITY_PUBLIC": 3,
|
|
"PLUGIN_VISIBILITY_REJECTED": 4,
|
|
"PLUGIN_VISIBILITY_TAKEN_DOWN": 5,
|
|
}
|
|
)
|
|
|
|
func (x PluginVisibility) Enum() *PluginVisibility {
|
|
p := new(PluginVisibility)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PluginVisibility) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PluginVisibility) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_orchestrator_v1_plugin_registry_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (PluginVisibility) Type() protoreflect.EnumType {
|
|
return &file_orchestrator_v1_plugin_registry_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x PluginVisibility) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PluginVisibility.Descriptor instead.
|
|
func (PluginVisibility) EnumDescriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type Scope struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Scope) Reset() {
|
|
*x = Scope{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Scope) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Scope) ProtoMessage() {}
|
|
|
|
func (x *Scope) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Scope.ProtoReflect.Descriptor instead.
|
|
func (*Scope) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Scope) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scope) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scope) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scope) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Plugin struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
ScopeSlug string `protobuf:"bytes,2,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Visibility PluginVisibility `protobuf:"varint,4,opt,name=visibility,proto3,enum=orchestrator.v1.PluginVisibility" json:"visibility,omitempty"`
|
|
Premium bool `protobuf:"varint,5,opt,name=premium,proto3" json:"premium,omitempty"`
|
|
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
|
HomepageUrl string `protobuf:"bytes,7,opt,name=homepage_url,json=homepageUrl,proto3" json:"homepage_url,omitempty"`
|
|
Categories []string `protobuf:"bytes,8,rep,name=categories,proto3" json:"categories,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Kind string `protobuf:"bytes,10,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
// owner_account_id is set for private plugins and identifies the account
|
|
// that owns the plugin. Empty for public plugins.
|
|
OwnerAccountId string `protobuf:"bytes,12,opt,name=owner_account_id,json=ownerAccountId,proto3" json:"owner_account_id,omitempty"`
|
|
// latest_version is the most recent non-yanked version string published
|
|
// for this plugin (e.g. "0.2.3"). Empty when the plugin has no versions
|
|
// yet. Computed server-side as a LATERAL lookup on registry_versions so
|
|
// listing endpoints don't N+1.
|
|
LatestVersion string `protobuf:"bytes,13,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
|
|
Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
// preview_image_url is the PUBLIC, unsigned, long-lived image URL for this
|
|
// plugin's card image, usable directly as an <img src>: the gallery's
|
|
// Featured screenshot when one exists, else the latest non-yanked version's
|
|
// preview.png. Empty when neither exists — the wizard card then degrades to
|
|
// display_name + tags (spec §5.2).
|
|
PreviewImageUrl string `protobuf:"bytes,15,opt,name=preview_image_url,json=previewImageUrl,proto3" json:"preview_image_url,omitempty"`
|
|
// rating_avg/rating_count are the denormalised star-review aggregate over
|
|
// non-deleted reviews (0/0 when unreviewed).
|
|
RatingAvg float32 `protobuf:"fixed32,16,opt,name=rating_avg,json=ratingAvg,proto3" json:"rating_avg,omitempty"`
|
|
RatingCount int32 `protobuf:"varint,17,opt,name=rating_count,json=ratingCount,proto3" json:"rating_count,omitempty"`
|
|
// install_count is the number of distinct CMS instances currently recorded
|
|
// as installers of this plugin (registry_install_events grain).
|
|
InstallCount int32 `protobuf:"varint,18,opt,name=install_count,json=installCount,proto3" json:"install_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Plugin) Reset() {
|
|
*x = Plugin{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Plugin) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Plugin) ProtoMessage() {}
|
|
|
|
func (x *Plugin) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Plugin.ProtoReflect.Descriptor instead.
|
|
func (*Plugin) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Plugin) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetVisibility() PluginVisibility {
|
|
if x != nil {
|
|
return x.Visibility
|
|
}
|
|
return PluginVisibility_PLUGIN_VISIBILITY_UNSPECIFIED
|
|
}
|
|
|
|
func (x *Plugin) GetPremium() bool {
|
|
if x != nil {
|
|
return x.Premium
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Plugin) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetHomepageUrl() string {
|
|
if x != nil {
|
|
return x.HomepageUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetCategories() []string {
|
|
if x != nil {
|
|
return x.Categories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Plugin) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Plugin) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetOwnerAccountId() string {
|
|
if x != nil {
|
|
return x.OwnerAccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetLatestVersion() string {
|
|
if x != nil {
|
|
return x.LatestVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetTags() []string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Plugin) GetPreviewImageUrl() string {
|
|
if x != nil {
|
|
return x.PreviewImageUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plugin) GetRatingAvg() float32 {
|
|
if x != nil {
|
|
return x.RatingAvg
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Plugin) GetRatingCount() int32 {
|
|
if x != nil {
|
|
return x.RatingCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Plugin) GetInstallCount() int32 {
|
|
if x != nil {
|
|
return x.InstallCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// PluginScreenshot is one image in a plugin's managed gallery. The gallery is
|
|
// per-plugin (not per-version); images arrive either from a published
|
|
// artifact's screenshots/ dir or from author uploads, and the author orders
|
|
// them and marks one Featured (the card image).
|
|
type PluginScreenshot struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
// url is the public unsigned image URL (only public plugins serve gallery
|
|
// images in v1).
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
Featured bool `protobuf:"varint,3,opt,name=featured,proto3" json:"featured,omitempty"`
|
|
Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"`
|
|
ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PluginScreenshot) Reset() {
|
|
*x = PluginScreenshot{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PluginScreenshot) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PluginScreenshot) ProtoMessage() {}
|
|
|
|
func (x *PluginScreenshot) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PluginScreenshot.ProtoReflect.Descriptor instead.
|
|
func (*PluginScreenshot) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *PluginScreenshot) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginScreenshot) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginScreenshot) GetFeatured() bool {
|
|
if x != nil {
|
|
return x.Featured
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PluginScreenshot) GetPosition() int32 {
|
|
if x != nil {
|
|
return x.Position
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PluginScreenshot) GetContentType() string {
|
|
if x != nil {
|
|
return x.ContentType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Category struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
SortOrder int32 `protobuf:"varint,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Category) Reset() {
|
|
*x = Category{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Category) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Category) ProtoMessage() {}
|
|
|
|
func (x *Category) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Category.ProtoReflect.Descriptor instead.
|
|
func (*Category) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Category) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Category) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Category) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Category) GetSortOrder() int32 {
|
|
if x != nil {
|
|
return x.SortOrder
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Version struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
PublishedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"`
|
|
Yanked bool `protobuf:"varint,7,opt,name=yanked,proto3" json:"yanked,omitempty"`
|
|
SdkConstraint string `protobuf:"bytes,8,opt,name=sdk_constraint,json=sdkConstraint,proto3" json:"sdk_constraint,omitempty"`
|
|
SourceArchiveSha256 string `protobuf:"bytes,9,opt,name=source_archive_sha256,json=sourceArchiveSha256,proto3" json:"source_archive_sha256,omitempty"`
|
|
SourceArchiveSize int64 `protobuf:"varint,10,opt,name=source_archive_size,json=sourceArchiveSize,proto3" json:"source_archive_size,omitempty"`
|
|
// preview_image_url is the public unsigned URL of this specific version's
|
|
// preview PNG, or empty when this version shipped no preview.png.
|
|
PreviewImageUrl string `protobuf:"bytes,11,opt,name=preview_image_url,json=previewImageUrl,proto3" json:"preview_image_url,omitempty"`
|
|
// abi_version is the wasm ABI major version this artifact was built against
|
|
// (WO-WZ-011). 0 means a legacy source archive (compiled in-container), not a
|
|
// .bnp. Instances filter incompatible artifacts on this before downloading.
|
|
AbiVersion uint32 `protobuf:"varint,12,opt,name=abi_version,json=abiVersion,proto3" json:"abi_version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Version) Reset() {
|
|
*x = Version{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Version) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Version) ProtoMessage() {}
|
|
|
|
func (x *Version) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Version.ProtoReflect.Descriptor instead.
|
|
func (*Version) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Version) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Version) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Version) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Version) GetPublishedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.PublishedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Version) GetYanked() bool {
|
|
if x != nil {
|
|
return x.Yanked
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Version) GetSdkConstraint() string {
|
|
if x != nil {
|
|
return x.SdkConstraint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Version) GetSourceArchiveSha256() string {
|
|
if x != nil {
|
|
return x.SourceArchiveSha256
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Version) GetSourceArchiveSize() int64 {
|
|
if x != nil {
|
|
return x.SourceArchiveSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Version) GetPreviewImageUrl() string {
|
|
if x != nil {
|
|
return x.PreviewImageUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Version) GetAbiVersion() uint32 {
|
|
if x != nil {
|
|
return x.AbiVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Requirement struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScopeSlug string `protobuf:"bytes,1,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
ConstraintExpr string `protobuf:"bytes,3,opt,name=constraint_expr,json=constraintExpr,proto3" json:"constraint_expr,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Requirement) Reset() {
|
|
*x = Requirement{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Requirement) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Requirement) ProtoMessage() {}
|
|
|
|
func (x *Requirement) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Requirement.ProtoReflect.Descriptor instead.
|
|
func (*Requirement) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *Requirement) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Requirement) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Requirement) GetConstraintExpr() string {
|
|
if x != nil {
|
|
return x.ConstraintExpr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateScopeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateScopeRequest) Reset() {
|
|
*x = CreateScopeRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateScopeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateScopeRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateScopeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateScopeRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateScopeRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CreateScopeRequest) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateScopeRequest) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateScopeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Scope *Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateScopeResponse) Reset() {
|
|
*x = CreateScopeResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateScopeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateScopeResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateScopeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateScopeResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateScopeResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CreateScopeResponse) GetScope() *Scope {
|
|
if x != nil {
|
|
return x.Scope
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListMyScopesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMyScopesRequest) Reset() {
|
|
*x = ListMyScopesRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMyScopesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMyScopesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListMyScopesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMyScopesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListMyScopesRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type ListMyScopesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Scopes []*Scope `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMyScopesResponse) Reset() {
|
|
*x = ListMyScopesResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMyScopesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMyScopesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListMyScopesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMyScopesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListMyScopesResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ListMyScopesResponse) GetScopes() []*Scope {
|
|
if x != nil {
|
|
return x.Scopes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetScopeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScopeRequest) Reset() {
|
|
*x = GetScopeRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScopeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScopeRequest) ProtoMessage() {}
|
|
|
|
func (x *GetScopeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScopeRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetScopeRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GetScopeRequest) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetScopeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Scope *Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
|
|
Plugins []*Plugin `protobuf:"bytes,2,rep,name=plugins,proto3" json:"plugins,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScopeResponse) Reset() {
|
|
*x = GetScopeResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScopeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScopeResponse) ProtoMessage() {}
|
|
|
|
func (x *GetScopeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetScopeResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetScopeResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *GetScopeResponse) GetScope() *Scope {
|
|
if x != nil {
|
|
return x.Scope
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetScopeResponse) GetPlugins() []*Plugin {
|
|
if x != nil {
|
|
return x.Plugins
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListMyPluginsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMyPluginsRequest) Reset() {
|
|
*x = ListMyPluginsRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMyPluginsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMyPluginsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListMyPluginsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMyPluginsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListMyPluginsRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
type ListMyPluginsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMyPluginsResponse) Reset() {
|
|
*x = ListMyPluginsResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMyPluginsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMyPluginsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListMyPluginsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMyPluginsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListMyPluginsResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ListMyPluginsResponse) GetPlugins() []*Plugin {
|
|
if x != nil {
|
|
return x.Plugins
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreatePluginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScopeSlug string `protobuf:"bytes,1,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
Categories []string `protobuf:"bytes,5,rep,name=categories,proto3" json:"categories,omitempty"`
|
|
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
// visibility is the requested visibility of the plugin. UNSPECIFIED defers
|
|
// to the registry's default (public for explicit scopes, private for the
|
|
// "@private" sentinel).
|
|
Visibility PluginVisibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=orchestrator.v1.PluginVisibility" json:"visibility,omitempty"`
|
|
// active_account_id is required when visibility = PRIVATE; the server
|
|
// verifies the caller is a member of this account before creating the
|
|
// private plugin under it.
|
|
ActiveAccountId string `protobuf:"bytes,8,opt,name=active_account_id,json=activeAccountId,proto3" json:"active_account_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreatePluginRequest) Reset() {
|
|
*x = CreatePluginRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreatePluginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreatePluginRequest) ProtoMessage() {}
|
|
|
|
func (x *CreatePluginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreatePluginRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreatePluginRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *CreatePluginRequest) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreatePluginRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreatePluginRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreatePluginRequest) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreatePluginRequest) GetCategories() []string {
|
|
if x != nil {
|
|
return x.Categories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreatePluginRequest) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreatePluginRequest) GetVisibility() PluginVisibility {
|
|
if x != nil {
|
|
return x.Visibility
|
|
}
|
|
return PluginVisibility_PLUGIN_VISIBILITY_UNSPECIFIED
|
|
}
|
|
|
|
func (x *CreatePluginRequest) GetActiveAccountId() string {
|
|
if x != nil {
|
|
return x.ActiveAccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreatePluginResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin *Plugin `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreatePluginResponse) Reset() {
|
|
*x = CreatePluginResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreatePluginResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreatePluginResponse) ProtoMessage() {}
|
|
|
|
func (x *CreatePluginResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreatePluginResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreatePluginResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *CreatePluginResponse) GetPlugin() *Plugin {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPluginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScopeSlug string `protobuf:"bytes,1,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// active_account_id is required when scope_slug = "private" so the server
|
|
// can resolve (account_id, name) instead of (scope_id, name). Ignored
|
|
// otherwise.
|
|
ActiveAccountId string `protobuf:"bytes,3,opt,name=active_account_id,json=activeAccountId,proto3" json:"active_account_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPluginRequest) Reset() {
|
|
*x = GetPluginRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPluginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPluginRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPluginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPluginRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPluginRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *GetPluginRequest) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPluginRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPluginRequest) GetActiveAccountId() string {
|
|
if x != nil {
|
|
return x.ActiveAccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPluginResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin *Plugin `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Versions []*Version `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
|
|
Channels map[string]string `protobuf:"bytes,3,rep,name=channels,proto3" json:"channels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// screenshots is the plugin's gallery in display order (Featured included).
|
|
Screenshots []*PluginScreenshot `protobuf:"bytes,4,rep,name=screenshots,proto3" json:"screenshots,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPluginResponse) Reset() {
|
|
*x = GetPluginResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPluginResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPluginResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPluginResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPluginResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPluginResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *GetPluginResponse) GetPlugin() *Plugin {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPluginResponse) GetVersions() []*Version {
|
|
if x != nil {
|
|
return x.Versions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPluginResponse) GetChannels() map[string]string {
|
|
if x != nil {
|
|
return x.Channels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPluginResponse) GetScreenshots() []*PluginScreenshot {
|
|
if x != nil {
|
|
return x.Screenshots
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListPluginsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
|
|
Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
Categories []string `protobuf:"bytes,5,rep,name=categories,proto3" json:"categories,omitempty"`
|
|
Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPluginsRequest) Reset() {
|
|
*x = ListPluginsRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPluginsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPluginsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPluginsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPluginsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPluginsRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *ListPluginsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPluginsRequest) GetOffset() int32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPluginsRequest) GetQuery() string {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPluginsRequest) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPluginsRequest) GetCategories() []string {
|
|
if x != nil {
|
|
return x.Categories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListPluginsRequest) GetTags() []string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListPluginsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPluginsResponse) Reset() {
|
|
*x = ListPluginsResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPluginsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPluginsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPluginsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPluginsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPluginsResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *ListPluginsResponse) GetPlugins() []*Plugin {
|
|
if x != nil {
|
|
return x.Plugins
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListCategoriesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListCategoriesRequest) Reset() {
|
|
*x = ListCategoriesRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListCategoriesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCategoriesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListCategoriesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListCategoriesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListCategoriesRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
type ListCategoriesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Categories []*Category `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListCategoriesResponse) Reset() {
|
|
*x = ListCategoriesResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListCategoriesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCategoriesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListCategoriesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListCategoriesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListCategoriesResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *ListCategoriesResponse) GetCategories() []*Category {
|
|
if x != nil {
|
|
return x.Categories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListTagsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Optional kind filter: "plugin", "theme", or "" for both. Lets the browse
|
|
// UI show theme-specific tags when the user filters by kind=theme.
|
|
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
// Cap the response. 0 → server default (100).
|
|
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListTagsRequest) Reset() {
|
|
*x = ListTagsRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTagsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTagsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListTagsRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *ListTagsRequest) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListTagsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListTagsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tags []*TagCount `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListTagsResponse) Reset() {
|
|
*x = ListTagsResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTagsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTagsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListTagsResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *ListTagsResponse) GetTags() []*TagCount {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TagCount struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TagCount) Reset() {
|
|
*x = TagCount{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TagCount) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TagCount) ProtoMessage() {}
|
|
|
|
func (x *TagCount) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TagCount.ProtoReflect.Descriptor instead.
|
|
func (*TagCount) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *TagCount) GetTag() string {
|
|
if x != nil {
|
|
return x.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TagCount) GetCount() int32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListPrivatePluginsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// account_id selects which account's private plugins to list. The caller
|
|
// must be a member of this account.
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPrivatePluginsRequest) Reset() {
|
|
*x = ListPrivatePluginsRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPrivatePluginsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPrivatePluginsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPrivatePluginsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPrivatePluginsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPrivatePluginsRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *ListPrivatePluginsRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPrivatePluginsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugins []*PrivatePluginSummary `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPrivatePluginsResponse) Reset() {
|
|
*x = ListPrivatePluginsResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPrivatePluginsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPrivatePluginsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPrivatePluginsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPrivatePluginsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPrivatePluginsResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *ListPrivatePluginsResponse) GetPlugins() []*PrivatePluginSummary {
|
|
if x != nil {
|
|
return x.Plugins
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// PrivatePluginSummary is the row shape used by the publisher dashboard and
|
|
// by the CMS "Private" installer tab. It bundles a Plugin with the latest
|
|
// version per channel and an installation count.
|
|
type PrivatePluginSummary struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin *Plugin `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
// channel_versions maps channel name -> latest version string published on
|
|
// that channel (e.g. "latest" -> "0.3.0", "beta" -> "0.4.0-beta.1").
|
|
ChannelVersions map[string]string `protobuf:"bytes,2,rep,name=channel_versions,json=channelVersions,proto3" json:"channel_versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// installed_site_count is the number of CMS sites in the owning account
|
|
// that currently have any version of this plugin installed. Used to gate
|
|
// delete-plugin in the dashboard.
|
|
InstalledSiteCount int32 `protobuf:"varint,3,opt,name=installed_site_count,json=installedSiteCount,proto3" json:"installed_site_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PrivatePluginSummary) Reset() {
|
|
*x = PrivatePluginSummary{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PrivatePluginSummary) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivatePluginSummary) ProtoMessage() {}
|
|
|
|
func (x *PrivatePluginSummary) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PrivatePluginSummary.ProtoReflect.Descriptor instead.
|
|
func (*PrivatePluginSummary) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *PrivatePluginSummary) GetPlugin() *Plugin {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PrivatePluginSummary) GetChannelVersions() map[string]string {
|
|
if x != nil {
|
|
return x.ChannelVersions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PrivatePluginSummary) GetInstalledSiteCount() int32 {
|
|
if x != nil {
|
|
return x.InstalledSiteCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeletePrivatePluginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
PluginName string `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePrivatePluginRequest) Reset() {
|
|
*x = DeletePrivatePluginRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePrivatePluginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePrivatePluginRequest) ProtoMessage() {}
|
|
|
|
func (x *DeletePrivatePluginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePrivatePluginRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeletePrivatePluginRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *DeletePrivatePluginRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeletePrivatePluginRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeletePrivatePluginResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePrivatePluginResponse) Reset() {
|
|
*x = DeletePrivatePluginResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePrivatePluginResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePrivatePluginResponse) ProtoMessage() {}
|
|
|
|
func (x *DeletePrivatePluginResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePrivatePluginResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeletePrivatePluginResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
type DeletePrivatePluginVersionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
PluginName string `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePrivatePluginVersionRequest) Reset() {
|
|
*x = DeletePrivatePluginVersionRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePrivatePluginVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePrivatePluginVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *DeletePrivatePluginVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePrivatePluginVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeletePrivatePluginVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *DeletePrivatePluginVersionRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeletePrivatePluginVersionRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeletePrivatePluginVersionRequest) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeletePrivatePluginVersionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePrivatePluginVersionResponse) Reset() {
|
|
*x = DeletePrivatePluginVersionResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePrivatePluginVersionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePrivatePluginVersionResponse) ProtoMessage() {}
|
|
|
|
func (x *DeletePrivatePluginVersionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePrivatePluginVersionResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeletePrivatePluginVersionResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
type ListPrivatePluginInstallSitesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
PluginName string `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPrivatePluginInstallSitesRequest) Reset() {
|
|
*x = ListPrivatePluginInstallSitesRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPrivatePluginInstallSitesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPrivatePluginInstallSitesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPrivatePluginInstallSitesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPrivatePluginInstallSitesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPrivatePluginInstallSitesRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *ListPrivatePluginInstallSitesRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPrivatePluginInstallSitesRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPrivatePluginInstallSitesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sites []*PrivatePluginInstallSite `protobuf:"bytes,1,rep,name=sites,proto3" json:"sites,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPrivatePluginInstallSitesResponse) Reset() {
|
|
*x = ListPrivatePluginInstallSitesResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPrivatePluginInstallSitesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPrivatePluginInstallSitesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPrivatePluginInstallSitesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPrivatePluginInstallSitesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPrivatePluginInstallSitesResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *ListPrivatePluginInstallSitesResponse) GetSites() []*PrivatePluginInstallSite {
|
|
if x != nil {
|
|
return x.Sites
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PrivatePluginInstallSite struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
|
SiteDisplayName string `protobuf:"bytes,2,opt,name=site_display_name,json=siteDisplayName,proto3" json:"site_display_name,omitempty"`
|
|
InstalledVersion string `protobuf:"bytes,3,opt,name=installed_version,json=installedVersion,proto3" json:"installed_version,omitempty"`
|
|
PinnedChannel string `protobuf:"bytes,4,opt,name=pinned_channel,json=pinnedChannel,proto3" json:"pinned_channel,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PrivatePluginInstallSite) Reset() {
|
|
*x = PrivatePluginInstallSite{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PrivatePluginInstallSite) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivatePluginInstallSite) ProtoMessage() {}
|
|
|
|
func (x *PrivatePluginInstallSite) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PrivatePluginInstallSite.ProtoReflect.Descriptor instead.
|
|
func (*PrivatePluginInstallSite) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *PrivatePluginInstallSite) GetInstanceId() string {
|
|
if x != nil {
|
|
return x.InstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PrivatePluginInstallSite) GetSiteDisplayName() string {
|
|
if x != nil {
|
|
return x.SiteDisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PrivatePluginInstallSite) GetInstalledVersion() string {
|
|
if x != nil {
|
|
return x.InstalledVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PrivatePluginInstallSite) GetPinnedChannel() string {
|
|
if x != nil {
|
|
return x.PinnedChannel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetVersionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScopeSlug string `protobuf:"bytes,1,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
PluginName string `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetVersionRequest) Reset() {
|
|
*x = GetVersionRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *GetVersionRequest) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetVersionRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetVersionRequest) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetVersionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
Requires []*Requirement `protobuf:"bytes,2,rep,name=requires,proto3" json:"requires,omitempty"`
|
|
ReadmeMd string `protobuf:"bytes,3,opt,name=readme_md,json=readmeMd,proto3" json:"readme_md,omitempty"`
|
|
ChangelogMd string `protobuf:"bytes,4,opt,name=changelog_md,json=changelogMd,proto3" json:"changelog_md,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetVersionResponse) Reset() {
|
|
*x = GetVersionResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetVersionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetVersionResponse) ProtoMessage() {}
|
|
|
|
func (x *GetVersionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetVersionResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *GetVersionResponse) GetVersion() *Version {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetVersionResponse) GetRequires() []*Requirement {
|
|
if x != nil {
|
|
return x.Requires
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetVersionResponse) GetReadmeMd() string {
|
|
if x != nil {
|
|
return x.ReadmeMd
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetVersionResponse) GetChangelogMd() string {
|
|
if x != nil {
|
|
return x.ChangelogMd
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResolveInstallRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScopeSlug string `protobuf:"bytes,1,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
PluginName string `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
VersionOrChannel string `protobuf:"bytes,3,opt,name=version_or_channel,json=versionOrChannel,proto3" json:"version_or_channel,omitempty"`
|
|
// active_account_id is required when scope_slug = "private" so the server
|
|
// resolves (account_id, name) and verifies the caller's account
|
|
// membership. Ignored for public scopes.
|
|
ActiveAccountId string `protobuf:"bytes,4,opt,name=active_account_id,json=activeAccountId,proto3" json:"active_account_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResolveInstallRequest) Reset() {
|
|
*x = ResolveInstallRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResolveInstallRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResolveInstallRequest) ProtoMessage() {}
|
|
|
|
func (x *ResolveInstallRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResolveInstallRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResolveInstallRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *ResolveInstallRequest) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallRequest) GetVersionOrChannel() string {
|
|
if x != nil {
|
|
return x.VersionOrChannel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallRequest) GetActiveAccountId() string {
|
|
if x != nil {
|
|
return x.ActiveAccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResolveInstallResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VersionId string `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
|
|
ScopeSlug string `protobuf:"bytes,2,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
PluginName string `protobuf:"bytes,3,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
|
ChannelPinned string `protobuf:"bytes,5,opt,name=channel_pinned,json=channelPinned,proto3" json:"channel_pinned,omitempty"`
|
|
ArchiveUrl string `protobuf:"bytes,6,opt,name=archive_url,json=archiveUrl,proto3" json:"archive_url,omitempty"`
|
|
ArchiveSha256 string `protobuf:"bytes,7,opt,name=archive_sha256,json=archiveSha256,proto3" json:"archive_sha256,omitempty"`
|
|
SdkConstraint string `protobuf:"bytes,8,opt,name=sdk_constraint,json=sdkConstraint,proto3" json:"sdk_constraint,omitempty"`
|
|
Requires []*Requirement `protobuf:"bytes,9,rep,name=requires,proto3" json:"requires,omitempty"`
|
|
Yanked bool `protobuf:"varint,10,opt,name=yanked,proto3" json:"yanked,omitempty"`
|
|
Warnings []string `protobuf:"bytes,11,rep,name=warnings,proto3" json:"warnings,omitempty"`
|
|
// abi_version is the wasm ABI major of the resolved artifact (WO-WZ-011); 0
|
|
// for a legacy source archive. The installing instance rejects an artifact
|
|
// whose abi_version its loader cannot run.
|
|
AbiVersion uint32 `protobuf:"varint,12,opt,name=abi_version,json=abiVersion,proto3" json:"abi_version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) Reset() {
|
|
*x = ResolveInstallResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResolveInstallResponse) ProtoMessage() {}
|
|
|
|
func (x *ResolveInstallResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResolveInstallResponse.ProtoReflect.Descriptor instead.
|
|
func (*ResolveInstallResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetVersionId() string {
|
|
if x != nil {
|
|
return x.VersionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetChannelPinned() string {
|
|
if x != nil {
|
|
return x.ChannelPinned
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetArchiveUrl() string {
|
|
if x != nil {
|
|
return x.ArchiveUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetArchiveSha256() string {
|
|
if x != nil {
|
|
return x.ArchiveSha256
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetSdkConstraint() string {
|
|
if x != nil {
|
|
return x.SdkConstraint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetRequires() []*Requirement {
|
|
if x != nil {
|
|
return x.Requires
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetYanked() bool {
|
|
if x != nil {
|
|
return x.Yanked
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetWarnings() []string {
|
|
if x != nil {
|
|
return x.Warnings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResolveInstallResponse) GetAbiVersion() uint32 {
|
|
if x != nil {
|
|
return x.AbiVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListPrivatePluginsForInstanceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPrivatePluginsForInstanceRequest) Reset() {
|
|
*x = ListPrivatePluginsForInstanceRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPrivatePluginsForInstanceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPrivatePluginsForInstanceRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPrivatePluginsForInstanceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPrivatePluginsForInstanceRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPrivatePluginsForInstanceRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *ListPrivatePluginsForInstanceRequest) GetInstanceId() string {
|
|
if x != nil {
|
|
return x.InstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResolveInstallForInstanceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
|
PluginName string `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
VersionOrChannel string `protobuf:"bytes,3,opt,name=version_or_channel,json=versionOrChannel,proto3" json:"version_or_channel,omitempty"`
|
|
// scope_slug selects the plugin's scope. Empty or "private" resolves the
|
|
// calling account's private plugin (the original behavior); any other value
|
|
// resolves a PUBLIC plugin in that scope (ADR 0021).
|
|
ScopeSlug string `protobuf:"bytes,4,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResolveInstallForInstanceRequest) Reset() {
|
|
*x = ResolveInstallForInstanceRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResolveInstallForInstanceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResolveInstallForInstanceRequest) ProtoMessage() {}
|
|
|
|
func (x *ResolveInstallForInstanceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResolveInstallForInstanceRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResolveInstallForInstanceRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *ResolveInstallForInstanceRequest) GetInstanceId() string {
|
|
if x != nil {
|
|
return x.InstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallForInstanceRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallForInstanceRequest) GetVersionOrChannel() string {
|
|
if x != nil {
|
|
return x.VersionOrChannel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveInstallForInstanceRequest) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PendingReview struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ReviewId string `protobuf:"bytes,1,opt,name=review_id,json=reviewId,proto3" json:"review_id,omitempty"`
|
|
PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
ScopeSlug string `protobuf:"bytes,3,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
PluginDisplayName string `protobuf:"bytes,5,opt,name=plugin_display_name,json=pluginDisplayName,proto3" json:"plugin_display_name,omitempty"`
|
|
SubmittedByUserId string `protobuf:"bytes,6,opt,name=submitted_by_user_id,json=submittedByUserId,proto3" json:"submitted_by_user_id,omitempty"`
|
|
SubmittedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=submitted_at,json=submittedAt,proto3" json:"submitted_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PendingReview) Reset() {
|
|
*x = PendingReview{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PendingReview) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingReview) ProtoMessage() {}
|
|
|
|
func (x *PendingReview) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PendingReview.ProtoReflect.Descriptor instead.
|
|
func (*PendingReview) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *PendingReview) GetReviewId() string {
|
|
if x != nil {
|
|
return x.ReviewId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingReview) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingReview) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingReview) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingReview) GetPluginDisplayName() string {
|
|
if x != nil {
|
|
return x.PluginDisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingReview) GetSubmittedByUserId() string {
|
|
if x != nil {
|
|
return x.SubmittedByUserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingReview) GetSubmittedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.SubmittedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubmitForReviewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubmitForReviewRequest) Reset() {
|
|
*x = SubmitForReviewRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubmitForReviewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitForReviewRequest) ProtoMessage() {}
|
|
|
|
func (x *SubmitForReviewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitForReviewRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubmitForReviewRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *SubmitForReviewRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubmitForReviewResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// visibility is "under_review" for non-admin authors, "public" when a superadmin
|
|
// submits (they bypass the queue entirely). String form is preserved here for
|
|
// backwards compatibility with existing handlers; the canonical enum is
|
|
// PluginVisibility on the Plugin message.
|
|
Visibility string `protobuf:"bytes,1,opt,name=visibility,proto3" json:"visibility,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubmitForReviewResponse) Reset() {
|
|
*x = SubmitForReviewResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubmitForReviewResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitForReviewResponse) ProtoMessage() {}
|
|
|
|
func (x *SubmitForReviewResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitForReviewResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubmitForReviewResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *SubmitForReviewResponse) GetVisibility() string {
|
|
if x != nil {
|
|
return x.Visibility
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPendingReviewsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPendingReviewsRequest) Reset() {
|
|
*x = ListPendingReviewsRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPendingReviewsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPendingReviewsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPendingReviewsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPendingReviewsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPendingReviewsRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *ListPendingReviewsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPendingReviewsRequest) GetOffset() int32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListPendingReviewsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Reviews []*PendingReview `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPendingReviewsResponse) Reset() {
|
|
*x = ListPendingReviewsResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPendingReviewsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPendingReviewsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPendingReviewsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPendingReviewsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPendingReviewsResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *ListPendingReviewsResponse) GetReviews() []*PendingReview {
|
|
if x != nil {
|
|
return x.Reviews
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ApproveSubmissionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // optional note for audit log
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApproveSubmissionRequest) Reset() {
|
|
*x = ApproveSubmissionRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApproveSubmissionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApproveSubmissionRequest) ProtoMessage() {}
|
|
|
|
func (x *ApproveSubmissionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApproveSubmissionRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApproveSubmissionRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *ApproveSubmissionRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApproveSubmissionRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApproveSubmissionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApproveSubmissionResponse) Reset() {
|
|
*x = ApproveSubmissionResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApproveSubmissionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApproveSubmissionResponse) ProtoMessage() {}
|
|
|
|
func (x *ApproveSubmissionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApproveSubmissionResponse.ProtoReflect.Descriptor instead.
|
|
func (*ApproveSubmissionResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
type RejectSubmissionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // required
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RejectSubmissionRequest) Reset() {
|
|
*x = RejectSubmissionRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RejectSubmissionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RejectSubmissionRequest) ProtoMessage() {}
|
|
|
|
func (x *RejectSubmissionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RejectSubmissionRequest.ProtoReflect.Descriptor instead.
|
|
func (*RejectSubmissionRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *RejectSubmissionRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RejectSubmissionRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RejectSubmissionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RejectSubmissionResponse) Reset() {
|
|
*x = RejectSubmissionResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RejectSubmissionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RejectSubmissionResponse) ProtoMessage() {}
|
|
|
|
func (x *RejectSubmissionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RejectSubmissionResponse.ProtoReflect.Descriptor instead.
|
|
func (*RejectSubmissionResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
type RequestChangesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // required — author sees this verbatim
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequestChangesRequest) Reset() {
|
|
*x = RequestChangesRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequestChangesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequestChangesRequest) ProtoMessage() {}
|
|
|
|
func (x *RequestChangesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RequestChangesRequest.ProtoReflect.Descriptor instead.
|
|
func (*RequestChangesRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *RequestChangesRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RequestChangesRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RequestChangesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequestChangesResponse) Reset() {
|
|
*x = RequestChangesResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequestChangesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequestChangesResponse) ProtoMessage() {}
|
|
|
|
func (x *RequestChangesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RequestChangesResponse.ProtoReflect.Descriptor instead.
|
|
func (*RequestChangesResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
type ListScreenshotsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScopeSlug string `protobuf:"bytes,1,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
PluginName string `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListScreenshotsRequest) Reset() {
|
|
*x = ListScreenshotsRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListScreenshotsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListScreenshotsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListScreenshotsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[52]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListScreenshotsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListScreenshotsRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *ListScreenshotsRequest) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListScreenshotsRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListScreenshotsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Screenshots []*PluginScreenshot `protobuf:"bytes,1,rep,name=screenshots,proto3" json:"screenshots,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListScreenshotsResponse) Reset() {
|
|
*x = ListScreenshotsResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListScreenshotsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListScreenshotsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListScreenshotsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListScreenshotsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListScreenshotsResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *ListScreenshotsResponse) GetScreenshots() []*PluginScreenshot {
|
|
if x != nil {
|
|
return x.Screenshots
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UploadScreenshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
// image is the raw file bytes (≤ 8 MiB; png/jpg/jpeg/webp).
|
|
Image []byte `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
|
|
Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadScreenshotRequest) Reset() {
|
|
*x = UploadScreenshotRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadScreenshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadScreenshotRequest) ProtoMessage() {}
|
|
|
|
func (x *UploadScreenshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UploadScreenshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*UploadScreenshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *UploadScreenshotRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UploadScreenshotRequest) GetImage() []byte {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UploadScreenshotRequest) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UploadScreenshotRequest) GetContentType() string {
|
|
if x != nil {
|
|
return x.ContentType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UploadScreenshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Screenshot *PluginScreenshot `protobuf:"bytes,1,opt,name=screenshot,proto3" json:"screenshot,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadScreenshotResponse) Reset() {
|
|
*x = UploadScreenshotResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadScreenshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadScreenshotResponse) ProtoMessage() {}
|
|
|
|
func (x *UploadScreenshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UploadScreenshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*UploadScreenshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *UploadScreenshotResponse) GetScreenshot() *PluginScreenshot {
|
|
if x != nil {
|
|
return x.Screenshot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteScreenshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
ScreenshotId string `protobuf:"bytes,2,opt,name=screenshot_id,json=screenshotId,proto3" json:"screenshot_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScreenshotRequest) Reset() {
|
|
*x = DeleteScreenshotRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScreenshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScreenshotRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteScreenshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteScreenshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScreenshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *DeleteScreenshotRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteScreenshotRequest) GetScreenshotId() string {
|
|
if x != nil {
|
|
return x.ScreenshotId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteScreenshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScreenshotResponse) Reset() {
|
|
*x = DeleteScreenshotResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScreenshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScreenshotResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteScreenshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[57]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteScreenshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScreenshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
type ReorderScreenshotsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
// screenshot_ids_in_order must name every current gallery image exactly once.
|
|
ScreenshotIdsInOrder []string `protobuf:"bytes,2,rep,name=screenshot_ids_in_order,json=screenshotIdsInOrder,proto3" json:"screenshot_ids_in_order,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReorderScreenshotsRequest) Reset() {
|
|
*x = ReorderScreenshotsRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReorderScreenshotsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReorderScreenshotsRequest) ProtoMessage() {}
|
|
|
|
func (x *ReorderScreenshotsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[58]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReorderScreenshotsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReorderScreenshotsRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *ReorderScreenshotsRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReorderScreenshotsRequest) GetScreenshotIdsInOrder() []string {
|
|
if x != nil {
|
|
return x.ScreenshotIdsInOrder
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReorderScreenshotsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Screenshots []*PluginScreenshot `protobuf:"bytes,1,rep,name=screenshots,proto3" json:"screenshots,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReorderScreenshotsResponse) Reset() {
|
|
*x = ReorderScreenshotsResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReorderScreenshotsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReorderScreenshotsResponse) ProtoMessage() {}
|
|
|
|
func (x *ReorderScreenshotsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[59]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReorderScreenshotsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReorderScreenshotsResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *ReorderScreenshotsResponse) GetScreenshots() []*PluginScreenshot {
|
|
if x != nil {
|
|
return x.Screenshots
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetFeaturedScreenshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
ScreenshotId string `protobuf:"bytes,2,opt,name=screenshot_id,json=screenshotId,proto3" json:"screenshot_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetFeaturedScreenshotRequest) Reset() {
|
|
*x = SetFeaturedScreenshotRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetFeaturedScreenshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetFeaturedScreenshotRequest) ProtoMessage() {}
|
|
|
|
func (x *SetFeaturedScreenshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[60]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetFeaturedScreenshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetFeaturedScreenshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *SetFeaturedScreenshotRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetFeaturedScreenshotRequest) GetScreenshotId() string {
|
|
if x != nil {
|
|
return x.ScreenshotId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetFeaturedScreenshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetFeaturedScreenshotResponse) Reset() {
|
|
*x = SetFeaturedScreenshotResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetFeaturedScreenshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetFeaturedScreenshotResponse) ProtoMessage() {}
|
|
|
|
func (x *SetFeaturedScreenshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[61]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetFeaturedScreenshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetFeaturedScreenshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
type PluginReview struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
AuthorDisplayName string `protobuf:"bytes,4,opt,name=author_display_name,json=authorDisplayName,proto3" json:"author_display_name,omitempty"`
|
|
Rating int32 `protobuf:"varint,5,opt,name=rating,proto3" json:"rating,omitempty"` // 1..5
|
|
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
|
|
Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"`
|
|
// version_at_review is the plugin version the reviewer's account had
|
|
// installed when the review was written (best effort; may be empty).
|
|
VersionAtReview string `protobuf:"bytes,8,opt,name=version_at_review,json=versionAtReview,proto3" json:"version_at_review,omitempty"`
|
|
Edited bool `protobuf:"varint,9,opt,name=edited,proto3" json:"edited,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Reply *PluginReviewReply `protobuf:"bytes,12,opt,name=reply,proto3" json:"reply,omitempty"` // unset when no (non-deleted) reply exists
|
|
// deleted/deleted_reason are populated only in moderation views; public
|
|
// listings exclude soft-deleted reviews entirely.
|
|
Deleted bool `protobuf:"varint,13,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
DeletedReason string `protobuf:"bytes,14,opt,name=deleted_reason,json=deletedReason,proto3" json:"deleted_reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PluginReview) Reset() {
|
|
*x = PluginReview{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PluginReview) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PluginReview) ProtoMessage() {}
|
|
|
|
func (x *PluginReview) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[62]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PluginReview.ProtoReflect.Descriptor instead.
|
|
func (*PluginReview) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *PluginReview) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReview) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReview) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReview) GetAuthorDisplayName() string {
|
|
if x != nil {
|
|
return x.AuthorDisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReview) GetRating() int32 {
|
|
if x != nil {
|
|
return x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PluginReview) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReview) GetBody() string {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReview) GetVersionAtReview() string {
|
|
if x != nil {
|
|
return x.VersionAtReview
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReview) GetEdited() bool {
|
|
if x != nil {
|
|
return x.Edited
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PluginReview) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PluginReview) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PluginReview) GetReply() *PluginReviewReply {
|
|
if x != nil {
|
|
return x.Reply
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PluginReview) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PluginReview) GetDeletedReason() string {
|
|
if x != nil {
|
|
return x.DeletedReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PluginReviewReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
AuthorDisplayName string `protobuf:"bytes,2,opt,name=author_display_name,json=authorDisplayName,proto3" json:"author_display_name,omitempty"`
|
|
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
|
Edited bool `protobuf:"varint,4,opt,name=edited,proto3" json:"edited,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PluginReviewReply) Reset() {
|
|
*x = PluginReviewReply{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PluginReviewReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PluginReviewReply) ProtoMessage() {}
|
|
|
|
func (x *PluginReviewReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[63]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PluginReviewReply.ProtoReflect.Descriptor instead.
|
|
func (*PluginReviewReply) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *PluginReviewReply) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReviewReply) GetAuthorDisplayName() string {
|
|
if x != nil {
|
|
return x.AuthorDisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReviewReply) GetBody() string {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginReviewReply) GetEdited() bool {
|
|
if x != nil {
|
|
return x.Edited
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PluginReviewReply) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReviewAggregate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RatingAvg float32 `protobuf:"fixed32,1,opt,name=rating_avg,json=ratingAvg,proto3" json:"rating_avg,omitempty"`
|
|
RatingCount int32 `protobuf:"varint,2,opt,name=rating_count,json=ratingCount,proto3" json:"rating_count,omitempty"`
|
|
// count1..count5 are the per-star histogram buckets.
|
|
Count1 int32 `protobuf:"varint,3,opt,name=count1,proto3" json:"count1,omitempty"`
|
|
Count2 int32 `protobuf:"varint,4,opt,name=count2,proto3" json:"count2,omitempty"`
|
|
Count3 int32 `protobuf:"varint,5,opt,name=count3,proto3" json:"count3,omitempty"`
|
|
Count4 int32 `protobuf:"varint,6,opt,name=count4,proto3" json:"count4,omitempty"`
|
|
Count5 int32 `protobuf:"varint,7,opt,name=count5,proto3" json:"count5,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReviewAggregate) Reset() {
|
|
*x = ReviewAggregate{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReviewAggregate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReviewAggregate) ProtoMessage() {}
|
|
|
|
func (x *ReviewAggregate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[64]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReviewAggregate.ProtoReflect.Descriptor instead.
|
|
func (*ReviewAggregate) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *ReviewAggregate) GetRatingAvg() float32 {
|
|
if x != nil {
|
|
return x.RatingAvg
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReviewAggregate) GetRatingCount() int32 {
|
|
if x != nil {
|
|
return x.RatingCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReviewAggregate) GetCount1() int32 {
|
|
if x != nil {
|
|
return x.Count1
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReviewAggregate) GetCount2() int32 {
|
|
if x != nil {
|
|
return x.Count2
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReviewAggregate) GetCount3() int32 {
|
|
if x != nil {
|
|
return x.Count3
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReviewAggregate) GetCount4() int32 {
|
|
if x != nil {
|
|
return x.Count4
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReviewAggregate) GetCount5() int32 {
|
|
if x != nil {
|
|
return x.Count5
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListReviewsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScopeSlug string `protobuf:"bytes,1,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
PluginName string `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // 0 → server default
|
|
Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListReviewsRequest) Reset() {
|
|
*x = ListReviewsRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListReviewsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListReviewsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListReviewsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[65]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListReviewsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListReviewsRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
func (x *ListReviewsRequest) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListReviewsRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListReviewsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListReviewsRequest) GetOffset() int32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListReviewsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Reviews []*PluginReview `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`
|
|
Aggregate *ReviewAggregate `protobuf:"bytes,2,opt,name=aggregate,proto3" json:"aggregate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListReviewsResponse) Reset() {
|
|
*x = ListReviewsResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListReviewsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListReviewsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListReviewsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[66]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListReviewsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListReviewsResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *ListReviewsResponse) GetReviews() []*PluginReview {
|
|
if x != nil {
|
|
return x.Reviews
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListReviewsResponse) GetAggregate() *ReviewAggregate {
|
|
if x != nil {
|
|
return x.Aggregate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMyReviewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMyReviewRequest) Reset() {
|
|
*x = GetMyReviewRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMyReviewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMyReviewRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMyReviewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[67]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMyReviewRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMyReviewRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
func (x *GetMyReviewRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetMyReviewResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Review *PluginReview `protobuf:"bytes,1,opt,name=review,proto3" json:"review,omitempty"` // unset when the caller has no review
|
|
// eligible reports whether the caller may write a review (verified install
|
|
// on their account, not a scope member). The form UI keys off this.
|
|
Eligible bool `protobuf:"varint,2,opt,name=eligible,proto3" json:"eligible,omitempty"`
|
|
// ineligible_reason is a human-readable explanation when eligible = false
|
|
// ("no install on your account", "authors cannot review their own plugin").
|
|
IneligibleReason string `protobuf:"bytes,3,opt,name=ineligible_reason,json=ineligibleReason,proto3" json:"ineligible_reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMyReviewResponse) Reset() {
|
|
*x = GetMyReviewResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMyReviewResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMyReviewResponse) ProtoMessage() {}
|
|
|
|
func (x *GetMyReviewResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[68]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMyReviewResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMyReviewResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
func (x *GetMyReviewResponse) GetReview() *PluginReview {
|
|
if x != nil {
|
|
return x.Review
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetMyReviewResponse) GetEligible() bool {
|
|
if x != nil {
|
|
return x.Eligible
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetMyReviewResponse) GetIneligibleReason() string {
|
|
if x != nil {
|
|
return x.IneligibleReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpsertReviewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
Rating int32 `protobuf:"varint,2,opt,name=rating,proto3" json:"rating,omitempty"` // 1..5, required
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpsertReviewRequest) Reset() {
|
|
*x = UpsertReviewRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[69]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpsertReviewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpsertReviewRequest) ProtoMessage() {}
|
|
|
|
func (x *UpsertReviewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[69]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpsertReviewRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpsertReviewRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
func (x *UpsertReviewRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertReviewRequest) GetRating() int32 {
|
|
if x != nil {
|
|
return x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpsertReviewRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertReviewRequest) GetBody() string {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpsertReviewResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Review *PluginReview `protobuf:"bytes,1,opt,name=review,proto3" json:"review,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpsertReviewResponse) Reset() {
|
|
*x = UpsertReviewResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[70]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpsertReviewResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpsertReviewResponse) ProtoMessage() {}
|
|
|
|
func (x *UpsertReviewResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[70]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpsertReviewResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpsertReviewResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
func (x *UpsertReviewResponse) GetReview() *PluginReview {
|
|
if x != nil {
|
|
return x.Review
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteReviewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteReviewRequest) Reset() {
|
|
*x = DeleteReviewRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[71]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteReviewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteReviewRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteReviewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[71]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteReviewRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteReviewRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
func (x *DeleteReviewRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteReviewResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteReviewResponse) Reset() {
|
|
*x = DeleteReviewResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[72]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteReviewResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteReviewResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteReviewResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[72]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteReviewResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteReviewResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
type ReplyToReviewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ReviewId string `protobuf:"bytes,1,opt,name=review_id,json=reviewId,proto3" json:"review_id,omitempty"`
|
|
Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplyToReviewRequest) Reset() {
|
|
*x = ReplyToReviewRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[73]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplyToReviewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplyToReviewRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplyToReviewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[73]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplyToReviewRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplyToReviewRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
func (x *ReplyToReviewRequest) GetReviewId() string {
|
|
if x != nil {
|
|
return x.ReviewId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplyToReviewRequest) GetBody() string {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReplyToReviewResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Reply *PluginReviewReply `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplyToReviewResponse) Reset() {
|
|
*x = ReplyToReviewResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplyToReviewResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplyToReviewResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplyToReviewResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[74]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplyToReviewResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplyToReviewResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
func (x *ReplyToReviewResponse) GetReply() *PluginReviewReply {
|
|
if x != nil {
|
|
return x.Reply
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteReplyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ReviewId string `protobuf:"bytes,1,opt,name=review_id,json=reviewId,proto3" json:"review_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteReplyRequest) Reset() {
|
|
*x = DeleteReplyRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteReplyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteReplyRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteReplyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[75]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteReplyRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteReplyRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
func (x *DeleteReplyRequest) GetReviewId() string {
|
|
if x != nil {
|
|
return x.ReviewId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteReplyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteReplyResponse) Reset() {
|
|
*x = DeleteReplyResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteReplyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteReplyResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteReplyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[76]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteReplyResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteReplyResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
type FlagReviewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ReviewId string `protobuf:"bytes,1,opt,name=review_id,json=reviewId,proto3" json:"review_id,omitempty"`
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // required
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FlagReviewRequest) Reset() {
|
|
*x = FlagReviewRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[77]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FlagReviewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FlagReviewRequest) ProtoMessage() {}
|
|
|
|
func (x *FlagReviewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[77]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FlagReviewRequest.ProtoReflect.Descriptor instead.
|
|
func (*FlagReviewRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
func (x *FlagReviewRequest) GetReviewId() string {
|
|
if x != nil {
|
|
return x.ReviewId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FlagReviewRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FlagReviewResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FlagReviewResponse) Reset() {
|
|
*x = FlagReviewResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FlagReviewResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FlagReviewResponse) ProtoMessage() {}
|
|
|
|
func (x *FlagReviewResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[78]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FlagReviewResponse.ProtoReflect.Descriptor instead.
|
|
func (*FlagReviewResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
type FlaggedReview struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Review *PluginReview `protobuf:"bytes,1,opt,name=review,proto3" json:"review,omitempty"`
|
|
ScopeSlug string `protobuf:"bytes,2,opt,name=scope_slug,json=scopeSlug,proto3" json:"scope_slug,omitempty"`
|
|
PluginName string `protobuf:"bytes,3,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
FlagCount int32 `protobuf:"varint,4,opt,name=flag_count,json=flagCount,proto3" json:"flag_count,omitempty"`
|
|
// flag_reasons carries the open flags' reasons, newest first.
|
|
FlagReasons []string `protobuf:"bytes,5,rep,name=flag_reasons,json=flagReasons,proto3" json:"flag_reasons,omitempty"`
|
|
FirstFlaggedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=first_flagged_at,json=firstFlaggedAt,proto3" json:"first_flagged_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FlaggedReview) Reset() {
|
|
*x = FlaggedReview{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FlaggedReview) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FlaggedReview) ProtoMessage() {}
|
|
|
|
func (x *FlaggedReview) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[79]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FlaggedReview.ProtoReflect.Descriptor instead.
|
|
func (*FlaggedReview) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
func (x *FlaggedReview) GetReview() *PluginReview {
|
|
if x != nil {
|
|
return x.Review
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FlaggedReview) GetScopeSlug() string {
|
|
if x != nil {
|
|
return x.ScopeSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FlaggedReview) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FlaggedReview) GetFlagCount() int32 {
|
|
if x != nil {
|
|
return x.FlagCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FlaggedReview) GetFlagReasons() []string {
|
|
if x != nil {
|
|
return x.FlagReasons
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FlaggedReview) GetFirstFlaggedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.FirstFlaggedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListFlaggedReviewsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListFlaggedReviewsRequest) Reset() {
|
|
*x = ListFlaggedReviewsRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[80]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListFlaggedReviewsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListFlaggedReviewsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListFlaggedReviewsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[80]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListFlaggedReviewsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListFlaggedReviewsRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
func (x *ListFlaggedReviewsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListFlaggedReviewsRequest) GetOffset() int32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListFlaggedReviewsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Reviews []*FlaggedReview `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListFlaggedReviewsResponse) Reset() {
|
|
*x = ListFlaggedReviewsResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[81]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListFlaggedReviewsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListFlaggedReviewsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListFlaggedReviewsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[81]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListFlaggedReviewsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListFlaggedReviewsResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
func (x *ListFlaggedReviewsResponse) GetReviews() []*FlaggedReview {
|
|
if x != nil {
|
|
return x.Reviews
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SoftDeleteReviewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ReviewId string `protobuf:"bytes,1,opt,name=review_id,json=reviewId,proto3" json:"review_id,omitempty"`
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // required — audit trail
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SoftDeleteReviewRequest) Reset() {
|
|
*x = SoftDeleteReviewRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[82]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SoftDeleteReviewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SoftDeleteReviewRequest) ProtoMessage() {}
|
|
|
|
func (x *SoftDeleteReviewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[82]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SoftDeleteReviewRequest.ProtoReflect.Descriptor instead.
|
|
func (*SoftDeleteReviewRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
func (x *SoftDeleteReviewRequest) GetReviewId() string {
|
|
if x != nil {
|
|
return x.ReviewId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SoftDeleteReviewRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SoftDeleteReviewResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SoftDeleteReviewResponse) Reset() {
|
|
*x = SoftDeleteReviewResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[83]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SoftDeleteReviewResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SoftDeleteReviewResponse) ProtoMessage() {}
|
|
|
|
func (x *SoftDeleteReviewResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[83]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SoftDeleteReviewResponse.ProtoReflect.Descriptor instead.
|
|
func (*SoftDeleteReviewResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
type SoftDeleteReplyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ReviewId string `protobuf:"bytes,1,opt,name=review_id,json=reviewId,proto3" json:"review_id,omitempty"`
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // required — audit trail
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SoftDeleteReplyRequest) Reset() {
|
|
*x = SoftDeleteReplyRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[84]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SoftDeleteReplyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SoftDeleteReplyRequest) ProtoMessage() {}
|
|
|
|
func (x *SoftDeleteReplyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[84]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SoftDeleteReplyRequest.ProtoReflect.Descriptor instead.
|
|
func (*SoftDeleteReplyRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
func (x *SoftDeleteReplyRequest) GetReviewId() string {
|
|
if x != nil {
|
|
return x.ReviewId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SoftDeleteReplyRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SoftDeleteReplyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SoftDeleteReplyResponse) Reset() {
|
|
*x = SoftDeleteReplyResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[85]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SoftDeleteReplyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SoftDeleteReplyResponse) ProtoMessage() {}
|
|
|
|
func (x *SoftDeleteReplyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[85]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SoftDeleteReplyResponse.ProtoReflect.Descriptor instead.
|
|
func (*SoftDeleteReplyResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
type PublishVersionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
Archive []byte `protobuf:"bytes,4,opt,name=archive,proto3" json:"archive,omitempty"`
|
|
ReadmeMd string `protobuf:"bytes,5,opt,name=readme_md,json=readmeMd,proto3" json:"readme_md,omitempty"`
|
|
ChangelogMd string `protobuf:"bytes,6,opt,name=changelog_md,json=changelogMd,proto3" json:"changelog_md,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishVersionRequest) Reset() {
|
|
*x = PublishVersionRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[86]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *PublishVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[86]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*PublishVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
func (x *PublishVersionRequest) GetPluginId() string {
|
|
if x != nil {
|
|
return x.PluginId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishVersionRequest) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishVersionRequest) GetChannel() string {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishVersionRequest) GetArchive() []byte {
|
|
if x != nil {
|
|
return x.Archive
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishVersionRequest) GetReadmeMd() string {
|
|
if x != nil {
|
|
return x.ReadmeMd
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishVersionRequest) GetChangelogMd() string {
|
|
if x != nil {
|
|
return x.ChangelogMd
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PublishVersionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
ArchiveUrl string `protobuf:"bytes,2,opt,name=archive_url,json=archiveUrl,proto3" json:"archive_url,omitempty"`
|
|
Warnings []string `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishVersionResponse) Reset() {
|
|
*x = PublishVersionResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[87]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishVersionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishVersionResponse) ProtoMessage() {}
|
|
|
|
func (x *PublishVersionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[87]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishVersionResponse.ProtoReflect.Descriptor instead.
|
|
func (*PublishVersionResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
func (x *PublishVersionResponse) GetVersion() *Version {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishVersionResponse) GetArchiveUrl() string {
|
|
if x != nil {
|
|
return x.ArchiveUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishVersionResponse) GetWarnings() []string {
|
|
if x != nil {
|
|
return x.Warnings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StartDeviceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Scopes []string `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartDeviceRequest) Reset() {
|
|
*x = StartDeviceRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[88]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartDeviceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartDeviceRequest) ProtoMessage() {}
|
|
|
|
func (x *StartDeviceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[88]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartDeviceRequest.ProtoReflect.Descriptor instead.
|
|
func (*StartDeviceRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
func (x *StartDeviceRequest) GetScopes() []string {
|
|
if x != nil {
|
|
return x.Scopes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StartDeviceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DeviceCode string `protobuf:"bytes,1,opt,name=device_code,json=deviceCode,proto3" json:"device_code,omitempty"`
|
|
UserCode string `protobuf:"bytes,2,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
|
|
VerificationUri string `protobuf:"bytes,3,opt,name=verification_uri,json=verificationUri,proto3" json:"verification_uri,omitempty"`
|
|
IntervalSeconds int32 `protobuf:"varint,4,opt,name=interval_seconds,json=intervalSeconds,proto3" json:"interval_seconds,omitempty"`
|
|
ExpiresInSeconds int32 `protobuf:"varint,5,opt,name=expires_in_seconds,json=expiresInSeconds,proto3" json:"expires_in_seconds,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartDeviceResponse) Reset() {
|
|
*x = StartDeviceResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[89]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartDeviceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartDeviceResponse) ProtoMessage() {}
|
|
|
|
func (x *StartDeviceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[89]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartDeviceResponse.ProtoReflect.Descriptor instead.
|
|
func (*StartDeviceResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
func (x *StartDeviceResponse) GetDeviceCode() string {
|
|
if x != nil {
|
|
return x.DeviceCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartDeviceResponse) GetUserCode() string {
|
|
if x != nil {
|
|
return x.UserCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartDeviceResponse) GetVerificationUri() string {
|
|
if x != nil {
|
|
return x.VerificationUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartDeviceResponse) GetIntervalSeconds() int32 {
|
|
if x != nil {
|
|
return x.IntervalSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StartDeviceResponse) GetExpiresInSeconds() int32 {
|
|
if x != nil {
|
|
return x.ExpiresInSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PollDeviceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DeviceCode string `protobuf:"bytes,1,opt,name=device_code,json=deviceCode,proto3" json:"device_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PollDeviceRequest) Reset() {
|
|
*x = PollDeviceRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[90]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PollDeviceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PollDeviceRequest) ProtoMessage() {}
|
|
|
|
func (x *PollDeviceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[90]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PollDeviceRequest.ProtoReflect.Descriptor instead.
|
|
func (*PollDeviceRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
func (x *PollDeviceRequest) GetDeviceCode() string {
|
|
if x != nil {
|
|
return x.DeviceCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PollDeviceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PollDeviceResponse) Reset() {
|
|
*x = PollDeviceResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[91]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PollDeviceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PollDeviceResponse) ProtoMessage() {}
|
|
|
|
func (x *PollDeviceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[91]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PollDeviceResponse.ProtoReflect.Descriptor instead.
|
|
func (*PollDeviceResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
func (x *PollDeviceResponse) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PollDeviceResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApproveDeviceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserCode string `protobuf:"bytes,1,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApproveDeviceRequest) Reset() {
|
|
*x = ApproveDeviceRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[92]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApproveDeviceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApproveDeviceRequest) ProtoMessage() {}
|
|
|
|
func (x *ApproveDeviceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[92]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApproveDeviceRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApproveDeviceRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
func (x *ApproveDeviceRequest) GetUserCode() string {
|
|
if x != nil {
|
|
return x.UserCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApproveDeviceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApproveDeviceResponse) Reset() {
|
|
*x = ApproveDeviceResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[93]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApproveDeviceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApproveDeviceResponse) ProtoMessage() {}
|
|
|
|
func (x *ApproveDeviceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[93]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApproveDeviceResponse.ProtoReflect.Descriptor instead.
|
|
func (*ApproveDeviceResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{93}
|
|
}
|
|
|
|
type DenyDeviceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserCode string `protobuf:"bytes,1,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DenyDeviceRequest) Reset() {
|
|
*x = DenyDeviceRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[94]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DenyDeviceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DenyDeviceRequest) ProtoMessage() {}
|
|
|
|
func (x *DenyDeviceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[94]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DenyDeviceRequest.ProtoReflect.Descriptor instead.
|
|
func (*DenyDeviceRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{94}
|
|
}
|
|
|
|
func (x *DenyDeviceRequest) GetUserCode() string {
|
|
if x != nil {
|
|
return x.UserCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DenyDeviceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DenyDeviceResponse) Reset() {
|
|
*x = DenyDeviceResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[95]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DenyDeviceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DenyDeviceResponse) ProtoMessage() {}
|
|
|
|
func (x *DenyDeviceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[95]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DenyDeviceResponse.ProtoReflect.Descriptor instead.
|
|
func (*DenyDeviceResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{95}
|
|
}
|
|
|
|
type GetDeviceStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserCode string `protobuf:"bytes,1,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDeviceStatusRequest) Reset() {
|
|
*x = GetDeviceStatusRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[96]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDeviceStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDeviceStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *GetDeviceStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[96]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDeviceStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetDeviceStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{96}
|
|
}
|
|
|
|
func (x *GetDeviceStatusRequest) GetUserCode() string {
|
|
if x != nil {
|
|
return x.UserCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetDeviceStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
|
|
Authorized bool `protobuf:"varint,2,opt,name=authorized,proto3" json:"authorized,omitempty"`
|
|
Denied bool `protobuf:"varint,3,opt,name=denied,proto3" json:"denied,omitempty"`
|
|
ClientId string `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDeviceStatusResponse) Reset() {
|
|
*x = GetDeviceStatusResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[97]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDeviceStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDeviceStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *GetDeviceStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[97]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDeviceStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetDeviceStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{97}
|
|
}
|
|
|
|
func (x *GetDeviceStatusResponse) GetValid() bool {
|
|
if x != nil {
|
|
return x.Valid
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetDeviceStatusResponse) GetAuthorized() bool {
|
|
if x != nil {
|
|
return x.Authorized
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetDeviceStatusResponse) GetDenied() bool {
|
|
if x != nil {
|
|
return x.Denied
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetDeviceStatusResponse) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WhoamiRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WhoamiRequest) Reset() {
|
|
*x = WhoamiRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[98]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WhoamiRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WhoamiRequest) ProtoMessage() {}
|
|
|
|
func (x *WhoamiRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[98]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WhoamiRequest.ProtoReflect.Descriptor instead.
|
|
func (*WhoamiRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{98}
|
|
}
|
|
|
|
type WhoamiResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
|
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WhoamiResponse) Reset() {
|
|
*x = WhoamiResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[99]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WhoamiResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WhoamiResponse) ProtoMessage() {}
|
|
|
|
func (x *WhoamiResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[99]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WhoamiResponse.ProtoReflect.Descriptor instead.
|
|
func (*WhoamiResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{99}
|
|
}
|
|
|
|
func (x *WhoamiResponse) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WhoamiResponse) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WhoamiResponse) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// MyAccount is the slim account row returned to the CLI by
|
|
// PluginAuthService.ListMyAccounts. The orchestrator's full Account message
|
|
// lives in accounts.proto and carries billing, plan, status, etc.; CLI
|
|
// account-switching needs none of that, so this shape stays minimal and
|
|
// avoids forcing core to generate bindings for accounts.proto.
|
|
type MyAccount struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MyAccount) Reset() {
|
|
*x = MyAccount{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[100]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MyAccount) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MyAccount) ProtoMessage() {}
|
|
|
|
func (x *MyAccount) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[100]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MyAccount.ProtoReflect.Descriptor instead.
|
|
func (*MyAccount) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{100}
|
|
}
|
|
|
|
func (x *MyAccount) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MyAccount) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MyAccount) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListMyAccountsForCLIRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMyAccountsForCLIRequest) Reset() {
|
|
*x = ListMyAccountsForCLIRequest{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[101]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMyAccountsForCLIRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMyAccountsForCLIRequest) ProtoMessage() {}
|
|
|
|
func (x *ListMyAccountsForCLIRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[101]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMyAccountsForCLIRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListMyAccountsForCLIRequest) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{101}
|
|
}
|
|
|
|
type ListMyAccountsForCLIResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Accounts []*MyAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMyAccountsForCLIResponse) Reset() {
|
|
*x = ListMyAccountsForCLIResponse{}
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[102]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMyAccountsForCLIResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMyAccountsForCLIResponse) ProtoMessage() {}
|
|
|
|
func (x *ListMyAccountsForCLIResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_orchestrator_v1_plugin_registry_proto_msgTypes[102]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMyAccountsForCLIResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListMyAccountsForCLIResponse) Descriptor() ([]byte, []int) {
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescGZIP(), []int{102}
|
|
}
|
|
|
|
func (x *ListMyAccountsForCLIResponse) GetAccounts() []*MyAccount {
|
|
if x != nil {
|
|
return x.Accounts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_orchestrator_v1_plugin_registry_proto protoreflect.FileDescriptor
|
|
|
|
const file_orchestrator_v1_plugin_registry_proto_rawDesc = "" +
|
|
"\n" +
|
|
"%orchestrator/v1/plugin_registry.proto\x12\x0forchestrator.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x89\x01\n" +
|
|
"\x05Scope\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04slug\x18\x02 \x01(\tR\x04slug\x12!\n" +
|
|
"\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\"\xf7\x04\n" +
|
|
"\x06Plugin\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x02 \x01(\tR\tscopeSlug\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12A\n" +
|
|
"\n" +
|
|
"visibility\x18\x04 \x01(\x0e2!.orchestrator.v1.PluginVisibilityR\n" +
|
|
"visibility\x12\x18\n" +
|
|
"\apremium\x18\x05 \x01(\bR\apremium\x12 \n" +
|
|
"\vdescription\x18\x06 \x01(\tR\vdescription\x12!\n" +
|
|
"\fhomepage_url\x18\a \x01(\tR\vhomepageUrl\x12\x1e\n" +
|
|
"\n" +
|
|
"categories\x18\b \x03(\tR\n" +
|
|
"categories\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x12\n" +
|
|
"\x04kind\x18\n" +
|
|
" \x01(\tR\x04kind\x12!\n" +
|
|
"\fdisplay_name\x18\v \x01(\tR\vdisplayName\x12(\n" +
|
|
"\x10owner_account_id\x18\f \x01(\tR\x0eownerAccountId\x12%\n" +
|
|
"\x0elatest_version\x18\r \x01(\tR\rlatestVersion\x12\x12\n" +
|
|
"\x04tags\x18\x0e \x03(\tR\x04tags\x12*\n" +
|
|
"\x11preview_image_url\x18\x0f \x01(\tR\x0fpreviewImageUrl\x12\x1d\n" +
|
|
"\n" +
|
|
"rating_avg\x18\x10 \x01(\x02R\tratingAvg\x12!\n" +
|
|
"\frating_count\x18\x11 \x01(\x05R\vratingCount\x12#\n" +
|
|
"\rinstall_count\x18\x12 \x01(\x05R\finstallCount\"\x8f\x01\n" +
|
|
"\x10PluginScreenshot\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n" +
|
|
"\x03url\x18\x02 \x01(\tR\x03url\x12\x1a\n" +
|
|
"\bfeatured\x18\x03 \x01(\bR\bfeatured\x12\x1a\n" +
|
|
"\bposition\x18\x04 \x01(\x05R\bposition\x12!\n" +
|
|
"\fcontent_type\x18\x05 \x01(\tR\vcontentType\"\x82\x01\n" +
|
|
"\bCategory\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\x12!\n" +
|
|
"\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1d\n" +
|
|
"\n" +
|
|
"sort_order\x18\x04 \x01(\x05R\tsortOrder\"\xff\x02\n" +
|
|
"\aVersion\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
|
|
"\tplugin_id\x18\x02 \x01(\tR\bpluginId\x12\x18\n" +
|
|
"\aversion\x18\x03 \x01(\tR\aversion\x12=\n" +
|
|
"\fpublished_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\vpublishedAt\x12\x16\n" +
|
|
"\x06yanked\x18\a \x01(\bR\x06yanked\x12%\n" +
|
|
"\x0esdk_constraint\x18\b \x01(\tR\rsdkConstraint\x122\n" +
|
|
"\x15source_archive_sha256\x18\t \x01(\tR\x13sourceArchiveSha256\x12.\n" +
|
|
"\x13source_archive_size\x18\n" +
|
|
" \x01(\x03R\x11sourceArchiveSize\x12*\n" +
|
|
"\x11preview_image_url\x18\v \x01(\tR\x0fpreviewImageUrl\x12\x1f\n" +
|
|
"\vabi_version\x18\f \x01(\rR\n" +
|
|
"abiVersion\"i\n" +
|
|
"\vRequirement\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x01 \x01(\tR\tscopeSlug\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12'\n" +
|
|
"\x0fconstraint_expr\x18\x03 \x01(\tR\x0econstraintExpr\"K\n" +
|
|
"\x12CreateScopeRequest\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\x12!\n" +
|
|
"\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\"C\n" +
|
|
"\x13CreateScopeResponse\x12,\n" +
|
|
"\x05scope\x18\x01 \x01(\v2\x16.orchestrator.v1.ScopeR\x05scope\"\x15\n" +
|
|
"\x13ListMyScopesRequest\"F\n" +
|
|
"\x14ListMyScopesResponse\x12.\n" +
|
|
"\x06scopes\x18\x01 \x03(\v2\x16.orchestrator.v1.ScopeR\x06scopes\"%\n" +
|
|
"\x0fGetScopeRequest\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\"s\n" +
|
|
"\x10GetScopeResponse\x12,\n" +
|
|
"\x05scope\x18\x01 \x01(\v2\x16.orchestrator.v1.ScopeR\x05scope\x121\n" +
|
|
"\aplugins\x18\x02 \x03(\v2\x17.orchestrator.v1.PluginR\aplugins\"\x16\n" +
|
|
"\x14ListMyPluginsRequest\"J\n" +
|
|
"\x15ListMyPluginsResponse\x121\n" +
|
|
"\aplugins\x18\x01 \x03(\v2\x17.orchestrator.v1.PluginR\aplugins\"\xb0\x02\n" +
|
|
"\x13CreatePluginRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x01 \x01(\tR\tscopeSlug\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x12\n" +
|
|
"\x04kind\x18\x04 \x01(\tR\x04kind\x12\x1e\n" +
|
|
"\n" +
|
|
"categories\x18\x05 \x03(\tR\n" +
|
|
"categories\x12!\n" +
|
|
"\fdisplay_name\x18\x06 \x01(\tR\vdisplayName\x12A\n" +
|
|
"\n" +
|
|
"visibility\x18\a \x01(\x0e2!.orchestrator.v1.PluginVisibilityR\n" +
|
|
"visibility\x12*\n" +
|
|
"\x11active_account_id\x18\b \x01(\tR\x0factiveAccountId\"G\n" +
|
|
"\x14CreatePluginResponse\x12/\n" +
|
|
"\x06plugin\x18\x01 \x01(\v2\x17.orchestrator.v1.PluginR\x06plugin\"q\n" +
|
|
"\x10GetPluginRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x01 \x01(\tR\tscopeSlug\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12*\n" +
|
|
"\x11active_account_id\x18\x03 \x01(\tR\x0factiveAccountId\"\xca\x02\n" +
|
|
"\x11GetPluginResponse\x12/\n" +
|
|
"\x06plugin\x18\x01 \x01(\v2\x17.orchestrator.v1.PluginR\x06plugin\x124\n" +
|
|
"\bversions\x18\x02 \x03(\v2\x18.orchestrator.v1.VersionR\bversions\x12L\n" +
|
|
"\bchannels\x18\x03 \x03(\v20.orchestrator.v1.GetPluginResponse.ChannelsEntryR\bchannels\x12C\n" +
|
|
"\vscreenshots\x18\x04 \x03(\v2!.orchestrator.v1.PluginScreenshotR\vscreenshots\x1a;\n" +
|
|
"\rChannelsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa0\x01\n" +
|
|
"\x12ListPluginsRequest\x12\x14\n" +
|
|
"\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x16\n" +
|
|
"\x06offset\x18\x02 \x01(\x05R\x06offset\x12\x14\n" +
|
|
"\x05query\x18\x03 \x01(\tR\x05query\x12\x12\n" +
|
|
"\x04kind\x18\x04 \x01(\tR\x04kind\x12\x1e\n" +
|
|
"\n" +
|
|
"categories\x18\x05 \x03(\tR\n" +
|
|
"categories\x12\x12\n" +
|
|
"\x04tags\x18\x06 \x03(\tR\x04tags\"H\n" +
|
|
"\x13ListPluginsResponse\x121\n" +
|
|
"\aplugins\x18\x01 \x03(\v2\x17.orchestrator.v1.PluginR\aplugins\"\x17\n" +
|
|
"\x15ListCategoriesRequest\"S\n" +
|
|
"\x16ListCategoriesResponse\x129\n" +
|
|
"\n" +
|
|
"categories\x18\x01 \x03(\v2\x19.orchestrator.v1.CategoryR\n" +
|
|
"categories\";\n" +
|
|
"\x0fListTagsRequest\x12\x12\n" +
|
|
"\x04kind\x18\x01 \x01(\tR\x04kind\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x05R\x05limit\"A\n" +
|
|
"\x10ListTagsResponse\x12-\n" +
|
|
"\x04tags\x18\x01 \x03(\v2\x19.orchestrator.v1.TagCountR\x04tags\"2\n" +
|
|
"\bTagCount\x12\x10\n" +
|
|
"\x03tag\x18\x01 \x01(\tR\x03tag\x12\x14\n" +
|
|
"\x05count\x18\x02 \x01(\x05R\x05count\":\n" +
|
|
"\x19ListPrivatePluginsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\"]\n" +
|
|
"\x1aListPrivatePluginsResponse\x12?\n" +
|
|
"\aplugins\x18\x01 \x03(\v2%.orchestrator.v1.PrivatePluginSummaryR\aplugins\"\xa4\x02\n" +
|
|
"\x14PrivatePluginSummary\x12/\n" +
|
|
"\x06plugin\x18\x01 \x01(\v2\x17.orchestrator.v1.PluginR\x06plugin\x12e\n" +
|
|
"\x10channel_versions\x18\x02 \x03(\v2:.orchestrator.v1.PrivatePluginSummary.ChannelVersionsEntryR\x0fchannelVersions\x120\n" +
|
|
"\x14installed_site_count\x18\x03 \x01(\x05R\x12installedSiteCount\x1aB\n" +
|
|
"\x14ChannelVersionsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\\\n" +
|
|
"\x1aDeletePrivatePluginRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x1f\n" +
|
|
"\vplugin_name\x18\x02 \x01(\tR\n" +
|
|
"pluginName\"\x1d\n" +
|
|
"\x1bDeletePrivatePluginResponse\"}\n" +
|
|
"!DeletePrivatePluginVersionRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x1f\n" +
|
|
"\vplugin_name\x18\x02 \x01(\tR\n" +
|
|
"pluginName\x12\x18\n" +
|
|
"\aversion\x18\x03 \x01(\tR\aversion\"$\n" +
|
|
"\"DeletePrivatePluginVersionResponse\"f\n" +
|
|
"$ListPrivatePluginInstallSitesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x1f\n" +
|
|
"\vplugin_name\x18\x02 \x01(\tR\n" +
|
|
"pluginName\"h\n" +
|
|
"%ListPrivatePluginInstallSitesResponse\x12?\n" +
|
|
"\x05sites\x18\x01 \x03(\v2).orchestrator.v1.PrivatePluginInstallSiteR\x05sites\"\xbb\x01\n" +
|
|
"\x18PrivatePluginInstallSite\x12\x1f\n" +
|
|
"\vinstance_id\x18\x01 \x01(\tR\n" +
|
|
"instanceId\x12*\n" +
|
|
"\x11site_display_name\x18\x02 \x01(\tR\x0fsiteDisplayName\x12+\n" +
|
|
"\x11installed_version\x18\x03 \x01(\tR\x10installedVersion\x12%\n" +
|
|
"\x0epinned_channel\x18\x04 \x01(\tR\rpinnedChannel\"m\n" +
|
|
"\x11GetVersionRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x01 \x01(\tR\tscopeSlug\x12\x1f\n" +
|
|
"\vplugin_name\x18\x02 \x01(\tR\n" +
|
|
"pluginName\x12\x18\n" +
|
|
"\aversion\x18\x03 \x01(\tR\aversion\"\xc2\x01\n" +
|
|
"\x12GetVersionResponse\x122\n" +
|
|
"\aversion\x18\x01 \x01(\v2\x18.orchestrator.v1.VersionR\aversion\x128\n" +
|
|
"\brequires\x18\x02 \x03(\v2\x1c.orchestrator.v1.RequirementR\brequires\x12\x1b\n" +
|
|
"\treadme_md\x18\x03 \x01(\tR\breadmeMd\x12!\n" +
|
|
"\fchangelog_md\x18\x04 \x01(\tR\vchangelogMd\"\xb1\x01\n" +
|
|
"\x15ResolveInstallRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x01 \x01(\tR\tscopeSlug\x12\x1f\n" +
|
|
"\vplugin_name\x18\x02 \x01(\tR\n" +
|
|
"pluginName\x12,\n" +
|
|
"\x12version_or_channel\x18\x03 \x01(\tR\x10versionOrChannel\x12*\n" +
|
|
"\x11active_account_id\x18\x04 \x01(\tR\x0factiveAccountId\"\xb6\x03\n" +
|
|
"\x16ResolveInstallResponse\x12\x1d\n" +
|
|
"\n" +
|
|
"version_id\x18\x01 \x01(\tR\tversionId\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x02 \x01(\tR\tscopeSlug\x12\x1f\n" +
|
|
"\vplugin_name\x18\x03 \x01(\tR\n" +
|
|
"pluginName\x12\x18\n" +
|
|
"\aversion\x18\x04 \x01(\tR\aversion\x12%\n" +
|
|
"\x0echannel_pinned\x18\x05 \x01(\tR\rchannelPinned\x12\x1f\n" +
|
|
"\varchive_url\x18\x06 \x01(\tR\n" +
|
|
"archiveUrl\x12%\n" +
|
|
"\x0earchive_sha256\x18\a \x01(\tR\rarchiveSha256\x12%\n" +
|
|
"\x0esdk_constraint\x18\b \x01(\tR\rsdkConstraint\x128\n" +
|
|
"\brequires\x18\t \x03(\v2\x1c.orchestrator.v1.RequirementR\brequires\x12\x16\n" +
|
|
"\x06yanked\x18\n" +
|
|
" \x01(\bR\x06yanked\x12\x1a\n" +
|
|
"\bwarnings\x18\v \x03(\tR\bwarnings\x12\x1f\n" +
|
|
"\vabi_version\x18\f \x01(\rR\n" +
|
|
"abiVersion\"G\n" +
|
|
"$ListPrivatePluginsForInstanceRequest\x12\x1f\n" +
|
|
"\vinstance_id\x18\x01 \x01(\tR\n" +
|
|
"instanceId\"\xb1\x01\n" +
|
|
" ResolveInstallForInstanceRequest\x12\x1f\n" +
|
|
"\vinstance_id\x18\x01 \x01(\tR\n" +
|
|
"instanceId\x12\x1f\n" +
|
|
"\vplugin_name\x18\x02 \x01(\tR\n" +
|
|
"pluginName\x12,\n" +
|
|
"\x12version_or_channel\x18\x03 \x01(\tR\x10versionOrChannel\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x04 \x01(\tR\tscopeSlug\"\xa9\x02\n" +
|
|
"\rPendingReview\x12\x1b\n" +
|
|
"\treview_id\x18\x01 \x01(\tR\breviewId\x12\x1b\n" +
|
|
"\tplugin_id\x18\x02 \x01(\tR\bpluginId\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x03 \x01(\tR\tscopeSlug\x12\x1f\n" +
|
|
"\vplugin_name\x18\x04 \x01(\tR\n" +
|
|
"pluginName\x12.\n" +
|
|
"\x13plugin_display_name\x18\x05 \x01(\tR\x11pluginDisplayName\x12/\n" +
|
|
"\x14submitted_by_user_id\x18\x06 \x01(\tR\x11submittedByUserId\x12=\n" +
|
|
"\fsubmitted_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\vsubmittedAt\"5\n" +
|
|
"\x16SubmitForReviewRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\"9\n" +
|
|
"\x17SubmitForReviewResponse\x12\x1e\n" +
|
|
"\n" +
|
|
"visibility\x18\x01 \x01(\tR\n" +
|
|
"visibility\"I\n" +
|
|
"\x19ListPendingReviewsRequest\x12\x14\n" +
|
|
"\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x16\n" +
|
|
"\x06offset\x18\x02 \x01(\x05R\x06offset\"V\n" +
|
|
"\x1aListPendingReviewsResponse\x128\n" +
|
|
"\areviews\x18\x01 \x03(\v2\x1e.orchestrator.v1.PendingReviewR\areviews\"O\n" +
|
|
"\x18ApproveSubmissionRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12\x16\n" +
|
|
"\x06reason\x18\x02 \x01(\tR\x06reason\"\x1b\n" +
|
|
"\x19ApproveSubmissionResponse\"N\n" +
|
|
"\x17RejectSubmissionRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12\x16\n" +
|
|
"\x06reason\x18\x02 \x01(\tR\x06reason\"\x1a\n" +
|
|
"\x18RejectSubmissionResponse\"L\n" +
|
|
"\x15RequestChangesRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12\x16\n" +
|
|
"\x06reason\x18\x02 \x01(\tR\x06reason\"\x18\n" +
|
|
"\x16RequestChangesResponse\"X\n" +
|
|
"\x16ListScreenshotsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x01 \x01(\tR\tscopeSlug\x12\x1f\n" +
|
|
"\vplugin_name\x18\x02 \x01(\tR\n" +
|
|
"pluginName\"^\n" +
|
|
"\x17ListScreenshotsResponse\x12C\n" +
|
|
"\vscreenshots\x18\x01 \x03(\v2!.orchestrator.v1.PluginScreenshotR\vscreenshots\"\x8b\x01\n" +
|
|
"\x17UploadScreenshotRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12\x14\n" +
|
|
"\x05image\x18\x02 \x01(\fR\x05image\x12\x1a\n" +
|
|
"\bfilename\x18\x03 \x01(\tR\bfilename\x12!\n" +
|
|
"\fcontent_type\x18\x04 \x01(\tR\vcontentType\"]\n" +
|
|
"\x18UploadScreenshotResponse\x12A\n" +
|
|
"\n" +
|
|
"screenshot\x18\x01 \x01(\v2!.orchestrator.v1.PluginScreenshotR\n" +
|
|
"screenshot\"[\n" +
|
|
"\x17DeleteScreenshotRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12#\n" +
|
|
"\rscreenshot_id\x18\x02 \x01(\tR\fscreenshotId\"\x1a\n" +
|
|
"\x18DeleteScreenshotResponse\"o\n" +
|
|
"\x19ReorderScreenshotsRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\x125\n" +
|
|
"\x17screenshot_ids_in_order\x18\x02 \x03(\tR\x14screenshotIdsInOrder\"a\n" +
|
|
"\x1aReorderScreenshotsResponse\x12C\n" +
|
|
"\vscreenshots\x18\x01 \x03(\v2!.orchestrator.v1.PluginScreenshotR\vscreenshots\"`\n" +
|
|
"\x1cSetFeaturedScreenshotRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12#\n" +
|
|
"\rscreenshot_id\x18\x02 \x01(\tR\fscreenshotId\"\x1f\n" +
|
|
"\x1dSetFeaturedScreenshotResponse\"\xfb\x03\n" +
|
|
"\fPluginReview\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
|
|
"\tplugin_id\x18\x02 \x01(\tR\bpluginId\x12\x17\n" +
|
|
"\auser_id\x18\x03 \x01(\tR\x06userId\x12.\n" +
|
|
"\x13author_display_name\x18\x04 \x01(\tR\x11authorDisplayName\x12\x16\n" +
|
|
"\x06rating\x18\x05 \x01(\x05R\x06rating\x12\x14\n" +
|
|
"\x05title\x18\x06 \x01(\tR\x05title\x12\x12\n" +
|
|
"\x04body\x18\a \x01(\tR\x04body\x12*\n" +
|
|
"\x11version_at_review\x18\b \x01(\tR\x0fversionAtReview\x12\x16\n" +
|
|
"\x06edited\x18\t \x01(\bR\x06edited\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x128\n" +
|
|
"\x05reply\x18\f \x01(\v2\".orchestrator.v1.PluginReviewReplyR\x05reply\x12\x18\n" +
|
|
"\adeleted\x18\r \x01(\bR\adeleted\x12%\n" +
|
|
"\x0edeleted_reason\x18\x0e \x01(\tR\rdeletedReason\"\xba\x01\n" +
|
|
"\x11PluginReviewReply\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12.\n" +
|
|
"\x13author_display_name\x18\x02 \x01(\tR\x11authorDisplayName\x12\x12\n" +
|
|
"\x04body\x18\x03 \x01(\tR\x04body\x12\x16\n" +
|
|
"\x06edited\x18\x04 \x01(\bR\x06edited\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\"\xcb\x01\n" +
|
|
"\x0fReviewAggregate\x12\x1d\n" +
|
|
"\n" +
|
|
"rating_avg\x18\x01 \x01(\x02R\tratingAvg\x12!\n" +
|
|
"\frating_count\x18\x02 \x01(\x05R\vratingCount\x12\x16\n" +
|
|
"\x06count1\x18\x03 \x01(\x05R\x06count1\x12\x16\n" +
|
|
"\x06count2\x18\x04 \x01(\x05R\x06count2\x12\x16\n" +
|
|
"\x06count3\x18\x05 \x01(\x05R\x06count3\x12\x16\n" +
|
|
"\x06count4\x18\x06 \x01(\x05R\x06count4\x12\x16\n" +
|
|
"\x06count5\x18\a \x01(\x05R\x06count5\"\x82\x01\n" +
|
|
"\x12ListReviewsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x01 \x01(\tR\tscopeSlug\x12\x1f\n" +
|
|
"\vplugin_name\x18\x02 \x01(\tR\n" +
|
|
"pluginName\x12\x14\n" +
|
|
"\x05limit\x18\x03 \x01(\x05R\x05limit\x12\x16\n" +
|
|
"\x06offset\x18\x04 \x01(\x05R\x06offset\"\x8e\x01\n" +
|
|
"\x13ListReviewsResponse\x127\n" +
|
|
"\areviews\x18\x01 \x03(\v2\x1d.orchestrator.v1.PluginReviewR\areviews\x12>\n" +
|
|
"\taggregate\x18\x02 \x01(\v2 .orchestrator.v1.ReviewAggregateR\taggregate\"1\n" +
|
|
"\x12GetMyReviewRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\"\x95\x01\n" +
|
|
"\x13GetMyReviewResponse\x125\n" +
|
|
"\x06review\x18\x01 \x01(\v2\x1d.orchestrator.v1.PluginReviewR\x06review\x12\x1a\n" +
|
|
"\beligible\x18\x02 \x01(\bR\beligible\x12+\n" +
|
|
"\x11ineligible_reason\x18\x03 \x01(\tR\x10ineligibleReason\"t\n" +
|
|
"\x13UpsertReviewRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12\x16\n" +
|
|
"\x06rating\x18\x02 \x01(\x05R\x06rating\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12\x12\n" +
|
|
"\x04body\x18\x04 \x01(\tR\x04body\"M\n" +
|
|
"\x14UpsertReviewResponse\x125\n" +
|
|
"\x06review\x18\x01 \x01(\v2\x1d.orchestrator.v1.PluginReviewR\x06review\"2\n" +
|
|
"\x13DeleteReviewRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\"\x16\n" +
|
|
"\x14DeleteReviewResponse\"G\n" +
|
|
"\x14ReplyToReviewRequest\x12\x1b\n" +
|
|
"\treview_id\x18\x01 \x01(\tR\breviewId\x12\x12\n" +
|
|
"\x04body\x18\x02 \x01(\tR\x04body\"Q\n" +
|
|
"\x15ReplyToReviewResponse\x128\n" +
|
|
"\x05reply\x18\x01 \x01(\v2\".orchestrator.v1.PluginReviewReplyR\x05reply\"1\n" +
|
|
"\x12DeleteReplyRequest\x12\x1b\n" +
|
|
"\treview_id\x18\x01 \x01(\tR\breviewId\"\x15\n" +
|
|
"\x13DeleteReplyResponse\"H\n" +
|
|
"\x11FlagReviewRequest\x12\x1b\n" +
|
|
"\treview_id\x18\x01 \x01(\tR\breviewId\x12\x16\n" +
|
|
"\x06reason\x18\x02 \x01(\tR\x06reason\"\x14\n" +
|
|
"\x12FlagReviewResponse\"\x8e\x02\n" +
|
|
"\rFlaggedReview\x125\n" +
|
|
"\x06review\x18\x01 \x01(\v2\x1d.orchestrator.v1.PluginReviewR\x06review\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_slug\x18\x02 \x01(\tR\tscopeSlug\x12\x1f\n" +
|
|
"\vplugin_name\x18\x03 \x01(\tR\n" +
|
|
"pluginName\x12\x1d\n" +
|
|
"\n" +
|
|
"flag_count\x18\x04 \x01(\x05R\tflagCount\x12!\n" +
|
|
"\fflag_reasons\x18\x05 \x03(\tR\vflagReasons\x12D\n" +
|
|
"\x10first_flagged_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x0efirstFlaggedAt\"I\n" +
|
|
"\x19ListFlaggedReviewsRequest\x12\x14\n" +
|
|
"\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x16\n" +
|
|
"\x06offset\x18\x02 \x01(\x05R\x06offset\"V\n" +
|
|
"\x1aListFlaggedReviewsResponse\x128\n" +
|
|
"\areviews\x18\x01 \x03(\v2\x1e.orchestrator.v1.FlaggedReviewR\areviews\"N\n" +
|
|
"\x17SoftDeleteReviewRequest\x12\x1b\n" +
|
|
"\treview_id\x18\x01 \x01(\tR\breviewId\x12\x16\n" +
|
|
"\x06reason\x18\x02 \x01(\tR\x06reason\"\x1a\n" +
|
|
"\x18SoftDeleteReviewResponse\"M\n" +
|
|
"\x16SoftDeleteReplyRequest\x12\x1b\n" +
|
|
"\treview_id\x18\x01 \x01(\tR\breviewId\x12\x16\n" +
|
|
"\x06reason\x18\x02 \x01(\tR\x06reason\"\x19\n" +
|
|
"\x17SoftDeleteReplyResponse\"\xc2\x01\n" +
|
|
"\x15PublishVersionRequest\x12\x1b\n" +
|
|
"\tplugin_id\x18\x01 \x01(\tR\bpluginId\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\tR\aversion\x12\x18\n" +
|
|
"\achannel\x18\x03 \x01(\tR\achannel\x12\x18\n" +
|
|
"\aarchive\x18\x04 \x01(\fR\aarchive\x12\x1b\n" +
|
|
"\treadme_md\x18\x05 \x01(\tR\breadmeMd\x12!\n" +
|
|
"\fchangelog_md\x18\x06 \x01(\tR\vchangelogMd\"\x89\x01\n" +
|
|
"\x16PublishVersionResponse\x122\n" +
|
|
"\aversion\x18\x01 \x01(\v2\x18.orchestrator.v1.VersionR\aversion\x12\x1f\n" +
|
|
"\varchive_url\x18\x02 \x01(\tR\n" +
|
|
"archiveUrl\x12\x1a\n" +
|
|
"\bwarnings\x18\x03 \x03(\tR\bwarnings\",\n" +
|
|
"\x12StartDeviceRequest\x12\x16\n" +
|
|
"\x06scopes\x18\x01 \x03(\tR\x06scopes\"\xd7\x01\n" +
|
|
"\x13StartDeviceResponse\x12\x1f\n" +
|
|
"\vdevice_code\x18\x01 \x01(\tR\n" +
|
|
"deviceCode\x12\x1b\n" +
|
|
"\tuser_code\x18\x02 \x01(\tR\buserCode\x12)\n" +
|
|
"\x10verification_uri\x18\x03 \x01(\tR\x0fverificationUri\x12)\n" +
|
|
"\x10interval_seconds\x18\x04 \x01(\x05R\x0fintervalSeconds\x12,\n" +
|
|
"\x12expires_in_seconds\x18\x05 \x01(\x05R\x10expiresInSeconds\"4\n" +
|
|
"\x11PollDeviceRequest\x12\x1f\n" +
|
|
"\vdevice_code\x18\x01 \x01(\tR\n" +
|
|
"deviceCode\"O\n" +
|
|
"\x12PollDeviceResponse\x12!\n" +
|
|
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\"3\n" +
|
|
"\x14ApproveDeviceRequest\x12\x1b\n" +
|
|
"\tuser_code\x18\x01 \x01(\tR\buserCode\"\x17\n" +
|
|
"\x15ApproveDeviceResponse\"0\n" +
|
|
"\x11DenyDeviceRequest\x12\x1b\n" +
|
|
"\tuser_code\x18\x01 \x01(\tR\buserCode\"\x14\n" +
|
|
"\x12DenyDeviceResponse\"5\n" +
|
|
"\x16GetDeviceStatusRequest\x12\x1b\n" +
|
|
"\tuser_code\x18\x01 \x01(\tR\buserCode\"\x84\x01\n" +
|
|
"\x17GetDeviceStatusResponse\x12\x14\n" +
|
|
"\x05valid\x18\x01 \x01(\bR\x05valid\x12\x1e\n" +
|
|
"\n" +
|
|
"authorized\x18\x02 \x01(\bR\n" +
|
|
"authorized\x12\x16\n" +
|
|
"\x06denied\x18\x03 \x01(\bR\x06denied\x12\x1b\n" +
|
|
"\tclient_id\x18\x04 \x01(\tR\bclientId\"\x0f\n" +
|
|
"\rWhoamiRequest\"b\n" +
|
|
"\x0eWhoamiResponse\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x14\n" +
|
|
"\x05email\x18\x02 \x01(\tR\x05email\x12!\n" +
|
|
"\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\"C\n" +
|
|
"\tMyAccount\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04slug\x18\x02 \x01(\tR\x04slug\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\"\x1d\n" +
|
|
"\x1bListMyAccountsForCLIRequest\"V\n" +
|
|
"\x1cListMyAccountsForCLIResponse\x126\n" +
|
|
"\baccounts\x18\x01 \x03(\v2\x1a.orchestrator.v1.MyAccountR\baccounts*\xd8\x01\n" +
|
|
"\x10PluginVisibility\x12!\n" +
|
|
"\x1dPLUGIN_VISIBILITY_UNSPECIFIED\x10\x00\x12\x1d\n" +
|
|
"\x19PLUGIN_VISIBILITY_PRIVATE\x10\x01\x12\"\n" +
|
|
"\x1ePLUGIN_VISIBILITY_UNDER_REVIEW\x10\x02\x12\x1c\n" +
|
|
"\x18PLUGIN_VISIBILITY_PUBLIC\x10\x03\x12\x1e\n" +
|
|
"\x1aPLUGIN_VISIBILITY_REJECTED\x10\x04\x12 \n" +
|
|
"\x1cPLUGIN_VISIBILITY_TAKEN_DOWN\x10\x052\xfc\x02\n" +
|
|
"\x12PluginScopeService\x12X\n" +
|
|
"\vCreateScope\x12#.orchestrator.v1.CreateScopeRequest\x1a$.orchestrator.v1.CreateScopeResponse\x12[\n" +
|
|
"\fListMyScopes\x12$.orchestrator.v1.ListMyScopesRequest\x1a%.orchestrator.v1.ListMyScopesResponse\x12O\n" +
|
|
"\bGetScope\x12 .orchestrator.v1.GetScopeRequest\x1a!.orchestrator.v1.GetScopeResponse\x12^\n" +
|
|
"\rListMyPlugins\x12%.orchestrator.v1.ListMyPluginsRequest\x1a&.orchestrator.v1.ListMyPluginsResponse2\xef\v\n" +
|
|
"\x15PluginRegistryService\x12[\n" +
|
|
"\fCreatePlugin\x12$.orchestrator.v1.CreatePluginRequest\x1a%.orchestrator.v1.CreatePluginResponse\x12R\n" +
|
|
"\tGetPlugin\x12!.orchestrator.v1.GetPluginRequest\x1a\".orchestrator.v1.GetPluginResponse\x12X\n" +
|
|
"\vListPlugins\x12#.orchestrator.v1.ListPluginsRequest\x1a$.orchestrator.v1.ListPluginsResponse\x12U\n" +
|
|
"\n" +
|
|
"GetVersion\x12\".orchestrator.v1.GetVersionRequest\x1a#.orchestrator.v1.GetVersionResponse\x12a\n" +
|
|
"\x0eResolveInstall\x12&.orchestrator.v1.ResolveInstallRequest\x1a'.orchestrator.v1.ResolveInstallResponse\x12a\n" +
|
|
"\x0eListCategories\x12&.orchestrator.v1.ListCategoriesRequest\x1a'.orchestrator.v1.ListCategoriesResponse\x12O\n" +
|
|
"\bListTags\x12 .orchestrator.v1.ListTagsRequest\x1a!.orchestrator.v1.ListTagsResponse\x12d\n" +
|
|
"\x0fSubmitForReview\x12'.orchestrator.v1.SubmitForReviewRequest\x1a(.orchestrator.v1.SubmitForReviewResponse\x12m\n" +
|
|
"\x12ListPrivatePlugins\x12*.orchestrator.v1.ListPrivatePluginsRequest\x1a+.orchestrator.v1.ListPrivatePluginsResponse\x12p\n" +
|
|
"\x13DeletePrivatePlugin\x12+.orchestrator.v1.DeletePrivatePluginRequest\x1a,.orchestrator.v1.DeletePrivatePluginResponse\x12\x85\x01\n" +
|
|
"\x1aDeletePrivatePluginVersion\x122.orchestrator.v1.DeletePrivatePluginVersionRequest\x1a3.orchestrator.v1.DeletePrivatePluginVersionResponse\x12\x8e\x01\n" +
|
|
"\x1dListPrivatePluginInstallSites\x125.orchestrator.v1.ListPrivatePluginInstallSitesRequest\x1a6.orchestrator.v1.ListPrivatePluginInstallSitesResponse\x12\x83\x01\n" +
|
|
"\x1dListPrivatePluginsForInstance\x125.orchestrator.v1.ListPrivatePluginsForInstanceRequest\x1a+.orchestrator.v1.ListPrivatePluginsResponse\x12w\n" +
|
|
"\x19ResolveInstallForInstance\x121.orchestrator.v1.ResolveInstallForInstanceRequest\x1a'.orchestrator.v1.ResolveInstallResponse2\xfe\x05\n" +
|
|
"\x17PluginModerationService\x12m\n" +
|
|
"\x12ListPendingReviews\x12*.orchestrator.v1.ListPendingReviewsRequest\x1a+.orchestrator.v1.ListPendingReviewsResponse\x12j\n" +
|
|
"\x11ApproveSubmission\x12).orchestrator.v1.ApproveSubmissionRequest\x1a*.orchestrator.v1.ApproveSubmissionResponse\x12g\n" +
|
|
"\x10RejectSubmission\x12(.orchestrator.v1.RejectSubmissionRequest\x1a).orchestrator.v1.RejectSubmissionResponse\x12a\n" +
|
|
"\x0eRequestChanges\x12&.orchestrator.v1.RequestChangesRequest\x1a'.orchestrator.v1.RequestChangesResponse\x12m\n" +
|
|
"\x12ListFlaggedReviews\x12*.orchestrator.v1.ListFlaggedReviewsRequest\x1a+.orchestrator.v1.ListFlaggedReviewsResponse\x12g\n" +
|
|
"\x10SoftDeleteReview\x12(.orchestrator.v1.SoftDeleteReviewRequest\x1a).orchestrator.v1.SoftDeleteReviewResponse\x12d\n" +
|
|
"\x0fSoftDeleteReply\x12'.orchestrator.v1.SoftDeleteReplyRequest\x1a(.orchestrator.v1.SoftDeleteReplyResponse2\xb5\x04\n" +
|
|
"\x14PluginGalleryService\x12d\n" +
|
|
"\x0fListScreenshots\x12'.orchestrator.v1.ListScreenshotsRequest\x1a(.orchestrator.v1.ListScreenshotsResponse\x12g\n" +
|
|
"\x10UploadScreenshot\x12(.orchestrator.v1.UploadScreenshotRequest\x1a).orchestrator.v1.UploadScreenshotResponse\x12g\n" +
|
|
"\x10DeleteScreenshot\x12(.orchestrator.v1.DeleteScreenshotRequest\x1a).orchestrator.v1.DeleteScreenshotResponse\x12m\n" +
|
|
"\x12ReorderScreenshots\x12*.orchestrator.v1.ReorderScreenshotsRequest\x1a+.orchestrator.v1.ReorderScreenshotsResponse\x12v\n" +
|
|
"\x15SetFeaturedScreenshot\x12-.orchestrator.v1.SetFeaturedScreenshotRequest\x1a..orchestrator.v1.SetFeaturedScreenshotResponse2\x94\x05\n" +
|
|
"\x13PluginReviewService\x12X\n" +
|
|
"\vListReviews\x12#.orchestrator.v1.ListReviewsRequest\x1a$.orchestrator.v1.ListReviewsResponse\x12X\n" +
|
|
"\vGetMyReview\x12#.orchestrator.v1.GetMyReviewRequest\x1a$.orchestrator.v1.GetMyReviewResponse\x12[\n" +
|
|
"\fUpsertReview\x12$.orchestrator.v1.UpsertReviewRequest\x1a%.orchestrator.v1.UpsertReviewResponse\x12[\n" +
|
|
"\fDeleteReview\x12$.orchestrator.v1.DeleteReviewRequest\x1a%.orchestrator.v1.DeleteReviewResponse\x12^\n" +
|
|
"\rReplyToReview\x12%.orchestrator.v1.ReplyToReviewRequest\x1a&.orchestrator.v1.ReplyToReviewResponse\x12X\n" +
|
|
"\vDeleteReply\x12#.orchestrator.v1.DeleteReplyRequest\x1a$.orchestrator.v1.DeleteReplyResponse\x12U\n" +
|
|
"\n" +
|
|
"FlagReview\x12\".orchestrator.v1.FlagReviewRequest\x1a#.orchestrator.v1.FlagReviewResponse2y\n" +
|
|
"\x14PluginPublishService\x12a\n" +
|
|
"\x0ePublishVersion\x12&.orchestrator.v1.PublishVersionRequest\x1a'.orchestrator.v1.PublishVersionResponse2\xa1\x05\n" +
|
|
"\x11PluginAuthService\x12X\n" +
|
|
"\vStartDevice\x12#.orchestrator.v1.StartDeviceRequest\x1a$.orchestrator.v1.StartDeviceResponse\x12U\n" +
|
|
"\n" +
|
|
"PollDevice\x12\".orchestrator.v1.PollDeviceRequest\x1a#.orchestrator.v1.PollDeviceResponse\x12^\n" +
|
|
"\rApproveDevice\x12%.orchestrator.v1.ApproveDeviceRequest\x1a&.orchestrator.v1.ApproveDeviceResponse\x12U\n" +
|
|
"\n" +
|
|
"DenyDevice\x12\".orchestrator.v1.DenyDeviceRequest\x1a#.orchestrator.v1.DenyDeviceResponse\x12d\n" +
|
|
"\x0fGetDeviceStatus\x12'.orchestrator.v1.GetDeviceStatusRequest\x1a(.orchestrator.v1.GetDeviceStatusResponse\x12I\n" +
|
|
"\x06Whoami\x12\x1e.orchestrator.v1.WhoamiRequest\x1a\x1f.orchestrator.v1.WhoamiResponse\x12s\n" +
|
|
"\x14ListMyAccountsForCLI\x12,.orchestrator.v1.ListMyAccountsForCLIRequest\x1a-.orchestrator.v1.ListMyAccountsForCLIResponseB\xd5\x01\n" +
|
|
"\x13com.orchestrator.v1B\x13PluginRegistryProtoP\x01ZLgit.dev.alexdunmow.com/block/cli/internal/api/orchestrator/v1;orchestratorv1\xa2\x02\x03OXX\xaa\x02\x0fOrchestrator.V1\xca\x02\x0fOrchestrator\\V1\xe2\x02\x1bOrchestrator\\V1\\GPBMetadata\xea\x02\x10Orchestrator::V1b\x06proto3"
|
|
|
|
var (
|
|
file_orchestrator_v1_plugin_registry_proto_rawDescOnce sync.Once
|
|
file_orchestrator_v1_plugin_registry_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_orchestrator_v1_plugin_registry_proto_rawDescGZIP() []byte {
|
|
file_orchestrator_v1_plugin_registry_proto_rawDescOnce.Do(func() {
|
|
file_orchestrator_v1_plugin_registry_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_orchestrator_v1_plugin_registry_proto_rawDesc), len(file_orchestrator_v1_plugin_registry_proto_rawDesc)))
|
|
})
|
|
return file_orchestrator_v1_plugin_registry_proto_rawDescData
|
|
}
|
|
|
|
var file_orchestrator_v1_plugin_registry_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_orchestrator_v1_plugin_registry_proto_msgTypes = make([]protoimpl.MessageInfo, 105)
|
|
var file_orchestrator_v1_plugin_registry_proto_goTypes = []any{
|
|
(PluginVisibility)(0), // 0: orchestrator.v1.PluginVisibility
|
|
(*Scope)(nil), // 1: orchestrator.v1.Scope
|
|
(*Plugin)(nil), // 2: orchestrator.v1.Plugin
|
|
(*PluginScreenshot)(nil), // 3: orchestrator.v1.PluginScreenshot
|
|
(*Category)(nil), // 4: orchestrator.v1.Category
|
|
(*Version)(nil), // 5: orchestrator.v1.Version
|
|
(*Requirement)(nil), // 6: orchestrator.v1.Requirement
|
|
(*CreateScopeRequest)(nil), // 7: orchestrator.v1.CreateScopeRequest
|
|
(*CreateScopeResponse)(nil), // 8: orchestrator.v1.CreateScopeResponse
|
|
(*ListMyScopesRequest)(nil), // 9: orchestrator.v1.ListMyScopesRequest
|
|
(*ListMyScopesResponse)(nil), // 10: orchestrator.v1.ListMyScopesResponse
|
|
(*GetScopeRequest)(nil), // 11: orchestrator.v1.GetScopeRequest
|
|
(*GetScopeResponse)(nil), // 12: orchestrator.v1.GetScopeResponse
|
|
(*ListMyPluginsRequest)(nil), // 13: orchestrator.v1.ListMyPluginsRequest
|
|
(*ListMyPluginsResponse)(nil), // 14: orchestrator.v1.ListMyPluginsResponse
|
|
(*CreatePluginRequest)(nil), // 15: orchestrator.v1.CreatePluginRequest
|
|
(*CreatePluginResponse)(nil), // 16: orchestrator.v1.CreatePluginResponse
|
|
(*GetPluginRequest)(nil), // 17: orchestrator.v1.GetPluginRequest
|
|
(*GetPluginResponse)(nil), // 18: orchestrator.v1.GetPluginResponse
|
|
(*ListPluginsRequest)(nil), // 19: orchestrator.v1.ListPluginsRequest
|
|
(*ListPluginsResponse)(nil), // 20: orchestrator.v1.ListPluginsResponse
|
|
(*ListCategoriesRequest)(nil), // 21: orchestrator.v1.ListCategoriesRequest
|
|
(*ListCategoriesResponse)(nil), // 22: orchestrator.v1.ListCategoriesResponse
|
|
(*ListTagsRequest)(nil), // 23: orchestrator.v1.ListTagsRequest
|
|
(*ListTagsResponse)(nil), // 24: orchestrator.v1.ListTagsResponse
|
|
(*TagCount)(nil), // 25: orchestrator.v1.TagCount
|
|
(*ListPrivatePluginsRequest)(nil), // 26: orchestrator.v1.ListPrivatePluginsRequest
|
|
(*ListPrivatePluginsResponse)(nil), // 27: orchestrator.v1.ListPrivatePluginsResponse
|
|
(*PrivatePluginSummary)(nil), // 28: orchestrator.v1.PrivatePluginSummary
|
|
(*DeletePrivatePluginRequest)(nil), // 29: orchestrator.v1.DeletePrivatePluginRequest
|
|
(*DeletePrivatePluginResponse)(nil), // 30: orchestrator.v1.DeletePrivatePluginResponse
|
|
(*DeletePrivatePluginVersionRequest)(nil), // 31: orchestrator.v1.DeletePrivatePluginVersionRequest
|
|
(*DeletePrivatePluginVersionResponse)(nil), // 32: orchestrator.v1.DeletePrivatePluginVersionResponse
|
|
(*ListPrivatePluginInstallSitesRequest)(nil), // 33: orchestrator.v1.ListPrivatePluginInstallSitesRequest
|
|
(*ListPrivatePluginInstallSitesResponse)(nil), // 34: orchestrator.v1.ListPrivatePluginInstallSitesResponse
|
|
(*PrivatePluginInstallSite)(nil), // 35: orchestrator.v1.PrivatePluginInstallSite
|
|
(*GetVersionRequest)(nil), // 36: orchestrator.v1.GetVersionRequest
|
|
(*GetVersionResponse)(nil), // 37: orchestrator.v1.GetVersionResponse
|
|
(*ResolveInstallRequest)(nil), // 38: orchestrator.v1.ResolveInstallRequest
|
|
(*ResolveInstallResponse)(nil), // 39: orchestrator.v1.ResolveInstallResponse
|
|
(*ListPrivatePluginsForInstanceRequest)(nil), // 40: orchestrator.v1.ListPrivatePluginsForInstanceRequest
|
|
(*ResolveInstallForInstanceRequest)(nil), // 41: orchestrator.v1.ResolveInstallForInstanceRequest
|
|
(*PendingReview)(nil), // 42: orchestrator.v1.PendingReview
|
|
(*SubmitForReviewRequest)(nil), // 43: orchestrator.v1.SubmitForReviewRequest
|
|
(*SubmitForReviewResponse)(nil), // 44: orchestrator.v1.SubmitForReviewResponse
|
|
(*ListPendingReviewsRequest)(nil), // 45: orchestrator.v1.ListPendingReviewsRequest
|
|
(*ListPendingReviewsResponse)(nil), // 46: orchestrator.v1.ListPendingReviewsResponse
|
|
(*ApproveSubmissionRequest)(nil), // 47: orchestrator.v1.ApproveSubmissionRequest
|
|
(*ApproveSubmissionResponse)(nil), // 48: orchestrator.v1.ApproveSubmissionResponse
|
|
(*RejectSubmissionRequest)(nil), // 49: orchestrator.v1.RejectSubmissionRequest
|
|
(*RejectSubmissionResponse)(nil), // 50: orchestrator.v1.RejectSubmissionResponse
|
|
(*RequestChangesRequest)(nil), // 51: orchestrator.v1.RequestChangesRequest
|
|
(*RequestChangesResponse)(nil), // 52: orchestrator.v1.RequestChangesResponse
|
|
(*ListScreenshotsRequest)(nil), // 53: orchestrator.v1.ListScreenshotsRequest
|
|
(*ListScreenshotsResponse)(nil), // 54: orchestrator.v1.ListScreenshotsResponse
|
|
(*UploadScreenshotRequest)(nil), // 55: orchestrator.v1.UploadScreenshotRequest
|
|
(*UploadScreenshotResponse)(nil), // 56: orchestrator.v1.UploadScreenshotResponse
|
|
(*DeleteScreenshotRequest)(nil), // 57: orchestrator.v1.DeleteScreenshotRequest
|
|
(*DeleteScreenshotResponse)(nil), // 58: orchestrator.v1.DeleteScreenshotResponse
|
|
(*ReorderScreenshotsRequest)(nil), // 59: orchestrator.v1.ReorderScreenshotsRequest
|
|
(*ReorderScreenshotsResponse)(nil), // 60: orchestrator.v1.ReorderScreenshotsResponse
|
|
(*SetFeaturedScreenshotRequest)(nil), // 61: orchestrator.v1.SetFeaturedScreenshotRequest
|
|
(*SetFeaturedScreenshotResponse)(nil), // 62: orchestrator.v1.SetFeaturedScreenshotResponse
|
|
(*PluginReview)(nil), // 63: orchestrator.v1.PluginReview
|
|
(*PluginReviewReply)(nil), // 64: orchestrator.v1.PluginReviewReply
|
|
(*ReviewAggregate)(nil), // 65: orchestrator.v1.ReviewAggregate
|
|
(*ListReviewsRequest)(nil), // 66: orchestrator.v1.ListReviewsRequest
|
|
(*ListReviewsResponse)(nil), // 67: orchestrator.v1.ListReviewsResponse
|
|
(*GetMyReviewRequest)(nil), // 68: orchestrator.v1.GetMyReviewRequest
|
|
(*GetMyReviewResponse)(nil), // 69: orchestrator.v1.GetMyReviewResponse
|
|
(*UpsertReviewRequest)(nil), // 70: orchestrator.v1.UpsertReviewRequest
|
|
(*UpsertReviewResponse)(nil), // 71: orchestrator.v1.UpsertReviewResponse
|
|
(*DeleteReviewRequest)(nil), // 72: orchestrator.v1.DeleteReviewRequest
|
|
(*DeleteReviewResponse)(nil), // 73: orchestrator.v1.DeleteReviewResponse
|
|
(*ReplyToReviewRequest)(nil), // 74: orchestrator.v1.ReplyToReviewRequest
|
|
(*ReplyToReviewResponse)(nil), // 75: orchestrator.v1.ReplyToReviewResponse
|
|
(*DeleteReplyRequest)(nil), // 76: orchestrator.v1.DeleteReplyRequest
|
|
(*DeleteReplyResponse)(nil), // 77: orchestrator.v1.DeleteReplyResponse
|
|
(*FlagReviewRequest)(nil), // 78: orchestrator.v1.FlagReviewRequest
|
|
(*FlagReviewResponse)(nil), // 79: orchestrator.v1.FlagReviewResponse
|
|
(*FlaggedReview)(nil), // 80: orchestrator.v1.FlaggedReview
|
|
(*ListFlaggedReviewsRequest)(nil), // 81: orchestrator.v1.ListFlaggedReviewsRequest
|
|
(*ListFlaggedReviewsResponse)(nil), // 82: orchestrator.v1.ListFlaggedReviewsResponse
|
|
(*SoftDeleteReviewRequest)(nil), // 83: orchestrator.v1.SoftDeleteReviewRequest
|
|
(*SoftDeleteReviewResponse)(nil), // 84: orchestrator.v1.SoftDeleteReviewResponse
|
|
(*SoftDeleteReplyRequest)(nil), // 85: orchestrator.v1.SoftDeleteReplyRequest
|
|
(*SoftDeleteReplyResponse)(nil), // 86: orchestrator.v1.SoftDeleteReplyResponse
|
|
(*PublishVersionRequest)(nil), // 87: orchestrator.v1.PublishVersionRequest
|
|
(*PublishVersionResponse)(nil), // 88: orchestrator.v1.PublishVersionResponse
|
|
(*StartDeviceRequest)(nil), // 89: orchestrator.v1.StartDeviceRequest
|
|
(*StartDeviceResponse)(nil), // 90: orchestrator.v1.StartDeviceResponse
|
|
(*PollDeviceRequest)(nil), // 91: orchestrator.v1.PollDeviceRequest
|
|
(*PollDeviceResponse)(nil), // 92: orchestrator.v1.PollDeviceResponse
|
|
(*ApproveDeviceRequest)(nil), // 93: orchestrator.v1.ApproveDeviceRequest
|
|
(*ApproveDeviceResponse)(nil), // 94: orchestrator.v1.ApproveDeviceResponse
|
|
(*DenyDeviceRequest)(nil), // 95: orchestrator.v1.DenyDeviceRequest
|
|
(*DenyDeviceResponse)(nil), // 96: orchestrator.v1.DenyDeviceResponse
|
|
(*GetDeviceStatusRequest)(nil), // 97: orchestrator.v1.GetDeviceStatusRequest
|
|
(*GetDeviceStatusResponse)(nil), // 98: orchestrator.v1.GetDeviceStatusResponse
|
|
(*WhoamiRequest)(nil), // 99: orchestrator.v1.WhoamiRequest
|
|
(*WhoamiResponse)(nil), // 100: orchestrator.v1.WhoamiResponse
|
|
(*MyAccount)(nil), // 101: orchestrator.v1.MyAccount
|
|
(*ListMyAccountsForCLIRequest)(nil), // 102: orchestrator.v1.ListMyAccountsForCLIRequest
|
|
(*ListMyAccountsForCLIResponse)(nil), // 103: orchestrator.v1.ListMyAccountsForCLIResponse
|
|
nil, // 104: orchestrator.v1.GetPluginResponse.ChannelsEntry
|
|
nil, // 105: orchestrator.v1.PrivatePluginSummary.ChannelVersionsEntry
|
|
(*timestamppb.Timestamp)(nil), // 106: google.protobuf.Timestamp
|
|
}
|
|
var file_orchestrator_v1_plugin_registry_proto_depIdxs = []int32{
|
|
106, // 0: orchestrator.v1.Scope.created_at:type_name -> google.protobuf.Timestamp
|
|
0, // 1: orchestrator.v1.Plugin.visibility:type_name -> orchestrator.v1.PluginVisibility
|
|
106, // 2: orchestrator.v1.Plugin.updated_at:type_name -> google.protobuf.Timestamp
|
|
106, // 3: orchestrator.v1.Version.published_at:type_name -> google.protobuf.Timestamp
|
|
1, // 4: orchestrator.v1.CreateScopeResponse.scope:type_name -> orchestrator.v1.Scope
|
|
1, // 5: orchestrator.v1.ListMyScopesResponse.scopes:type_name -> orchestrator.v1.Scope
|
|
1, // 6: orchestrator.v1.GetScopeResponse.scope:type_name -> orchestrator.v1.Scope
|
|
2, // 7: orchestrator.v1.GetScopeResponse.plugins:type_name -> orchestrator.v1.Plugin
|
|
2, // 8: orchestrator.v1.ListMyPluginsResponse.plugins:type_name -> orchestrator.v1.Plugin
|
|
0, // 9: orchestrator.v1.CreatePluginRequest.visibility:type_name -> orchestrator.v1.PluginVisibility
|
|
2, // 10: orchestrator.v1.CreatePluginResponse.plugin:type_name -> orchestrator.v1.Plugin
|
|
2, // 11: orchestrator.v1.GetPluginResponse.plugin:type_name -> orchestrator.v1.Plugin
|
|
5, // 12: orchestrator.v1.GetPluginResponse.versions:type_name -> orchestrator.v1.Version
|
|
104, // 13: orchestrator.v1.GetPluginResponse.channels:type_name -> orchestrator.v1.GetPluginResponse.ChannelsEntry
|
|
3, // 14: orchestrator.v1.GetPluginResponse.screenshots:type_name -> orchestrator.v1.PluginScreenshot
|
|
2, // 15: orchestrator.v1.ListPluginsResponse.plugins:type_name -> orchestrator.v1.Plugin
|
|
4, // 16: orchestrator.v1.ListCategoriesResponse.categories:type_name -> orchestrator.v1.Category
|
|
25, // 17: orchestrator.v1.ListTagsResponse.tags:type_name -> orchestrator.v1.TagCount
|
|
28, // 18: orchestrator.v1.ListPrivatePluginsResponse.plugins:type_name -> orchestrator.v1.PrivatePluginSummary
|
|
2, // 19: orchestrator.v1.PrivatePluginSummary.plugin:type_name -> orchestrator.v1.Plugin
|
|
105, // 20: orchestrator.v1.PrivatePluginSummary.channel_versions:type_name -> orchestrator.v1.PrivatePluginSummary.ChannelVersionsEntry
|
|
35, // 21: orchestrator.v1.ListPrivatePluginInstallSitesResponse.sites:type_name -> orchestrator.v1.PrivatePluginInstallSite
|
|
5, // 22: orchestrator.v1.GetVersionResponse.version:type_name -> orchestrator.v1.Version
|
|
6, // 23: orchestrator.v1.GetVersionResponse.requires:type_name -> orchestrator.v1.Requirement
|
|
6, // 24: orchestrator.v1.ResolveInstallResponse.requires:type_name -> orchestrator.v1.Requirement
|
|
106, // 25: orchestrator.v1.PendingReview.submitted_at:type_name -> google.protobuf.Timestamp
|
|
42, // 26: orchestrator.v1.ListPendingReviewsResponse.reviews:type_name -> orchestrator.v1.PendingReview
|
|
3, // 27: orchestrator.v1.ListScreenshotsResponse.screenshots:type_name -> orchestrator.v1.PluginScreenshot
|
|
3, // 28: orchestrator.v1.UploadScreenshotResponse.screenshot:type_name -> orchestrator.v1.PluginScreenshot
|
|
3, // 29: orchestrator.v1.ReorderScreenshotsResponse.screenshots:type_name -> orchestrator.v1.PluginScreenshot
|
|
106, // 30: orchestrator.v1.PluginReview.created_at:type_name -> google.protobuf.Timestamp
|
|
106, // 31: orchestrator.v1.PluginReview.updated_at:type_name -> google.protobuf.Timestamp
|
|
64, // 32: orchestrator.v1.PluginReview.reply:type_name -> orchestrator.v1.PluginReviewReply
|
|
106, // 33: orchestrator.v1.PluginReviewReply.created_at:type_name -> google.protobuf.Timestamp
|
|
63, // 34: orchestrator.v1.ListReviewsResponse.reviews:type_name -> orchestrator.v1.PluginReview
|
|
65, // 35: orchestrator.v1.ListReviewsResponse.aggregate:type_name -> orchestrator.v1.ReviewAggregate
|
|
63, // 36: orchestrator.v1.GetMyReviewResponse.review:type_name -> orchestrator.v1.PluginReview
|
|
63, // 37: orchestrator.v1.UpsertReviewResponse.review:type_name -> orchestrator.v1.PluginReview
|
|
64, // 38: orchestrator.v1.ReplyToReviewResponse.reply:type_name -> orchestrator.v1.PluginReviewReply
|
|
63, // 39: orchestrator.v1.FlaggedReview.review:type_name -> orchestrator.v1.PluginReview
|
|
106, // 40: orchestrator.v1.FlaggedReview.first_flagged_at:type_name -> google.protobuf.Timestamp
|
|
80, // 41: orchestrator.v1.ListFlaggedReviewsResponse.reviews:type_name -> orchestrator.v1.FlaggedReview
|
|
5, // 42: orchestrator.v1.PublishVersionResponse.version:type_name -> orchestrator.v1.Version
|
|
101, // 43: orchestrator.v1.ListMyAccountsForCLIResponse.accounts:type_name -> orchestrator.v1.MyAccount
|
|
7, // 44: orchestrator.v1.PluginScopeService.CreateScope:input_type -> orchestrator.v1.CreateScopeRequest
|
|
9, // 45: orchestrator.v1.PluginScopeService.ListMyScopes:input_type -> orchestrator.v1.ListMyScopesRequest
|
|
11, // 46: orchestrator.v1.PluginScopeService.GetScope:input_type -> orchestrator.v1.GetScopeRequest
|
|
13, // 47: orchestrator.v1.PluginScopeService.ListMyPlugins:input_type -> orchestrator.v1.ListMyPluginsRequest
|
|
15, // 48: orchestrator.v1.PluginRegistryService.CreatePlugin:input_type -> orchestrator.v1.CreatePluginRequest
|
|
17, // 49: orchestrator.v1.PluginRegistryService.GetPlugin:input_type -> orchestrator.v1.GetPluginRequest
|
|
19, // 50: orchestrator.v1.PluginRegistryService.ListPlugins:input_type -> orchestrator.v1.ListPluginsRequest
|
|
36, // 51: orchestrator.v1.PluginRegistryService.GetVersion:input_type -> orchestrator.v1.GetVersionRequest
|
|
38, // 52: orchestrator.v1.PluginRegistryService.ResolveInstall:input_type -> orchestrator.v1.ResolveInstallRequest
|
|
21, // 53: orchestrator.v1.PluginRegistryService.ListCategories:input_type -> orchestrator.v1.ListCategoriesRequest
|
|
23, // 54: orchestrator.v1.PluginRegistryService.ListTags:input_type -> orchestrator.v1.ListTagsRequest
|
|
43, // 55: orchestrator.v1.PluginRegistryService.SubmitForReview:input_type -> orchestrator.v1.SubmitForReviewRequest
|
|
26, // 56: orchestrator.v1.PluginRegistryService.ListPrivatePlugins:input_type -> orchestrator.v1.ListPrivatePluginsRequest
|
|
29, // 57: orchestrator.v1.PluginRegistryService.DeletePrivatePlugin:input_type -> orchestrator.v1.DeletePrivatePluginRequest
|
|
31, // 58: orchestrator.v1.PluginRegistryService.DeletePrivatePluginVersion:input_type -> orchestrator.v1.DeletePrivatePluginVersionRequest
|
|
33, // 59: orchestrator.v1.PluginRegistryService.ListPrivatePluginInstallSites:input_type -> orchestrator.v1.ListPrivatePluginInstallSitesRequest
|
|
40, // 60: orchestrator.v1.PluginRegistryService.ListPrivatePluginsForInstance:input_type -> orchestrator.v1.ListPrivatePluginsForInstanceRequest
|
|
41, // 61: orchestrator.v1.PluginRegistryService.ResolveInstallForInstance:input_type -> orchestrator.v1.ResolveInstallForInstanceRequest
|
|
45, // 62: orchestrator.v1.PluginModerationService.ListPendingReviews:input_type -> orchestrator.v1.ListPendingReviewsRequest
|
|
47, // 63: orchestrator.v1.PluginModerationService.ApproveSubmission:input_type -> orchestrator.v1.ApproveSubmissionRequest
|
|
49, // 64: orchestrator.v1.PluginModerationService.RejectSubmission:input_type -> orchestrator.v1.RejectSubmissionRequest
|
|
51, // 65: orchestrator.v1.PluginModerationService.RequestChanges:input_type -> orchestrator.v1.RequestChangesRequest
|
|
81, // 66: orchestrator.v1.PluginModerationService.ListFlaggedReviews:input_type -> orchestrator.v1.ListFlaggedReviewsRequest
|
|
83, // 67: orchestrator.v1.PluginModerationService.SoftDeleteReview:input_type -> orchestrator.v1.SoftDeleteReviewRequest
|
|
85, // 68: orchestrator.v1.PluginModerationService.SoftDeleteReply:input_type -> orchestrator.v1.SoftDeleteReplyRequest
|
|
53, // 69: orchestrator.v1.PluginGalleryService.ListScreenshots:input_type -> orchestrator.v1.ListScreenshotsRequest
|
|
55, // 70: orchestrator.v1.PluginGalleryService.UploadScreenshot:input_type -> orchestrator.v1.UploadScreenshotRequest
|
|
57, // 71: orchestrator.v1.PluginGalleryService.DeleteScreenshot:input_type -> orchestrator.v1.DeleteScreenshotRequest
|
|
59, // 72: orchestrator.v1.PluginGalleryService.ReorderScreenshots:input_type -> orchestrator.v1.ReorderScreenshotsRequest
|
|
61, // 73: orchestrator.v1.PluginGalleryService.SetFeaturedScreenshot:input_type -> orchestrator.v1.SetFeaturedScreenshotRequest
|
|
66, // 74: orchestrator.v1.PluginReviewService.ListReviews:input_type -> orchestrator.v1.ListReviewsRequest
|
|
68, // 75: orchestrator.v1.PluginReviewService.GetMyReview:input_type -> orchestrator.v1.GetMyReviewRequest
|
|
70, // 76: orchestrator.v1.PluginReviewService.UpsertReview:input_type -> orchestrator.v1.UpsertReviewRequest
|
|
72, // 77: orchestrator.v1.PluginReviewService.DeleteReview:input_type -> orchestrator.v1.DeleteReviewRequest
|
|
74, // 78: orchestrator.v1.PluginReviewService.ReplyToReview:input_type -> orchestrator.v1.ReplyToReviewRequest
|
|
76, // 79: orchestrator.v1.PluginReviewService.DeleteReply:input_type -> orchestrator.v1.DeleteReplyRequest
|
|
78, // 80: orchestrator.v1.PluginReviewService.FlagReview:input_type -> orchestrator.v1.FlagReviewRequest
|
|
87, // 81: orchestrator.v1.PluginPublishService.PublishVersion:input_type -> orchestrator.v1.PublishVersionRequest
|
|
89, // 82: orchestrator.v1.PluginAuthService.StartDevice:input_type -> orchestrator.v1.StartDeviceRequest
|
|
91, // 83: orchestrator.v1.PluginAuthService.PollDevice:input_type -> orchestrator.v1.PollDeviceRequest
|
|
93, // 84: orchestrator.v1.PluginAuthService.ApproveDevice:input_type -> orchestrator.v1.ApproveDeviceRequest
|
|
95, // 85: orchestrator.v1.PluginAuthService.DenyDevice:input_type -> orchestrator.v1.DenyDeviceRequest
|
|
97, // 86: orchestrator.v1.PluginAuthService.GetDeviceStatus:input_type -> orchestrator.v1.GetDeviceStatusRequest
|
|
99, // 87: orchestrator.v1.PluginAuthService.Whoami:input_type -> orchestrator.v1.WhoamiRequest
|
|
102, // 88: orchestrator.v1.PluginAuthService.ListMyAccountsForCLI:input_type -> orchestrator.v1.ListMyAccountsForCLIRequest
|
|
8, // 89: orchestrator.v1.PluginScopeService.CreateScope:output_type -> orchestrator.v1.CreateScopeResponse
|
|
10, // 90: orchestrator.v1.PluginScopeService.ListMyScopes:output_type -> orchestrator.v1.ListMyScopesResponse
|
|
12, // 91: orchestrator.v1.PluginScopeService.GetScope:output_type -> orchestrator.v1.GetScopeResponse
|
|
14, // 92: orchestrator.v1.PluginScopeService.ListMyPlugins:output_type -> orchestrator.v1.ListMyPluginsResponse
|
|
16, // 93: orchestrator.v1.PluginRegistryService.CreatePlugin:output_type -> orchestrator.v1.CreatePluginResponse
|
|
18, // 94: orchestrator.v1.PluginRegistryService.GetPlugin:output_type -> orchestrator.v1.GetPluginResponse
|
|
20, // 95: orchestrator.v1.PluginRegistryService.ListPlugins:output_type -> orchestrator.v1.ListPluginsResponse
|
|
37, // 96: orchestrator.v1.PluginRegistryService.GetVersion:output_type -> orchestrator.v1.GetVersionResponse
|
|
39, // 97: orchestrator.v1.PluginRegistryService.ResolveInstall:output_type -> orchestrator.v1.ResolveInstallResponse
|
|
22, // 98: orchestrator.v1.PluginRegistryService.ListCategories:output_type -> orchestrator.v1.ListCategoriesResponse
|
|
24, // 99: orchestrator.v1.PluginRegistryService.ListTags:output_type -> orchestrator.v1.ListTagsResponse
|
|
44, // 100: orchestrator.v1.PluginRegistryService.SubmitForReview:output_type -> orchestrator.v1.SubmitForReviewResponse
|
|
27, // 101: orchestrator.v1.PluginRegistryService.ListPrivatePlugins:output_type -> orchestrator.v1.ListPrivatePluginsResponse
|
|
30, // 102: orchestrator.v1.PluginRegistryService.DeletePrivatePlugin:output_type -> orchestrator.v1.DeletePrivatePluginResponse
|
|
32, // 103: orchestrator.v1.PluginRegistryService.DeletePrivatePluginVersion:output_type -> orchestrator.v1.DeletePrivatePluginVersionResponse
|
|
34, // 104: orchestrator.v1.PluginRegistryService.ListPrivatePluginInstallSites:output_type -> orchestrator.v1.ListPrivatePluginInstallSitesResponse
|
|
27, // 105: orchestrator.v1.PluginRegistryService.ListPrivatePluginsForInstance:output_type -> orchestrator.v1.ListPrivatePluginsResponse
|
|
39, // 106: orchestrator.v1.PluginRegistryService.ResolveInstallForInstance:output_type -> orchestrator.v1.ResolveInstallResponse
|
|
46, // 107: orchestrator.v1.PluginModerationService.ListPendingReviews:output_type -> orchestrator.v1.ListPendingReviewsResponse
|
|
48, // 108: orchestrator.v1.PluginModerationService.ApproveSubmission:output_type -> orchestrator.v1.ApproveSubmissionResponse
|
|
50, // 109: orchestrator.v1.PluginModerationService.RejectSubmission:output_type -> orchestrator.v1.RejectSubmissionResponse
|
|
52, // 110: orchestrator.v1.PluginModerationService.RequestChanges:output_type -> orchestrator.v1.RequestChangesResponse
|
|
82, // 111: orchestrator.v1.PluginModerationService.ListFlaggedReviews:output_type -> orchestrator.v1.ListFlaggedReviewsResponse
|
|
84, // 112: orchestrator.v1.PluginModerationService.SoftDeleteReview:output_type -> orchestrator.v1.SoftDeleteReviewResponse
|
|
86, // 113: orchestrator.v1.PluginModerationService.SoftDeleteReply:output_type -> orchestrator.v1.SoftDeleteReplyResponse
|
|
54, // 114: orchestrator.v1.PluginGalleryService.ListScreenshots:output_type -> orchestrator.v1.ListScreenshotsResponse
|
|
56, // 115: orchestrator.v1.PluginGalleryService.UploadScreenshot:output_type -> orchestrator.v1.UploadScreenshotResponse
|
|
58, // 116: orchestrator.v1.PluginGalleryService.DeleteScreenshot:output_type -> orchestrator.v1.DeleteScreenshotResponse
|
|
60, // 117: orchestrator.v1.PluginGalleryService.ReorderScreenshots:output_type -> orchestrator.v1.ReorderScreenshotsResponse
|
|
62, // 118: orchestrator.v1.PluginGalleryService.SetFeaturedScreenshot:output_type -> orchestrator.v1.SetFeaturedScreenshotResponse
|
|
67, // 119: orchestrator.v1.PluginReviewService.ListReviews:output_type -> orchestrator.v1.ListReviewsResponse
|
|
69, // 120: orchestrator.v1.PluginReviewService.GetMyReview:output_type -> orchestrator.v1.GetMyReviewResponse
|
|
71, // 121: orchestrator.v1.PluginReviewService.UpsertReview:output_type -> orchestrator.v1.UpsertReviewResponse
|
|
73, // 122: orchestrator.v1.PluginReviewService.DeleteReview:output_type -> orchestrator.v1.DeleteReviewResponse
|
|
75, // 123: orchestrator.v1.PluginReviewService.ReplyToReview:output_type -> orchestrator.v1.ReplyToReviewResponse
|
|
77, // 124: orchestrator.v1.PluginReviewService.DeleteReply:output_type -> orchestrator.v1.DeleteReplyResponse
|
|
79, // 125: orchestrator.v1.PluginReviewService.FlagReview:output_type -> orchestrator.v1.FlagReviewResponse
|
|
88, // 126: orchestrator.v1.PluginPublishService.PublishVersion:output_type -> orchestrator.v1.PublishVersionResponse
|
|
90, // 127: orchestrator.v1.PluginAuthService.StartDevice:output_type -> orchestrator.v1.StartDeviceResponse
|
|
92, // 128: orchestrator.v1.PluginAuthService.PollDevice:output_type -> orchestrator.v1.PollDeviceResponse
|
|
94, // 129: orchestrator.v1.PluginAuthService.ApproveDevice:output_type -> orchestrator.v1.ApproveDeviceResponse
|
|
96, // 130: orchestrator.v1.PluginAuthService.DenyDevice:output_type -> orchestrator.v1.DenyDeviceResponse
|
|
98, // 131: orchestrator.v1.PluginAuthService.GetDeviceStatus:output_type -> orchestrator.v1.GetDeviceStatusResponse
|
|
100, // 132: orchestrator.v1.PluginAuthService.Whoami:output_type -> orchestrator.v1.WhoamiResponse
|
|
103, // 133: orchestrator.v1.PluginAuthService.ListMyAccountsForCLI:output_type -> orchestrator.v1.ListMyAccountsForCLIResponse
|
|
89, // [89:134] is the sub-list for method output_type
|
|
44, // [44:89] is the sub-list for method input_type
|
|
44, // [44:44] is the sub-list for extension type_name
|
|
44, // [44:44] is the sub-list for extension extendee
|
|
0, // [0:44] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_orchestrator_v1_plugin_registry_proto_init() }
|
|
func file_orchestrator_v1_plugin_registry_proto_init() {
|
|
if File_orchestrator_v1_plugin_registry_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_orchestrator_v1_plugin_registry_proto_rawDesc), len(file_orchestrator_v1_plugin_registry_proto_rawDesc)),
|
|
NumEnums: 1,
|
|
NumMessages: 105,
|
|
NumExtensions: 0,
|
|
NumServices: 7,
|
|
},
|
|
GoTypes: file_orchestrator_v1_plugin_registry_proto_goTypes,
|
|
DependencyIndexes: file_orchestrator_v1_plugin_registry_proto_depIdxs,
|
|
EnumInfos: file_orchestrator_v1_plugin_registry_proto_enumTypes,
|
|
MessageInfos: file_orchestrator_v1_plugin_registry_proto_msgTypes,
|
|
}.Build()
|
|
File_orchestrator_v1_plugin_registry_proto = out.File
|
|
file_orchestrator_v1_plugin_registry_proto_goTypes = nil
|
|
file_orchestrator_v1_plugin_registry_proto_depIdxs = nil
|
|
}
|