entityv1alpha1

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Order_name = map[int32]string{
		0: "ORDER_UNSPECIFIED",
		1: "ORDER_ASCENDING",
		2: "ORDER_DESCENDING",
	}
	Order_value = map[string]int32{
		"ORDER_UNSPECIFIED": 0,
		"ORDER_ASCENDING":   1,
		"ORDER_DESCENDING":  2,
	}
)

Enum value maps for Order.

View Source
var File_commonfate_entity_v1alpha1_child_relation_proto protoreflect.FileDescriptor
View Source
var File_commonfate_entity_v1alpha1_eid_proto protoreflect.FileDescriptor
View Source
var File_commonfate_entity_v1alpha1_entity_proto protoreflect.FileDescriptor
View Source
var File_commonfate_entity_v1alpha1_entity_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Attribute

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

func (*Attribute) Descriptor deprecated

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

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetKey

func (x *Attribute) GetKey() string

func (*Attribute) GetValue

func (x *Attribute) GetValue() *Value

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

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

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

func (*Attribute) Validate added in v1.32.1

func (m *Attribute) Validate() error

Validate checks the field values on Attribute 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 (*Attribute) ValidateAll added in v1.32.1

func (m *Attribute) ValidateAll() error

ValidateAll checks the field values on Attribute 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 AttributeMultiError, or nil if none found.

type AttributeMultiError added in v1.32.1

type AttributeMultiError []error

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

func (AttributeMultiError) AllErrors added in v1.32.1

func (m AttributeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AttributeMultiError) Error added in v1.32.1

func (m AttributeMultiError) Error() string

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

type AttributeValidationError added in v1.32.1

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

AttributeValidationError is the validation error returned by Attribute.Validate if the designated constraints aren't met.

func (AttributeValidationError) Cause added in v1.32.1

func (e AttributeValidationError) Cause() error

Cause function returns cause value.

func (AttributeValidationError) Error added in v1.32.1

func (e AttributeValidationError) Error() string

Error satisfies the builtin error interface

func (AttributeValidationError) ErrorName added in v1.32.1

func (e AttributeValidationError) ErrorName() string

ErrorName returns error name.

func (AttributeValidationError) Field added in v1.32.1

func (e AttributeValidationError) Field() string

Field function returns field value.

func (AttributeValidationError) Key added in v1.32.1

Key function returns key value.

func (AttributeValidationError) Reason added in v1.32.1

func (e AttributeValidationError) Reason() string

Reason function returns reason value.

type BatchGetRequest

type BatchGetRequest struct {
	Universe string `protobuf:"bytes,1,opt,name=universe,proto3" json:"universe,omitempty"`
	Eids     []*EID `protobuf:"bytes,2,rep,name=eids,proto3" json:"eids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetRequest) Descriptor deprecated

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

Deprecated: Use BatchGetRequest.ProtoReflect.Descriptor instead.

func (*BatchGetRequest) GetEids

func (x *BatchGetRequest) GetEids() []*EID

func (*BatchGetRequest) GetUniverse

func (x *BatchGetRequest) GetUniverse() string

func (*BatchGetRequest) ProtoMessage

func (*BatchGetRequest) ProtoMessage()

func (*BatchGetRequest) ProtoReflect

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

func (*BatchGetRequest) Reset

func (x *BatchGetRequest) Reset()

func (*BatchGetRequest) String

func (x *BatchGetRequest) String() string

func (*BatchGetRequest) Validate added in v1.32.1

func (m *BatchGetRequest) Validate() error

Validate checks the field values on BatchGetRequest 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 (*BatchGetRequest) ValidateAll added in v1.32.1

func (m *BatchGetRequest) ValidateAll() error

ValidateAll checks the field values on BatchGetRequest 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 BatchGetRequestMultiError, or nil if none found.

type BatchGetRequestMultiError added in v1.32.1

type BatchGetRequestMultiError []error

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

func (BatchGetRequestMultiError) AllErrors added in v1.32.1

func (m BatchGetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchGetRequestMultiError) Error added in v1.32.1

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

type BatchGetRequestValidationError added in v1.32.1

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

BatchGetRequestValidationError is the validation error returned by BatchGetRequest.Validate if the designated constraints aren't met.

func (BatchGetRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (BatchGetRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchGetRequestValidationError) ErrorName added in v1.32.1

func (e BatchGetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (BatchGetRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchGetRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchGetRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type BatchGetResponse

type BatchGetResponse struct {
	Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetResponse) Descriptor deprecated

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

Deprecated: Use BatchGetResponse.ProtoReflect.Descriptor instead.

func (*BatchGetResponse) GetEntities

func (x *BatchGetResponse) GetEntities() []*Entity

func (*BatchGetResponse) ProtoMessage

func (*BatchGetResponse) ProtoMessage()

func (*BatchGetResponse) ProtoReflect

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

func (*BatchGetResponse) Reset

func (x *BatchGetResponse) Reset()

func (*BatchGetResponse) String

func (x *BatchGetResponse) String() string

func (*BatchGetResponse) Validate added in v1.32.1

func (m *BatchGetResponse) Validate() error

Validate checks the field values on BatchGetResponse 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 (*BatchGetResponse) ValidateAll added in v1.32.1

func (m *BatchGetResponse) ValidateAll() error

ValidateAll checks the field values on BatchGetResponse 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 BatchGetResponseMultiError, or nil if none found.

type BatchGetResponseMultiError added in v1.32.1

type BatchGetResponseMultiError []error

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

func (BatchGetResponseMultiError) AllErrors added in v1.32.1

func (m BatchGetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchGetResponseMultiError) Error added in v1.32.1

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

type BatchGetResponseValidationError added in v1.32.1

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

BatchGetResponseValidationError is the validation error returned by BatchGetResponse.Validate if the designated constraints aren't met.

func (BatchGetResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (BatchGetResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchGetResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (BatchGetResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchGetResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchGetResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type BatchUpdateRequest

type BatchUpdateRequest struct {
	Universe string    `protobuf:"bytes,1,opt,name=universe,proto3" json:"universe,omitempty"`
	Put      []*Entity `protobuf:"bytes,2,rep,name=put,proto3" json:"put,omitempty"`
	// parent/child relationships to add.
	PutChildren []*ChildRelation `protobuf:"bytes,3,rep,name=put_children,json=putChildren,proto3" json:"put_children,omitempty"`
	// entities to archive
	Archive []*EID `protobuf:"bytes,4,rep,name=archive,proto3" json:"archive,omitempty"`
	// entities to mark as active
	Unarchive []*EID `protobuf:"bytes,5,rep,name=unarchive,proto3" json:"unarchive,omitempty"`
	// entities to delete
	Delete []*EID `protobuf:"bytes,6,rep,name=delete,proto3" json:"delete,omitempty"`
	// parent/child relations to delete.
	DeleteChildren []*ChildRelation `protobuf:"bytes,7,rep,name=delete_children,json=deleteChildren,proto3" json:"delete_children,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchUpdateRequest) Descriptor deprecated

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

Deprecated: Use BatchUpdateRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateRequest) GetArchive

