pb

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package pb defines protocol buffer message types intended for use in tmaps APIs.

These message types are different and independent from those used in storage.

Index

Constants

This section is empty.

Variables

View Source
var (
	Mask_name = map[int32]string{
		0: "UnspecifiedMask",
		1: "IdsMask",
		2: "RefsMask",
		3: "TopicsMask",
		4: "NamesMask",
		5: "OccurrencesMask",
		6: "ValueMask",
		7: "ParentMask",
	}
	Mask_value = map[string]int32{
		"UnspecifiedMask": 0,
		"IdsMask":         1,
		"RefsMask":        2,
		"TopicsMask":      3,
		"NamesMask":       4,
		"OccurrencesMask": 5,
		"ValueMask":       6,
		"ParentMask":      7,
	}
)

Enum value maps for Mask.

View Source
var (
	RefType_name = map[int32]string{
		0: "UnspecifiedRefType",
		1: "ItemIdentifier",
		2: "SubjectIdentifier",
		3: "SubjectLocator",
	}
	RefType_value = map[string]int32{
		"UnspecifiedRefType": 0,
		"ItemIdentifier":     1,
		"SubjectIdentifier":  2,
		"SubjectLocator":     3,
	}
)

Enum value maps for RefType.

View Source
var (
	ItemType_name = map[int32]string{
		0: "UnspecifiedItem",
		1: "LibraryItem",
		2: "TopicMapItem",
		3: "TopicItem",
		4: "NameItem",
		6: "OccurrenceItem",
	}
	ItemType_value = map[string]int32{
		"UnspecifiedItem": 0,
		"LibraryItem":     1,
		"TopicMapItem":    2,
		"TopicItem":       3,
		"NameItem":        4,
		"OccurrenceItem":  6,
	}
)

Enum value maps for ItemType.

View Source
var (
	Orderable_name = map[int32]string{
		0: "OrderableUnspecified",
		1: "OrderableNames",
		2: "OrderableOccurrences",
	}
	Orderable_value = map[string]int32{
		"OrderableUnspecified": 0,
		"OrderableNames":       1,
		"OrderableOccurrences": 2,
	}
)

Enum value maps for Orderable.

Functions

This section is empty.

Types

type AnyItem

