Documentation
¶
Index ¶
- Variables
- type Object
- func (m *Object) CloneMessageVT() proto.Message
- func (m *Object) CloneVT() *Object
- func (*Object) Descriptor() ([]byte, []int)deprecated
- func (this *Object) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Object) EqualVT(that *Object) bool
- func (x *Object) GetCreatedAt() *timestamppb.Timestampdeprecated
- func (x *Object) GetDisplayName() stringdeprecated
- func (x *Object) GetEtag() string
- func (x *Object) GetId() string
- func (x *Object) GetProperties() *structpb.Struct
- func (x *Object) GetType() string
- func (x *Object) GetUpdatedAt() *timestamppb.Timestamp
- func (m *Object) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Object) MarshalToVT(dAtA []byte) (int, error)
- func (m *Object) MarshalVT() (dAtA []byte, err error)
- func (*Object) ProtoMessage()
- func (x *Object) ProtoReflect() protoreflect.Message
- func (x *Object) Reset()
- func (m *Object) SizeVT() (n int)
- func (x *Object) String() string
- func (m *Object) UnmarshalVT(dAtA []byte) error
- type ObjectIdentifier
- func (m *ObjectIdentifier) CloneMessageVT() proto.Message
- func (m *ObjectIdentifier) CloneVT() *ObjectIdentifier
- func (*ObjectIdentifier) Descriptor() ([]byte, []int)deprecated
- func (this *ObjectIdentifier) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ObjectIdentifier) EqualVT(that *ObjectIdentifier) bool
- func (x *ObjectIdentifier) GetObjectId() string
- func (x *ObjectIdentifier) GetObjectType() string
- func (m *ObjectIdentifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectIdentifier) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectIdentifier) MarshalVT() (dAtA []byte, err error)
- func (*ObjectIdentifier) ProtoMessage()
- func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message
- func (x *ObjectIdentifier) Reset()
- func (m *ObjectIdentifier) SizeVT() (n int)
- func (x *ObjectIdentifier) String() string
- func (m *ObjectIdentifier) UnmarshalVT(dAtA []byte) error
- type PaginationRequest
- func (m *PaginationRequest) CloneMessageVT() proto.Message
- func (m *PaginationRequest) CloneVT() *PaginationRequest
- func (*PaginationRequest) Descriptor() ([]byte, []int)deprecated
- func (this *PaginationRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *PaginationRequest) EqualVT(that *PaginationRequest) bool
- func (x *PaginationRequest) GetSize() int32
- func (x *PaginationRequest) GetToken() string
- func (m *PaginationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PaginationRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PaginationRequest) MarshalVT() (dAtA []byte, err error)
- func (*PaginationRequest) ProtoMessage()
- func (x *PaginationRequest) ProtoReflect() protoreflect.Message
- func (x *PaginationRequest) Reset()
- func (m *PaginationRequest) SizeVT() (n int)
- func (x *PaginationRequest) String() string
- func (m *PaginationRequest) UnmarshalVT(dAtA []byte) error
- type PaginationResponse
- func (m *PaginationResponse) CloneMessageVT() proto.Message
- func (m *PaginationResponse) CloneVT() *PaginationResponse
- func (*PaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (this *PaginationResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *PaginationResponse) EqualVT(that *PaginationResponse) bool
- func (x *PaginationResponse) GetNextToken() string
- func (m *PaginationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PaginationResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PaginationResponse) MarshalVT() (dAtA []byte, err error)
- func (*PaginationResponse) ProtoMessage()
- func (x *PaginationResponse) ProtoReflect() protoreflect.Message
- func (x *PaginationResponse) Reset()
- func (m *PaginationResponse) SizeVT() (n int)
- func (x *PaginationResponse) String() string
- func (m *PaginationResponse) UnmarshalVT(dAtA []byte) error
- type Relation
- func (m *Relation) CloneMessageVT() proto.Message
- func (m *Relation) CloneVT() *Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (this *Relation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Relation) EqualVT(that *Relation) bool
- func (x *Relation) GetCreatedAt() *timestamppb.Timestampdeprecated
- func (x *Relation) GetEtag() string
- func (x *Relation) GetObjectId() string
- func (x *Relation) GetObjectType() string
- func (x *Relation) GetRelation() string
- func (x *Relation) GetSubjectId() string
- func (x *Relation) GetSubjectRelation() string
- func (x *Relation) GetSubjectType() string
- func (x *Relation) GetUpdatedAt() *timestamppb.Timestamp
- func (m *Relation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Relation) MarshalToVT(dAtA []byte) (int, error)
- func (m *Relation) MarshalVT() (dAtA []byte, err error)
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (m *Relation) SizeVT() (n int)
- func (x *Relation) String() string
- func (m *Relation) UnmarshalVT(dAtA []byte) error
- type RelationIdentifier
- func (m *RelationIdentifier) CloneMessageVT() proto.Message
- func (m *RelationIdentifier) CloneVT() *RelationIdentifier
- func (*RelationIdentifier) Descriptor() ([]byte, []int)deprecated
- func (this *RelationIdentifier) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationIdentifier) EqualVT(that *RelationIdentifier) bool
- func (x *RelationIdentifier) GetObjectId() string
- func (x *RelationIdentifier) GetObjectType() string
- func (x *RelationIdentifier) GetRelation() string
- func (x *RelationIdentifier) GetSubjectId() string
- func (x *RelationIdentifier) GetSubjectRelation() string
- func (x *RelationIdentifier) GetSubjectType() string
- func (m *RelationIdentifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationIdentifier) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationIdentifier) MarshalVT() (dAtA []byte, err error)
- func (*RelationIdentifier) ProtoMessage()
- func (x *RelationIdentifier) ProtoReflect() protoreflect.Message
- func (x *RelationIdentifier) Reset()
- func (m *RelationIdentifier) ResetVT()
- func (m *RelationIdentifier) ReturnToVTPool()
- func (m *RelationIdentifier) SizeVT() (n int)
- func (x *RelationIdentifier) String() string
- func (m *RelationIdentifier) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var File_v3_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object struct {
// object type identifier
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// object instance identifier
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// display name object (optional) (DEPRECATED)
//
// Deprecated: Marked as deprecated in v3/common/common.proto.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,proto3" json:"display_name,omitempty"`
// property bag (optional)
Properties *structpb.Struct `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"`
// created at timestamp (UTC) (DEPRECATED)
//
// Deprecated: Marked as deprecated in v3/common/common.proto.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,proto3" json:"created_at,omitempty"`
// last updated timestamp (UTC)
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,proto3" json:"updated_at,omitempty"`
// object instance etag (optional)
Etag string `protobuf:"bytes,23,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
func (*Object) CloneMessageVT ¶
func (*Object) Descriptor
deprecated
func (*Object) GetCreatedAt
deprecated
func (x *Object) GetCreatedAt() *timestamppb.Timestamp
Deprecated: Marked as deprecated in v3/common/common.proto.
func (*Object) GetDisplayName
deprecated
func (*Object) GetProperties ¶
func (*Object) GetUpdatedAt ¶
func (x *Object) GetUpdatedAt() *timestamppb.Timestamp
func (*Object) MarshalToSizedBufferVT ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶
func (x *Object) ProtoReflect() protoreflect.Message
func (*Object) UnmarshalVT ¶
type ObjectIdentifier ¶
type ObjectIdentifier struct {
// object type identifier
ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
// object instance identifier
ObjectId string `protobuf:"bytes,2,opt,name=object_id,proto3" json:"object_id,omitempty"`
// contains filtered or unexported fields
}
Object identifier
func (*ObjectIdentifier) CloneMessageVT ¶
func (m *ObjectIdentifier) CloneMessageVT() proto.Message
func (*ObjectIdentifier) CloneVT ¶
func (m *ObjectIdentifier) CloneVT() *ObjectIdentifier
func (*ObjectIdentifier) Descriptor
deprecated
func (*ObjectIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ObjectIdentifier.ProtoReflect.Descriptor instead.
func (*ObjectIdentifier) EqualMessageVT ¶
func (this *ObjectIdentifier) EqualMessageVT(thatMsg proto.Message) bool
func (*ObjectIdentifier) EqualVT ¶
func (this *ObjectIdentifier) EqualVT(that *ObjectIdentifier) bool
func (*ObjectIdentifier) GetObjectId ¶
func (x *ObjectIdentifier) GetObjectId() string
func (*ObjectIdentifier) GetObjectType ¶
func (x *ObjectIdentifier) GetObjectType() string
func (*ObjectIdentifier) MarshalToSizedBufferVT ¶
func (m *ObjectIdentifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectIdentifier) MarshalToVT ¶
func (m *ObjectIdentifier) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectIdentifier) MarshalVT ¶
func (m *ObjectIdentifier) MarshalVT() (dAtA []byte, err error)
func (*ObjectIdentifier) ProtoMessage ¶
func (*ObjectIdentifier) ProtoMessage()
func (*ObjectIdentifier) ProtoReflect ¶
func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message
func (*ObjectIdentifier) Reset ¶
func (x *ObjectIdentifier) Reset()
func (*ObjectIdentifier) SizeVT ¶
func (m *ObjectIdentifier) SizeVT() (n int)
func (*ObjectIdentifier) String ¶
func (x *ObjectIdentifier) String() string
func (*ObjectIdentifier) UnmarshalVT ¶
func (m *ObjectIdentifier) UnmarshalVT(dAtA []byte) error
type PaginationRequest ¶
type PaginationRequest struct {
// requested page size, valid value between 1-100 rows (optional, default 100)
Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
// pagination start token (optional, default "")
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
Pagination request
func (*PaginationRequest) CloneMessageVT ¶
func (m *PaginationRequest) CloneMessageVT() proto.Message
func (*PaginationRequest) CloneVT ¶
func (m *PaginationRequest) CloneVT() *PaginationRequest
func (*PaginationRequest) Descriptor
deprecated
func (*PaginationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.
func (*PaginationRequest) EqualMessageVT ¶
func (this *PaginationRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*PaginationRequest) EqualVT ¶
func (this *PaginationRequest) EqualVT(that *PaginationRequest) bool
func (*PaginationRequest) GetSize ¶
func (x *PaginationRequest) GetSize() int32
func (*PaginationRequest) GetToken ¶
func (x *PaginationRequest) GetToken() string
func (*PaginationRequest) MarshalToSizedBufferVT ¶
func (m *PaginationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PaginationRequest) MarshalToVT ¶
func (m *PaginationRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PaginationRequest) MarshalVT ¶
func (m *PaginationRequest) MarshalVT() (dAtA []byte, err error)
func (*PaginationRequest) ProtoMessage ¶
func (*PaginationRequest) ProtoMessage()
func (*PaginationRequest) ProtoReflect ¶
func (x *PaginationRequest) ProtoReflect() protoreflect.Message
func (*PaginationRequest) Reset ¶
func (x *PaginationRequest) Reset()
func (*PaginationRequest) SizeVT ¶
func (m *PaginationRequest) SizeVT() (n int)
func (*PaginationRequest) String ¶
func (x *PaginationRequest) String() string
func (*PaginationRequest) UnmarshalVT ¶
func (m *PaginationRequest) UnmarshalVT(dAtA []byte) error
type PaginationResponse ¶
type PaginationResponse struct {
// next page token, when empty there are no more pages to fetch
NextToken string `protobuf:"bytes,1,opt,name=next_token,proto3" json:"next_token,omitempty"`
// contains filtered or unexported fields
}
Pagination response
func (*PaginationResponse) CloneMessageVT ¶
func (m *PaginationResponse) CloneMessageVT() proto.Message
func (*PaginationResponse) CloneVT ¶
func (m *PaginationResponse) CloneVT() *PaginationResponse
func (*PaginationResponse) Descriptor
deprecated
func (*PaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaginationResponse.ProtoReflect.Descriptor instead.
func (*PaginationResponse) EqualMessageVT ¶
func (this *PaginationResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*PaginationResponse) EqualVT ¶
func (this *PaginationResponse) EqualVT(that *PaginationResponse) bool
func (*PaginationResponse) GetNextToken ¶
func (x *PaginationResponse) GetNextToken() string
func (*PaginationResponse) MarshalToSizedBufferVT ¶
func (m *PaginationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PaginationResponse) MarshalToVT ¶
func (m *PaginationResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PaginationResponse) MarshalVT ¶
func (m *PaginationResponse) MarshalVT() (dAtA []byte, err error)
func (*PaginationResponse) ProtoMessage ¶
func (*PaginationResponse) ProtoMessage()
func (*PaginationResponse) ProtoReflect ¶
func (x *PaginationResponse) ProtoReflect() protoreflect.Message
func (*PaginationResponse) Reset ¶
func (x *PaginationResponse) Reset()
func (*PaginationResponse) SizeVT ¶
func (m *PaginationResponse) SizeVT() (n int)
func (*PaginationResponse) String ¶
func (x *PaginationResponse) String() string
func (*PaginationResponse) UnmarshalVT ¶
func (m *PaginationResponse) UnmarshalVT(dAtA []byte) error
type Relation ¶
type Relation struct {
// object type identifier
ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
// object instance identifier
ObjectId string `protobuf:"bytes,2,opt,name=object_id,proto3" json:"object_id,omitempty"`
// object relation name
Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
// subject type identifier
SubjectType string `protobuf:"bytes,4,opt,name=subject_type,proto3" json:"subject_type,omitempty"`
// subject instance identifier
SubjectId string `protobuf:"bytes,5,opt,name=subject_id,proto3" json:"subject_id,omitempty"`
// subject relation name (optional)
SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,proto3" json:"subject_relation,omitempty"`
// created at timestamp (UTC) (DEPRECATED)
//
// Deprecated: Marked as deprecated in v3/common/common.proto.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,proto3" json:"created_at,omitempty"`
// last updated timestamp (UTC)
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,proto3" json:"updated_at,omitempty"`
// object instance etag (optional)
Etag string `protobuf:"bytes,23,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
func (*Relation) CloneMessageVT ¶
func (*Relation) Descriptor
deprecated
func (*Relation) GetCreatedAt
deprecated
func (x *Relation) GetCreatedAt() *timestamppb.Timestamp
Deprecated: Marked as deprecated in v3/common/common.proto.
func (*Relation) GetObjectId ¶
func (*Relation) GetObjectType ¶
func (*Relation) GetRelation ¶
func (*Relation) GetSubjectId ¶
func (*Relation) GetSubjectRelation ¶
func (*Relation) GetSubjectType ¶
func (*Relation) GetUpdatedAt ¶
func (x *Relation) GetUpdatedAt() *timestamppb.Timestamp
func (*Relation) MarshalToSizedBufferVT ¶
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) ProtoReflect ¶
func (x *Relation) ProtoReflect() protoreflect.Message
func (*Relation) UnmarshalVT ¶
type RelationIdentifier ¶
type RelationIdentifier struct {
// object type identifier
ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
// object instance identifier
ObjectId string `protobuf:"bytes,2,opt,name=object_id,proto3" json:"object_id,omitempty"`
// object relation name
Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
// subject type identifier
SubjectType string `protobuf:"bytes,4,opt,name=subject_type,proto3" json:"subject_type,omitempty"`
// subject instance identifier
SubjectId string `protobuf:"bytes,5,opt,name=subject_id,proto3" json:"subject_id,omitempty"`
// subject relation name (optional)
SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,proto3" json:"subject_relation,omitempty"`
// contains filtered or unexported fields
}
Relation identifier
func RelationIdentifierFromVTPool ¶
func RelationIdentifierFromVTPool() *RelationIdentifier
func (*RelationIdentifier) CloneMessageVT ¶
func (m *RelationIdentifier) CloneMessageVT() proto.Message
func (*RelationIdentifier) CloneVT ¶
func (m *RelationIdentifier) CloneVT() *RelationIdentifier
func (*RelationIdentifier) Descriptor
deprecated
func (*RelationIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use RelationIdentifier.ProtoReflect.Descriptor instead.
func (*RelationIdentifier) EqualMessageVT ¶
func (this *RelationIdentifier) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationIdentifier) EqualVT ¶
func (this *RelationIdentifier) EqualVT(that *RelationIdentifier) bool
func (*RelationIdentifier) GetObjectId ¶
func (x *RelationIdentifier) GetObjectId() string
func (*RelationIdentifier) GetObjectType ¶
func (x *RelationIdentifier) GetObjectType() string
func (*RelationIdentifier) GetRelation ¶
func (x *RelationIdentifier) GetRelation() string
func (*RelationIdentifier) GetSubjectId ¶
func (x *RelationIdentifier) GetSubjectId() string
func (*RelationIdentifier) GetSubjectRelation ¶
func (x *RelationIdentifier) GetSubjectRelation() string
func (*RelationIdentifier) GetSubjectType ¶
func (x *RelationIdentifier) GetSubjectType() string
func (*RelationIdentifier) MarshalToSizedBufferVT ¶
func (m *RelationIdentifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationIdentifier) MarshalToVT ¶
func (m *RelationIdentifier) MarshalToVT(dAtA []byte) (int, error)
func (*RelationIdentifier) MarshalVT ¶
func (m *RelationIdentifier) MarshalVT() (dAtA []byte, err error)
func (*RelationIdentifier) ProtoMessage ¶
func (*RelationIdentifier) ProtoMessage()
func (*RelationIdentifier) ProtoReflect ¶
func (x *RelationIdentifier) ProtoReflect() protoreflect.Message
func (*RelationIdentifier) Reset ¶
func (x *RelationIdentifier) Reset()
func (*RelationIdentifier) ResetVT ¶
func (m *RelationIdentifier) ResetVT()
func (*RelationIdentifier) ReturnToVTPool ¶
func (m *RelationIdentifier) ReturnToVTPool()
func (*RelationIdentifier) SizeVT ¶
func (m *RelationIdentifier) SizeVT() (n int)
func (*RelationIdentifier) String ¶
func (x *RelationIdentifier) String() string
func (*RelationIdentifier) UnmarshalVT ¶
func (m *RelationIdentifier) UnmarshalVT(dAtA []byte) error