objectsv1beta1

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_indykite_knowledge_objects_v1beta1_ikg_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Metadata added in v0.24.0

type Metadata struct {
	AssuranceLevel   int32                     `protobuf:"varint,1,opt,name=assurance_level,json=assuranceLevel,proto3" json:"assurance_level,omitempty"`
	VerificationTime *timestamppb.Timestamp    `protobuf:"bytes,2,opt,name=verification_time,json=verificationTime,proto3" json:"verification_time,omitempty"`
	Source           string                    `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	CustomMetadata   map[string]*v1beta2.Value `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated added in v0.24.0

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAssuranceLevel added in v0.24.0

func (x *Metadata) GetAssuranceLevel() int32

func (*Metadata) GetCustomMetadata added in v0.24.0

func (x *Metadata) GetCustomMetadata() map[string]*v1beta2.Value

func (*Metadata) GetSource added in v0.24.0

func (x *Metadata) GetSource() string

func (*Metadata) GetVerificationTime added in v0.24.0

func (x *Metadata) GetVerificationTime() *timestamppb.Timestamp

func (*Metadata) ProtoMessage added in v0.24.0

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect added in v0.24.0

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset added in v0.24.0

func (x *Metadata) Reset()

func (*Metadata) String added in v0.24.0

func (x *Metadata) String() string

func (*Metadata) Validate added in v0.24.0

func (m *Metadata) Validate() error

Validate checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Metadata) ValidateAll added in v0.24.0

func (m *Metadata) ValidateAll() error

ValidateAll checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetadataMultiError, or nil if none found.

type MetadataMultiError added in v0.24.0

type MetadataMultiError []error

MetadataMultiError is an error wrapping multiple validation errors returned by Metadata.ValidateAll() if the designated constraints aren't met.

func (MetadataMultiError) AllErrors added in v0.24.0

func (m MetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetadataMultiError) Error added in v0.24.0