func (x *BatchUpdateRequest) GetArchive() []*EID

func (*BatchUpdateRequest) GetDelete

func (x *BatchUpdateRequest) GetDelete() []*EID

func (*BatchUpdateRequest) GetDeleteChildren

func (x *BatchUpdateRequest) GetDeleteChildren() []*ChildRelation

func (*BatchUpdateRequest) GetPut

func (x *BatchUpdateRequest) GetPut() []*Entity

func (*BatchUpdateRequest) GetPutChildren

func (x *BatchUpdateRequest) GetPutChildren() []*ChildRelation

func (*BatchUpdateRequest) GetUnarchive

func (x *BatchUpdateRequest) GetUnarchive() []*EID

func (*BatchUpdateRequest) GetUniverse

func (x *BatchUpdateRequest) GetUniverse() string

func (*BatchUpdateRequest) ProtoMessage

func (*BatchUpdateRequest) ProtoMessage()

func (*BatchUpdateRequest) ProtoReflect

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

func (*BatchUpdateRequest) Reset

func (x *BatchUpdateRequest) Reset()

func (*BatchUpdateRequest) String

func (x *BatchUpdateRequest) String() string

func (*BatchUpdateRequest) Validate added in v1.32.1

func (m *BatchUpdateRequest) Validate() error

Validate checks the field values on BatchUpdateRequest 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 (*BatchUpdateRequest) ValidateAll added in v1.32.1

func (m *BatchUpdateRequest) ValidateAll() error

ValidateAll checks the field values on BatchUpdateRequest 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 BatchUpdateRequestMultiError, or nil if none found.

type BatchUpdateRequestMultiError added in v1.32.1

type BatchUpdateRequestMultiError []error

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

func (BatchUpdateRequestMultiError) AllErrors added in v1.32.1

func (m BatchUpdateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchUpdateRequestMultiError) Error added in v1.32.1

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

type BatchUpdateRequestValidationError added in v1.32.1

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

BatchUpdateRequestValidationError is the validation error returned by BatchUpdateRequest.Validate if the designated constraints aren't met.

