// Copyright IBM Corp. 2020, 2026
// SPDX-License-Identifier: MPL-2.0

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: controller/api/resources/accounts/v1/account.proto

package accounts

import (
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	scopes "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/scopes"
	_ "github.com/hashicorp/boundary/sdk/pbs/controller/protooptions"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	_ "google.golang.org/genproto/googleapis/api/visibility"
	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)
)

// Account contains all fields related to an account resource
type Account struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The ID of the account.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Scope information for the account.
	Scope *scopes.ScopeInfo `protobuf:"bytes,20,opt,name=scope,proto3" json:"scope,omitempty"`
	// Optional name for identification purposes.
	Name *wrapperspb.StringValue `protobuf:"bytes,30,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"`
	// The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,50,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,60,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 fails if the version does not match the latest known good version.
	// Version is not required when you create an account.
	Version uint32 `protobuf:"varint,70,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
	// The type of this account. If you do not set an account type, Boundary infers it from the type of the auth method.
	Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// The ID of the auth method that is associated with this account.
	AuthMethodId string `protobuf:"bytes,90,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Types that are valid to be assigned to Attrs:
	//
	//	*Account_Attributes
	//	*Account_PasswordAccountAttributes
	//	*Account_OidcAccountAttributes
	//	*Account_LdapAccountAttributes
	Attrs isAccount_Attrs `protobuf_oneof:"attrs"`
	// Indicates the IDs of the managed groups that currently contain this account
	ManagedGroupIds []string `protobuf:"bytes,110,rep,name=managed_group_ids,proto3" json:"managed_group_ids,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"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *Account) Reset() {
	*x = Account{}
	mi := &file_controller_api_resources_accounts_v1_account_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Account) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Account) ProtoMessage() {}

func (x *Account) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_accounts_v1_account_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 Account.ProtoReflect.Descriptor instead.
func (*Account) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_accounts_v1_account_proto_rawDescGZIP(), []int{0}
}

func (x *Account) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Account) GetScope() *scopes.ScopeInfo {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *Account) GetName() *wrapperspb.StringValue {
	if x != nil {
		return x.Name
	}
	return nil
}

func (x *Account) GetDescription() *wrapperspb.StringValue {
	if x != nil {
		return x.Description
	}
	return nil
}

func (x *Account) GetCreatedTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedTime
	}
	return nil
}

func (x *Account) GetUpdatedTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdatedTime
	}
	return nil
}

func (x *Account) GetVersion() uint32 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *Account) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *Account) GetAuthMethodId() string {
	if x != nil {
		return x.AuthMethodId
	}
	return ""
}

func (x *Account) GetAttrs() isAccount_Attrs {
	if x != nil {
		return x.Attrs
	}
	return nil
}

func (x *Account) GetAttributes() *structpb.Struct {
	if x != nil {
		if x, ok := x.Attrs.(*Account_Attributes); ok {
			return x.Attributes
		}
	}
	return nil
}

func (x *Account) GetPasswordAccountAttributes() *PasswordAccountAttributes {
	if x != nil {
		if x, ok := x.Attrs.(*Account_PasswordAccountAttributes); ok {
			return x.PasswordAccountAttributes
		}
	}
	return nil
}

func (x *Account) GetOidcAccountAttributes() *OidcAccountAttributes {
	if x != nil {
		if x, ok := x.Attrs.(*Account_OidcAccountAttributes); ok {
			return x.OidcAccountAttributes
		}
	}
	return nil
}

func (x *Account) GetLdapAccountAttributes() *LdapAccountAttributes {
	if x != nil {
		if x, ok := x.Attrs.(*Account_LdapAccountAttributes); ok {
			return x.LdapAccountAttributes
		}
	}
	return nil
}

func (x *Account) GetManagedGroupIds() []string {
	if x != nil {
		return x.ManagedGroupIds
	}
	return nil
}

func (x *Account) GetAuthorizedActions() []string {
	if x != nil {
		return x.AuthorizedActions
	}
	return nil
}

type isAccount_Attrs interface {
	isAccount_Attrs()
}

type Account_Attributes struct {
	// The attributes that are applicable for the specific account type.
	Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3,oneof"`
}

type Account_PasswordAccountAttributes struct {
	PasswordAccountAttributes *PasswordAccountAttributes `protobuf:"bytes,101,opt,name=password_account_attributes,json=passwordAccountAttributes,proto3,oneof"`
}

type Account_OidcAccountAttributes struct {
	OidcAccountAttributes *OidcAccountAttributes `protobuf:"bytes,102,opt,name=oidc_account_attributes,json=oidcAccountAttributes,proto3,oneof"`
}

type Account_LdapAccountAttributes struct {
	LdapAccountAttributes *LdapAccountAttributes `protobuf:"bytes,103,opt,name=ldap_account_attributes,json=ldapAccountAttributes,proto3,oneof"`
}

func (*Account_Attributes) isAccount_Attrs() {}

func (*Account_PasswordAccountAttributes) isAccount_Attrs() {}

func (*Account_OidcAccountAttributes) isAccount_Attrs() {}

func (*Account_LdapAccountAttributes) isAccount_Attrs() {}

// Attributes associated only with accounts with type "password".
type PasswordAccountAttributes struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The login name of this account. This is unique per auth method.
	LoginName string `protobuf:"bytes,10,opt,name=login_name,proto3" json:"login_name,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// The password for this account.
	Password      *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=password,proto3" json:"password,omitempty" class:"secret"` // @gotags: `class:"secret"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PasswordAccountAttributes) Reset() {
	*x = PasswordAccountAttributes{}
	mi := &file_controller_api_resources_accounts_v1_account_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PasswordAccountAttributes) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PasswordAccountAttributes) ProtoMessage() {}

func (x *PasswordAccountAttributes) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_accounts_v1_account_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 PasswordAccountAttributes.ProtoReflect.Descriptor instead.
func (*PasswordAccountAttributes) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_accounts_v1_account_proto_rawDescGZIP(), []int{1}
}

func (x *PasswordAccountAttributes) GetLoginName() string {
	if x != nil {
		return x.LoginName
	}
	return ""
}

func (x *PasswordAccountAttributes) GetPassword() *wrapperspb.StringValue {
	if x != nil {
		return x.Password
	}
	return nil
}