type AnyItem struct {
	TopicMapId    uint64     `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	ItemId        uint64     `protobuf:"varint,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	ItemType      ItemType   `protobuf:"varint,3,opt,name=item_type,json=itemType,proto3,enum=notemaps.tmaps.pb.ItemType" json:"item_type,omitempty"`
	Refs          []*Ref     `protobuf:"bytes,4,rep,name=refs,proto3" json:"refs,omitempty"`
	NameIds       []uint64   `protobuf:"varint,5,rep,packed,name=name_ids,json=nameIds,proto3" json:"name_ids,omitempty"`
	Names         []*AnyItem `protobuf:"bytes,6,rep,name=names,proto3" json:"names,omitempty"`
	OccurrenceIds []uint64   `protobuf:"varint,7,rep,packed,name=occurrence_ids,json=occurrenceIds,proto3" json:"occurrence_ids,omitempty"`
	Occurrences   []*AnyItem `protobuf:"bytes,8,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	Value         string     `protobuf:"bytes,9,opt,name=value,proto3" json:"value,omitempty"`
	TypeRef       *Ref       `protobuf:"bytes,10,opt,name=type_ref,json=typeRef,proto3" json:"type_ref,omitempty"`
	RoleIds       []uint64   `protobuf:"varint,12,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	Roles         []*AnyItem `protobuf:"bytes,13,rep,name=roles,proto3" json:"roles,omitempty"`
	PlayerRef     *Ref       `protobuf:"bytes,11,opt,name=player_ref,json=playerRef,proto3" json:"player_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*AnyItem) Descriptor deprecated

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

Deprecated: Use AnyItem.ProtoReflect.Descriptor instead.

func (*AnyItem) GetItemId

func (x *AnyItem) GetItemId() uint64

func (*AnyItem) GetItemType

func (x *AnyItem) GetItemType() ItemType

func (*AnyItem) GetNameIds

func (x *AnyItem) GetNameIds() []uint64

func (*AnyItem) GetNames

func (x *AnyItem) GetNames() []*AnyItem

func (*AnyItem) GetOccurrenceIds

func (x *AnyItem) GetOccurrenceIds() []uint64

func (*AnyItem) GetOccurrences

func (x *AnyItem) GetOccurrences() []*AnyItem

func (*AnyItem) GetPlayerRef

func (x *AnyItem) GetPlayerRef() *Ref

func (*AnyItem) GetRefs

func (x *AnyItem) GetRefs() []*Ref

func (*AnyItem) GetRoleIds

func (x *AnyItem) GetRoleIds() []uint64

func (*AnyItem) GetRoles

func (x *AnyItem) GetRoles() []*AnyItem

func (*AnyItem) GetTopicMapId

func (x *AnyItem) GetTopicMapId() uint64

func (*AnyItem) GetTypeRef

func (x *AnyItem) GetTypeRef() *Ref

func (*AnyItem) GetValue

func (x *AnyItem) GetValue() string

func (*AnyItem) ProtoMessage

func (*AnyItem) ProtoMessage()

func (*AnyItem) ProtoReflect added in v0.0.2

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

func (*AnyItem) Reset

func (x *AnyItem) Reset()

func (*AnyItem) String

func (x *AnyItem) String() string

type CreationRequest

type CreationRequest struct {

	// May be zero only if type is TopicMap.
	TopicMapId uint64 `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	// May be zero only if type is TopicMap.
	Parent uint64 `protobuf:"varint,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// Must not be Library.
	ItemType ItemType `protobuf:"varint,3,opt,name=item_type,json=itemType,proto3,enum=notemaps.tmaps.pb.ItemType" json:"item_type,omitempty"`
	// contains filtered or unexported fields
}

func (*CreationRequest) Descriptor deprecated

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

Deprecated: Use CreationRequest.ProtoReflect.Descriptor instead.

func (*CreationRequest) GetItemType

func (x *CreationRequest) GetItemType() ItemType

func (*CreationRequest) GetParent

func (x *CreationRequest) GetParent() uint64

func (*CreationRequest) GetTopicMapId

func (x *CreationRequest) GetTopicMapId() uint64

func (*CreationRequest) ProtoMessage

func (*CreationRequest) ProtoMessage()

func (*CreationRequest) ProtoReflect added in v0.0.2

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

func (*CreationRequest) Reset

func (x *CreationRequest) Reset()

func (*CreationRequest) String

func (x *CreationRequest) String() string

type DeletionRequest

type DeletionRequest struct {
	TopicMapId uint64   `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	Id         uint64   `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	ItemType   ItemType `protobuf:"varint,3,opt,name=item_type,json=itemType,proto3,enum=notemaps.tmaps.pb.ItemType" json:"item_type,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletionRequest) Descriptor deprecated

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

Deprecated: Use DeletionRequest.ProtoReflect.Descriptor instead.

func (*DeletionRequest) GetId

func (x *DeletionRequest) GetId() uint64

func (*DeletionRequest) GetItemType

func (x *DeletionRequest) GetItemType() ItemType

func (*DeletionRequest) GetTopicMapId

func (x *DeletionRequest) GetTopicMapId() uint64

func (*DeletionRequest) ProtoMessage

func (*DeletionRequest) ProtoMessage()

func (*DeletionRequest) ProtoReflect added in v0.0.2

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

func (*DeletionRequest) Reset

func (x *DeletionRequest) Reset()

func (*DeletionRequest) String

func (x *DeletionRequest) String() string

type DeletionResponse

type DeletionResponse struct {
	TopicMapId uint64   `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	Id         uint64   `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	ItemType   ItemType `protobuf:"varint,3,opt,name=item_type,json=itemType,proto3,enum=notemaps.tmaps.pb.ItemType" json:"item_type,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletionResponse) Descriptor deprecated

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

Deprecated: Use DeletionResponse.ProtoReflect.Descriptor instead.

func (*DeletionResponse) GetId

func (x *DeletionResponse) GetId() uint64

func (*DeletionResponse) GetItemType

func (x *DeletionResponse) GetItemType() ItemType

func (*DeletionResponse) GetTopicMapId

func (x *DeletionResponse) GetTopicMapId() uint64

func (*DeletionResponse) ProtoMessage

func (*DeletionResponse) ProtoMessage()

func (*DeletionResponse) ProtoReflect added in v0.0.2

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

func (*DeletionResponse) Reset

func (x *DeletionResponse) Reset()

func (*DeletionResponse) String

func (x *DeletionResponse) String() string

type Item

type Item struct {

	// Types that are assignable to Specific:
	//	*Item_Library
	//	*Item_TopicMap
	//	*Item_Topic
	//	*Item_Name
	//	*Item_Occurrence
	Specific isItem_Specific `protobuf_oneof:"specific"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetLibrary

func (x *Item) GetLibrary() *Library

func (*Item) GetName

func (x *Item) GetName() *Name

func (*Item) GetOccurrence

func (x *Item) GetOccurrence() *Occurrence

func (*Item) GetSpecific

func (m *Item) GetSpecific() isItem_Specific

func (*Item) GetTopic

func (x *Item) GetTopic() *Topic

func (*Item) GetTopicMap

func (x *Item) GetTopicMap() *TopicMap

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect added in v0.0.2

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type ItemType

type ItemType int32
const (
	ItemType_UnspecifiedItem ItemType = 0
	ItemType_LibraryItem     ItemType = 1
	ItemType_TopicMapItem    ItemType = 2
	ItemType_TopicItem       ItemType = 3
	ItemType_NameItem        ItemType = 4
	// VariantItem = 5;
	ItemType_OccurrenceItem ItemType = 6
)

func (ItemType) Descriptor added in v0.0.2

func (ItemType) Descriptor() protoreflect.EnumDescriptor

func (ItemType) Enum added in v0.0.2

func (x ItemType) Enum() *ItemType

func (ItemType) EnumDescriptor deprecated

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

Deprecated: Use ItemType.Descriptor instead.

func (ItemType) Number added in v0.0.2

func (x ItemType) Number() protoreflect.EnumNumber

func (ItemType) String

func (x ItemType) String() string

func (ItemType) Type added in v0.0.2

type Item_Library

type Item_Library struct {
	Library *Library `protobuf:"bytes,1,opt,name=library,proto3,oneof"`
}

type Item_Name

type Item_Name struct {
	Name *Name `protobuf:"bytes,4,opt,name=name,proto3,oneof"`
}

type Item_Occurrence

type Item_Occurrence struct {
	// Variant variant = 5;
	Occurrence *Occurrence `protobuf:"bytes,6,opt,name=occurrence,proto3,oneof"`
}

type Item_Topic

type Item_Topic struct {
	Topic *Topic `protobuf:"bytes,3,opt,name=topic,proto3,oneof"`
}

type Item_TopicMap

type Item_TopicMap struct {
	TopicMap *TopicMap `protobuf:"bytes,2,opt,name=topic_map,json=topicMap,proto3,oneof"`
}

type Library

type Library struct {
	TopicMapIds []uint64 `protobuf:"varint,1,rep,packed,name=topic_map_ids,json=topicMapIds,proto3" json:"topic_map_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*Library) Descriptor deprecated

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

Deprecated: Use Library.ProtoReflect.Descriptor instead.

func (*Library) GetTopicMapIds

func (x *Library) GetTopicMapIds() []uint64

func (*Library) ProtoMessage

func (*Library) ProtoMessage()

func (*Library) ProtoReflect added in v0.0.2

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

func (*Library) Reset

func (x *Library) Reset()

func (*Library) String

func (x *Library) String() string

type LoadRequest

type LoadRequest struct {

	// If necessary, identifies the topic map that contains the item to load.
	TopicMapId uint64 `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	// Identifies the item to load.
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// Specifies which type of item to load. For items that can be reified by a
	// topic, there are multiple valid types for the same id.
	ItemType ItemType `protobuf:"varint,3,opt,name=item_type,json=itemType,proto3,enum=notemaps.tmaps.pb.ItemType" json:"item_type,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadRequest) Descriptor deprecated

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

Deprecated: Use LoadRequest.ProtoReflect.Descriptor instead.

func (*LoadRequest) GetId

func (x *LoadRequest) GetId() uint64

func (*LoadRequest) GetItemType

func (x *LoadRequest) GetItemType() ItemType

func (*LoadRequest) GetTopicMapId

func (x *LoadRequest) GetTopicMapId() uint64

func (*LoadRequest) ProtoMessage

func (*LoadRequest) ProtoMessage()

func (*LoadRequest) ProtoReflect added in v0.0.2

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

func (*LoadRequest) Reset

func (x *LoadRequest) Reset()

func (*LoadRequest) String

func (x *LoadRequest) String() string

type LoadResponse

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

func (*LoadResponse) Descriptor deprecated

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

Deprecated: Use LoadResponse.ProtoReflect.Descriptor instead.

func (*LoadResponse) GetItem

func (x *LoadResponse) GetItem() *Item

func (*LoadResponse) ProtoMessage

func (*LoadResponse) ProtoMessage()

func (*LoadResponse) ProtoReflect added in v0.0.2

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

func (*LoadResponse) Reset

func (x *LoadResponse) Reset()

func (*LoadResponse) String

func (x *LoadResponse) String() string

type Mask

type Mask int32
const (
	Mask_UnspecifiedMask Mask = 0
	Mask_IdsMask         Mask = 1
	Mask_RefsMask        Mask = 2
	Mask_TopicsMask      Mask = 3
	Mask_NamesMask       Mask = 4
	Mask_OccurrencesMask Mask = 5
	Mask_ValueMask       Mask = 6
	Mask_ParentMask      Mask = 7
)

func (Mask) Descriptor added in v0.0.2

func (Mask) Descriptor() protoreflect.EnumDescriptor

func (Mask) Enum added in v0.0.2

func (x Mask) Enum() *Mask

func (Mask) EnumDescriptor deprecated

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

Deprecated: Use Mask.Descriptor instead.

func (Mask) Number added in v0.0.2

func (x Mask) Number() protoreflect.EnumNumber

func (Mask) String

func (x Mask) String() string

func (Mask) Type added in v0.0.2

func (Mask) Type() protoreflect.EnumType

type MutationRequest

type MutationRequest struct {
	CreationRequests    []*CreationRequest    `protobuf:"bytes,1,rep,name=creation_requests,json=creationRequests,proto3" json:"creation_requests,omitempty"`
	UpdateOrderRequests []*UpdateOrderRequest `protobuf:"bytes,2,rep,name=update_order_requests,json=updateOrderRequests,proto3" json:"update_order_requests,omitempty"`
	UpdateValueRequests []*UpdateValueRequest `protobuf:"bytes,3,rep,name=update_value_requests,json=updateValueRequests,proto3" json:"update_value_requests,omitempty"`
	DeletionRequests    []*DeletionRequest    `protobuf:"bytes,4,rep,name=deletion_requests,json=deletionRequests,proto3" json:"deletion_requests,omitempty"`
	// contains filtered or unexported fields
}

func (*MutationRequest) Descriptor deprecated

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

Deprecated: Use MutationRequest.ProtoReflect.Descriptor instead.

func (*MutationRequest) GetCreationRequests

func (x *MutationRequest) GetCreationRequests() []*CreationRequest

func (*MutationRequest) GetDeletionRequests

func (x *MutationRequest) GetDeletionRequests() []*DeletionRequest

func (*MutationRequest) GetUpdateOrderRequests

func (x *MutationRequest) GetUpdateOrderRequests() []*UpdateOrderRequest

func (*MutationRequest) GetUpdateValueRequests

func (x *MutationRequest) GetUpdateValueRequests() []*UpdateValueRequest

func (*MutationRequest) ProtoMessage

func (*MutationRequest) ProtoMessage()

func (*MutationRequest) ProtoReflect added in v0.0.2

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

func (*MutationRequest) Reset

func (x *MutationRequest) Reset()

func (*MutationRequest) String

func (x *MutationRequest) String() string

type MutationResponse

type MutationResponse struct {
	CreationResponses    []*UpdateResponse   `protobuf:"bytes,1,rep,name=creation_responses,json=creationResponses,proto3" json:"creation_responses,omitempty"`
	UpdateOrderResponses []*UpdateResponse   `protobuf:"bytes,2,rep,name=update_order_responses,json=updateOrderResponses,proto3" json:"update_order_responses,omitempty"`
	UpdateValueResponses []*UpdateResponse   `protobuf:"bytes,3,rep,name=update_value_responses,json=updateValueResponses,proto3" json:"update_value_responses,omitempty"`
	DeletionResponses    []*DeletionResponse `protobuf:"bytes,4,rep,name=deletion_responses,json=deletionResponses,proto3" json:"deletion_responses,omitempty"`
	// contains filtered or unexported fields
}

func (*MutationResponse) Descriptor deprecated

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

Deprecated: Use MutationResponse.ProtoReflect.Descriptor instead.

func (*MutationResponse) GetCreationResponses

func (x *MutationResponse) GetCreationResponses() []*UpdateResponse

func (*MutationResponse) GetDeletionResponses

func (x *MutationResponse) GetDeletionResponses() []*DeletionResponse

func (*MutationResponse) GetUpdateOrderResponses

func (x *MutationResponse) GetUpdateOrderResponses() []*UpdateResponse

func (*MutationResponse) GetUpdateValueResponses

func (x *MutationResponse) GetUpdateValueResponses() []*UpdateResponse

func (*MutationResponse) ProtoMessage

func (*MutationResponse) ProtoMessage()

func (*MutationResponse) ProtoReflect added in v0.0.2

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

func (*MutationResponse) Reset

func (x *MutationResponse) Reset()

func (*MutationResponse) String

func (x *MutationResponse) String() string

type Name

type Name struct {
	TopicMapId uint64 `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	ParentId   uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Id         uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	Value      string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Name) Descriptor deprecated

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

Deprecated: Use Name.ProtoReflect.Descriptor instead.

func (*Name) GetId

func (x *Name) GetId() uint64

func (*Name) GetParentId

func (x *Name) GetParentId() uint64

func (*Name) GetTopicMapId

func (x *Name) GetTopicMapId() uint64

func (*Name) GetValue

func (x *Name) GetValue() string

func (*Name) ProtoMessage

func (*Name) ProtoMessage()

func (*Name) ProtoReflect added in v0.0.2

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

func (*Name) Reset

func (x *Name) Reset()

func (*Name) String

func (x *Name) String() string

type Occurrence

type Occurrence struct {
	TopicMapId uint64 `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	ParentId   uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Id         uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	Value      string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Occurrence) Descriptor deprecated

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

Deprecated: Use Occurrence.ProtoReflect.Descriptor instead.

func (*Occurrence) GetId

func (x *Occurrence) GetId() uint64

func (*Occurrence) GetParentId

func (x *Occurrence) GetParentId() uint64

func (*Occurrence) GetTopicMapId

func (x *Occurrence) GetTopicMapId() uint64

func (*Occurrence) GetValue

func (x *Occurrence) GetValue() string

func (*Occurrence) ProtoMessage

func (*Occurrence) ProtoMessage()

func (*Occurrence) ProtoReflect added in v0.0.2

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

func (*Occurrence) Reset

func (x *Occurrence) Reset()

func (*Occurrence) String

func (x *Occurrence) String() string

type Orderable

type Orderable int32
const (
	Orderable_OrderableUnspecified Orderable = 0
	Orderable_OrderableNames       Orderable = 1
	Orderable_OrderableOccurrences Orderable = 2
)

func (Orderable) Descriptor added in v0.0.2

func (Orderable) Descriptor() protoreflect.EnumDescriptor

func (Orderable) Enum added in v0.0.2

func (x Orderable) Enum() *Orderable

func (Orderable) EnumDescriptor deprecated

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

Deprecated: Use Orderable.Descriptor instead.

func (Orderable) Number added in v0.0.2

func (x Orderable) Number() protoreflect.EnumNumber

func (Orderable) String

func (x Orderable) String() string

func (Orderable) Type added in v0.0.2

type QueryRequest

type QueryRequest struct {
	LoadRequests   []*LoadRequest   `protobuf:"bytes,1,rep,name=load_requests,json=loadRequests,proto3" json:"load_requests,omitempty"`
	SearchRequests []*SearchRequest `protobuf:"bytes,2,rep,name=search_requests,json=searchRequests,proto3" json:"search_requests,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRequest) Descriptor deprecated

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

Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.

func (*QueryRequest) GetLoadRequests

func (x *QueryRequest) GetLoadRequests() []*LoadRequest

func (*QueryRequest) GetSearchRequests

func (x *QueryRequest) GetSearchRequests() []*SearchRequest

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) ProtoReflect added in v0.0.2

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

func (*QueryRequest) Reset

func (x *QueryRequest) Reset()

func (*QueryRequest) String

func (x *QueryRequest) String() string

type QueryResponse

type QueryResponse struct {
	LoadResponses   []*LoadResponse   `protobuf:"bytes,1,rep,name=load_responses,json=loadResponses,proto3" json:"load_responses,omitempty"`
	SearchResponses []*SearchResponse `protobuf:"bytes,2,rep,name=search_responses,json=searchResponses,proto3" json:"search_responses,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryResponse) Descriptor deprecated

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

Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.

func (*QueryResponse) GetLoadResponses

func (x *QueryResponse) GetLoadResponses() []*LoadResponse

func (*QueryResponse) GetSearchResponses

func (x *QueryResponse) GetSearchResponses() []*SearchResponse

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) ProtoReflect added in v0.0.2

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

func (*QueryResponse) Reset

func (x *QueryResponse) Reset()

func (*QueryResponse) String

func (x *QueryResponse) String() string

type Ref

type Ref struct {
	Type RefType `protobuf:"varint,1,opt,name=type,proto3,enum=notemaps.tmaps.pb.RefType" json:"type,omitempty"`
	Iri  string  `protobuf:"bytes,2,opt,name=iri,proto3" json:"iri,omitempty"`
	// contains filtered or unexported fields
}

func (*Ref) Descriptor deprecated

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

Deprecated: Use Ref.ProtoReflect.Descriptor instead.

func (*Ref) GetIri

func (x *Ref) GetIri() string

func (*Ref) GetType

func (x *Ref) GetType() RefType

func (*Ref) ProtoMessage

func (*Ref) ProtoMessage()

func (*Ref) ProtoReflect added in v0.0.2

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

func (*Ref) Reset

func (x *Ref) Reset()

func (*Ref) String

func (x *Ref) String() string

type RefType

type RefType int32
const (
	RefType_UnspecifiedRefType RefType = 0
	RefType_ItemIdentifier     RefType = 1
	RefType_SubjectIdentifier  RefType = 2
	RefType_SubjectLocator     RefType = 3
)

func (RefType) Descriptor added in v0.0.2

func (RefType) Descriptor() protoreflect.EnumDescriptor

func (RefType) Enum added in v0.0.2

func (x RefType) Enum() *RefType

func (RefType) EnumDescriptor deprecated

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

Deprecated: Use RefType.Descriptor instead.

func (RefType) Number added in v0.0.2

func (x RefType) Number() protoreflect.EnumNumber

func (RefType) String

func (x RefType) String() string

func (RefType) Type added in v0.0.2

func (RefType) Type() protoreflect.EnumType

type SearchRequest

type SearchRequest struct {
	TopicMapIds []uint64 `protobuf:"varint,1,rep,packed,name=topic_map_ids,json=topicMapIds,proto3" json:"topic_map_ids,omitempty"`
	Tmql        string   `protobuf:"bytes,2,opt,name=tmql,proto3" json:"tmql,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

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

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetTmql

func (x *SearchRequest) GetTmql() string

func (*SearchRequest) GetTopicMapIds

func (x *SearchRequest) GetTopicMapIds() []uint64

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect added in v0.0.2

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

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResponse

type SearchResponse struct {
	Items  []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Count  uint64  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Offset uint64  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

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

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetCount

func (x *SearchResponse) GetCount() uint64

func (*SearchResponse) GetItems

func (x *SearchResponse) GetItems() []*Item

func (*SearchResponse) GetOffset

func (x *SearchResponse) GetOffset() uint64

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect added in v0.0.2

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

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type Topic

type Topic struct {
	TopicMapId    uint64        `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	Id            uint64        `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Names         []*Name       `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
	Occurrences   []*Occurrence `protobuf:"bytes,4,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
	NameIds       []uint64      `protobuf:"varint,5,rep,packed,name=name_ids,json=nameIds,proto3" json:"name_ids,omitempty"`
	OccurrenceIds []uint64      `protobuf:"varint,6,rep,packed,name=occurrence_ids,json=occurrenceIds,proto3" json:"occurrence_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*Topic) Descriptor deprecated

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

Deprecated: Use Topic.ProtoReflect.Descriptor instead.

func (*Topic) GetId

func (x *Topic) GetId() uint64

func (*Topic) GetNameIds

func (x *Topic) GetNameIds() []uint64

func (*Topic) GetNames

func (x *Topic) GetNames() []*Name

func (*Topic) GetOccurrenceIds

func (x *Topic) GetOccurrenceIds() []uint64

func (*Topic) GetOccurrences

func (x *Topic) GetOccurrences() []*Occurrence

func (*Topic) GetTopicMapId

func (x *Topic) GetTopicMapId() uint64

func (*Topic) ProtoMessage

func (*Topic) ProtoMessage()

func (*Topic) ProtoReflect added in v0.0.2

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

func (*Topic) Reset

func (x *Topic) Reset()

func (*Topic) String

func (x *Topic) String() string

type TopicMap

type TopicMap struct {
	Id      uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Topic   *Topic `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
	InTrash bool   `protobuf:"varint,3,opt,name=in_trash,json=inTrash,proto3" json:"in_trash,omitempty"`
	// contains filtered or unexported fields
}

func (*TopicMap) Descriptor deprecated

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

Deprecated: Use TopicMap.ProtoReflect.Descriptor instead.

func (*TopicMap) GetId

func (x *TopicMap) GetId() uint64

func (*TopicMap) GetInTrash

func (x *TopicMap) GetInTrash() bool

func (*TopicMap) GetTopic

func (x *TopicMap) GetTopic() *Topic

func (*TopicMap) ProtoMessage

func (*TopicMap) ProtoMessage()

func (*TopicMap) ProtoReflect added in v0.0.2

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

func (*TopicMap) Reset

func (x *TopicMap) Reset()

func (*TopicMap) String

func (x *TopicMap) String() string

type Tuple

type Tuple struct {
	Items []*AnyItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Tuple) Descriptor deprecated

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

Deprecated: Use Tuple.ProtoReflect.Descriptor instead.

func (*Tuple) GetItems

func (x *Tuple) GetItems() []*AnyItem

func (*Tuple) ProtoMessage

func (*Tuple) ProtoMessage()

func (*Tuple) ProtoReflect added in v0.0.2

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

func (*Tuple) Reset

func (x *Tuple) Reset()

func (*Tuple) String

func (x *Tuple) String() string

type TupleSequence

type TupleSequence struct {
	Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"`
	// contains filtered or unexported fields
}

func (*TupleSequence) Descriptor deprecated

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

Deprecated: Use TupleSequence.ProtoReflect.Descriptor instead.

func (*TupleSequence) GetTuples

func (x *TupleSequence) GetTuples() []*Tuple

func (*TupleSequence) ProtoMessage

func (*TupleSequence) ProtoMessage()

func (*TupleSequence) ProtoReflect added in v0.0.2

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

func (*TupleSequence) Reset

func (x *TupleSequence) Reset()

func (*TupleSequence) String

func (x *TupleSequence) String() string

type UpdateOrderRequest

type UpdateOrderRequest struct {
	TopicMapId uint64    `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	Id         uint64    `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Orderable  Orderable `protobuf:"varint,4,opt,name=orderable,proto3,enum=notemaps.tmaps.pb.Orderable" json:"orderable,omitempty"`
	SrcIndices []uint32  `protobuf:"varint,5,rep,packed,name=src_indices,json=srcIndices,proto3" json:"src_indices,omitempty"`
	DstIndices []uint32  `protobuf:"varint,6,rep,packed,name=dst_indices,json=dstIndices,proto3" json:"dst_indices,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOrderRequest) Descriptor deprecated

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

Deprecated: Use UpdateOrderRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrderRequest) GetDstIndices

func (x *UpdateOrderRequest) GetDstIndices() []uint32

func (*UpdateOrderRequest) GetId

func (x *UpdateOrderRequest) GetId() uint64

func (*UpdateOrderRequest) GetOrderable

func (x *UpdateOrderRequest) GetOrderable() Orderable

func (*UpdateOrderRequest) GetSrcIndices

func (x *UpdateOrderRequest) GetSrcIndices() []uint32

func (*UpdateOrderRequest) GetTopicMapId

func (x *UpdateOrderRequest) GetTopicMapId() uint64

func (*UpdateOrderRequest) ProtoMessage

func (*UpdateOrderRequest) ProtoMessage()

func (*UpdateOrderRequest) ProtoReflect added in v0.0.2

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

func (*UpdateOrderRequest) Reset

func (x *UpdateOrderRequest) Reset()

func (*UpdateOrderRequest) String

func (x *UpdateOrderRequest) String() string

type UpdateResponse

type UpdateResponse struct {
	TopicMapId uint64 `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	Id         uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Item       *Item  `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) GetId

func (x *UpdateResponse) GetId() uint64

func (*UpdateResponse) GetItem

func (x *UpdateResponse) GetItem() *Item

func (*UpdateResponse) GetTopicMapId

func (x *UpdateResponse) GetTopicMapId() uint64

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect added in v0.0.2

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

type UpdateValueRequest

type UpdateValueRequest struct {
	TopicMapId uint64   `protobuf:"varint,1,opt,name=topic_map_id,json=topicMapId,proto3" json:"topic_map_id,omitempty"`
	Id         uint64   `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	ItemType   ItemType `protobuf:"varint,3,opt,name=item_type,json=itemType,proto3,enum=notemaps.tmaps.pb.ItemType" json:"item_type,omitempty"`
	Value      string   `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateValueRequest) Descriptor deprecated

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

Deprecated: Use UpdateValueRequest.ProtoReflect.Descriptor instead.

func (*UpdateValueRequest) GetId

func (x *UpdateValueRequest) GetId() uint64

func (*UpdateValueRequest) GetItemType

func (x *UpdateValueRequest) GetItemType() ItemType

func (*UpdateValueRequest) GetTopicMapId

func (x *UpdateValueRequest) GetTopicMapId() uint64

func (*UpdateValueRequest) GetValue

func (x *UpdateValueRequest) GetValue() string

func (*UpdateValueRequest) ProtoMessage

func (*UpdateValueRequest) ProtoMessage()

func (*UpdateValueRequest) ProtoReflect added in v0.0.2

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

func (*UpdateValueRequest) Reset

func (x *UpdateValueRequest) Reset()

func (*UpdateValueRequest) String

func (x *UpdateValueRequest) String() string

Jump to

Keyboard shortcuts

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