example1

package
v0.0.0-...-02ef5dd Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-dynamo. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	NamedKind_name = map[int32]string{
		0: "NameKindUnknown",
		1: "NamedKindCertificate",
	}
	NamedKind_value = map[string]int32{
		"NameKindUnknown":      0,
		"NamedKindCertificate": 1,
	}
)

Enum value maps for NamedKind.

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Details.ProtoReflect.Descriptor instead.

func (*Details) GetBar

func (x *Details) GetBar() *NamedOccurence

func (*Details) GetFoo

func (x *Details) GetFoo() string

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

func (*Details) Reset

func (x *Details) Reset()

func (*Details) String

func (x *Details) String() string

type Foo

type Foo struct{}

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) Descriptor() ([]byte, []int)

Deprecated: Use NamedItem.ProtoReflect.Descriptor instead.

func (*NamedItem) GetEntity

func (x *NamedItem) GetEntity() *NamedEntity

func (*NamedItem) GetItem

func (m *NamedItem) GetItem() isNamedItem_Item

func (*NamedItem) GetKind

func (x *NamedItem) GetKind() NamedKind

func (*NamedItem) GetOccurence

func (x *NamedItem) GetOccurence() *NamedOccurence

func (*NamedItem) GetPk

func (x *NamedItem) GetPk() []byte

func (*NamedItem) GetSk1

func (x *NamedItem) GetSk1() string

func (*NamedItem) GetTs

func (x *NamedItem) GetTs() int64

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

func (*NamedItem) Reset

func (x *NamedItem) Reset()

func (*NamedItem) String

func (x *NamedItem) String() string

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 (*NamedItem_CreateNamedIfNotExist) GetMaxKind

func (*NamedItem_CreateNamedIfNotExist) ProtoMessage

func (*NamedItem_CreateNamedIfNotExist) ProtoMessage()

func (*NamedItem_CreateNamedIfNotExist) ProtoReflect

func (*NamedItem_CreateNamedIfNotExist) Reset

func (*NamedItem_CreateNamedIfNotExist) 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 (*NamedItem_QueryEntitiesByKind) GetPrefix

func (x *NamedItem_QueryEntitiesByKind) GetPrefix() string

func (*NamedItem_QueryEntitiesByKind) ProtoMessage

func (*NamedItem_QueryEntitiesByKind) ProtoMessage()

func (*NamedItem_QueryEntitiesByKind) ProtoReflect

func (*NamedItem_QueryEntitiesByKind) Reset

func (x *NamedItem_QueryEntitiesByKind) Reset()

func (*NamedItem_QueryEntitiesByKind) String

type NamedKind

type NamedKind int32

NamedKind categorizes named entities

const (
	NamedKind_NameKindUnknown      NamedKind = 0
	NamedKind_NamedKindCertificate NamedKind = 1
)

func (NamedKind) Descriptor

func (NamedKind) Descriptor() protoreflect.EnumDescriptor

func (NamedKind) Enum

func (x NamedKind) Enum() *NamedKind

func (NamedKind) EnumDescriptor deprecated

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

Deprecated: Use NamedKind.Descriptor instead.

func (NamedKind) Number

func (x NamedKind) Number() protoreflect.EnumNumber

func (NamedKind) String

func (x NamedKind) String() string

func (NamedKind) Type

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

Jump to

Keyboard shortcuts

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