Skip to content
Snippets Groups Projects
Select Git revision
  • 02b2a25bff4c8d9490bb7e44e969176437c62231
  • master default protected
2 results

.gitlab-ci.yml

Blame
  • organizations.pb.go 26.04 KiB
    // Code generated by protoc-gen-go. DO NOT EDIT.
    // versions:
    // 	protoc-gen-go v1.35.1
    // 	protoc        v5.28.3
    // source: organizations/organizations.proto
    
    package organizations
    
    import (
    	common "git.perx.ru/perxis/perxis-go/proto/common"
    	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    	emptypb "google.golang.org/protobuf/types/known/emptypb"
    	reflect "reflect"
    	sync "sync"
    )
    
    const (
    	// Verify that this generated code is sufficiently up-to-date.
    	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    	// Verify that runtime/protoimpl is sufficiently up-to-date.
    	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    )
    
    // Организация
    type Organization struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Id          string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,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"`        // Описание организации
    	LogoUrl     string  `protobuf:"bytes,5,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` // URI изображения логотипа
    	OwnerId     *string `protobuf:"bytes,6,opt,name=owner_id,json=ownerId,proto3,oneof" json:"owner_id,omitempty"`
    }
    
    func (x *Organization) Reset() {
    	*x = Organization{}
    	mi := &file_organizations_organizations_proto_msgTypes[0]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *Organization) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*Organization) ProtoMessage() {}
    
    func (x *Organization) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 Organization.ProtoReflect.Descriptor instead.
    func (*Organization) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{0}
    }
    
    func (x *Organization) GetId() string {
    	if x != nil {
    		return x.Id
    	}
    	return ""
    }
    
    func (x *Organization) GetName() string {
    	if x != nil {
    		return x.Name
    	}
    	return ""
    }
    
    func (x *Organization) GetDescription() string {
    	if x != nil {
    		return x.Description
    	}
    	return ""
    }
    
    func (x *Organization) GetLogoUrl() string {
    	if x != nil {
    		return x.LogoUrl
    	}
    	return ""
    }
    
    func (x *Organization) GetOwnerId() string {
    	if x != nil && x.OwnerId != nil {
    		return *x.OwnerId
    	}
    	return ""
    }
    
    type CreateRequest struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Org *Organization `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
    }
    
    func (x *CreateRequest) Reset() {
    	*x = CreateRequest{}
    	mi := &file_organizations_organizations_proto_msgTypes[1]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *CreateRequest) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*CreateRequest) ProtoMessage() {}
    
    func (x *CreateRequest) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 CreateRequest.ProtoReflect.Descriptor instead.
    func (*CreateRequest) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{1}
    }
    
    func (x *CreateRequest) GetOrg() *Organization {
    	if x != nil {
    		return x.Org
    	}
    	return nil
    }
    
    type CreateResponse struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Created *Organization `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"`
    }
    
    func (x *CreateResponse) Reset() {
    	*x = CreateResponse{}
    	mi := &file_organizations_organizations_proto_msgTypes[2]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *CreateResponse) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*CreateResponse) ProtoMessage() {}
    
    func (x *CreateResponse) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 CreateResponse.ProtoReflect.Descriptor instead.
    func (*CreateResponse) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{2}
    }
    
    func (x *CreateResponse) GetCreated() *Organization {
    	if x != nil {
    		return x.Created
    	}
    	return nil
    }
    
    type GetRequest struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
    }
    
    func (x *GetRequest) Reset() {
    	*x = GetRequest{}
    	mi := &file_organizations_organizations_proto_msgTypes[3]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *GetRequest) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*GetRequest) ProtoMessage() {}
    
    func (x *GetRequest) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 GetRequest.ProtoReflect.Descriptor instead.
    func (*GetRequest) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{3}
    }
    
    func (x *GetRequest) GetOrgId() string {
    	if x != nil {
    		return x.OrgId
    	}
    	return ""
    }
    
    type GetResponse struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Org *Organization `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
    }
    
    func (x *GetResponse) Reset() {
    	*x = GetResponse{}
    	mi := &file_organizations_organizations_proto_msgTypes[4]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *GetResponse) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*GetResponse) ProtoMessage() {}
    
    func (x *GetResponse) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 GetResponse.ProtoReflect.Descriptor instead.
    func (*GetResponse) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{4}
    }
    
    func (x *GetResponse) GetOrg() *Organization {
    	if x != nil {
    		return x.Org
    	}
    	return nil
    }
    
    type UpdateRequest struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Org *Organization `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
    }
    
    func (x *UpdateRequest) Reset() {
    	*x = UpdateRequest{}
    	mi := &file_organizations_organizations_proto_msgTypes[5]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *UpdateRequest) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*UpdateRequest) ProtoMessage() {}
    
    func (x *UpdateRequest) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 UpdateRequest.ProtoReflect.Descriptor instead.
    func (*UpdateRequest) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{5}
    }
    
    func (x *UpdateRequest) GetOrg() *Organization {
    	if x != nil {
    		return x.Org
    	}
    	return nil
    }
    
    type DeleteRequest struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
    }
    
    func (x *DeleteRequest) Reset() {
    	*x = DeleteRequest{}
    	mi := &file_organizations_organizations_proto_msgTypes[6]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *DeleteRequest) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*DeleteRequest) ProtoMessage() {}
    
    func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 DeleteRequest.ProtoReflect.Descriptor instead.
    func (*DeleteRequest) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{6}
    }
    
    func (x *DeleteRequest) GetOrgId() string {
    	if x != nil {
    		return x.OrgId
    	}
    	return ""
    }
    
    type Filter struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Ids   []string `protobuf:"bytes,3,rep,name=ids,proto3" json:"ids,omitempty"`
    	Names []string `protobuf:"bytes,4,rep,name=names,proto3" json:"names,omitempty"`
    }
    
    func (x *Filter) Reset() {
    	*x = Filter{}
    	mi := &file_organizations_organizations_proto_msgTypes[7]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *Filter) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*Filter) ProtoMessage() {}
    
    func (x *Filter) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 Filter.ProtoReflect.Descriptor instead.
    func (*Filter) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{7}
    }
    
    func (x *Filter) GetIds() []string {
    	if x != nil {
    		return x.Ids
    	}
    	return nil
    }
    
    func (x *Filter) GetNames() []string {
    	if x != nil {
    		return x.Names
    	}
    	return nil
    }
    
    type FindRequest struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Filter  *Filter             `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
    	Options *common.FindOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
    }
    
    func (x *FindRequest) Reset() {
    	*x = FindRequest{}
    	mi := &file_organizations_organizations_proto_msgTypes[8]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *FindRequest) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*FindRequest) ProtoMessage() {}
    
    func (x *FindRequest) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 FindRequest.ProtoReflect.Descriptor instead.
    func (*FindRequest) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{8}
    }
    
    func (x *FindRequest) GetFilter() *Filter {
    	if x != nil {
    		return x.Filter
    	}
    	return nil
    }
    
    func (x *FindRequest) GetOptions() *common.FindOptions {
    	if x != nil {
    		return x.Options
    	}
    	return nil
    }
    
    type FindResponse struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Orgs  []*Organization `protobuf:"bytes,1,rep,name=orgs,proto3" json:"orgs,omitempty"`
    	Total int64           `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
    }
    
    func (x *FindResponse) Reset() {
    	*x = FindResponse{}
    	mi := &file_organizations_organizations_proto_msgTypes[9]
    	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    	ms.StoreMessageInfo(mi)
    }
    
    func (x *FindResponse) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*FindResponse) ProtoMessage() {}
    
    func (x *FindResponse) ProtoReflect() protoreflect.Message {
    	mi := &file_organizations_organizations_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 FindResponse.ProtoReflect.Descriptor instead.
    func (*FindResponse) Descriptor() ([]byte, []int) {
    	return file_organizations_organizations_proto_rawDescGZIP(), []int{9}
    }
    
    func (x *FindResponse) GetOrgs() []*Organization {
    	if x != nil {
    		return x.Orgs
    	}
    	return nil
    }
    
    func (x *FindResponse) GetTotal() int64 {
    	if x != nil {
    		return x.Total
    	}
    	return 0
    }
    
    var File_organizations_organizations_proto protoreflect.FileDescriptor
    
    var file_organizations_organizations_proto_rawDesc = []byte{
    	0x0a, 0x21, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
    	0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
    	0x6f, 0x74, 0x6f, 0x12, 0x15, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x6f, 0x72, 0x67,
    	0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
    	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74,
    	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
    	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x01, 0x0a,
    	0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a,
    	0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
    	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
    	0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
    	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
    	0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18,
    	0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x6f, 0x55, 0x72, 0x6c, 0x12, 0x1e,
    	0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
    	0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b,
    	0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x46, 0x0a, 0x0d, 0x43,
    	0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x03,
    	0x6f, 0x72, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x61, 0x63, 0x63, 0x6f,
    	0x75, 0x6e, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
    	0x73, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03,
    	0x6f, 0x72, 0x67, 0x22, 0x4f, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73,
    	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
    	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
    	0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f,
    	0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x63, 0x72, 0x65,
    	0x61, 0x74, 0x65, 0x64, 0x22, 0x23, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
    	0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
    	0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x0b, 0x47, 0x65, 0x74,
    	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18,
    	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e,
    	0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x72,
    	0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22,
    	0x46, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
    	0x12, 0x35, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
    	0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61,
    	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
    	0x6f, 0x6e, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x26, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74,
    	0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f,
    	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22,
    	0x30, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73,
    	0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6e,
    	0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65,
    	0x73, 0x22, 0x73, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
    	0x12, 0x35, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
    	0x32, 0x1d, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e,
    	0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52,
    	0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
    	0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
    	0x6e, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f,
    	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5d, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65,
    	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x6f, 0x72, 0x67, 0x73, 0x18, 0x01,
    	0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x6f,
    	0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x72, 0x67,
    	0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6f, 0x72, 0x67, 0x73, 0x12,
    	0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
    	0x74, 0x6f, 0x74, 0x61, 0x6c, 0x32, 0x9f, 0x03, 0x0a, 0x0d, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69,
    	0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74,
    	0x65, 0x12, 0x24, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x61,
    	0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
    	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
    	0x74, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
    	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
    	0x12, 0x4e, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
    	0x74, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
    	0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x63, 0x63,
    	0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
    	0x6e, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
    	0x12, 0x48, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x61, 0x63, 0x63,
    	0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
    	0x6e, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
    	0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
    	0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x04, 0x46, 0x69,
    	0x6e, 0x64, 0x12, 0x22, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x6f, 0x72, 0x67,
    	0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52,
    	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
    	0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46,
    	0x69, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a,
    	0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
    	0x74, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
    	0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
    	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
    	0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x2e, 0x70,
    	0x65, 0x72, 0x78, 0x2e, 0x72, 0x75, 0x2f, 0x70, 0x65, 0x72, 0x78, 0x69, 0x73, 0x2f, 0x70, 0x65,
    	0x72, 0x78, 0x69, 0x73, 0x2d, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x72,
    	0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3b, 0x6f, 0x72, 0x67, 0x61,
    	0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
    	0x33,
    }
    
    var (
    	file_organizations_organizations_proto_rawDescOnce sync.Once
    	file_organizations_organizations_proto_rawDescData = file_organizations_organizations_proto_rawDesc
    )
    
    func file_organizations_organizations_proto_rawDescGZIP() []byte {
    	file_organizations_organizations_proto_rawDescOnce.Do(func() {
    		file_organizations_organizations_proto_rawDescData = protoimpl.X.CompressGZIP(file_organizations_organizations_proto_rawDescData)
    	})
    	return file_organizations_organizations_proto_rawDescData
    }
    
    var file_organizations_organizations_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
    var file_organizations_organizations_proto_goTypes = []any{
    	(*Organization)(nil),       // 0: account.organizations.Organization
    	(*CreateRequest)(nil),      // 1: account.organizations.CreateRequest
    	(*CreateResponse)(nil),     // 2: account.organizations.CreateResponse
    	(*GetRequest)(nil),         // 3: account.organizations.GetRequest
    	(*GetResponse)(nil),        // 4: account.organizations.GetResponse
    	(*UpdateRequest)(nil),      // 5: account.organizations.UpdateRequest
    	(*DeleteRequest)(nil),      // 6: account.organizations.DeleteRequest
    	(*Filter)(nil),             // 7: account.organizations.Filter
    	(*FindRequest)(nil),        // 8: account.organizations.FindRequest
    	(*FindResponse)(nil),       // 9: account.organizations.FindResponse
    	(*common.FindOptions)(nil), // 10: common.FindOptions
    	(*emptypb.Empty)(nil),      // 11: google.protobuf.Empty
    }
    var file_organizations_organizations_proto_depIdxs = []int32{
    	0,  // 0: account.organizations.CreateRequest.org:type_name -> account.organizations.Organization
    	0,  // 1: account.organizations.CreateResponse.created:type_name -> account.organizations.Organization
    	0,  // 2: account.organizations.GetResponse.org:type_name -> account.organizations.Organization
    	0,  // 3: account.organizations.UpdateRequest.org:type_name -> account.organizations.Organization
    	7,  // 4: account.organizations.FindRequest.filter:type_name -> account.organizations.Filter
    	10, // 5: account.organizations.FindRequest.options:type_name -> common.FindOptions
    	0,  // 6: account.organizations.FindResponse.orgs:type_name -> account.organizations.Organization
    	1,  // 7: account.organizations.Organizations.Create:input_type -> account.organizations.CreateRequest
    	3,  // 8: account.organizations.Organizations.Get:input_type -> account.organizations.GetRequest
    	6,  // 9: account.organizations.Organizations.Delete:input_type -> account.organizations.DeleteRequest
    	8,  // 10: account.organizations.Organizations.Find:input_type -> account.organizations.FindRequest
    	5,  // 11: account.organizations.Organizations.Update:input_type -> account.organizations.UpdateRequest
    	2,  // 12: account.organizations.Organizations.Create:output_type -> account.organizations.CreateResponse
    	4,  // 13: account.organizations.Organizations.Get:output_type -> account.organizations.GetResponse
    	11, // 14: account.organizations.Organizations.Delete:output_type -> google.protobuf.Empty
    	9,  // 15: account.organizations.Organizations.Find:output_type -> account.organizations.FindResponse
    	11, // 16: account.organizations.Organizations.Update:output_type -> google.protobuf.Empty
    	12, // [12:17] is the sub-list for method output_type
    	7,  // [7:12] is the sub-list for method input_type
    	7,  // [7:7] is the sub-list for extension type_name
    	7,  // [7:7] is the sub-list for extension extendee
    	0,  // [0:7] is the sub-list for field type_name
    }
    
    func init() { file_organizations_organizations_proto_init() }
    func file_organizations_organizations_proto_init() {
    	if File_organizations_organizations_proto != nil {
    		return
    	}
    	file_organizations_organizations_proto_msgTypes[0].OneofWrappers = []any{}
    	type x struct{}
    	out := protoimpl.TypeBuilder{
    		File: protoimpl.DescBuilder{
    			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
    			RawDescriptor: file_organizations_organizations_proto_rawDesc,
    			NumEnums:      0,
    			NumMessages:   10,
    			NumExtensions: 0,
    			NumServices:   1,
    		},
    		GoTypes:           file_organizations_organizations_proto_goTypes,
    		DependencyIndexes: file_organizations_organizations_proto_depIdxs,
    		MessageInfos:      file_organizations_organizations_proto_msgTypes,
    	}.Build()
    	File_organizations_organizations_proto = out.File
    	file_organizations_organizations_proto_rawDesc = nil
    	file_organizations_organizations_proto_goTypes = nil
    	file_organizations_organizations_proto_depIdxs = nil
    }