func (m MetadataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MetadataValidationError added in v0.24.0

type MetadataValidationError struct {
	// contains filtered or unexported fields
}

MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.

func (MetadataValidationError) Cause added in v0.24.0

func (e MetadataValidationError) Cause() error

Cause function returns cause value.

func (MetadataValidationError) Error added in v0.24.0

func (e MetadataValidationError) Error() string

Error satisfies the builtin error interface

func (MetadataValidationError) ErrorName added in v0.24.0

func (e MetadataValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataValidationError) Field added in v0.24.0

func (e MetadataValidationError) Field() string

Field function returns field value.

func (MetadataValidationError) Key added in v0.24.0

func (e MetadataValidationError) Key() bool

Key function returns key value.

func (MetadataValidationError) Reason added in v0.24.0

func (e MetadataValidationError) Reason() string

Reason function returns reason value.

type Node

type Node struct {
	Id         string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // read-only
	ExternalId string                 `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	Type       string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Tags       []string               `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // read-only
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // read-only
	Properties []*Property            `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"`
	IsIdentity bool                   `protobuf:"varint,8,opt,name=is_identity,json=isIdentity,proto3" json:"is_identity,omitempty"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

func (*Node) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetCreateTime

func (x *Node) GetCreateTime() *timestamppb.Timestamp

func (*Node) GetExternalId

func (x *Node) GetExternalId() string

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetIsIdentity

func (x *Node) GetIsIdentity() bool

func (*Node) GetProperties

func (x *Node) GetProperties() []*Property

func (*Node) GetTags

func (x *Node) GetTags() []string

func (*Node) GetType

func (x *Node) GetType() string

func (*Node) GetUpdateTime

func (x *Node) GetUpdateTime() *timestamppb.Timestamp

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

func (*Node) Validate

func (m *Node) Validate() error

Validate checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Node) ValidateAll

func (m *Node) ValidateAll() error

ValidateAll checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeMultiError, or nil if none found.

type NodeMultiError

type NodeMultiError []error

NodeMultiError is an error wrapping multiple validation errors returned by Node.ValidateAll() if the designated constraints aren't met.

func (NodeMultiError) AllErrors

func (m NodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeMultiError) Error

func (m NodeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NodeValidationError

type NodeValidationError struct {
	// contains filtered or unexported fields
}

NodeValidationError is the validation error returned by Node.Validate if the designated constraints aren't met.

func (NodeValidationError) Cause

func (e NodeValidationError) Cause() error

Cause function returns cause value.

func (NodeValidationError) Error

func (e NodeValidationError) Error() string

Error satisfies the builtin error interface

func (NodeValidationError) ErrorName

func (e NodeValidationError) ErrorName() string

ErrorName returns error name.

func (NodeValidationError) Field

func (e NodeValidationError) Field() string

Field function returns field value.

func (NodeValidationError) Key

func (e NodeValidationError) Key() bool

Key function returns key value.

func (NodeValidationError) Reason

func (e NodeValidationError) Reason() string

Reason function returns reason value.

type Property

type Property struct {
	Type     string         `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value    *v1beta2.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Metadata *Metadata      `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Property) Descriptor deprecated

func (*Property) Descriptor() ([]byte, []int)

Deprecated: Use Property.ProtoReflect.Descriptor instead.

func (*Property) GetMetadata added in v0.24.0

func (x *Property) GetMetadata() *Metadata

func (*Property) GetType

func (x *Property) GetType() string

func (*Property) GetValue

func (x *Property) GetValue() *v1beta2.Value

func (*Property) ProtoMessage

func (*Property) ProtoMessage()

func (*Property) ProtoReflect

func (x *Property) ProtoReflect() protoreflect.Message

func (*Property) Reset

func (x *Property) Reset()

func (*Property) String

func (x *Property) String() string

func (*Property) Validate

func (m *Property) Validate() error

Validate checks the field values on Property with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Property) ValidateAll

func (m *Property) ValidateAll() error

ValidateAll checks the field values on Property with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PropertyMultiError, or nil if none found.

type PropertyMultiError

type PropertyMultiError []error

PropertyMultiError is an error wrapping multiple validation errors returned by Property.ValidateAll() if the designated constraints aren't met.

func (PropertyMultiError) AllErrors

func (m PropertyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PropertyMultiError) Error

func (m PropertyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PropertyValidationError

type PropertyValidationError struct {
	// contains filtered or unexported fields
}

PropertyValidationError is the validation error returned by Property.Validate if the designated constraints aren't met.

func (PropertyValidationError) Cause

func (e PropertyValidationError) Cause() error

Cause function returns cause value.

func (PropertyValidationError) Error

func (e PropertyValidationError) Error() string

Error satisfies the builtin error interface

func (PropertyValidationError) ErrorName

func (e PropertyValidationError) ErrorName() string

ErrorName returns error name.

func (PropertyValidationError) Field

func (e PropertyValidationError) Field() string

Field function returns field value.

func (PropertyValidationError) Key

func (e PropertyValidationError) Key() bool

Key function returns key value.

func (PropertyValidationError) Reason

func (e PropertyValidationError) Reason() string

Reason function returns reason value.

type Relationship

type Relationship struct {
	Id         string                    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // read-only
	Type       string                    `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Source     string                    `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Target     string                    `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
	CreateTime *timestamppb.Timestamp    `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // read-only
	UpdateTime *timestamppb.Timestamp    `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // read-only
	Properties map[string]*v1beta2.Value ``                                                                                            /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Relationship) Descriptor deprecated

func (*Relationship) Descriptor() ([]byte, []int)

Deprecated: Use Relationship.ProtoReflect.Descriptor instead.

func (*Relationship) GetCreateTime

func (x *Relationship) GetCreateTime() *timestamppb.Timestamp

func (*Relationship) GetId

func (x *Relationship) GetId() string

func (*Relationship) GetProperties

func (x *Relationship) GetProperties() map[string]*v1beta2.Value

func (*Relationship) GetSource

func (x *Relationship) GetSource() string

func (*Relationship) GetTarget

func (x *Relationship) GetTarget() string

func (*Relationship) GetType

func (x *Relationship) GetType() string

func (*Relationship) GetUpdateTime

func (x *Relationship) GetUpdateTime() *timestamppb.Timestamp

func (*Relationship) ProtoMessage

func (*Relationship) ProtoMessage()

func (*Relationship) ProtoReflect

func (x *Relationship) ProtoReflect() protoreflect.Message

func (*Relationship) Reset

func (x *Relationship) Reset()

func (*Relationship) String

func (x *Relationship) String() string

func (*Relationship) Validate

func (m *Relationship) Validate() error

Validate checks the field values on Relationship with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Relationship) ValidateAll

