You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/sdk/pbs/controller/api/resources/scopes/scope.pb.go

641 lines
24 KiB

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: controller/api/resources/scopes/v1/scope.proto
package scopes
import (
_ "github.com/hashicorp/boundary/sdk/pbs/controller/protooptions"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
structpb "google.golang.org/protobuf/types/known/structpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
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)
)
type ScopeInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the scope.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// The type of the scope.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// The name of the scope, if any.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
// The description of the scope, if any.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"`
// The ID of the parent scope, if any. This field is empty if it is the "global" scope.
ParentScopeId string `protobuf:"bytes,5,opt,name=parent_scope_id,proto3" json:"parent_scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ScopeInfo) Reset() {
*x = ScopeInfo{}
mi := &file_controller_api_resources_scopes_v1_scope_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ScopeInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ScopeInfo) ProtoMessage() {}
func (x *ScopeInfo) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_resources_scopes_v1_scope_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 ScopeInfo.ProtoReflect.Descriptor instead.
func (*ScopeInfo) Descriptor() ([]byte, []int) {
return file_controller_api_resources_scopes_v1_scope_proto_rawDescGZIP(), []int{0}
}
func (x *ScopeInfo) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *ScopeInfo) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *ScopeInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ScopeInfo) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *ScopeInfo) GetParentScopeId() string {
if x != nil {
return x.ParentScopeId
}
return ""
}
// Scope contains all fields related to a scope resource
type Scope struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the scope.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// The ID of the scope this resource is in. If this is the "global" scope this field will be empty.
ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// Scope information for this resource.
Scope *ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
// Optional name for identification purposes.
Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
// Optional user-set descripton for identification purposes.
Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"`
// The time this resource was created.
CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// The time this resource was last updated.
UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
// The mutation will fail if the version does not match the latest known good version.
Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
// The type of the resource.
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// The ID of the primary auth method for this scope. A primary auth method
// is allowed to vivify users when new accounts are created and is the source for the users account info
PrimaryAuthMethodId *wrapperspb.StringValue `protobuf:"bytes,100,opt,name=primary_auth_method_id,proto3" json:"primary_auth_method_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// The available actions on this resource for this user.
AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty" class:"public"` // @gotags: `class:"public"`
// The authorized actions for the scope's collections.
AuthorizedCollectionActions map[string]*structpb.ListValue `protobuf:"bytes,310,rep,name=authorized_collection_actions,proto3" json:"authorized_collection_actions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The attached storage policy id.
StoragePolicyId string `protobuf:"bytes,320,opt,name=storage_policy_id,proto3" json:"storage_policy_id,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Scope) Reset() {
*x = Scope{}
mi := &file_controller_api_resources_scopes_v1_scope_proto_msgTypes[1]
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_controller_api_resources_scopes_v1_scope_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 Scope.ProtoReflect.Descriptor instead.
func (*Scope) Descriptor() ([]byte, []int) {
return file_controller_api_resources_scopes_v1_scope_proto_rawDescGZIP(), []int{1}
}
func (x *Scope) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Scope) GetScopeId() string {
if x != nil {
return x.ScopeId
}
return ""
}
func (x *Scope) GetScope() *ScopeInfo {
if x != nil {
return x.Scope
}
return nil
}
func (x *Scope) GetName() *wrapperspb.StringValue {
if x != nil {
return x.Name
}
return nil
}
func (x *Scope) GetDescription() *wrapperspb.StringValue {
if x != nil {
return x.Description
}
return nil
}
func (x *Scope) GetCreatedTime() *timestamppb.Timestamp {
if x != nil {
return x.CreatedTime
}
return nil
}
func (x *Scope) GetUpdatedTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedTime
}
return nil
}
func (x *Scope) GetVersion() uint32 {
if x != nil {
return x.Version
}
return 0
}
func (x *Scope) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *Scope) GetPrimaryAuthMethodId() *wrapperspb.StringValue {
if x != nil {
return x.PrimaryAuthMethodId
}
return nil
}
func (x *Scope) GetAuthorizedActions() []string {
if x != nil {
return x.AuthorizedActions
}
return nil
}
func (x *Scope) GetAuthorizedCollectionActions() map[string]*structpb.ListValue {
if x != nil {
return x.AuthorizedCollectionActions
}
return nil
}
func (x *Scope) GetStoragePolicyId() string {
if x != nil {
return x.StoragePolicyId
}
return ""
}
// KeyVersion describes a specific version of a key and holds the actual key material
type KeyVersion struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the key version.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
// The iteration of the Key that this version represents.
Version uint32 `protobuf:"varint,20,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
// When this version was created.
CreatedTime *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *KeyVersion) Reset() {
*x = KeyVersion{}
mi := &file_controller_api_resources_scopes_v1_scope_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *KeyVersion) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyVersion) ProtoMessage() {}
func (x *KeyVersion) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_resources_scopes_v1_scope_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 KeyVersion.ProtoReflect.Descriptor instead.
func (*KeyVersion) Descriptor() ([]byte, []int) {
return file_controller_api_resources_scopes_v1_scope_proto_rawDescGZIP(), []int{2}
}
func (x *KeyVersion) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *KeyVersion) GetVersion() uint32 {
if x != nil {
return x.Version
}
return 0
}
func (x *KeyVersion) GetCreatedTime() *timestamppb.Timestamp {
if x != nil {
return x.CreatedTime
}
return nil
}
// Key contains all fields related to a Key in a Scope.
type Key struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the Key.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
// Scope information for this resource.
Scope *ScopeInfo `protobuf:"bytes,20,opt,name=scope,proto3" json:"scope,omitempty"`
// The purpose of the Key.
Purpose string `protobuf:"bytes,30,opt,name=purpose,proto3" json:"purpose,omitempty" class:"public"` // @gotags: `class:"public"`
// The time this Key was created.
CreatedTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: `class:"public"`
// The type of the Key.
Type string `protobuf:"bytes,50,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
// The versions of the key.
Versions []*KeyVersion `protobuf:"bytes,60,rep,name=versions,proto3" json:"versions,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Key) Reset() {
*x = Key{}
mi := &file_controller_api_resources_scopes_v1_scope_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Key) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Key) ProtoMessage() {}
func (x *Key) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_resources_scopes_v1_scope_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 Key.ProtoReflect.Descriptor instead.
func (*Key) Descriptor() ([]byte, []int) {
return file_controller_api_resources_scopes_v1_scope_proto_rawDescGZIP(), []int{3}
}
func (x *Key) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Key) GetScope() *ScopeInfo {
if x != nil {
return x.Scope
}
return nil
}
func (x *Key) GetPurpose() string {
if x != nil {
return x.Purpose
}
return ""
}
func (x *Key) GetCreatedTime() *timestamppb.Timestamp {
if x != nil {
return x.CreatedTime
}
return nil
}
func (x *Key) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *Key) GetVersions() []*KeyVersion {
if x != nil {
return x.Versions
}
return nil
}
// KeyVersionDestructionJob holds information about a pending key version destruction job.
type KeyVersionDestructionJob struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the Key version this job relates to.
KeyVersionId string `protobuf:"bytes,10,opt,name=key_version_id,json=keyVersionId,proto3" json:"key_version_id,omitempty" class:"public"` // @gotags: `class:"public"`
// Scope information for this resource.
Scope *ScopeInfo `protobuf:"bytes,20,opt,name=scope,proto3" json:"scope,omitempty"`
// The current status of the key version destruction job. One of "pending", "running" or "completed".
Status string `protobuf:"bytes,30,opt,name=status,proto3" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
// The time this key version destruction job was created.
CreatedTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: `class:"public"`
// The number of rows that have been successfully re-encrypted with a new key version.
// All rows must be re-encrypted before the key version can be destroyed.
CompletedCount int64 `protobuf:"varint,50,opt,name=completed_count,json=completedCount,proto3" json:"completed_count,omitempty" class:"public"` // @gotags: `class:"public"`
// The total number of rows that need re-encrypting.
TotalCount int64 `protobuf:"varint,60,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *KeyVersionDestructionJob) Reset() {
*x = KeyVersionDestructionJob{}
mi := &file_controller_api_resources_scopes_v1_scope_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *KeyVersionDestructionJob) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyVersionDestructionJob) ProtoMessage() {}
func (x *KeyVersionDestructionJob) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_resources_scopes_v1_scope_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 KeyVersionDestructionJob.ProtoReflect.Descriptor instead.
func (*KeyVersionDestructionJob) Descriptor() ([]byte, []int) {
return file_controller_api_resources_scopes_v1_scope_proto_rawDescGZIP(), []int{4}
}
func (x *KeyVersionDestructionJob) GetKeyVersionId() string {
if x != nil {
return x.KeyVersionId
}
return ""
}
func (x *KeyVersionDestructionJob) GetScope() *ScopeInfo {
if x != nil {
return x.Scope
}
return nil
}
func (x *KeyVersionDestructionJob) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *KeyVersionDestructionJob) GetCreatedTime() *timestamppb.Timestamp {
if x != nil {
return x.CreatedTime
}
return nil
}
func (x *KeyVersionDestructionJob) GetCompletedCount() int64 {
if x != nil {
return x.CompletedCount
}
return 0
}
func (x *KeyVersionDestructionJob) GetTotalCount() int64 {
if x != nil {
return x.TotalCount
}
return 0
}
var File_controller_api_resources_scopes_v1_scope_proto protoreflect.FileDescriptor
const file_controller_api_resources_scopes_v1_scope_proto_rawDesc = "" +
"\n" +
".controller/api/resources/scopes/v1/scope.proto\x12\"controller.api.resources.scopes.v1\x1a*controller/custom_options/v1/options.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xad\x01\n" +
"\tScopeInfo\x12\x14\n" +
"\x02id\x18\x01 \x01(\tB\x04\xe2A\x01\x03R\x02id\x12\x18\n" +
"\x04type\x18\x02 \x01(\tB\x04\xe2A\x01\x03R\x04type\x12\x18\n" +
"\x04name\x18\x03 \x01(\tB\x04\xe2A\x01\x03R\x04name\x12&\n" +
"\vdescription\x18\x04 \x01(\tB\x04\xe2A\x01\x03R\vdescription\x12.\n" +
"\x0fparent_scope_id\x18\x05 \x01(\tB\x04\xe2A\x01\x03R\x0fparent_scope_id\"\xea\a\n" +
"\x05Scope\x12\x14\n" +
"\x02id\x18\n" +
" \x01(\tB\x04\xe2A\x01\x03R\x02id\x12\x1a\n" +
"\bscope_id\x18\x14 \x01(\tR\bscope_id\x12I\n" +
"\x05scope\x18\x1e \x01(\v2-.controller.api.resources.scopes.v1.ScopeInfoB\x04\xe2A\x01\x03R\x05scope\x12F\n" +
"\x04name\x18( \x01(\v2\x1c.google.protobuf.StringValueB\x14\xa0\xda)\x01\xc2\xdd)\f\n" +
"\x04name\x12\x04nameR\x04name\x12b\n" +
"\vdescription\x182 \x01(\v2\x1c.google.protobuf.StringValueB\"\xa0\xda)\x01\xc2\xdd)\x1a\n" +
"\vdescription\x12\vdescriptionR\vdescription\x12D\n" +
"\fcreated_time\x18< \x01(\v2\x1a.google.protobuf.TimestampB\x04\xe2A\x01\x03R\fcreated_time\x12D\n" +
"\fupdated_time\x18F \x01(\v2\x1a.google.protobuf.TimestampB\x04\xe2A\x01\x03R\fupdated_time\x12\x18\n" +
"\aversion\x18P \x01(\rR\aversion\x12\x12\n" +
"\x04type\x18Z \x01(\tR\x04type\x12\x8b\x01\n" +
"\x16primary_auth_method_id\x18d \x01(\v2\x1c.google.protobuf.StringValueB5\xa0\xda)\x01\xc2\xdd)-\n" +
"\x16primary_auth_method_id\x12\x13PrimaryAuthMethodIdR\x16primary_auth_method_id\x125\n" +
"\x12authorized_actions\x18\xac\x02 \x03(\tB\x04\xe2A\x01\x03R\x12authorized_actions\x12\x97\x01\n" +
"\x1dauthorized_collection_actions\x18\xb6\x02 \x03(\v2J.controller.api.resources.scopes.v1.Scope.AuthorizedCollectionActionsEntryB\x04\xe2A\x01\x03R\x1dauthorized_collection_actions\x123\n" +
"\x11storage_policy_id\x18\xc0\x02 \x01(\tB\x04\xe2A\x01\x03R\x11storage_policy_id\x1aj\n" +
" AuthorizedCollectionActionsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x120\n" +
"\x05value\x18\x02 \x01(\v2\x1a.google.protobuf.ListValueR\x05value:\x028\x01\"v\n" +
"\n" +
"KeyVersion\x12\x0e\n" +
"\x02id\x18\n" +
" \x01(\tR\x02id\x12\x18\n" +
"\aversion\x18\x14 \x01(\rR\aversion\x12>\n" +
"\fcreated_time\x18\x1e \x01(\v2\x1a.google.protobuf.TimestampR\fcreated_time\"\x94\x02\n" +
"\x03Key\x12\x0e\n" +
"\x02id\x18\n" +
" \x01(\tR\x02id\x12C\n" +
"\x05scope\x18\x14 \x01(\v2-.controller.api.resources.scopes.v1.ScopeInfoR\x05scope\x12\x18\n" +
"\apurpose\x18\x1e \x01(\tR\apurpose\x12>\n" +
"\fcreated_time\x18( \x01(\v2\x1a.google.protobuf.TimestampR\fcreated_time\x12\x12\n" +
"\x04type\x182 \x01(\tR\x04type\x12J\n" +
"\bversions\x18< \x03(\v2..controller.api.resources.scopes.v1.KeyVersionR\bversions\"\xa7\x02\n" +
"\x18KeyVersionDestructionJob\x12$\n" +
"\x0ekey_version_id\x18\n" +
" \x01(\tR\fkeyVersionId\x12C\n" +
"\x05scope\x18\x14 \x01(\v2-.controller.api.resources.scopes.v1.ScopeInfoR\x05scope\x12\x16\n" +
"\x06status\x18\x1e \x01(\tR\x06status\x12>\n" +
"\fcreated_time\x18( \x01(\v2\x1a.google.protobuf.TimestampR\fcreated_time\x12'\n" +
"\x0fcompleted_count\x182 \x01(\x03R\x0ecompletedCount\x12\x1f\n" +
"\vtotal_count\x18< \x01(\x03R\n" +
"totalCountBNZLgithub.com/hashicorp/boundary/sdk/pbs/controller/api/resources/scopes;scopesb\x06proto3"
var (
file_controller_api_resources_scopes_v1_scope_proto_rawDescOnce sync.Once
file_controller_api_resources_scopes_v1_scope_proto_rawDescData []byte
)
func file_controller_api_resources_scopes_v1_scope_proto_rawDescGZIP() []byte {
file_controller_api_resources_scopes_v1_scope_proto_rawDescOnce.Do(func() {
file_controller_api_resources_scopes_v1_scope_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_resources_scopes_v1_scope_proto_rawDesc), len(file_controller_api_resources_scopes_v1_scope_proto_rawDesc)))
})
return file_controller_api_resources_scopes_v1_scope_proto_rawDescData
}
var file_controller_api_resources_scopes_v1_scope_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_controller_api_resources_scopes_v1_scope_proto_goTypes = []any{
(*ScopeInfo)(nil), // 0: controller.api.resources.scopes.v1.ScopeInfo
(*Scope)(nil), // 1: controller.api.resources.scopes.v1.Scope
(*KeyVersion)(nil), // 2: controller.api.resources.scopes.v1.KeyVersion
(*Key)(nil), // 3: controller.api.resources.scopes.v1.Key
(*KeyVersionDestructionJob)(nil), // 4: controller.api.resources.scopes.v1.KeyVersionDestructionJob
nil, // 5: controller.api.resources.scopes.v1.Scope.AuthorizedCollectionActionsEntry
(*wrapperspb.StringValue)(nil), // 6: google.protobuf.StringValue
(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
(*structpb.ListValue)(nil), // 8: google.protobuf.ListValue
}
var file_controller_api_resources_scopes_v1_scope_proto_depIdxs = []int32{
0, // 0: controller.api.resources.scopes.v1.Scope.scope:type_name -> controller.api.resources.scopes.v1.ScopeInfo
6, // 1: controller.api.resources.scopes.v1.Scope.name:type_name -> google.protobuf.StringValue
6, // 2: controller.api.resources.scopes.v1.Scope.description:type_name -> google.protobuf.StringValue
7, // 3: controller.api.resources.scopes.v1.Scope.created_time:type_name -> google.protobuf.Timestamp
7, // 4: controller.api.resources.scopes.v1.Scope.updated_time:type_name -> google.protobuf.Timestamp
6, // 5: controller.api.resources.scopes.v1.Scope.primary_auth_method_id:type_name -> google.protobuf.StringValue
5, // 6: controller.api.resources.scopes.v1.Scope.authorized_collection_actions:type_name -> controller.api.resources.scopes.v1.Scope.AuthorizedCollectionActionsEntry
7, // 7: controller.api.resources.scopes.v1.KeyVersion.created_time:type_name -> google.protobuf.Timestamp
0, // 8: controller.api.resources.scopes.v1.Key.scope:type_name -> controller.api.resources.scopes.v1.ScopeInfo
7, // 9: controller.api.resources.scopes.v1.Key.created_time:type_name -> google.protobuf.Timestamp
2, // 10: controller.api.resources.scopes.v1.Key.versions:type_name -> controller.api.resources.scopes.v1.KeyVersion
0, // 11: controller.api.resources.scopes.v1.KeyVersionDestructionJob.scope:type_name -> controller.api.resources.scopes.v1.ScopeInfo
7, // 12: controller.api.resources.scopes.v1.KeyVersionDestructionJob.created_time:type_name -> google.protobuf.Timestamp
8, // 13: controller.api.resources.scopes.v1.Scope.AuthorizedCollectionActionsEntry.value:type_name -> google.protobuf.ListValue
14, // [14:14] is the sub-list for method output_type
14, // [14:14] is the sub-list for method input_type
14, // [14:14] is the sub-list for extension type_name
14, // [14:14] is the sub-list for extension extendee
0, // [0:14] is the sub-list for field type_name
}
func init() { file_controller_api_resources_scopes_v1_scope_proto_init() }
func file_controller_api_resources_scopes_v1_scope_proto_init() {
if File_controller_api_resources_scopes_v1_scope_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_controller_api_resources_scopes_v1_scope_proto_rawDesc), len(file_controller_api_resources_scopes_v1_scope_proto_rawDesc)),
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_controller_api_resources_scopes_v1_scope_proto_goTypes,
DependencyIndexes: file_controller_api_resources_scopes_v1_scope_proto_depIdxs,
MessageInfos: file_controller_api_resources_scopes_v1_scope_proto_msgTypes,
}.Build()
File_controller_api_resources_scopes_v1_scope_proto = out.File
file_controller_api_resources_scopes_v1_scope_proto_goTypes = nil
file_controller_api_resources_scopes_v1_scope_proto_depIdxs = nil
}