// Attributes associated only with accounts with type "oidc".
type OidcAccountAttributes struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// issuer is a case sensitive URL that maps to the OIDC iss claim.
	// This value is immutable after creation time.
	Issuer string `protobuf:"bytes,80,opt,name=issuer,proto3" json:"issuer,omitempty" class:"public"` // @gotags: `class:"public"`
	// subject is a case sensitive string that maps to the OIDC sub claim.
	// This value is immutable after creation time.
	Subject string `protobuf:"bytes,90,opt,name=subject,proto3" json:"subject,omitempty" class:"public"` // @gotags: `class:"public"`
	// A string that maps to the OIDC name claim.
	FullName string `protobuf:"bytes,100,opt,name=full_name,proto3" json:"full_name,omitempty" class:"public"` // @gotags: `class:"public"`
	// A string that maps to the OIDC email claim.
	Email string `protobuf:"bytes,110,opt,name=email,proto3" json:"email,omitempty" class:"public"` // @gotags: `class:"public"`
	// The marshaled claims from the token.
	TokenClaims *structpb.Struct `protobuf:"bytes,120,opt,name=token_claims,json=tokenClaims,proto3" json:"token_claims,omitempty"`
	// The marshaled claims from userinfo.
	UserinfoClaims *structpb.Struct `protobuf:"bytes,130,opt,name=userinfo_claims,json=userinfoClaims,proto3" json:"userinfo_claims,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *OidcAccountAttributes) Reset() {
	*x = OidcAccountAttributes{}
	mi := &file_controller_api_resources_accounts_v1_account_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *OidcAccountAttributes) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*OidcAccountAttributes) ProtoMessage() {}

func (x *OidcAccountAttributes) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_accounts_v1_account_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 OidcAccountAttributes.ProtoReflect.Descriptor instead.
func (*OidcAccountAttributes) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_accounts_v1_account_proto_rawDescGZIP(), []int{2}
}

func (x *OidcAccountAttributes) GetIssuer() string {
	if x != nil {
		return x.Issuer
	}
	return ""
}

func (x *OidcAccountAttributes) GetSubject() string {
	if x != nil {
		return x.Subject
	}
	return ""
}

func (x *OidcAccountAttributes) GetFullName() string {
	if x != nil {
		return x.FullName
	}
	return ""
}

func (x *OidcAccountAttributes) GetEmail() string {
	if x != nil {
		return x.Email
	}
	return ""
}

func (x *OidcAccountAttributes) GetTokenClaims() *structpb.Struct {
	if x != nil {
		return x.TokenClaims
	}
	return nil
}

func (x *OidcAccountAttributes) GetUserinfoClaims() *structpb.Struct {
	if x != nil {
		return x.UserinfoClaims
	}
	return nil
}

// Attributes associated only with accounts with type "ldap".
type LdapAccountAttributes struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// login_name of the authenticated user. This is the login_name (or username)
	// entered by the user when authenticating (typically the uid or cn
	// attribute). Account login names must be lower case.
	LoginName string `protobuf:"bytes,100,opt,name=login_name,proto3" json:"login_name,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// A string that maps to the name attribute for the
	// authenticated user. This attribute is updated every time a user
	// successfully authenticates.
	FullName string `protobuf:"bytes,110,opt,name=full_name,proto3" json:"full_name,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// A string that maps to the email address attribute for
	// the authenticated user. This attribute is updated every time a user
	// successfully authenticates.
	Email string `protobuf:"bytes,120,opt,name=email,proto3" json:"email,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// The distinguished name authenticated user's entry. Will
	// be null until the user's first successful authentication. This attribute
	// is updated every time a user successfully authenticates.
	Dn string `protobuf:"bytes,130,opt,name=dn,proto3" json:"dn,omitempty" class:"public"` // @gotags: `class:"public"`
	// The json marshalled groups the
	// authenticated user is a member of. Will be null until the user's first
	// successful authentication. This attribute is updated every time a user
	// successfully authenticates.
	MemberOfGroups []string `protobuf:"bytes,140,rep,name=member_of_groups,json=memberOfGroups,proto3" json:"member_of_groups,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *LdapAccountAttributes) Reset() {
	*x = LdapAccountAttributes{}
	mi := &file_controller_api_resources_accounts_v1_account_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *LdapAccountAttributes) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*LdapAccountAttributes) ProtoMessage() {}

func (x *LdapAccountAttributes) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_accounts_v1_account_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 LdapAccountAttributes.ProtoReflect.Descriptor instead.
func (*LdapAccountAttributes) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_accounts_v1_account_proto_rawDescGZIP(), []int{3}
}

func (x *LdapAccountAttributes) GetLoginName() string {
	if x != nil {
		return x.LoginName
	}
	return ""
}

func (x *LdapAccountAttributes) GetFullName() string {
	if x != nil {
		return x.FullName
	}
	return ""
}

func (x *LdapAccountAttributes) GetEmail() string {
	if x != nil {
		return x.Email
	}
	return ""
}

func (x *LdapAccountAttributes) GetDn() string {
	if x != nil {
		return x.Dn
	}
	return ""
}

func (x *LdapAccountAttributes) GetMemberOfGroups() []string {
	if x != nil {
		return x.MemberOfGroups
	}
	return nil
}

var File_controller_api_resources_accounts_v1_account_proto protoreflect.FileDescriptor

const file_controller_api_resources_accounts_v1_account_proto_rawDesc = "" +
	"\n" +
	"2controller/api/resources/accounts/v1/account.proto\x12$controller.api.resources.accounts.v1\x1a.controller/api/resources/scopes/v1/scope.proto\x1a*controller/custom_options/v1/options.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/visibility.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\xd8\x0e\n" +
	"\aAccount\x12\x14\n" +
	"\x02id\x18\n" +
	" \x01(\tB\x04\xe2A\x01\x03R\x02id\x12I\n" +
	"\x05scope\x18\x14 \x01(\v2-.controller.api.resources.scopes.v1.ScopeInfoB\x04\xe2A\x01\x03R\x05scope\x12F\n" +
	"\x04name\x18\x1e \x01(\v2\x1c.google.protobuf.StringValueB\x14\xa0\xda)\x01\xc2\xdd)\f\n" +
	"\x04name\x12\x04NameR\x04name\x12b\n" +
	"\vdescription\x18( \x01(\v2\x1c.google.protobuf.StringValueB\"\xa0\xda)\x01\xc2\xdd)\x1a\n" +
	"\vdescription\x12\vDescriptionR\vdescription\x12D\n" +
	"\fcreated_time\x182 \x01(\v2\x1a.google.protobuf.TimestampB\x04\xe2A\x01\x03R\fcreated_time\x12D\n" +
	"\fupdated_time\x18< \x01(\v2\x1a.google.protobuf.TimestampB\x04\xe2A\x01\x03R\fupdated_time\x12\x18\n" +
	"\aversion\x18F \x01(\rR\aversion\x12\x12\n" +
	"\x04type\x18P \x01(\tR\x04type\x12,\n" +
	"\x0eauth_method_id\x18Z \x01(\tB\x04\xa0\xe3)\x01R\x0eauth_method_id\x12\x91\x06\n" +
	"\n" +
	"attributes\x18d \x01(\v2\x17.google.protobuf.StructB\xd5\x05\x92A\xc2\x052\xa1\x05The attributes that are applicable for the specific account type. The schema of this field depends on the type of the auth method that you create the account in.\n" +
	"For password auth methods, the parameters are:\n" +
	"```json\n" +
	"{\n" +
	"  \"login_name\": \"login_name\",\n" +
	"  \"password\": \"password\"\n" +
	"}\n" +
	"```\n" +
	"For OIDC auth methods, the parameters are:\n" +
	"```json\n" +
	"{\n" +
	"  \"issuer\": \"issuer\",\n" +
	"  \"subject\": \"subject\",\n" +
	"  \"full_name\": \"full_name\",\n" +
	"  \"email\": \"email\",\n" +
	"  \"token_claims\": {},\n" +
	"  \"userinfo_claims\": {}\n" +
	"}\n" +
	"```\n" +
	"For LDAP auth methods, the parameters are:\n" +
	"```json\n" +
	"{\n" +
	"  \"login_name\": \"login_name\",\n" +
	"  \"full_name\": \"full_name\",\n" +
	"  \"email\": \"email\",\n" +
	"  \"dn\": \"dn\",\n" +
	"  \"member_of_groups\": [\"member_of_groups\"]\n" +
	"}\n" +
	"```\n" +
	"J\x1c{\"login_name\": \"login_name\"}\xa0\xda)\x01\x9a\xe3)\adefaultH\x00R\n" +
	"attributes\x12\xa3\x01\n" +
	"\x1bpassword_account_attributes\x18e \x01(\v2?.controller.api.resources.accounts.v1.PasswordAccountAttributesB \xa0\xda)\x01\x9a\xe3)\bpassword\xfa\xd2\xe4\x93\x02\n" +
	"\x12\bINTERNALH\x00R\x19passwordAccountAttributes\x12\x93\x01\n" +
	"\x17oidc_account_attributes\x18f \x01(\v2;.controller.api.resources.accounts.v1.OidcAccountAttributesB\x1c\xa0\xda)\x01\x9a\xe3)\x04oidc\xfa\xd2\xe4\x93\x02\n" +
	"\x12\bINTERNALH\x00R\x15oidcAccountAttributes\x12\x93\x01\n" +
	"\x17ldap_account_attributes\x18g \x01(\v2;.controller.api.resources.accounts.v1.LdapAccountAttributesB\x1c\xa0\xda)\x01\x9a\xe3)\x04ldap\xfa\xd2\xe4\x93\x02\n" +
	"\x12\bINTERNALH\x00R\x15ldapAccountAttributes\x122\n" +
	"\x11managed_group_ids\x18n \x03(\tB\x04\xe2A\x01\x03R\x11managed_group_ids\x125\n" +
	"\x12authorized_actions\x18\xac\x02 \x03(\tB\x04\xe2A\x01\x03R\x12authorized_actionsB\a\n" +
	"\x05attrs\"\xa7\x01\n" +
	"\x19PasswordAccountAttributes\x12J\n" +
	"\n" +
	"login_name\x18\n" +
	" \x01(\tB*\xa0\xda)\x01\xc2\xdd)\"\n" +
	"\x15attributes.login_name\x12\tLoginNameR\n" +
	"login_name\x12>\n" +
	"\bpassword\x18\x14 \x01(\v2\x1c.google.protobuf.StringValueB\x04\xa0\xda)\x01R\bpassword\"\xa0\x02\n" +
	"\x15OidcAccountAttributes\x12\x1c\n" +
	"\x06issuer\x18P \x01(\tB\x04\xa0\xda)\x01R\x06issuer\x12\x1e\n" +
	"\asubject\x18Z \x01(\tB\x04\xa0\xda)\x01R\asubject\x12\"\n" +
	"\tfull_name\x18d \x01(\tB\x04\xe2A\x01\x03R\tfull_name\x12\x1a\n" +
	"\x05email\x18n \x01(\tB\x04\xe2A\x01\x03R\x05email\x12@\n" +
	"\ftoken_claims\x18x \x01(\v2\x17.google.protobuf.StructB\x04\xe2A\x01\x03R\vtokenClaims\x12G\n" +
	"\x0fuserinfo_claims\x18\x82\x01 \x01(\v2\x17.google.protobuf.StructB\x04\xe2A\x01\x03R\x0euserinfoClaims\"\xeb\x01\n" +
	"\x15LdapAccountAttributes\x12J\n" +
	"\n" +
	"login_name\x18d \x01(\tB*\xa0\xda)\x01\xc2\xdd)\"\n" +
	"\x15attributes.login_name\x12\tLoginNameR\n" +
	"login_name\x12\"\n" +
	"\tfull_name\x18n \x01(\tB\x04\xe2A\x01\x03R\tfull_name\x12\x1a\n" +
	"\x05email\x18x \x01(\tB\x04\xe2A\x01\x03R\x05email\x12\x15\n" +
	"\x02dn\x18\x82\x01 \x01(\tB\x04\xe2A\x01\x03R\x02dn\x12/\n" +
	"\x10member_of_groups\x18\x8c\x01 \x03(\tB\x04\xe2A\x01\x03R\x0ememberOfGroupsBRZPgithub.com/hashicorp/boundary/sdk/pbs/controller/api/resources/accounts;accountsb\x06proto3"