func (m *Relationship) ValidateAll() error

ValidateAll checks the field values on Relationship with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationshipMultiError, or nil if none found.

type RelationshipMultiError

type RelationshipMultiError []error

RelationshipMultiError is an error wrapping multiple validation errors returned by Relationship.ValidateAll() if the designated constraints aren't met.

func (RelationshipMultiError) AllErrors

func (m RelationshipMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelationshipMultiError) Error

func (m RelationshipMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RelationshipValidationError

type RelationshipValidationError struct {
	// contains filtered or unexported fields
}

RelationshipValidationError is the validation error returned by Relationship.Validate if the designated constraints aren't met.

func (RelationshipValidationError) Cause

Cause function returns cause value.

func (RelationshipValidationError) Error

Error satisfies the builtin error interface

func (RelationshipValidationError) ErrorName

func (e RelationshipValidationError) ErrorName() string

ErrorName returns error name.

func (RelationshipValidationError) Field

Field function returns field value.

func (RelationshipValidationError) Key

Key function returns key value.

func (RelationshipValidationError) Reason

Reason function returns reason value.

type User added in v0.25.0

type User struct {

	// Types that are assignable to User:
	//
	//	*User_UserId
	//	*User_Property_
	//	*User_ExternalId
	User isUser_User `protobuf_oneof:"user"`
	// contains filtered or unexported fields
}

User to look up in the Identity Knowledge Graph.

func (*User) Descriptor deprecated added in v0.25.0

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetExternalId added in v0.25.0

func (x *User) GetExternalId() *User_ExternalID

func (*User) GetProperty added in v0.25.0

func (x *User) GetProperty() *User_Property

func (*User) GetUser added in v0.25.0

func (m *User) GetUser() isUser_User

func (*User) GetUserId added in v0.25.0

func (x *User) GetUserId() string

func (*User) ProtoMessage added in v0.25.0

func (*User) ProtoMessage()

func (*User) ProtoReflect added in v0.25.0

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset added in v0.25.0

func (x *User) Reset()

func (*User) String added in v0.25.0

func (x *User) String() string

func (*User) Validate added in v0.25.0

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*User) ValidateAll added in v0.25.0

func (m *User) ValidateAll() error

ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.

type UserMultiError added in v0.25.0

type UserMultiError []error

UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.

func (UserMultiError) AllErrors added in v0.25.0

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error added in v0.25.0

func (m UserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserValidationError added in v0.25.0

type UserValidationError struct {
	// contains filtered or unexported fields
}

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause added in v0.25.0

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error added in v0.25.0

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName added in v0.25.0

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field added in v0.25.0

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key added in v0.25.0

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason added in v0.25.0

func (e UserValidationError) Reason() string

Reason function returns reason value.

type User_ExternalID added in v0.25.0

type User_ExternalID struct {
	Type       string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	// contains filtered or unexported fields
}

func (*User_ExternalID) Descriptor deprecated added in v0.25.0

func (*User_ExternalID) Descriptor() ([]byte, []int)

Deprecated: Use User_ExternalID.ProtoReflect.Descriptor instead.

func (*User_ExternalID) GetExternalId added in v0.25.0

func (x *User_ExternalID) GetExternalId() string

func (*User_ExternalID) GetType added in v0.25.0

func (x *User_ExternalID) GetType() string

func (*User_ExternalID) ProtoMessage added in v0.25.0

func (*User_ExternalID) ProtoMessage()

func (*User_ExternalID) ProtoReflect added in v0.25.0

func (x *User_ExternalID) ProtoReflect() protoreflect.Message

func (*User_ExternalID) Reset added in v0.25.0

func (x *User_ExternalID) Reset()

func (*User_ExternalID) String added in v0.25.0

func (x *User_ExternalID) String() string

func (*User_ExternalID) Validate added in v0.25.0

func (m *User_ExternalID) Validate() error

Validate checks the field values on User_ExternalID with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*User_ExternalID) ValidateAll added in v0.25.0

func (m *User_ExternalID) ValidateAll() error

ValidateAll checks the field values on User_ExternalID with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in User_ExternalIDMultiError, or nil if none found.