func (BatchUpdateRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (BatchUpdateRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchUpdateRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (BatchUpdateRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchUpdateRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchUpdateRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type BatchUpdateResponse

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

func (*BatchUpdateResponse) Descriptor deprecated

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

Deprecated: Use BatchUpdateResponse.ProtoReflect.Descriptor instead.

func (*BatchUpdateResponse) ProtoMessage

func (*BatchUpdateResponse) ProtoMessage()

func (*BatchUpdateResponse) ProtoReflect

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

func (*BatchUpdateResponse) Reset

func (x *BatchUpdateResponse) Reset()

func (*BatchUpdateResponse) String

func (x *BatchUpdateResponse) String() string

func (*BatchUpdateResponse) Validate added in v1.32.1

func (m *BatchUpdateResponse) Validate() error

Validate checks the field values on BatchUpdateResponse 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 (*BatchUpdateResponse) ValidateAll added in v1.32.1

func (m *BatchUpdateResponse) ValidateAll() error

ValidateAll checks the field values on BatchUpdateResponse 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 BatchUpdateResponseMultiError, or nil if none found.

type BatchUpdateResponseMultiError added in v1.32.1

type BatchUpdateResponseMultiError []error

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

func (BatchUpdateResponseMultiError) AllErrors added in v1.32.1

func (m BatchUpdateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchUpdateResponseMultiError) Error added in v1.32.1

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

type BatchUpdateResponseValidationError added in v1.32.1

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

BatchUpdateResponseValidationError is the validation error returned by BatchUpdateResponse.Validate if the designated constraints aren't met.

func (BatchUpdateResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (BatchUpdateResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchUpdateResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (BatchUpdateResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchUpdateResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchUpdateResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ChildRelation

type ChildRelation struct {
	Parent *EID `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	Child  *EID `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

func (*ChildRelation) Descriptor deprecated

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

Deprecated: Use ChildRelation.ProtoReflect.Descriptor instead.

func (*ChildRelation) GetChild

func (x *ChildRelation) GetChild() *EID

func (*ChildRelation) GetParent

func (x *ChildRelation) GetParent() *EID

func (*ChildRelation) ProtoMessage

func (*ChildRelation) ProtoMessage()

func (*ChildRelation) ProtoReflect

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

func (*ChildRelation) Reset

func (x *ChildRelation) Reset()

func (*ChildRelation) String

func (x *ChildRelation) String() string

func (*ChildRelation) Validate added in v1.32.1

func (m *ChildRelation) Validate() error

Validate checks the field values on ChildRelation 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 (*ChildRelation) ValidateAll added in v1.32.1

func (m *ChildRelation) ValidateAll() error

ValidateAll checks the field values on ChildRelation 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 ChildRelationMultiError, or nil if none found.

type ChildRelationMultiError added in v1.32.1

type ChildRelationMultiError []error

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

func (ChildRelationMultiError) AllErrors added in v1.32.1

func (m ChildRelationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChildRelationMultiError) Error added in v1.32.1

func (m ChildRelationMultiError) Error() string

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

type ChildRelationValidationError added in v1.32.1

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

ChildRelationValidationError is the validation error returned by ChildRelation.Validate if the designated constraints aren't met.

func (ChildRelationValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ChildRelationValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ChildRelationValidationError) ErrorName added in v1.32.1

func (e ChildRelationValidationError) ErrorName() string

ErrorName returns error name.

func (ChildRelationValidationError) Field added in v1.32.1

Field function returns field value.

func (ChildRelationValidationError) Key added in v1.32.1

Key function returns key value.

func (ChildRelationValidationError) Reason added in v1.32.1

Reason function returns reason value.

type EID

type EID struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*EID) Descriptor deprecated

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

Deprecated: Use EID.ProtoReflect.Descriptor instead.

func (*EID) Display

func (u *EID) Display() string

func (*EID) GetId

func (x *EID) GetId() string

func (*EID) GetType

func (x *EID) GetType() string

func (*EID) ProtoMessage

func (*EID) ProtoMessage()

func (*EID) ProtoReflect

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

func (*EID) Reset

func (x *EID) Reset()

func (*EID) String

func (x *EID) String() string

func (*EID) Validate added in v1.32.1

func (m *EID) Validate() error

Validate checks the field values on EID 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 (*EID) ValidateAll added in v1.32.1

func (m *EID) ValidateAll() error

ValidateAll checks the field values on EID 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 EIDMultiError, or nil if none found.

type EIDMultiError added in v1.32.1

type EIDMultiError []error

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

func (EIDMultiError) AllErrors added in v1.32.1

func (m EIDMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EIDMultiError) Error added in v1.32.1

func (m EIDMultiError) Error() string

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

type EIDValidationError added in v1.32.1

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

EIDValidationError is the validation error returned by EID.Validate if the designated constraints aren't met.

func (EIDValidationError) Cause added in v1.32.1

func (e EIDValidationError) Cause() error

Cause function returns cause value.

func (EIDValidationError) Error added in v1.32.1

func (e EIDValidationError) Error() string

Error satisfies the builtin error interface

func (EIDValidationError) ErrorName added in v1.32.1

func (e EIDValidationError) ErrorName() string

ErrorName returns error name.

func (EIDValidationError) Field added in v1.32.1

func (e EIDValidationError) Field() string

Field function returns field value.

func (EIDValidationError) Key added in v1.32.1

func (e EIDValidationError) Key() bool

Key function returns key value.

func (EIDValidationError) Reason added in v1.32.1

func (e EIDValidationError) Reason() string

Reason function returns reason value.

type Entity

type Entity struct {
	Eid        *EID         `protobuf:"bytes,1,opt,name=eid,proto3" json:"eid,omitempty"`
	Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*Entity) Descriptor deprecated

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

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetAttributes

func (x *Entity) GetAttributes() []*Attribute

func (*Entity) GetEid

func (x *Entity) GetEid() *EID

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

func (*Entity) Validate added in v1.32.1

func (m *Entity) Validate() error

Validate checks the field values on Entity 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 (*Entity) ValidateAll added in v1.32.1

func (m *Entity) ValidateAll() error

ValidateAll checks the field values on Entity 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 EntityMultiError, or nil if none found.

type EntityMultiError added in v1.32.1

type EntityMultiError []error

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

func (EntityMultiError) AllErrors added in v1.32.1

func (m EntityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EntityMultiError) Error added in v1.32.1

func (m EntityMultiError) Error() string

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

type EntityValidationError added in v1.32.1

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

EntityValidationError is the validation error returned by Entity.Validate if the designated constraints aren't met.

func (EntityValidationError) Cause added in v1.32.1

func (e EntityValidationError) Cause() error

Cause function returns cause value.

func (EntityValidationError) Error added in v1.32.1

func (e EntityValidationError) Error() string

Error satisfies the builtin error interface

func (EntityValidationError) ErrorName added in v1.32.1

func (e EntityValidationError) ErrorName() string

ErrorName returns error name.

func (EntityValidationError) Field added in v1.32.1

func (e EntityValidationError) Field() string

Field function returns field value.

func (EntityValidationError) Key added in v1.32.1

func (e EntityValidationError) Key() bool

Key function returns key value.

func (EntityValidationError) Reason added in v1.32.1

func (e EntityValidationError) Reason() string

Reason function returns reason value.

type GetRequest

type GetRequest struct {
	Universe string `protobuf:"bytes,1,opt,name=universe,proto3" json:"universe,omitempty"`
	Eid      *EID   `protobuf:"bytes,2,opt,name=eid,proto3" json:"eid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetEid

func (x *GetRequest) GetEid() *EID

func (*GetRequest) GetUniverse

func (x *GetRequest) GetUniverse() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

func (*GetRequest) Validate added in v1.32.1

func (m *GetRequest) Validate() error

Validate checks the field values on GetRequest 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 (*GetRequest) ValidateAll added in v1.32.1

func (m *GetRequest) ValidateAll() error

ValidateAll checks the field values on GetRequest 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 GetRequestMultiError, or nil if none found.

type GetRequestMultiError added in v1.32.1

type GetRequestMultiError []error

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

func (GetRequestMultiError) AllErrors added in v1.32.1

func (m GetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRequestMultiError) Error added in v1.32.1

func (m GetRequestMultiError) Error() string

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

type GetRequestValidationError added in v1.32.1

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

GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.

func (GetRequestValidationError) Cause added in v1.32.1

func (e GetRequestValidationError) Cause() error

Cause function returns cause value.

func (GetRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName added in v1.32.1

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (GetRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (GetRequestValidationError) Reason added in v1.32.1

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type GetResponse

type GetResponse struct {
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetEntity

func (x *GetResponse) GetEntity() *Entity

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

func (*GetResponse) Validate added in v1.32.1

func (m *GetResponse) Validate() error

Validate checks the field values on GetResponse 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 (*GetResponse) ValidateAll added in v1.32.1

func (m *GetResponse) ValidateAll() error

ValidateAll checks the field values on GetResponse 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 GetResponseMultiError, or nil if none found.

type GetResponseMultiError added in v1.32.1

type GetResponseMultiError []error

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

func (GetResponseMultiError) AllErrors added in v1.32.1

func (m GetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetResponseMultiError) Error added in v1.32.1

func (m GetResponseMultiError) Error() string

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

type GetResponseValidationError added in v1.32.1

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

GetResponseValidationError is the validation error returned by GetResponse.Validate if the designated constraints aren't met.

func (GetResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (GetResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetResponseValidationError) ErrorName added in v1.32.1

func (e GetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (GetResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (GetResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ListChildrenRequest

type ListChildrenRequest struct {
	Universe string `protobuf:"bytes,1,opt,name=universe,proto3" json:"universe,omitempty"`
	// The token for the next page.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Parent    *EID   `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChildrenRequest) Descriptor deprecated

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

Deprecated: Use ListChildrenRequest.ProtoReflect.Descriptor instead.

func (*ListChildrenRequest) GetPageToken

func (x *ListChildrenRequest) GetPageToken() string

func (*ListChildrenRequest) GetParent

func (x *ListChildrenRequest) GetParent() *EID

func (*ListChildrenRequest) GetUniverse

func (x *ListChildrenRequest) GetUniverse() string

func (*ListChildrenRequest) ProtoMessage

func (*ListChildrenRequest) ProtoMessage()

func (*ListChildrenRequest) ProtoReflect

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

func (*ListChildrenRequest) Reset

func (x *ListChildrenRequest) Reset()

func (*ListChildrenRequest) String

func (x *ListChildrenRequest) String() string

func (*ListChildrenRequest) Validate added in v1.32.1

func (m *ListChildrenRequest) Validate() error

Validate checks the field values on ListChildrenRequest 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 (*ListChildrenRequest) ValidateAll added in v1.32.1

func (m *ListChildrenRequest) ValidateAll() error

ValidateAll checks the field values on ListChildrenRequest 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 ListChildrenRequestMultiError, or nil if none found.

type ListChildrenRequestMultiError added in v1.32.1

type ListChildrenRequestMultiError []error

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

func (ListChildrenRequestMultiError) AllErrors added in v1.32.1

func (m ListChildrenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListChildrenRequestMultiError) Error added in v1.32.1

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

type ListChildrenRequestValidationError added in v1.32.1

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

ListChildrenRequestValidationError is the validation error returned by ListChildrenRequest.Validate if the designated constraints aren't met.

func (ListChildrenRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ListChildrenRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListChildrenRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListChildrenRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ListChildrenRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ListChildrenRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ListChildrenResponse

type ListChildrenResponse struct {
	Children      []*EID `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChildrenResponse) Descriptor deprecated

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

Deprecated: Use ListChildrenResponse.ProtoReflect.Descriptor instead.

func (*ListChildrenResponse) GetChildren

func (x *ListChildrenResponse) GetChildren() []*EID

func (*ListChildrenResponse) GetNextPageToken

func (x *ListChildrenResponse) GetNextPageToken() string

func (*ListChildrenResponse) ProtoMessage

func (*ListChildrenResponse) ProtoMessage()

func (*ListChildrenResponse) ProtoReflect

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

func (*ListChildrenResponse) Reset

func (x *ListChildrenResponse) Reset()

func (*ListChildrenResponse) String

func (x *ListChildrenResponse) String() string

func (*ListChildrenResponse) Validate added in v1.32.1

func (m *ListChildrenResponse) Validate() error

Validate checks the field values on ListChildrenResponse 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 (*ListChildrenResponse) ValidateAll added in v1.32.1

func (m *ListChildrenResponse) ValidateAll() error

ValidateAll checks the field values on ListChildrenResponse 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 ListChildrenResponseMultiError, or nil if none found.

type ListChildrenResponseMultiError added in v1.32.1

type ListChildrenResponseMultiError []error

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

func (ListChildrenResponseMultiError) AllErrors added in v1.32.1

func (m ListChildrenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListChildrenResponseMultiError) Error added in v1.32.1

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

type ListChildrenResponseValidationError added in v1.32.1

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

ListChildrenResponseValidationError is the validation error returned by ListChildrenResponse.Validate if the designated constraints aren't met.

func (ListChildrenResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ListChildrenResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListChildrenResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListChildrenResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ListChildrenResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ListChildrenResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ListParentsRequest

type ListParentsRequest struct {
	Universe string `protobuf:"bytes,1,opt,name=universe,proto3" json:"universe,omitempty"`
	// The token for the next page.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Child     *EID   `protobuf:"bytes,3,opt,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

func (*ListParentsRequest) Descriptor deprecated

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

Deprecated: Use ListParentsRequest.ProtoReflect.Descriptor instead.

func (*ListParentsRequest) GetChild

func (x *ListParentsRequest) GetChild() *EID

func (*ListParentsRequest) GetPageToken

func (x *ListParentsRequest) GetPageToken() string

func (*ListParentsRequest) GetUniverse

func (x *ListParentsRequest) GetUniverse() string

func (*ListParentsRequest) ProtoMessage

func (*ListParentsRequest) ProtoMessage()

func (*ListParentsRequest) ProtoReflect

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

func (*ListParentsRequest) Reset

func (x *ListParentsRequest) Reset()

func (*ListParentsRequest) String

func (x *ListParentsRequest) String() string

func (*ListParentsRequest) Validate added in v1.32.1

func (m *ListParentsRequest) Validate() error

Validate checks the field values on ListParentsRequest 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 (*ListParentsRequest) ValidateAll added in v1.32.1

func (m *ListParentsRequest) ValidateAll() error

ValidateAll checks the field values on ListParentsRequest 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 ListParentsRequestMultiError, or nil if none found.

type ListParentsRequestMultiError added in v1.32.1

type ListParentsRequestMultiError []error

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

func (ListParentsRequestMultiError) AllErrors added in v1.32.1

func (m ListParentsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListParentsRequestMultiError) Error added in v1.32.1

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

type ListParentsRequestValidationError added in v1.32.1

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

ListParentsRequestValidationError is the validation error returned by ListParentsRequest.Validate if the designated constraints aren't met.

func (ListParentsRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ListParentsRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListParentsRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListParentsRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ListParentsRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ListParentsRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ListParentsResponse

type ListParentsResponse struct {
	Parents       []*EID `protobuf:"bytes,1,rep,name=parents,proto3" json:"parents,omitempty"`
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListParentsResponse) Descriptor deprecated

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

Deprecated: Use ListParentsResponse.ProtoReflect.Descriptor instead.

func (*ListParentsResponse) GetNextPageToken

func (x *ListParentsResponse) GetNextPageToken() string

func (*ListParentsResponse) GetParents

func (x *ListParentsResponse) GetParents() []*EID

func (*ListParentsResponse) ProtoMessage

func (*ListParentsResponse) ProtoMessage()

func (*ListParentsResponse) ProtoReflect

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

func (*ListParentsResponse) Reset

func (x *ListParentsResponse) Reset()

func (*ListParentsResponse) String

func (x *ListParentsResponse) String() string

func (*ListParentsResponse) Validate added in v1.32.1

func (m *ListParentsResponse) Validate() error

Validate checks the field values on ListParentsResponse 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 (*ListParentsResponse) ValidateAll added in v1.32.1

func (m *ListParentsResponse) ValidateAll() error

ValidateAll checks the field values on ListParentsResponse 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 ListParentsResponseMultiError, or nil if none found.

type ListParentsResponseMultiError added in v1.32.1

type ListParentsResponseMultiError []error

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

func (ListParentsResponseMultiError) AllErrors added in v1.32.1

func (m ListParentsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListParentsResponseMultiError) Error added in v1.32.1

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

type ListParentsResponseValidationError added in v1.32.1

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

ListParentsResponseValidationError is the validation error returned by ListParentsResponse.Validate if the designated constraints aren't met.

func (ListParentsResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ListParentsResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListParentsResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListParentsResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ListParentsResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ListParentsResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ListRequest

type ListRequest struct {
	Universe string `protobuf:"bytes,1,opt,name=universe,proto3" json:"universe,omitempty"`
	// The token for the next page.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filter entities for a particular type
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// If true, will include archived entities in the query
	IncludeArchived bool   `protobuf:"varint,6,opt,name=include_archived,json=includeArchived,proto3" json:"include_archived,omitempty"`
	Order           *Order `protobuf:"varint,7,opt,name=order,proto3,enum=commonfate.entity.v1alpha1.Order,oneof" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetIncludeArchived

func (x *ListRequest) GetIncludeArchived() bool

func (*ListRequest) GetOrder added in v1.3.0

func (x *ListRequest) GetOrder() Order

func (*ListRequest) GetPageToken

func (x *ListRequest) GetPageToken() string

func (*ListRequest) GetType

func (x *ListRequest) GetType() string

func (*ListRequest) GetUniverse

func (x *ListRequest) GetUniverse() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

func (*ListRequest) Validate added in v1.32.1

func (m *ListRequest) Validate() error

Validate checks the field values on ListRequest 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 (*ListRequest) ValidateAll added in v1.32.1

func (m *ListRequest) ValidateAll() error

ValidateAll checks the field values on ListRequest 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 ListRequestMultiError, or nil if none found.

type ListRequestMultiError added in v1.32.1

type ListRequestMultiError []error

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

func (ListRequestMultiError) AllErrors added in v1.32.1

func (m ListRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListRequestMultiError) Error added in v1.32.1

func (m ListRequestMultiError) Error() string

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

type ListRequestValidationError added in v1.32.1

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

ListRequestValidationError is the validation error returned by ListRequest.Validate if the designated constraints aren't met.

func (ListRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ListRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListRequestValidationError) ErrorName added in v1.32.1

func (e ListRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ListRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ListRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ListResponse

type ListResponse struct {
	Entities      []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	NextPageToken string    `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

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

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetEntities

func (x *ListResponse) GetEntities() []*Entity

func (*ListResponse) GetNextPageToken

func (x *ListResponse) GetNextPageToken() string

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

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

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

func (*ListResponse) Validate added in v1.32.1

func (m *ListResponse) Validate() error

Validate checks the field values on ListResponse 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 (*ListResponse) ValidateAll added in v1.32.1

func (m *ListResponse) ValidateAll() error

ValidateAll checks the field values on ListResponse 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 ListResponseMultiError, or nil if none found.

type ListResponseMultiError added in v1.32.1

type ListResponseMultiError []error

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

func (ListResponseMultiError) AllErrors added in v1.32.1

func (m ListResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListResponseMultiError) Error added in v1.32.1

func (m ListResponseMultiError) Error() string

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

type ListResponseValidationError added in v1.32.1

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

ListResponseValidationError is the validation error returned by ListResponse.Validate if the designated constraints aren't met.

func (ListResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ListResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListResponseValidationError) ErrorName added in v1.32.1

func (e ListResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ListResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ListResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ListResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type Order added in v1.3.0

type Order int32
const (
	Order_ORDER_UNSPECIFIED Order = 0
	Order_ORDER_ASCENDING   Order = 1
	Order_ORDER_DESCENDING  Order = 2
)

func (Order) Descriptor added in v1.3.0

func (Order) Descriptor() protoreflect.EnumDescriptor

func (Order) Enum added in v1.3.0

func (x Order) Enum() *Order

func (Order) EnumDescriptor deprecated added in v1.3.0

func (Order) EnumDescriptor() ([]byte, []int)

Deprecated: Use Order.Descriptor instead.

func (Order) Number added in v1.3.0

func (x Order) Number() protoreflect.EnumNumber

func (Order) String added in v1.3.0

func (x Order) String() string

func (Order) Type added in v1.3.0

func (Order) Type() protoreflect.EnumType

type Record

type Record struct {
	Attributes []*Attribute `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*Record) Descriptor deprecated

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

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetAttributes

func (x *Record) GetAttributes() []*Attribute

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

func (*Record) Validate added in v1.32.1

func (m *Record) Validate() error

Validate checks the field values on Record 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 (*Record) ValidateAll added in v1.32.1

func (m *Record) ValidateAll() error

ValidateAll checks the field values on Record 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 RecordMultiError, or nil if none found.

type RecordMultiError added in v1.32.1

type RecordMultiError []error

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

func (RecordMultiError) AllErrors added in v1.32.1

func (m RecordMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RecordMultiError) Error added in v1.32.1

func (m RecordMultiError) Error() string

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

type RecordValidationError added in v1.32.1

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

RecordValidationError is the validation error returned by Record.Validate if the designated constraints aren't met.

func (RecordValidationError) Cause added in v1.32.1

func (e RecordValidationError) Cause() error

Cause function returns cause value.

func (RecordValidationError) Error added in v1.32.1

func (e RecordValidationError) Error() string

Error satisfies the builtin error interface

func (RecordValidationError) ErrorName added in v1.32.1

func (e RecordValidationError) ErrorName() string

ErrorName returns error name.

func (RecordValidationError) Field added in v1.32.1

func (e RecordValidationError) Field() string

Field function returns field value.

func (RecordValidationError) Key added in v1.32.1

func (e RecordValidationError) Key() bool

Key function returns key value.

func (RecordValidationError) Reason added in v1.32.1

func (e RecordValidationError) Reason() string

Reason function returns reason value.

type SelectRequest

type SelectRequest struct {
	Universe string `protobuf:"bytes,1,opt,name=universe,proto3" json:"universe,omitempty"`
	// The topmost parent entity to perform the selection on.
	// The entity service will load the descendents of this entity to
	// load all of the 'resource_type' resources belonging to this entity.
	BelongingTo  *EID   `protobuf:"bytes,2,opt,name=belonging_to,json=belongingTo,proto3" json:"belonging_to,omitempty"`
	ResourceType string `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// A Cedar expression to match entities for.
	When string `protobuf:"bytes,4,opt,name=when,proto3" json:"when,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectRequest) Descriptor deprecated

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

Deprecated: Use SelectRequest.ProtoReflect.Descriptor instead.

func (*SelectRequest) GetBelongingTo

func (x *SelectRequest) GetBelongingTo() *EID

func (*SelectRequest) GetResourceType

func (x *SelectRequest) GetResourceType() string

func (*SelectRequest) GetUniverse

func (x *SelectRequest) GetUniverse() string

func (*SelectRequest) GetWhen

func (x *SelectRequest) GetWhen() string

func (*SelectRequest) ProtoMessage

func (*SelectRequest) ProtoMessage()

func (*SelectRequest) ProtoReflect

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

func (*SelectRequest) Reset

func (x *SelectRequest) Reset()

func (*SelectRequest) String

func (x *SelectRequest) String() string

func (*SelectRequest) Validate added in v1.32.1

func (m *SelectRequest) Validate() error

Validate checks the field values on SelectRequest 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 (*SelectRequest) ValidateAll added in v1.32.1

func (m *SelectRequest) ValidateAll() error

ValidateAll checks the field values on SelectRequest 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 SelectRequestMultiError, or nil if none found.

type SelectRequestMultiError added in v1.32.1

type SelectRequestMultiError []error

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

func (SelectRequestMultiError) AllErrors added in v1.32.1

func (m SelectRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SelectRequestMultiError) Error added in v1.32.1

func (m SelectRequestMultiError) Error() string

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

type SelectRequestValidationError added in v1.32.1

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

SelectRequestValidationError is the validation error returned by SelectRequest.Validate if the designated constraints aren't met.

func (SelectRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (SelectRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (SelectRequestValidationError) ErrorName added in v1.32.1

func (e SelectRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SelectRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (SelectRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (SelectRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type SelectResponse

type SelectResponse struct {
	Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectResponse) Descriptor deprecated

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

Deprecated: Use SelectResponse.ProtoReflect.Descriptor instead.

func (*SelectResponse) GetEntities

func (x *SelectResponse) GetEntities() []*Entity

func (*SelectResponse) ProtoMessage

func (*SelectResponse) ProtoMessage()

func (*SelectResponse) ProtoReflect

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

func (*SelectResponse) Reset

func (x *SelectResponse) Reset()

func (*SelectResponse) String

func (x *SelectResponse) String() string

func (*SelectResponse) Validate added in v1.32.1

func (m *SelectResponse) Validate() error

Validate checks the field values on SelectResponse 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 (*SelectResponse) ValidateAll added in v1.32.1

func (m *SelectResponse) ValidateAll() error

ValidateAll checks the field values on SelectResponse 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 SelectResponseMultiError, or nil if none found.

type SelectResponseMultiError added in v1.32.1

type SelectResponseMultiError []error

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

func (SelectResponseMultiError) AllErrors added in v1.32.1

func (m SelectResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SelectResponseMultiError) Error added in v1.32.1

func (m SelectResponseMultiError) Error() string

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

type SelectResponseValidationError added in v1.32.1

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

SelectResponseValidationError is the validation error returned by SelectResponse.Validate if the designated constraints aren't met.

func (SelectResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (SelectResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (SelectResponseValidationError) ErrorName added in v1.32.1

func (e SelectResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SelectResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (SelectResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (SelectResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type Set

type Set struct {
	Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Set) Descriptor deprecated

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

Deprecated: Use Set.ProtoReflect.Descriptor instead.

func (*Set) GetValues

func (x *Set) GetValues() []*Value

func (*Set) ProtoMessage

func (*Set) ProtoMessage()

func (*Set) ProtoReflect

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

func (*Set) Reset

func (x *Set) Reset()

func (*Set) String

func (x *Set) String() string

func (*Set) Validate added in v1.32.1

func (m *Set) Validate() error

Validate checks the field values on Set 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 (*Set) ValidateAll added in v1.32.1

func (m *Set) ValidateAll() error

ValidateAll checks the field values on Set 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 SetMultiError, or nil if none found.

type SetMultiError added in v1.32.1

type SetMultiError []error

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

func (SetMultiError) AllErrors added in v1.32.1

func (m SetMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetMultiError) Error added in v1.32.1

func (m SetMultiError) Error() string

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

type SetValidationError added in v1.32.1

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

SetValidationError is the validation error returned by Set.Validate if the designated constraints aren't met.

func (SetValidationError) Cause added in v1.32.1

func (e SetValidationError) Cause() error

Cause function returns cause value.

func (SetValidationError) Error added in v1.32.1

func (e SetValidationError) Error() string

Error satisfies the builtin error interface

func (SetValidationError) ErrorName added in v1.32.1

func (e SetValidationError) ErrorName() string

ErrorName returns error name.

func (SetValidationError) Field added in v1.32.1

func (e SetValidationError) Field() string

Field function returns field value.

func (SetValidationError) Key added in v1.32.1

func (e SetValidationError) Key() bool

Key function returns key value.

func (SetValidationError) Reason added in v1.32.1

func (e SetValidationError) Reason() string

Reason function returns reason value.

type Value

type Value struct {

	// Types that are assignable to Value:
	//
	//	*Value_Str
	//	*Value_Bool
	//	*Value_Long
	//	*Value_Entity
	//	*Value_Record
	//	*Value_Set
	Value isValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBool

func (x *Value) GetBool() bool

func (*Value) GetEntity

func (x *Value) GetEntity() *EID

func (*Value) GetLong

func (x *Value) GetLong() int64

func (*Value) GetRecord

func (x *Value) GetRecord() *Record

func (*Value) GetSet

func (x *Value) GetSet() *Set

func (*Value) GetStr

func (x *Value) GetStr() string

func (*Value) GetValue

func (m *Value) GetValue() isValue_Value

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

func (*Value) Validate added in v1.32.1

func (m *Value) Validate() error

Validate checks the field values on Value 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 (*Value) ValidateAll added in v1.32.1

func (m *Value) ValidateAll() error

ValidateAll checks the field values on Value 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 ValueMultiError, or nil if none found.

type ValueMultiError added in v1.32.1

type ValueMultiError []error

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

func (ValueMultiError) AllErrors added in v1.32.1

func (m ValueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ValueMultiError) Error added in v1.32.1

func (m ValueMultiError) Error() string

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

type ValueValidationError added in v1.32.1

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

ValueValidationError is the validation error returned by Value.Validate if the designated constraints aren't met.

func (ValueValidationError) Cause added in v1.32.1

func (e ValueValidationError) Cause() error

Cause function returns cause value.

func (ValueValidationError) Error added in v1.32.1

func (e ValueValidationError) Error() string

Error satisfies the builtin error interface

func (ValueValidationError) ErrorName added in v1.32.1

func (e ValueValidationError) ErrorName() string

ErrorName returns error name.

func (ValueValidationError) Field added in v1.32.1

func (e ValueValidationError) Field() string

Field function returns field value.

func (ValueValidationError) Key added in v1.32.1

func (e ValueValidationError) Key() bool

Key function returns key value.

func (ValueValidationError) Reason added in v1.32.1

func (e ValueValidationError) Reason() string

Reason function returns reason value.

type Value_Bool

type Value_Bool struct {
	Bool bool `protobuf:"varint,2,opt,name=bool,proto3,oneof"`
}

type Value_Entity

type Value_Entity struct {
	Entity *EID `protobuf:"bytes,4,opt,name=entity,proto3,oneof"`
}

type Value_Long

type Value_Long struct {
	Long int64 `protobuf:"varint,3,opt,name=long,proto3,oneof"`
}

type Value_Record

type Value_Record struct {
	Record *Record `protobuf:"bytes,5,opt,name=record,proto3,oneof"`
}

type Value_Set

type Value_Set struct {
	Set *Set `protobuf:"bytes,6,opt,name=set,proto3,oneof"`
}

type Value_Str

type Value_Str struct {
	Str string `protobuf:"bytes,1,opt,name=str,proto3,oneof"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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