var (
	file_controller_api_resources_accounts_v1_account_proto_rawDescOnce sync.Once
	file_controller_api_resources_accounts_v1_account_proto_rawDescData []byte
)

func file_controller_api_resources_accounts_v1_account_proto_rawDescGZIP() []byte {
	file_controller_api_resources_accounts_v1_account_proto_rawDescOnce.Do(func() {
		file_controller_api_resources_accounts_v1_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_resources_accounts_v1_account_proto_rawDesc), len(file_controller_api_resources_accounts_v1_account_proto_rawDesc)))
	})
	return file_controller_api_resources_accounts_v1_account_proto_rawDescData
}

var file_controller_api_resources_accounts_v1_account_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_controller_api_resources_accounts_v1_account_proto_goTypes = []any{
	(*Account)(nil),                   // 0: controller.api.resources.accounts.v1.Account
	(*PasswordAccountAttributes)(nil), // 1: controller.api.resources.accounts.v1.PasswordAccountAttributes
	(*OidcAccountAttributes)(nil),     // 2: controller.api.resources.accounts.v1.OidcAccountAttributes
	(*LdapAccountAttributes)(nil),     // 3: controller.api.resources.accounts.v1.LdapAccountAttributes
	(*scopes.ScopeInfo)(nil),          // 4: controller.api.resources.scopes.v1.ScopeInfo
	(*wrapperspb.StringValue)(nil),    // 5: google.protobuf.StringValue
	(*timestamppb.Timestamp)(nil),     // 6: google.protobuf.Timestamp
	(*structpb.Struct)(nil),           // 7: google.protobuf.Struct
}
var file_controller_api_resources_accounts_v1_account_proto_depIdxs = []int32{
	4,  // 0: controller.api.resources.accounts.v1.Account.scope:type_name -> controller.api.resources.scopes.v1.ScopeInfo
	5,  // 1: controller.api.resources.accounts.v1.Account.name:type_name -> google.protobuf.StringValue
	5,  // 2: controller.api.resources.accounts.v1.Account.description:type_name -> google.protobuf.StringValue
	6,  // 3: controller.api.resources.accounts.v1.Account.created_time:type_name -> google.protobuf.Timestamp
	6,  // 4: controller.api.resources.accounts.v1.Account.updated_time:type_name -> google.protobuf.Timestamp
	7,  // 5: controller.api.resources.accounts.v1.Account.attributes:type_name -> google.protobuf.Struct
	1,  // 6: controller.api.resources.accounts.v1.Account.password_account_attributes:type_name -> controller.api.resources.accounts.v1.PasswordAccountAttributes
	2,  // 7: controller.api.resources.accounts.v1.Account.oidc_account_attributes:type_name -> controller.api.resources.accounts.v1.OidcAccountAttributes
	3,  // 8: controller.api.resources.accounts.v1.Account.ldap_account_attributes:type_name -> controller.api.resources.accounts.v1.LdapAccountAttributes
	5,  // 9: controller.api.resources.accounts.v1.PasswordAccountAttributes.password:type_name -> google.protobuf.StringValue
	7,  // 10: controller.api.resources.accounts.v1.OidcAccountAttributes.token_claims:type_name -> google.protobuf.Struct
	7,  // 11: controller.api.resources.accounts.v1.OidcAccountAttributes.userinfo_claims:type_name -> google.protobuf.Struct
	12, // [12:12] is the sub-list for method output_type
	12, // [12:12] is the sub-list for method input_type
	12, // [12:12] is the sub-list for extension type_name
	12, // [12:12] is the sub-list for extension extendee
	0,  // [0:12] is the sub-list for field type_name
}

func init() { file_controller_api_resources_accounts_v1_account_proto_init() }
func file_controller_api_resources_accounts_v1_account_proto_init() {
	if File_controller_api_resources_accounts_v1_account_proto != nil {
		return
	}
	file_controller_api_resources_accounts_v1_account_proto_msgTypes[0].OneofWrappers = []any{
		(*Account_Attributes)(nil),
		(*Account_PasswordAccountAttributes)(nil),
		(*Account_OidcAccountAttributes)(nil),
		(*Account_LdapAccountAttributes)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_controller_api_resources_accounts_v1_account_proto_rawDesc), len(file_controller_api_resources_accounts_v1_account_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_controller_api_resources_accounts_v1_account_proto_goTypes,
		DependencyIndexes: file_controller_api_resources_accounts_v1_account_proto_depIdxs,
		MessageInfos:      file_controller_api_resources_accounts_v1_account_proto_msgTypes,
	}.Build()
	File_controller_api_resources_accounts_v1_account_proto = out.File
	file_controller_api_resources_accounts_v1_account_proto_goTypes = nil
	file_controller_api_resources_accounts_v1_account_proto_depIdxs = nil
}