type User_ExternalIDMultiError added in v0.25.0

type User_ExternalIDMultiError []error

User_ExternalIDMultiError is an error wrapping multiple validation errors returned by User_ExternalID.ValidateAll() if the designated constraints aren't met.

func (User_ExternalIDMultiError) AllErrors added in v0.25.0

func (m User_ExternalIDMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (User_ExternalIDMultiError) Error added in v0.25.0

Error returns a concatenation of all the error messages it wraps.

type User_ExternalIDValidationError added in v0.25.0

type User_ExternalIDValidationError struct {
	// contains filtered or unexported fields
}

User_ExternalIDValidationError is the validation error returned by User_ExternalID.Validate if the designated constraints aren't met.

func (User_ExternalIDValidationError) Cause added in v0.25.0

Cause function returns cause value.

func (User_ExternalIDValidationError) Error added in v0.25.0

Error satisfies the builtin error interface

func (User_ExternalIDValidationError) ErrorName added in v0.25.0

func (e User_ExternalIDValidationError) ErrorName() string

ErrorName returns error name.

func (User_ExternalIDValidationError) Field added in v0.25.0

Field function returns field value.

func (User_ExternalIDValidationError) Key added in v0.25.0

Key function returns key value.

func (User_ExternalIDValidationError) Reason added in v0.25.0

Reason function returns reason value.

type User_ExternalId added in v0.25.0

type User_ExternalId struct {
	ExternalId *User_ExternalID `protobuf:"bytes,5,opt,name=external_id,json=externalId,proto3,oneof"`
}

type User_Property added in v0.25.0

type User_Property struct {
	Type  string         `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value *v1beta1.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*User_Property) Descriptor deprecated added in v0.25.0

func (*User_Property) Descriptor() ([]byte, []int)

Deprecated: Use User_Property.ProtoReflect.Descriptor instead.

func (*User_Property) GetType added in v0.25.0

func (x *User_Property) GetType() string

func (*User_Property) GetValue added in v0.25.0

func (x *User_Property) GetValue() *v1beta1.Value

func (*User_Property) ProtoMessage added in v0.25.0

func (*User_Property) ProtoMessage()

func (*User_Property) ProtoReflect added in v0.25.0

func (x *User_Property) ProtoReflect() protoreflect.Message

func (*User_Property) Reset added in v0.25.0

func (x *User_Property) Reset()

func (*User_Property) String added in v0.25.0

func (x *User_Property) String() string

func (*User_Property) Validate added in v0.25.0

func (m *User_Property) Validate() error

Validate checks the field values on User_Property with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*User_Property) ValidateAll added in v0.25.0

func (m *User_Property) ValidateAll() error

ValidateAll checks the field values on User_Property with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in User_PropertyMultiError, or nil if none found.

type User_PropertyMultiError added in v0.25.0

type User_PropertyMultiError []error

User_PropertyMultiError is an error wrapping multiple validation errors returned by User_Property.ValidateAll() if the designated constraints aren't met.

func (User_PropertyMultiError) AllErrors added in v0.25.0

func (m User_PropertyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (User_PropertyMultiError) Error added in v0.25.0

func (m User_PropertyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type User_PropertyValidationError added in v0.25.0

type User_PropertyValidationError struct {
	// contains filtered or unexported fields
}

User_PropertyValidationError is the validation error returned by User_Property.Validate if the designated constraints aren't met.

func (User_PropertyValidationError) Cause added in v0.25.0

Cause function returns cause value.

func (User_PropertyValidationError) Error added in v0.25.0

Error satisfies the builtin error interface

func (User_PropertyValidationError) ErrorName added in v0.25.0

func (e User_PropertyValidationError) ErrorName() string

ErrorName returns error name.

func (User_PropertyValidationError) Field added in v0.25.0

Field function returns field value.

func (User_PropertyValidationError) Key added in v0.25.0

Key function returns key value.

func (User_PropertyValidationError) Reason added in v0.25.0

Reason function returns reason value.

type User_Property_ added in v0.25.0

type User_Property_ struct {
	Property *User_Property `protobuf:"bytes,3,opt,name=property,proto3,oneof"`
}

type User_UserId added in v0.25.0

type User_UserId struct {
	// Gid, unique identifier for the user
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL