Documentation ¶
Overview ¶
Code generated by protoc-gen-dynamo. DO NOT EDIT.
Index ¶
- Variables
- type Details
- func (*Details) Descriptor() ([]byte, []int)deprecated
- func (x *Details) GetBar() *NamedOccurence
- func (x *Details) GetFoo() string
- func (x Details) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
- func (*Details) ProtoMessage()
- func (x *Details) ProtoReflect() protoreflect.Message
- func (x *Details) Reset()
- func (x *Details) String() string
- type Foo
- type NamedEntity
- func (*NamedEntity) Descriptor() ([]byte, []int)deprecated
- func (x *NamedEntity) GetAltSpelling() []string
- func (x *NamedEntity) GetKind() NamedKind
- func (x *NamedEntity) GetName() string
- func (x NamedEntity) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
- func (*NamedEntity) ProtoMessage()
- func (x *NamedEntity) ProtoReflect() protoreflect.Message
- func (x *NamedEntity) Reset()
- func (x *NamedEntity) String() string
- type NamedEntity_ID
- type NamedItem
- func (*NamedItem) Descriptor() ([]byte, []int)deprecated
- func (x *NamedItem) GetEntity() *NamedEntity
- func (m *NamedItem) GetItem() isNamedItem_Item
- func (x *NamedItem) GetKind() NamedKind
- func (x *NamedItem) GetOccurence() *NamedOccurence
- func (x *NamedItem) GetPk() []byte
- func (x *NamedItem) GetSk1() string
- func (x *NamedItem) GetTs() int64
- func (x NamedItem) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
- func (*NamedItem) ProtoMessage()
- func (x *NamedItem) ProtoReflect() protoreflect.Message
- func (x *NamedItem) Reset()
- func (x *NamedItem) String() string
- type NamedItem_AddAltSpelling
- func (*NamedItem_AddAltSpelling) Descriptor() ([]byte, []int)deprecated
- func (x *NamedItem_AddAltSpelling) GetAltSpelling() string
- func (x *NamedItem_AddAltSpelling) GetEntityId() *NamedEntity_ID
- func (*NamedItem_AddAltSpelling) ProtoMessage()
- func (x *NamedItem_AddAltSpelling) ProtoReflect() protoreflect.Message
- func (x *NamedItem_AddAltSpelling) Reset()
- func (x *NamedItem_AddAltSpelling) String() string
- type NamedItem_CreateNamedIfNotExist
- func (*NamedItem_CreateNamedIfNotExist) Descriptor() ([]byte, []int)deprecated
- func (x *NamedItem_CreateNamedIfNotExist) GetEntity() *NamedEntity
- func (x *NamedItem_CreateNamedIfNotExist) GetMaxKind() NamedKind
- func (*NamedItem_CreateNamedIfNotExist) ProtoMessage()
- func (x *NamedItem_CreateNamedIfNotExist) ProtoReflect() protoreflect.Message
- func (x *NamedItem_CreateNamedIfNotExist) Reset()
- func (x *NamedItem_CreateNamedIfNotExist) String() string
- type NamedItem_Entity
- type NamedItem_Occurence
- type NamedItem_QueryEntitiesByKind
- func (*NamedItem_QueryEntitiesByKind) Descriptor() ([]byte, []int)deprecated
- func (x *NamedItem_QueryEntitiesByKind) GetKind() NamedKind
- func (x *NamedItem_QueryEntitiesByKind) GetPrefix() string
- func (*NamedItem_QueryEntitiesByKind) ProtoMessage()
- func (x *NamedItem_QueryEntitiesByKind) ProtoReflect() protoreflect.Message
- func (x *NamedItem_QueryEntitiesByKind) Reset()
- func (x *NamedItem_QueryEntitiesByKind) String() string
- type NamedKind
- type NamedOccurence
- func (*NamedOccurence) Descriptor() ([]byte, []int)deprecated
- func (x *NamedOccurence) GetDetails() *Details
- func (x *NamedOccurence) GetName() string
- func (x *NamedOccurence) GetNamedId() []byte
- func (x *NamedOccurence) GetProfileId() []byte
- func (x NamedOccurence) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
- func (*NamedOccurence) ProtoMessage()
- func (x *NamedOccurence) ProtoReflect() protoreflect.Message
- func (x *NamedOccurence) Reset()
- func (x *NamedOccurence) String() string
Constants ¶
This section is empty.
Variables ¶
var ( NamedKind_name = map[int32]string{ 0: "NameKindUnknown", 1: "NamedKindCertificate", } NamedKind_value = map[string]int32{ "NameKindUnknown": 0, "NamedKindCertificate": 1, } )
Enum value maps for NamedKind.
var File_service1_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct { Foo string `protobuf:"bytes,1,opt,name=foo,proto3" json:"foo,omitempty"` Bar *NamedOccurence `protobuf:"bytes,2,opt,name=bar,proto3" json:"bar,omitempty"` // contains filtered or unexported fields }
func (*Details) Descriptor
deprecated
func (*Details) GetBar ¶
func (x *Details) GetBar() *NamedOccurence
func (Details) MarshalDynamoDBAttributeValue ¶
func (x Details) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
func (*Details) ProtoMessage ¶
func (*Details) ProtoMessage()
func (*Details) ProtoReflect ¶
func (x *Details) ProtoReflect() protoreflect.Message
type NamedEntity ¶
type NamedEntity struct { Kind NamedKind `protobuf:"varint,2,opt,name=kind,proto3,enum=example1.NamedKind" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` AltSpelling []string `protobuf:"bytes,4,rep,name=alt_spelling,json=altSpelling,proto3" json:"alt_spelling,omitempty"` // contains filtered or unexported fields }
NamedEntity represents single named 'thing' that occures in profiles
func (*NamedEntity) Descriptor
deprecated
func (*NamedEntity) Descriptor() ([]byte, []int)
Deprecated: Use NamedEntity.ProtoReflect.Descriptor instead.
func (*NamedEntity) GetAltSpelling ¶
func (x *NamedEntity) GetAltSpelling() []string
func (*NamedEntity) GetKind ¶
func (x *NamedEntity) GetKind() NamedKind
func (*NamedEntity) GetName ¶
func (x *NamedEntity) GetName() string
func (NamedEntity) MarshalDynamoDBAttributeValue ¶
func (x NamedEntity) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
func (*NamedEntity) ProtoMessage ¶
func (*NamedEntity) ProtoMessage()
func (*NamedEntity) ProtoReflect ¶
func (x *NamedEntity) ProtoReflect() protoreflect.Message
func (*NamedEntity) Reset ¶
func (x *NamedEntity) Reset()
func (*NamedEntity) String ¶
func (x *NamedEntity) String() string
type NamedEntity_ID ¶
type NamedEntity_ID struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NamedEntity_ID) Descriptor
deprecated
func (*NamedEntity_ID) Descriptor() ([]byte, []int)
Deprecated: Use NamedEntity_ID.ProtoReflect.Descriptor instead.
func (*NamedEntity_ID) GetId ¶
func (x *NamedEntity_ID) GetId() []byte
func (*NamedEntity_ID) ProtoMessage ¶
func (*NamedEntity_ID) ProtoMessage()
func (*NamedEntity_ID) ProtoReflect ¶
func (x *NamedEntity_ID) ProtoReflect() protoreflect.Message
func (*NamedEntity_ID) Reset ¶
func (x *NamedEntity_ID) Reset()
func (*NamedEntity_ID) String ¶
func (x *NamedEntity_ID) String() string
type NamedItem ¶
type NamedItem struct { Pk []byte `protobuf:"bytes,1,opt,name=pk,proto3" json:"pk,omitempty"` Sk1 string `protobuf:"bytes,2,opt,name=sk1,proto3" json:"sk1,omitempty"` Kind NamedKind `protobuf:"varint,3,opt,name=kind,proto3,enum=example1.NamedKind" json:"kind,omitempty"` Ts int64 `protobuf:"varint,4,opt,name=ts,proto3" json:"ts,omitempty"` // Types that are assignable to Item: // *NamedItem_Entity // *NamedItem_Occurence Item isNamedItem_Item `protobuf_oneof:"item"` // contains filtered or unexported fields }
NamedItem describes all possible data that is inserted into the 'Named' table
func (*NamedItem) Descriptor
deprecated
func (*NamedItem) GetEntity ¶
func (x *NamedItem) GetEntity() *NamedEntity
func (*NamedItem) GetOccurence ¶
func (x *NamedItem) GetOccurence() *NamedOccurence
func (NamedItem) MarshalDynamoDBAttributeValue ¶
func (x NamedItem) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
func (*NamedItem) ProtoMessage ¶
func (*NamedItem) ProtoMessage()
func (*NamedItem) ProtoReflect ¶
func (x *NamedItem) ProtoReflect() protoreflect.Message
type NamedItem_AddAltSpelling ¶
type NamedItem_AddAltSpelling struct { EntityId *NamedEntity_ID `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` AltSpelling string `protobuf:"bytes,2,opt,name=alt_spelling,json=altSpelling,proto3" json:"alt_spelling,omitempty"` // contains filtered or unexported fields }
AddAltSpelling will add the spelling to the attribute
func (*NamedItem_AddAltSpelling) Descriptor
deprecated
func (*NamedItem_AddAltSpelling) Descriptor() ([]byte, []int)
Deprecated: Use NamedItem_AddAltSpelling.ProtoReflect.Descriptor instead.
func (*NamedItem_AddAltSpelling) GetAltSpelling ¶
func (x *NamedItem_AddAltSpelling) GetAltSpelling() string
func (*NamedItem_AddAltSpelling) GetEntityId ¶
func (x *NamedItem_AddAltSpelling) GetEntityId() *NamedEntity_ID
func (*NamedItem_AddAltSpelling) ProtoMessage ¶
func (*NamedItem_AddAltSpelling) ProtoMessage()
func (*NamedItem_AddAltSpelling) ProtoReflect ¶
func (x *NamedItem_AddAltSpelling) ProtoReflect() protoreflect.Message
func (*NamedItem_AddAltSpelling) Reset ¶
func (x *NamedItem_AddAltSpelling) Reset()
func (*NamedItem_AddAltSpelling) String ¶
func (x *NamedItem_AddAltSpelling) String() string
type NamedItem_CreateNamedIfNotExist ¶
type NamedItem_CreateNamedIfNotExist struct { Entity *NamedEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` MaxKind NamedKind `protobuf:"varint,2,opt,name=max_kind,json=maxKind,proto3,enum=example1.NamedKind" json:"max_kind,omitempty"` // contains filtered or unexported fields }
CreateNamedIfNotExist will put a named item under a condition
func (*NamedItem_CreateNamedIfNotExist) Descriptor
deprecated
func (*NamedItem_CreateNamedIfNotExist) Descriptor() ([]byte, []int)
Deprecated: Use NamedItem_CreateNamedIfNotExist.ProtoReflect.Descriptor instead.
func (*NamedItem_CreateNamedIfNotExist) GetEntity ¶
func (x *NamedItem_CreateNamedIfNotExist) GetEntity() *NamedEntity
func (*NamedItem_CreateNamedIfNotExist) GetMaxKind ¶
func (x *NamedItem_CreateNamedIfNotExist) GetMaxKind() NamedKind
func (*NamedItem_CreateNamedIfNotExist) ProtoMessage ¶
func (*NamedItem_CreateNamedIfNotExist) ProtoMessage()
func (*NamedItem_CreateNamedIfNotExist) ProtoReflect ¶
func (x *NamedItem_CreateNamedIfNotExist) ProtoReflect() protoreflect.Message
func (*NamedItem_CreateNamedIfNotExist) Reset ¶
func (x *NamedItem_CreateNamedIfNotExist) Reset()
func (*NamedItem_CreateNamedIfNotExist) String ¶
func (x *NamedItem_CreateNamedIfNotExist) String() string
type NamedItem_Entity ¶
type NamedItem_Entity struct {
Entity *NamedEntity `protobuf:"bytes,15,opt,name=entity,proto3,oneof"`
}
type NamedItem_Occurence ¶
type NamedItem_Occurence struct {
Occurence *NamedOccurence `protobuf:"bytes,6,opt,name=occurence,proto3,oneof"`
}
type NamedItem_QueryEntitiesByKind ¶
type NamedItem_QueryEntitiesByKind struct { // arguments for the query Kind NamedKind `protobuf:"varint,1,opt,name=kind,proto3,enum=example1.NamedKind" json:"kind,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
Nested messages represent access patterns on the table or its indexes. creates one of the dynamodb dp operations: Query, Scan, Update, Delete, Put, Get and Check
func (*NamedItem_QueryEntitiesByKind) Descriptor
deprecated
func (*NamedItem_QueryEntitiesByKind) Descriptor() ([]byte, []int)
Deprecated: Use NamedItem_QueryEntitiesByKind.ProtoReflect.Descriptor instead.
func (*NamedItem_QueryEntitiesByKind) GetKind ¶
func (x *NamedItem_QueryEntitiesByKind) GetKind() NamedKind
func (*NamedItem_QueryEntitiesByKind) GetPrefix ¶
func (x *NamedItem_QueryEntitiesByKind) GetPrefix() string
func (*NamedItem_QueryEntitiesByKind) ProtoMessage ¶
func (*NamedItem_QueryEntitiesByKind) ProtoMessage()
func (*NamedItem_QueryEntitiesByKind) ProtoReflect ¶
func (x *NamedItem_QueryEntitiesByKind) ProtoReflect() protoreflect.Message
func (*NamedItem_QueryEntitiesByKind) Reset ¶
func (x *NamedItem_QueryEntitiesByKind) Reset()
func (*NamedItem_QueryEntitiesByKind) String ¶
func (x *NamedItem_QueryEntitiesByKind) String() string
type NamedKind ¶
type NamedKind int32
NamedKind categorizes named entities
func (NamedKind) Descriptor ¶
func (NamedKind) Descriptor() protoreflect.EnumDescriptor
func (NamedKind) EnumDescriptor
deprecated
func (NamedKind) Number ¶
func (x NamedKind) Number() protoreflect.EnumNumber
func (NamedKind) Type ¶
func (NamedKind) Type() protoreflect.EnumType
type NamedOccurence ¶
type NamedOccurence struct { ProfileId []byte `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` NamedId []byte `protobuf:"bytes,2,opt,name=named_id,json=namedId,proto3" json:"named_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Details *Details `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
NamedOccurence represents the occurence of a named entity in a profile
func (*NamedOccurence) Descriptor
deprecated
func (*NamedOccurence) Descriptor() ([]byte, []int)
Deprecated: Use NamedOccurence.ProtoReflect.Descriptor instead.
func (*NamedOccurence) GetDetails ¶
func (x *NamedOccurence) GetDetails() *Details
func (*NamedOccurence) GetName ¶
func (x *NamedOccurence) GetName() string
func (*NamedOccurence) GetNamedId ¶
func (x *NamedOccurence) GetNamedId() []byte
func (*NamedOccurence) GetProfileId ¶
func (x *NamedOccurence) GetProfileId() []byte
func (NamedOccurence) MarshalDynamoDBAttributeValue ¶
func (x NamedOccurence) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
func (*NamedOccurence) ProtoMessage ¶
func (*NamedOccurence) ProtoMessage()
func (*NamedOccurence) ProtoReflect ¶
func (x *NamedOccurence) ProtoReflect() protoreflect.Message
func (*NamedOccurence) Reset ¶
func (x *NamedOccurence) Reset()
func (*NamedOccurence) String ¶
func (x *NamedOccurence) String() string