2017-10-11 17:21:20 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2020-05-14 22:45:10 +00:00
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.22.0
|
|
|
|
// protoc v3.11.4
|
2018-06-04 14:19:26 +00:00
|
|
|
// source: helper/identity/types.proto
|
2017-10-11 17:21:20 +00:00
|
|
|
|
2018-09-22 21:58:39 +00:00
|
|
|
package identity
|
2017-10-11 17:21:20 +00:00
|
|
|
|
2018-09-22 21:58:39 +00:00
|
|
|
import (
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
|
|
mfa "github.com/hashicorp/vault/helper/identity/mfa"
|
2020-05-14 22:45:10 +00:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2018-09-22 21:58:39 +00:00
|
|
|
)
|
2017-10-11 17:21:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
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)
|
|
|
|
)
|
2017-10-11 17:21:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
|
// of the legacy proto package is being used.
|
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
2017-10-11 17:21:20 +00:00
|
|
|
|
|
|
|
// Group represents an identity group.
|
|
|
|
type Group struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2017-10-11 17:21:20 +00:00
|
|
|
// ID is the unique identifier for this group
|
2018-07-11 00:49:48 +00:00
|
|
|
ID string `sentinel:"" protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// Name is the unique name for this group
|
2018-07-11 00:49:48 +00:00
|
|
|
Name string `sentinel:"" protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// Policies are the vault policies to be granted to members of this group
|
2018-07-11 00:49:48 +00:00
|
|
|
Policies []string `sentinel:"" protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// ParentGroupIDs are the identifiers of those groups to which this group is a
|
|
|
|
// member of. These will serve as references to the parent group in the
|
|
|
|
// hierarchy.
|
2018-07-11 00:49:48 +00:00
|
|
|
ParentGroupIDs []string `sentinel:"" protobuf:"bytes,4,rep,name=parent_group_ids,json=parentGroupIds,proto3" json:"parent_group_ids,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// MemberEntityIDs are the identifiers of entities which are members of this
|
|
|
|
// group
|
2018-07-11 00:49:48 +00:00
|
|
|
MemberEntityIDs []string `sentinel:"" protobuf:"bytes,5,rep,name=member_entity_ids,json=memberEntityIDs,proto3" json:"member_entity_ids,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// Metadata represents the custom data tied with this group
|
2018-07-11 00:49:48 +00:00
|
|
|
Metadata map[string]string `sentinel:"" protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// CreationTime is the time at which this group was created
|
2018-07-11 00:49:48 +00:00
|
|
|
CreationTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,7,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// LastUpdateTime is the time at which this group was last modified
|
2018-07-11 00:49:48 +00:00
|
|
|
LastUpdateTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,8,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// ModifyIndex tracks the number of updates to the group. It is useful to detect
|
|
|
|
// updates to the groups.
|
2018-07-11 00:49:48 +00:00
|
|
|
ModifyIndex uint64 `sentinel:"" protobuf:"varint,9,opt,name=modify_index,json=modifyIndex,proto3" json:"modify_index,omitempty"`
|
2019-05-07 19:29:51 +00:00
|
|
|
// BucketKey is the path of the storage packer key into which this group is
|
|
|
|
// stored.
|
|
|
|
BucketKey string `sentinel:"" protobuf:"bytes,10,opt,name=bucket_key,json=bucketKey,proto3" json:"bucket_key,omitempty"`
|
2017-11-02 20:05:48 +00:00
|
|
|
// Alias is used to mark this group as an internal mapping of a group that
|
|
|
|
// is external to the identity store. Alias can only be set if the 'type'
|
|
|
|
// is set to 'external'.
|
2018-07-11 00:49:48 +00:00
|
|
|
Alias *Alias `sentinel:"" protobuf:"bytes,11,opt,name=alias,proto3" json:"alias,omitempty"`
|
2017-11-02 20:05:48 +00:00
|
|
|
// Type indicates if this group is an internal group or an external group.
|
|
|
|
// Memberships of the internal groups can be managed over the API whereas
|
|
|
|
// the memberships on the external group --for which a corresponding alias
|
|
|
|
// will be set-- will be managed automatically.
|
2018-09-18 03:03:00 +00:00
|
|
|
Type string `sentinel:"" protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
// NamespaceID is the identifier of the namespace to which this group
|
|
|
|
// belongs to. Do not return this value over the API when reading the
|
|
|
|
// group.
|
2020-05-14 22:45:10 +00:00
|
|
|
NamespaceID string `sentinel:"" protobuf:"bytes,13,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) Reset() {
|
|
|
|
*x = Group{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Group) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Group) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Group.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Group) Descriptor() ([]byte, []int) {
|
|
|
|
return file_helper_identity_types_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
2017-10-11 17:21:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetPolicies() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Policies
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetParentGroupIDs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ParentGroupIDs
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetMemberEntityIDs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MemberEntityIDs
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetCreationTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.CreationTime
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetLastUpdateTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.LastUpdateTime
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetModifyIndex() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ModifyIndex
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetBucketKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.BucketKey
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetAlias() *Alias {
|
|
|
|
if x != nil {
|
|
|
|
return x.Alias
|
2017-11-02 20:05:48 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2017-11-02 20:05:48 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetNamespaceID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NamespaceID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-10-11 17:21:20 +00:00
|
|
|
// Entity represents an entity that gets persisted and indexed.
|
|
|
|
// Entity is fundamentally composed of zero or many aliases.
|
|
|
|
type Entity struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2017-10-11 17:21:20 +00:00
|
|
|
// Aliases are the identities that this entity is made of. This can be
|
|
|
|
// empty as well to favor being able to create the entity first and then
|
|
|
|
// incrementally adding aliases.
|
2018-07-11 00:49:48 +00:00
|
|
|
Aliases []*Alias `sentinel:"" protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// ID is the unique identifier of the entity which always be a UUID. This
|
|
|
|
// should never be allowed to be updated.
|
2018-07-11 00:49:48 +00:00
|
|
|
ID string `sentinel:"" protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// Name is a unique identifier of the entity which is intended to be
|
|
|
|
// human-friendly. The default name might not be human friendly since it
|
|
|
|
// gets suffixed by a UUID, but it can optionally be updated, unlike the ID
|
|
|
|
// field.
|
2018-07-11 00:49:48 +00:00
|
|
|
Name string `sentinel:"" protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// Metadata represents the explicit metadata which is set by the
|
|
|
|
// clients. This is useful to tie any information pertaining to the
|
|
|
|
// aliases. This is a non-unique field of entity, meaning multiple
|
|
|
|
// entities can have the same metadata set. Entities will be indexed based
|
|
|
|
// on this explicit metadata. This enables virtual groupings of entities
|
|
|
|
// based on its metadata.
|
2018-07-11 00:49:48 +00:00
|
|
|
Metadata map[string]string `sentinel:"" protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// CreationTime is the time at which this entity is first created.
|
2018-07-11 00:49:48 +00:00
|
|
|
CreationTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// LastUpdateTime is the most recent time at which the properties of this
|
|
|
|
// entity got modified. This is helpful in filtering out entities based on
|
|
|
|
// its age and to take action on them, if desired.
|
2018-07-11 00:49:48 +00:00
|
|
|
LastUpdateTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// MergedEntityIDs are the entities which got merged to this one. Entities
|
|
|
|
// will be indexed based on all the entities that got merged into it. This
|
|
|
|
// helps to apply the actions on this entity on the tokens that are merged
|
|
|
|
// to the merged entities. Merged entities will be deleted entirely and
|
|
|
|
// this is the only trackable trail of its earlier presence.
|
2018-07-11 00:49:48 +00:00
|
|
|
MergedEntityIDs []string `sentinel:"" protobuf:"bytes,7,rep,name=merged_entity_ids,json=mergedEntityIDs,proto3" json:"merged_entity_ids,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// Policies the entity is entitled to
|
2018-07-11 00:49:48 +00:00
|
|
|
Policies []string `sentinel:"" protobuf:"bytes,8,rep,name=policies,proto3" json:"policies,omitempty"`
|
2019-05-07 19:29:51 +00:00
|
|
|
// BucketKey is the path of the storage packer key into which this entity is
|
|
|
|
// stored.
|
|
|
|
BucketKey string `sentinel:"" protobuf:"bytes,9,opt,name=bucket_key,json=bucketKey,proto3" json:"bucket_key,omitempty"`
|
2018-09-18 03:03:00 +00:00
|
|
|
// MFASecrets holds the MFA secrets indexed by the identifier of the MFA
|
|
|
|
// method configuration.
|
|
|
|
MFASecrets map[string]*mfa.Secret `sentinel:"" protobuf:"bytes,10,rep,name=mfa_secrets,json=mfaSecrets,proto3" json:"mfa_secrets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2018-04-14 01:49:40 +00:00
|
|
|
// Disabled indicates whether tokens associated with the account should not
|
|
|
|
// be able to be used
|
2018-09-18 03:03:00 +00:00
|
|
|
Disabled bool `sentinel:"" protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
|
|
|
// NamespaceID is the identifier of the namespace to which this entity
|
|
|
|
// belongs to. Do not return this value over the API when reading the
|
|
|
|
// entity.
|
2020-05-14 22:45:10 +00:00
|
|
|
NamespaceID string `sentinel:"" protobuf:"bytes,12,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) Reset() {
|
|
|
|
*x = Entity{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Entity) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Entity) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Entity.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Entity) Descriptor() ([]byte, []int) {
|
|
|
|
return file_helper_identity_types_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
2017-10-11 17:21:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetAliases() []*Alias {
|
|
|
|
if x != nil {
|
|
|
|
return x.Aliases
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetCreationTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.CreationTime
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetLastUpdateTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.LastUpdateTime
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetMergedEntityIDs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MergedEntityIDs
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetPolicies() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Policies
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetBucketKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.BucketKey
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetMFASecrets() map[string]*mfa.Secret {
|
|
|
|
if x != nil {
|
|
|
|
return x.MFASecrets
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetDisabled() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Disabled
|
2018-04-14 01:49:40 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetNamespaceID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NamespaceID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-10-11 17:21:20 +00:00
|
|
|
// Alias represents the alias that gets stored inside of the
|
|
|
|
// entity object in storage and also represents in an in-memory index of an
|
|
|
|
// alias object.
|
|
|
|
type Alias struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2017-10-11 17:21:20 +00:00
|
|
|
// ID is the unique identifier that represents this alias
|
2018-07-11 00:49:48 +00:00
|
|
|
ID string `sentinel:"" protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
2017-11-02 20:05:48 +00:00
|
|
|
// CanonicalID is the entity identifier to which this alias belongs to
|
2018-07-11 00:49:48 +00:00
|
|
|
CanonicalID string `sentinel:"" protobuf:"bytes,2,opt,name=canonical_id,json=canonicalId,proto3" json:"canonical_id,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// MountType is the backend mount's type to which this alias belongs to.
|
|
|
|
// This enables categorically querying aliases of specific backend types.
|
2018-07-11 00:49:48 +00:00
|
|
|
MountType string `sentinel:"" protobuf:"bytes,3,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// MountAccessor is the backend mount's accessor to which this alias
|
|
|
|
// belongs to.
|
2018-07-11 00:49:48 +00:00
|
|
|
MountAccessor string `sentinel:"" protobuf:"bytes,4,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// MountPath is the backend mount's path to which the Maccessor belongs to. This
|
|
|
|
// field is not used for any operational purposes. This is only returned when
|
|
|
|
// alias is read, only as a nicety.
|
2018-07-11 00:49:48 +00:00
|
|
|
MountPath string `sentinel:"" protobuf:"bytes,5,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// Metadata is the explicit metadata that clients set against an entity
|
|
|
|
// which enables virtual grouping of aliases. Aliases will be indexed
|
|
|
|
// against their metadata.
|
2018-07-11 00:49:48 +00:00
|
|
|
Metadata map[string]string `sentinel:"" protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// Name is the identifier of this alias in its authentication source.
|
2017-11-02 20:05:48 +00:00
|
|
|
// This does not uniquely identify an alias in Vault. This in conjunction
|
|
|
|
// with MountAccessor form to be the factors that represent an alias in a
|
2017-10-11 17:21:20 +00:00
|
|
|
// unique way. Aliases will be indexed based on this combined uniqueness
|
|
|
|
// factor.
|
2018-07-11 00:49:48 +00:00
|
|
|
Name string `sentinel:"" protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// CreationTime is the time at which this alias was first created
|
2018-07-11 00:49:48 +00:00
|
|
|
CreationTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
2017-10-11 17:21:20 +00:00
|
|
|
// LastUpdateTime is the most recent time at which the properties of this
|
|
|
|
// alias got modified. This is helpful in filtering out aliases based
|
|
|
|
// on its age and to take action on them, if desired.
|
2018-07-11 00:49:48 +00:00
|
|
|
LastUpdateTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,9,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
2017-11-02 20:05:48 +00:00
|
|
|
// MergedFromCanonicalIDs is the FIFO history of merging activity
|
2018-07-11 00:49:48 +00:00
|
|
|
MergedFromCanonicalIDs []string `sentinel:"" protobuf:"bytes,10,rep,name=merged_from_canonical_ids,json=mergedFromCanonicalIds,proto3" json:"merged_from_canonical_ids,omitempty"`
|
2018-09-18 03:03:00 +00:00
|
|
|
// NamespaceID is the identifier of the namespace to which this alias
|
|
|
|
// belongs.
|
2020-05-14 22:45:10 +00:00
|
|
|
NamespaceID string `sentinel:"" protobuf:"bytes,11,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) Reset() {
|
|
|
|
*x = Alias{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Alias) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Alias) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[2]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Alias.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Alias) Descriptor() ([]byte, []int) {
|
|
|
|
return file_helper_identity_types_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
2017-10-11 17:21:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetCanonicalID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.CanonicalID
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetMountType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountType
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetMountAccessor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountAccessor
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetMountPath() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountPath
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetCreationTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.CreationTime
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetLastUpdateTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.LastUpdateTime
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetMergedFromCanonicalIDs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MergedFromCanonicalIDs
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetNamespaceID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NamespaceID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated. Retained for backwards compatibility.
|
|
|
|
type EntityStorageEntry struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Personas []*PersonaIndexEntry `sentinel:"" protobuf:"bytes,1,rep,name=personas,proto3" json:"personas,omitempty"`
|
|
|
|
ID string `sentinel:"" protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Name string `sentinel:"" protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
Metadata map[string]string `sentinel:"" protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
CreationTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
|
|
|
LastUpdateTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
|
|
|
MergedEntityIDs []string `sentinel:"" protobuf:"bytes,7,rep,name=merged_entity_ids,json=mergedEntityIDs,proto3" json:"merged_entity_ids,omitempty"`
|
|
|
|
Policies []string `sentinel:"" protobuf:"bytes,8,rep,name=policies,proto3" json:"policies,omitempty"`
|
|
|
|
BucketKeyHash string `sentinel:"" protobuf:"bytes,9,opt,name=bucket_key_hash,json=bucketKeyHash,proto3" json:"bucket_key_hash,omitempty"`
|
|
|
|
MFASecrets map[string]*mfa.Secret `sentinel:"" protobuf:"bytes,10,rep,name=mfa_secrets,json=mfaSecrets,proto3" json:"mfa_secrets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EntityStorageEntry) Reset() {
|
|
|
|
*x = EntityStorageEntry{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*EntityStorageEntry) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *EntityStorageEntry) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[3]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use EntityStorageEntry.ProtoReflect.Descriptor instead.
|
|
|
|
func (*EntityStorageEntry) Descriptor() ([]byte, []int) {
|
|
|
|
return file_helper_identity_types_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
2018-09-18 03:03:00 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetPersonas() []*PersonaIndexEntry {
|
|
|
|
if x != nil {
|
|
|
|
return x.Personas
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetCreationTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.CreationTime
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetLastUpdateTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.LastUpdateTime
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetMergedEntityIDs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MergedEntityIDs
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetPolicies() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Policies
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetBucketKeyHash() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.BucketKeyHash
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityStorageEntry) GetMFASecrets() map[string]*mfa.Secret {
|
|
|
|
if x != nil {
|
|
|
|
return x.MFASecrets
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated. Retained for backwards compatibility.
|
|
|
|
type PersonaIndexEntry struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
ID string `sentinel:"" protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
EntityID string `sentinel:"" protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
|
|
|
MountType string `sentinel:"" protobuf:"bytes,3,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
|
|
|
MountAccessor string `sentinel:"" protobuf:"bytes,4,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
|
|
|
|
MountPath string `sentinel:"" protobuf:"bytes,5,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
|
|
|
|
Metadata map[string]string `sentinel:"" protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
Name string `sentinel:"" protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
CreationTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
|
|
|
LastUpdateTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,9,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
|
|
|
MergedFromEntityIDs []string `sentinel:"" protobuf:"bytes,10,rep,name=merged_from_entity_ids,json=mergedFromEntityIDs,proto3" json:"merged_from_entity_ids,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PersonaIndexEntry) Reset() {
|
|
|
|
*x = PersonaIndexEntry{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*PersonaIndexEntry) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *PersonaIndexEntry) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_helper_identity_types_proto_msgTypes[4]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use PersonaIndexEntry.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PersonaIndexEntry) Descriptor() ([]byte, []int) {
|
|
|
|
return file_helper_identity_types_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
2018-09-18 03:03:00 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetEntityID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.EntityID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetMountType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountType
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetMountAccessor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountAccessor
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetMountPath() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountPath
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetCreationTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.CreationTime
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetLastUpdateTime() *timestamp.Timestamp {
|
|
|
|
if x != nil {
|
|
|
|
return x.LastUpdateTime
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PersonaIndexEntry) GetMergedFromEntityIDs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MergedFromEntityIDs
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
var File_helper_identity_types_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_helper_identity_types_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x1b, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
|
|
|
0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x69,
|
|
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
|
|
0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72,
|
|
|
|
0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x6d, 0x66, 0x61, 0x2f, 0x74, 0x79,
|
|
|
|
0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x04, 0x0a, 0x05, 0x47, 0x72,
|
|
|
|
0x6f, 0x75, 0x70, 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, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63,
|
|
|
|
0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63,
|
|
|
|
0x69, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x72,
|
|
|
|
0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70,
|
|
|
|
0x61, 0x72, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x12, 0x2a, 0x0a,
|
|
|
|
0x11, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69,
|
|
|
|
0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,
|
|
|
|
0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x73, 0x12, 0x39, 0x0a, 0x08, 0x6d, 0x65, 0x74,
|
|
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x64,
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4d, 0x65, 0x74,
|
|
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61,
|
|
|
|
0x64, 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
|
|
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
|
|
|
|
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70,
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x6c, 0x61, 0x73,
|
|
|
|
0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d,
|
|
|
|
0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28,
|
|
|
|
0x04, 0x52, 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d,
|
|
|
|
0x0a, 0x0a, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0a, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a,
|
|
|
|
0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x69,
|
|
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61,
|
|
|
|
0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d,
|
|
|
|
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
|
|
|
|
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
|
|
|
|
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8c, 0x05, 0x0a, 0x06, 0x45, 0x6e, 0x74,
|
|
|
|
0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01,
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
|
|
|
|
0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x0e,
|
|
|
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
|
|
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
|
|
|
0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04,
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
|
|
|
|
0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45,
|
|
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3f,
|
|
|
|
0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
|
|
0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
|
|
|
0x44, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
|
|
|
|
0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
|
|
|
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
|
|
|
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
|
|
0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x5f,
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09,
|
|
|
|
0x52, 0x0f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64,
|
|
|
|
0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20,
|
|
|
|
0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x1d, 0x0a,
|
|
|
|
0x0a, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x41, 0x0a, 0x0b,
|
|
|
|
0x6d, 0x66, 0x61, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28,
|
|
|
|
0x0b, 0x32, 0x20, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x45, 0x6e, 0x74,
|
|
|
|
0x69, 0x74, 0x79, 0x2e, 0x4d, 0x66, 0x61, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e,
|
|
|
|
0x74, 0x72, 0x79, 0x52, 0x0a, 0x6d, 0x66, 0x61, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12,
|
|
|
|
0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
|
|
|
0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6e,
|
|
|
|
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x1a, 0x3b,
|
|
|
|
0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
|
|
|
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
|
|
|
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x0f, 0x4d,
|
|
|
|
0x66, 0x61, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
|
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
|
|
0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x0b, 0x2e, 0x6d, 0x66, 0x61, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x05, 0x76, 0x61,
|
|
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x90, 0x04, 0x0a, 0x05, 0x41, 0x6c, 0x69, 0x61,
|
|
|
|
0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
|
|
|
|
0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x69,
|
|
|
|
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63,
|
|
|
|
0x61, 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x79,
|
|
|
|
0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54,
|
|
|
|
0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63,
|
|
|
|
0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x6f, 0x75,
|
|
|
|
0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f,
|
|
|
|
0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
|
|
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x39, 0x0a, 0x08, 0x6d, 0x65, 0x74,
|
|
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x64,
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x2e, 0x4d, 0x65, 0x74,
|
|
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61,
|
|
|
|
0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65,
|
|
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x6c, 0x61, 0x73,
|
|
|
|
0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
|
|
|
|
0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
|
|
|
0x39, 0x0a, 0x19, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x63,
|
|
|
|
0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03,
|
|
|
|
0x28, 0x09, 0x52, 0x16, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61,
|
|
|
|
0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x61,
|
|
|
|
0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x1a, 0x3b, 0x0a,
|
|
|
|
0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
|
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x88, 0x05, 0x0a, 0x12, 0x45,
|
|
|
|
0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72,
|
|
|
|
0x79, 0x12, 0x37, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x73, 0x18, 0x01, 0x20,
|
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50,
|
|
|
|
0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
|
|
0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
|
|
|
0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46,
|
|
|
|
0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
|
|
|
|
0x32, 0x2a, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x45, 0x6e, 0x74, 0x69,
|
|
|
|
0x74, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d,
|
|
|
|
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65,
|
|
|
|
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69,
|
|
|
|
0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
|
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
|
|
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74,
|
|
|
|
0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f,
|
|
|
|
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
|
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x6c,
|
|
|
|
0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2a, 0x0a,
|
|
|
|
0x11, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69,
|
|
|
|
0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64,
|
|
|
|
0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6c,
|
|
|
|
0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x6c,
|
|
|
|
0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f,
|
|
|
|
0x6b, 0x65, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
|
|
|
|
0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x4d, 0x0a,
|
|
|
|
0x0b, 0x6d, 0x66, 0x61, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03,
|
|
|
|
0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x45, 0x6e,
|
|
|
|
0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
|
|
0x2e, 0x4d, 0x66, 0x61, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
|
|
0x52, 0x0a, 0x6d, 0x66, 0x61, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x1a, 0x3b, 0x0a, 0x0d,
|
|
|
|
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
|
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x0f, 0x4d, 0x66, 0x61,
|
|
|
|
0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21,
|
|
|
|
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
|
|
|
0x6d, 0x66, 0x61, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf9, 0x03, 0x0a, 0x11, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
|
|
|
|
0x61, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65,
|
|
|
|
0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e,
|
|
|
|
0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f,
|
|
|
|
0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
|
0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x0d, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x1d,
|
|
|
|
0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x45, 0x0a,
|
|
|
|
0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
0x29, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f,
|
|
|
|
0x6e, 0x61, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74,
|
|
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61,
|
|
|
|
0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65,
|
|
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x6c, 0x61, 0x73,
|
|
|
|
0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
|
|
|
|
0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
|
|
|
0x33, 0x0a, 0x16, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x65,
|
|
|
|
0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
|
|
0x13, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74,
|
|
|
|
0x79, 0x49, 0x64, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
|
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
|
|
|
0x01, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
|
|
|
|
0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f,
|
|
|
|
0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x62,
|
|
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_helper_identity_types_proto_rawDescOnce sync.Once
|
|
|
|
file_helper_identity_types_proto_rawDescData = file_helper_identity_types_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_helper_identity_types_proto_rawDescGZIP() []byte {
|
|
|
|
file_helper_identity_types_proto_rawDescOnce.Do(func() {
|
|
|
|
file_helper_identity_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_helper_identity_types_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_helper_identity_types_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
|
|
|
var file_helper_identity_types_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
|
|
var file_helper_identity_types_proto_goTypes = []interface{}{
|
|
|
|
(*Group)(nil), // 0: identity.Group
|
|
|
|
(*Entity)(nil), // 1: identity.Entity
|
|
|
|
(*Alias)(nil), // 2: identity.Alias
|
|
|
|
(*EntityStorageEntry)(nil), // 3: identity.EntityStorageEntry
|
|
|
|
(*PersonaIndexEntry)(nil), // 4: identity.PersonaIndexEntry
|
|
|
|
nil, // 5: identity.Group.MetadataEntry
|
|
|
|
nil, // 6: identity.Entity.MetadataEntry
|
|
|
|
nil, // 7: identity.Entity.MFASecretsEntry
|
|
|
|
nil, // 8: identity.Alias.MetadataEntry
|
|
|
|
nil, // 9: identity.EntityStorageEntry.MetadataEntry
|
|
|
|
nil, // 10: identity.EntityStorageEntry.MFASecretsEntry
|
|
|
|
nil, // 11: identity.PersonaIndexEntry.MetadataEntry
|
|
|
|
(*timestamp.Timestamp)(nil), // 12: google.protobuf.Timestamp
|
|
|
|
(*mfa.Secret)(nil), // 13: mfa.Secret
|
|
|
|
}
|
|
|
|
var file_helper_identity_types_proto_depIDxs = []int32{
|
|
|
|
5, // 0: identity.Group.metadata:type_name -> identity.Group.MetadataEntry
|
|
|
|
12, // 1: identity.Group.creation_time:type_name -> google.protobuf.Timestamp
|
|
|
|
12, // 2: identity.Group.last_update_time:type_name -> google.protobuf.Timestamp
|
|
|
|
2, // 3: identity.Group.alias:type_name -> identity.Alias
|
|
|
|
2, // 4: identity.Entity.aliases:type_name -> identity.Alias
|
|
|
|
6, // 5: identity.Entity.metadata:type_name -> identity.Entity.MetadataEntry
|
|
|
|
12, // 6: identity.Entity.creation_time:type_name -> google.protobuf.Timestamp
|
|
|
|
12, // 7: identity.Entity.last_update_time:type_name -> google.protobuf.Timestamp
|
|
|
|
7, // 8: identity.Entity.mfa_secrets:type_name -> identity.Entity.MFASecretsEntry
|
|
|
|
8, // 9: identity.Alias.metadata:type_name -> identity.Alias.MetadataEntry
|
|
|
|
12, // 10: identity.Alias.creation_time:type_name -> google.protobuf.Timestamp
|
|
|
|
12, // 11: identity.Alias.last_update_time:type_name -> google.protobuf.Timestamp
|
|
|
|
4, // 12: identity.EntityStorageEntry.personas:type_name -> identity.PersonaIndexEntry
|
|
|
|
9, // 13: identity.EntityStorageEntry.metadata:type_name -> identity.EntityStorageEntry.MetadataEntry
|
|
|
|
12, // 14: identity.EntityStorageEntry.creation_time:type_name -> google.protobuf.Timestamp
|
|
|
|
12, // 15: identity.EntityStorageEntry.last_update_time:type_name -> google.protobuf.Timestamp
|
|
|
|
10, // 16: identity.EntityStorageEntry.mfa_secrets:type_name -> identity.EntityStorageEntry.MFASecretsEntry
|
|
|
|
11, // 17: identity.PersonaIndexEntry.metadata:type_name -> identity.PersonaIndexEntry.MetadataEntry
|
|
|
|
12, // 18: identity.PersonaIndexEntry.creation_time:type_name -> google.protobuf.Timestamp
|
|
|
|
12, // 19: identity.PersonaIndexEntry.last_update_time:type_name -> google.protobuf.Timestamp
|
|
|
|
13, // 20: identity.Entity.MFASecretsEntry.value:type_name -> mfa.Secret
|
|
|
|
13, // 21: identity.EntityStorageEntry.MFASecretsEntry.value:type_name -> mfa.Secret
|
|
|
|
22, // [22:22] is the sub-list for method output_type
|
|
|
|
22, // [22:22] is the sub-list for method input_type
|
|
|
|
22, // [22:22] is the sub-list for extension type_name
|
|
|
|
22, // [22:22] is the sub-list for extension extendee
|
|
|
|
0, // [0:22] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_helper_identity_types_proto_init() }
|
|
|
|
func file_helper_identity_types_proto_init() {
|
|
|
|
if File_helper_identity_types_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_helper_identity_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Group); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_helper_identity_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Entity); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_helper_identity_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Alias); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_helper_identity_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*EntityStorageEntry); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_helper_identity_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*PersonaIndexEntry); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_helper_identity_types_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 12,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
GoTypes: file_helper_identity_types_proto_goTypes,
|
|
|
|
DependencyIndexes: file_helper_identity_types_proto_depIDxs,
|
|
|
|
MessageInfos: file_helper_identity_types_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_helper_identity_types_proto = out.File
|
|
|
|
file_helper_identity_types_proto_rawDesc = nil
|
|
|
|
file_helper_identity_types_proto_goTypes = nil
|
|
|
|
file_helper_identity_types_proto_depIDxs = nil
|
2017-10-11 17:21:20 +00:00
|
|
|
}
|