messagev1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package messagev1 hold generated Go code

Index

Constants

This section is empty.

Variables

View Source
var (
	Dirtyness_name = map[int32]string{
		0: "DIRTYNESS_UNSPECIFIED",
		1: "DIRTYNESS_CLEAN",
	}
	Dirtyness_value = map[string]int32{
		"DIRTYNESS_UNSPECIFIED": 0,
		"DIRTYNESS_CLEAN":       1,
	}
)

Enum value maps for Dirtyness.

View Source
var File_example_message_v1_message_proto protoreflect.FileDescriptor
View Source
var File_example_message_v1_other_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Appliance

type Appliance struct {

	// brand of the appliance
	Brand string `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"`
	// contains filtered or unexported fields
}

Appliance in the kitchen

func (*Appliance) Descriptor deprecated

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

Deprecated: Use Appliance.ProtoReflect.Descriptor instead.

func (*Appliance) GetBrand

func (x *Appliance) GetBrand() string

func (*Appliance) MarshalDynamoItem

func (x *Appliance) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*Appliance) ProtoMessage

func (*Appliance) ProtoMessage()

func (*Appliance) ProtoReflect

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

func (*Appliance) Reset

func (x *Appliance) Reset()

func (*Appliance) String

func (x *Appliance) String() string

func (*Appliance) UnmarshalDynamoItem

func (x *Appliance) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type ApplianceP added in v0.2.0

type ApplianceP struct {
	ddb.P
}

ApplianceP allows for constructing type-safe expression names

func AppliancePath added in v0.2.0

func AppliancePath() ApplianceP

AppliancePath starts the building of an expression path into Appliance

func (ApplianceP) Brand added in v0.2.0

func (p ApplianceP) Brand() ddb.P

Brand returns 'p' with the attribute name appended

func (ApplianceP) Set added in v0.2.0

func (p ApplianceP) Set(v string) ApplianceP

Set allows generic list builder to replace the path value

type Car

type Car struct {

	// kitchen sink
	Engine *Engine `protobuf:"bytes,1,opt,name=engine,proto3" json:"engine,omitempty"`
	// how many wheels does the car have
	NrOfWheels int64 `protobuf:"varint,3,opt,name=nr_of_wheels,json=nrOfWheels,proto3" json:"nr_of_wheels,omitempty"`
	// name of the car
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Car message

func (*Car) Descriptor deprecated

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

Deprecated: Use Car.ProtoReflect.Descriptor instead.

func (*Car) GetEngine

func (x *Car) GetEngine() *Engine

func (*Car) GetName

func (x *Car) GetName() string

func (*Car) GetNrOfWheels added in v0.1.0

func (x *Car) GetNrOfWheels() int64

func (*Car) MarshalDynamoItem

func (x *Car) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*Car) MarshalDynamoKey added in v0.1.1

func (x *Car) MarshalDynamoKey() (m map[string]types.AttributeValue, err error)

MarshalDynamoKey encodes only the item's key attributes into a DynamoDB attribute map

func (*Car) PartitionKey added in v0.1.0

func (x *Car) PartitionKey() (name string, value int64)

PartitionKey returns the name of the Dynamo attribute that holds th partition key and the current value of that key in the struct

func (*Car) ProtoMessage

func (*Car) ProtoMessage()

func (*Car) ProtoReflect

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

func (*Car) Reset

func (x *Car) Reset()

func (*Car) SortKey added in v0.1.0

func (x *Car) SortKey() (name string, value string)

Sortkey returns the name of the Dynamo attribute that holds the sort key and the current value of that key in the struct

func (*Car) String

func (x *Car) String() string

func (*Car) UnmarshalDynamoItem

func (x *Car) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type CarP added in v0.2.0

type CarP struct {
	ddb.P
}

CarP allows for constructing type-safe expression names

func CarPath added in v0.2.0

func CarPath() CarP

CarPath starts the building of an expression path into Car

func (CarP) Engine added in v0.2.0

func (p CarP) Engine() EngineP

Engine returns 'p' with the attribute name appended and allow subselecting nested message

func (CarP) Name added in v0.2.0

func (p CarP) Name() ddb.P

Name returns 'p' with the attribute name appended

func (CarP) NrOfWheels added in v0.2.0

func (p CarP) NrOfWheels() ddb.P

NrOfWheels returns 'p' with the attribute name appended

func (CarP) Set added in v0.2.0

func (p CarP) Set(v string) CarP

Set allows generic list builder to replace the path value

type Dirtyness

type Dirtyness int32

DirtyNess describes how dirty a sink is

const (
	// unknown amount of dirtyness
	Dirtyness_DIRTYNESS_UNSPECIFIED Dirtyness = 0
	// no dirtyness
	Dirtyness_DIRTYNESS_CLEAN Dirtyness = 1
)

func (Dirtyness) Descriptor

func (Dirtyness) Descriptor() protoreflect.EnumDescriptor

func (Dirtyness) Enum

func (x Dirtyness) Enum() *Dirtyness

func (Dirtyness) EnumDescriptor deprecated

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

Deprecated: Use Dirtyness.Descriptor instead.

func (Dirtyness) Number

func (x Dirtyness) Number() protoreflect.EnumNumber

func (Dirtyness) String

func (x Dirtyness) String() string

func (Dirtyness) Type

type Empty

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

Empty message

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) MarshalDynamoItem

func (x *Empty) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

func (*Empty) UnmarshalDynamoItem

func (x *Empty) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type EmptyP added in v0.2.0

type EmptyP struct {
	ddb.P
}

EmptyP allows for constructing type-safe expression names

func EmptyPath added in v0.2.0

func EmptyPath() EmptyP

EmptyPath starts the building of an expression path into Empty

func (EmptyP) Set added in v0.2.0

func (p EmptyP) Set(v string) EmptyP

Set allows generic list builder to replace the path value

type Engine

type Engine struct {

	// brand name
	Brand string `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"`
	// how dirty is the sink
	Dirtyness Dirtyness `protobuf:"varint,2,opt,name=dirtyness,proto3,enum=example.message.v1.Dirtyness" json:"dirtyness,omitempty"`
	// contains filtered or unexported fields
}

Engine of a car

func (*Engine) Descriptor deprecated

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

Deprecated: Use Engine.ProtoReflect.Descriptor instead.

func (*Engine) GetBrand

func (x *Engine) GetBrand() string

func (*Engine) GetDirtyness

func (x *Engine) GetDirtyness() Dirtyness

func (*Engine) MarshalDynamoItem

func (x *Engine) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*Engine) ProtoMessage

func (*Engine) ProtoMessage()

func (*Engine) ProtoReflect

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

func (*Engine) Reset

func (x *Engine) Reset()

func (*Engine) String

func (x *Engine) String() string

func (*Engine) UnmarshalDynamoItem

func (x *Engine) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type EngineP added in v0.2.0

type EngineP struct {
	ddb.P
}

EngineP allows for constructing type-safe expression names

func EnginePath added in v0.2.0

func EnginePath() EngineP

EnginePath starts the building of an expression path into Engine

func (EngineP) Brand added in v0.2.0

func (p EngineP) Brand() ddb.P

Brand returns 'p' with the attribute name appended

func (EngineP) Dirtyness added in v0.2.0

func (p EngineP) Dirtyness() ddb.P

Dirtyness returns 'p' with the attribute name appended

func (EngineP) Set added in v0.2.0

func (p EngineP) Set(v string) EngineP

Set allows generic list builder to replace the path value

type FieldPresence

type FieldPresence struct {

	// string field
	Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"`
	// optional string field
	OptStr *string `protobuf:"bytes,2,opt,name=opt_str,json=optStr,proto3,oneof" json:"opt_str,omitempty"`
	// msg field
	Msg *Engine `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	// optional message field
	OptMsg *Engine `protobuf:"bytes,4,opt,name=opt_msg,json=optMsg,proto3,oneof" json:"opt_msg,omitempty"`
	// list of strings
	StrList []string `protobuf:"bytes,5,rep,name=str_list,json=strList,proto3" json:"str_list,omitempty"`
	// list of messages
	MsgList []*Engine `protobuf:"bytes,6,rep,name=msg_list,json=msgList,proto3" json:"msg_list,omitempty"`
	// map of strings
	StrMap map[string]string `` /* 167-byte string literal not displayed */
	// map of messages
	MsgMap map[string]*Engine `` /* 167-byte string literal not displayed */
	// enum field
	Enum Dirtyness `protobuf:"varint,9,opt,name=enum,proto3,enum=example.message.v1.Dirtyness" json:"enum,omitempty"`
	// enum field
	OptEnum *Dirtyness `protobuf:"varint,10,opt,name=opt_enum,json=optEnum,proto3,enum=example.message.v1.Dirtyness,oneof" json:"opt_enum,omitempty"`
	// one of field
	//
	// Types that are assignable to Oo:
	//
	//	*FieldPresence_OneofStr
	//	*FieldPresence_OneofMsg
	Oo isFieldPresence_Oo `protobuf_oneof:"oo"`
	// string wrapper
	StrVal *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=str_val,json=strVal,proto3" json:"str_val,omitempty"`
	// bool wrapper
	BoolVal *wrapperspb.BoolValue `protobuf:"bytes,14,opt,name=bool_val,json=boolVal,proto3" json:"bool_val,omitempty"`
	// bytes wrapper
	BytesVal *wrapperspb.BytesValue `protobuf:"bytes,15,opt,name=bytes_val,json=bytesVal,proto3" json:"bytes_val,omitempty"`
	// double wrapper
	DoubleVal *wrapperspb.DoubleValue `protobuf:"bytes,16,opt,name=double_val,json=doubleVal,proto3" json:"double_val,omitempty"`
	// float wrapper
	FloatVal *wrapperspb.FloatValue `protobuf:"bytes,17,opt,name=float_val,json=floatVal,proto3" json:"float_val,omitempty"`
	// // in32 wrapper
	Int32Val *wrapperspb.Int32Value `protobuf:"bytes,18,opt,name=int32_val,json=int32Val,proto3" json:"int32_val,omitempty"`
	// // int64 wrapper
	Int64Val *wrapperspb.Int64Value `protobuf:"bytes,19,opt,name=int64_val,json=int64Val,proto3" json:"int64_val,omitempty"`
	// // uint32 wrapper
	Uint32Val *wrapperspb.UInt32Value `protobuf:"bytes,20,opt,name=uint32_val,json=uint32Val,proto3" json:"uint32_val,omitempty"`
	// // uint64 wrapper
	Uint64Val *wrapperspb.UInt64Value `protobuf:"bytes,21,opt,name=uint64_val,json=uint64Val,proto3" json:"uint64_val,omitempty"`
	// contains filtered or unexported fields
}

FieldPresence message is used to experiment and assert field presence in the generated attribute map

func (*FieldPresence) Descriptor deprecated

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

Deprecated: Use FieldPresence.ProtoReflect.Descriptor instead.

func (*FieldPresence) GetBoolVal

func (x *FieldPresence) GetBoolVal() *wrapperspb.BoolValue

func (*FieldPresence) GetBytesVal

func (x *FieldPresence) GetBytesVal() *wrapperspb.BytesValue

func (*FieldPresence) GetDoubleVal

func (x *FieldPresence) GetDoubleVal() *wrapperspb.DoubleValue

func (*FieldPresence) GetEnum

func (x *FieldPresence) GetEnum() Dirtyness

func (*FieldPresence) GetFloatVal

func (x *FieldPresence) GetFloatVal() *wrapperspb.FloatValue

func (*FieldPresence) GetInt32Val

func (x *FieldPresence) GetInt32Val() *wrapperspb.Int32Value

func (*FieldPresence) GetInt64Val

func (x *FieldPresence) GetInt64Val() *wrapperspb.Int64Value

func (*FieldPresence) GetMsg

func (x *FieldPresence) GetMsg() *Engine

func (*FieldPresence) GetMsgList

func (x *FieldPresence) GetMsgList() []*Engine

func (*FieldPresence) GetMsgMap

func (x *FieldPresence) GetMsgMap() map[string]*Engine

func (*FieldPresence) GetOneofMsg

func (x *FieldPresence) GetOneofMsg() *Engine

func (*FieldPresence) GetOneofStr

func (x *FieldPresence) GetOneofStr() string

func (*FieldPresence) GetOo

func (m *FieldPresence) GetOo() isFieldPresence_Oo

func (*FieldPresence) GetOptEnum

func (x *FieldPresence) GetOptEnum() Dirtyness

func (*FieldPresence) GetOptMsg

func (x *FieldPresence) GetOptMsg() *Engine

func (*FieldPresence) GetOptStr

func (x *FieldPresence) GetOptStr() string

func (*FieldPresence) GetStr

func (x *FieldPresence) GetStr() string

func (*FieldPresence) GetStrList

func (x *FieldPresence) GetStrList() []string

func (*FieldPresence) GetStrMap

func (x *FieldPresence) GetStrMap() map[string]string

func (*FieldPresence) GetStrVal

func (x *FieldPresence) GetStrVal() *wrapperspb.StringValue

func (*FieldPresence) GetUint32Val

func (x *FieldPresence) GetUint32Val() *wrapperspb.UInt32Value

func (*FieldPresence) GetUint64Val

func (x *FieldPresence) GetUint64Val() *wrapperspb.UInt64Value

func (*FieldPresence) MarshalDynamoItem

func (x *FieldPresence) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*FieldPresence) ProtoMessage

func (*FieldPresence) ProtoMessage()

func (*FieldPresence) ProtoReflect

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

func (*FieldPresence) Reset

func (x *FieldPresence) Reset()

func (*FieldPresence) String

func (x *FieldPresence) String() string

func (*FieldPresence) UnmarshalDynamoItem

func (x *FieldPresence) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type FieldPresenceP added in v0.2.0

type FieldPresenceP struct {
	ddb.P
}

FieldPresenceP allows for constructing type-safe expression names

func FieldPresencePath added in v0.2.0

func FieldPresencePath() FieldPresenceP

FieldPresencePath starts the building of an expression path into FieldPresence

func (FieldPresenceP) BoolVal added in v0.2.0

func (p FieldPresenceP) BoolVal() ddb.P

BoolVal returns 'p' with the attribute name appended

func (FieldPresenceP) BytesVal added in v0.2.0

func (p FieldPresenceP) BytesVal() ddb.P

BytesVal returns 'p' with the attribute name appended

func (FieldPresenceP) DoubleVal added in v0.2.0

func (p FieldPresenceP) DoubleVal() ddb.P

DoubleVal returns 'p' with the attribute name appended

func (FieldPresenceP) Enum added in v0.2.0

func (p FieldPresenceP) Enum() ddb.P

Enum returns 'p' with the attribute name appended

func (FieldPresenceP) FloatVal added in v0.2.0

func (p FieldPresenceP) FloatVal() ddb.P

FloatVal returns 'p' with the attribute name appended

func (FieldPresenceP) Int32Val added in v0.2.0

func (p FieldPresenceP) Int32Val() ddb.P

Int32Val returns 'p' with the attribute name appended

func (FieldPresenceP) Int64Val added in v0.2.0

func (p FieldPresenceP) Int64Val() ddb.P

Int64Val returns 'p' with the attribute name appended

func (FieldPresenceP) Msg added in v0.2.0

func (p FieldPresenceP) Msg() EngineP

Msg returns 'p' with the attribute name appended and allow subselecting nested message

func (FieldPresenceP) MsgList added in v0.2.0

func (p FieldPresenceP) MsgList() ddb.ListP[EngineP]

MsgList returns 'p' appended with the attribute while allow indexing a nested message

func (FieldPresenceP) MsgMap added in v0.2.0

func (p FieldPresenceP) MsgMap() ddb.MapP[EngineP]

MsgMap returns 'p' appended with the attribute while allow map keys on a nested message

func (FieldPresenceP) OneofMsg added in v0.2.0

func (p FieldPresenceP) OneofMsg() EngineP

OneofMsg returns 'p' with the attribute name appended and allow subselecting nested message

func (FieldPresenceP) OneofStr added in v0.2.0

func (p FieldPresenceP) OneofStr() ddb.P

OneofStr returns 'p' with the attribute name appended

func (FieldPresenceP) OptEnum added in v0.2.0

func (p FieldPresenceP) OptEnum() ddb.P

OptEnum returns 'p' with the attribute name appended

func (FieldPresenceP) OptMsg added in v0.2.0

func (p FieldPresenceP) OptMsg() EngineP

OptMsg returns 'p' with the attribute name appended and allow subselecting nested message

func (FieldPresenceP) OptStr added in v0.2.0

func (p FieldPresenceP) OptStr() ddb.P

OptStr returns 'p' with the attribute name appended

func (FieldPresenceP) Set added in v0.2.0

Set allows generic list builder to replace the path value

func (FieldPresenceP) Str added in v0.2.0

func (p FieldPresenceP) Str() ddb.P

Str returns 'p' with the attribute name appended

func (FieldPresenceP) StrList added in v0.2.0

func (p FieldPresenceP) StrList() ddb.BasicListP

StrList returns 'p' appended with the attribute name and allow indexing

func (FieldPresenceP) StrMap added in v0.2.0

func (p FieldPresenceP) StrMap() ddb.BasicMapP

StrMap returns 'p' appended with the attribute name and allow map keys to be specified

func (FieldPresenceP) StrVal added in v0.2.0

func (p FieldPresenceP) StrVal() ddb.P

StrVal returns 'p' with the attribute name appended

func (FieldPresenceP) Uint32Val added in v0.2.0

func (p FieldPresenceP) Uint32Val() ddb.P

Uint32Val returns 'p' with the attribute name appended

func (FieldPresenceP) Uint64Val added in v0.2.0

func (p FieldPresenceP) Uint64Val() ddb.P

Uint64Val returns 'p' with the attribute name appended

type FieldPresence_OneofMsg

type FieldPresence_OneofMsg struct {
	// msg one option
	OneofMsg *Engine `protobuf:"bytes,12,opt,name=oneof_msg,json=oneofMsg,proto3,oneof"`
}

type FieldPresence_OneofStr

type FieldPresence_OneofStr struct {
	// string option
	OneofStr string `protobuf:"bytes,11,opt,name=oneof_str,json=oneofStr,proto3,oneof"`
}

type Ignored added in v0.2.0

type Ignored struct {

	// pk is omitted
	Pk string `protobuf:"bytes,1,opt,name=pk,proto3" json:"pk,omitempty"`
	// sk is omitted
	Sk string `protobuf:"bytes,2,opt,name=sk,proto3" json:"sk,omitempty"`
	// other field is also omitted
	Other string `protobuf:"bytes,3,opt,name=other,proto3" json:"other,omitempty"`
	// visible method is not omitted
	Visible string `protobuf:"bytes,4,opt,name=visible,proto3" json:"visible,omitempty"`
	// contains filtered or unexported fields
}

Ignored message tests omitting of fields works correctly

func (*Ignored) Descriptor deprecated added in v0.2.0

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

Deprecated: Use Ignored.ProtoReflect.Descriptor instead.

func (*Ignored) GetOther added in v0.2.0

func (x *Ignored) GetOther() string

func (*Ignored) GetPk added in v0.2.0

func (x *Ignored) GetPk() string

func (*Ignored) GetSk added in v0.2.0

func (x *Ignored) GetSk() string

func (*Ignored) GetVisible added in v0.2.0

func (x *Ignored) GetVisible() string

func (*Ignored) MarshalDynamoItem added in v0.2.0

func (x *Ignored) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*Ignored) ProtoMessage added in v0.2.0

func (*Ignored) ProtoMessage()

func (*Ignored) ProtoReflect added in v0.2.0

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

func (*Ignored) Reset added in v0.2.0

func (x *Ignored) Reset()

func (*Ignored) String added in v0.2.0

func (x *Ignored) String() string

func (*Ignored) UnmarshalDynamoItem added in v0.2.0

func (x *Ignored) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type IgnoredP added in v0.2.0

type IgnoredP struct {
	ddb.P
}

IgnoredP allows for constructing type-safe expression names

func IgnoredPath added in v0.2.0

func IgnoredPath() IgnoredP

IgnoredPath starts the building of an expression path into Ignored

func (IgnoredP) Set added in v0.2.0

func (p IgnoredP) Set(v string) IgnoredP

Set allows generic list builder to replace the path value

func (IgnoredP) Visible added in v0.2.0

func (p IgnoredP) Visible() ddb.P

Visible returns 'p' with the attribute name appended

type JsonFields added in v0.2.0

type JsonFields struct {

	// encode a list of basic types into json
	JsonStrList []string `protobuf:"bytes,1,rep,name=json_str_list,json=jsonStrList,proto3" json:"json_str_list,omitempty"`
	// embed a json message directly with custom name
	JsonEngine *Engine `protobuf:"bytes,3,opt,name=json_engine,json=jsonEngine,proto3" json:"json_engine,omitempty"`
	// map with an iteger key
	JsonIntMap map[int64]string `` /* 182-byte string literal not displayed */
	// encode a list of messages
	JsonEngineList []*Engine `protobuf:"bytes,2,rep,name=json_engine_list,json=jsonEngineList,proto3" json:"json_engine_list,omitempty"`
	// map with bool key, and message type
	JsonEngineMap map[bool]*Engine `` /* 191-byte string literal not displayed */
	// json encoding of a set
	JsonNrSet []int64 `protobuf:"varint,6,rep,packed,name=json_nr_set,json=jsonNrSet,proto3" json:"json_nr_set,omitempty"`
	// contains filtered or unexported fields
}

JsonFields is a message with different fields encoding as json

func (*JsonFields) Descriptor deprecated added in v0.2.0

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

Deprecated: Use JsonFields.ProtoReflect.Descriptor instead.

func (*JsonFields) GetJsonEngine added in v0.2.0

func (x *JsonFields) GetJsonEngine() *Engine

func (*JsonFields) GetJsonEngineList added in v0.2.0

func (x *JsonFields) GetJsonEngineList() []*Engine

func (*JsonFields) GetJsonEngineMap added in v0.2.0

func (x *JsonFields) GetJsonEngineMap() map[bool]*Engine

func (*JsonFields) GetJsonIntMap added in v0.2.0

func (x *JsonFields) GetJsonIntMap() map[int64]string

func (*JsonFields) GetJsonNrSet added in v0.2.0

func (x *JsonFields) GetJsonNrSet() []int64

func (*JsonFields) GetJsonStrList added in v0.2.0

func (x *JsonFields) GetJsonStrList() []string

func (*JsonFields) MarshalDynamoItem added in v0.2.0

func (x *JsonFields) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*JsonFields) ProtoMessage added in v0.2.0

func (*JsonFields) ProtoMessage()

func (*JsonFields) ProtoReflect added in v0.2.0

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

func (*JsonFields) Reset added in v0.2.0

func (x *JsonFields) Reset()

func (*JsonFields) String added in v0.2.0

func (x *JsonFields) String() string

func (*JsonFields) UnmarshalDynamoItem added in v0.2.0

func (x *JsonFields) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type JsonFieldsP added in v0.2.0

type JsonFieldsP struct {
	ddb.P
}

JsonFieldsP allows for constructing type-safe expression names

func JsonFieldsPath added in v0.2.0

func JsonFieldsPath() JsonFieldsP

JsonFieldsPath starts the building of an expression path into JsonFields

func (JsonFieldsP) JsonEngine added in v0.2.0

func (p JsonFieldsP) JsonEngine() EngineP

JsonEngine returns 'p' with the attribute name appended and allow subselecting nested message

func (JsonFieldsP) JsonEngineList added in v0.2.0

func (p JsonFieldsP) JsonEngineList() ddb.ListP[EngineP]

JsonEngineList returns 'p' appended with the attribute while allow indexing a nested message

func (JsonFieldsP) JsonEngineMap added in v0.2.0

func (p JsonFieldsP) JsonEngineMap() ddb.MapP[EngineP]

JsonEngineMap returns 'p' appended with the attribute while allow map keys on a nested message

func (JsonFieldsP) JsonIntMap added in v0.2.0

func (p JsonFieldsP) JsonIntMap() ddb.BasicMapP

JsonIntMap returns 'p' appended with the attribute name and allow map keys to be specified

func (JsonFieldsP) JsonNrSet added in v0.2.0

func (p JsonFieldsP) JsonNrSet() ddb.BasicListP

JsonNrSet returns 'p' appended with the attribute name and allow indexing

func (JsonFieldsP) JsonStrList added in v0.2.0

func (p JsonFieldsP) JsonStrList() ddb.BasicListP

JsonStrList returns 'p' appended with the attribute name and allow indexing

func (JsonFieldsP) Set added in v0.2.0

func (p JsonFieldsP) Set(v string) JsonFieldsP

Set allows generic list builder to replace the path value

type JsonOneofs added in v0.2.0

type JsonOneofs struct {

	// one of field
	//
	// Types that are assignable to JsonOo:
	//
	//	*JsonOneofs_OneofStr
	//	*JsonOneofs_OneofMsg
	JsonOo isJsonOneofs_JsonOo `protobuf_oneof:"json_oo"`
	// contains filtered or unexported fields
}

JsonOneOfs for testing json message with oneof field

func (*JsonOneofs) Descriptor deprecated added in v0.2.0

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

Deprecated: Use JsonOneofs.ProtoReflect.Descriptor instead.

func (*JsonOneofs) GetJsonOo added in v0.2.0

func (m *JsonOneofs) GetJsonOo() isJsonOneofs_JsonOo

func (*JsonOneofs) GetOneofMsg added in v0.2.0

func (x *JsonOneofs) GetOneofMsg() *Engine

func (*JsonOneofs) GetOneofStr added in v0.2.0

func (x *JsonOneofs) GetOneofStr() string

func (*JsonOneofs) MarshalDynamoItem added in v0.2.0

func (x *JsonOneofs) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*JsonOneofs) ProtoMessage added in v0.2.0

func (*JsonOneofs) ProtoMessage()

func (*JsonOneofs) ProtoReflect added in v0.2.0

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

func (*JsonOneofs) Reset added in v0.2.0

func (x *JsonOneofs) Reset()

func (*JsonOneofs) String added in v0.2.0

func (x *JsonOneofs) String() string

func (*JsonOneofs) UnmarshalDynamoItem added in v0.2.0

func (x *JsonOneofs) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type JsonOneofsP added in v0.2.0

type JsonOneofsP struct {
	ddb.P
}

JsonOneofsP allows for constructing type-safe expression names

func JsonOneofsPath added in v0.2.0

func JsonOneofsPath() JsonOneofsP

JsonOneofsPath starts the building of an expression path into JsonOneofs

func (JsonOneofsP) OneofMsg added in v0.2.0

func (p JsonOneofsP) OneofMsg() EngineP

OneofMsg returns 'p' with the attribute name appended and allow subselecting nested message

func (JsonOneofsP) OneofStr added in v0.2.0

func (p JsonOneofsP) OneofStr() ddb.P

OneofStr returns 'p' with the attribute name appended

func (JsonOneofsP) Set added in v0.2.0

func (p JsonOneofsP) Set(v string) JsonOneofsP

Set allows generic list builder to replace the path value

type JsonOneofs_OneofMsg added in v0.2.0

type JsonOneofs_OneofMsg struct {
	// msg one option
	OneofMsg *Engine `protobuf:"bytes,8,opt,name=oneof_msg,json=oneofMsg,proto3,oneof"`
}

type JsonOneofs_OneofStr added in v0.2.0

type JsonOneofs_OneofStr struct {
	// string option
	OneofStr string `protobuf:"bytes,7,opt,name=oneof_str,json=oneofStr,proto3,oneof"`
}

type Kitchen

type Kitchen struct {

	// brand of kitchen
	Brand string `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"`
	// is the kitchen renovated
	IsRenovated bool `protobuf:"varint,2,opt,name=is_renovated,json=isRenovated,proto3" json:"is_renovated,omitempty"`
	// some data
	QrCode []byte `protobuf:"bytes,3,opt,name=qr_code,json=qrCode,proto3" json:"qr_code,omitempty"`
	// small knife count
	NumSmallKnifes int32 `protobuf:"varint,4,opt,name=num_small_knifes,json=numSmallKnifes,proto3" json:"num_small_knifes,omitempty"`
	// sharp kife count
	NumSharpKnifes uint32 `protobuf:"fixed32,5,opt,name=num_sharp_knifes,json=numSharpKnifes,proto3" json:"num_sharp_knifes,omitempty"`
	// blunt knife count
	NumBluntKnifes uint32 `protobuf:"varint,6,opt,name=num_blunt_knifes,json=numBluntKnifes,proto3" json:"num_blunt_knifes,omitempty"`
	// num small forks
	NumSmallForks int64 `protobuf:"varint,7,opt,name=num_small_forks,json=numSmallForks,proto3" json:"num_small_forks,omitempty"`
	// num medium forks
	NumMediumForks uint64 `protobuf:"fixed64,8,opt,name=num_medium_forks,json=numMediumForks,proto3" json:"num_medium_forks,omitempty"`
	// large forks count
	NumLargeForks uint64 `protobuf:"varint,9,opt,name=num_large_forks,json=numLargeForks,proto3" json:"num_large_forks,omitempty"`
	// how many of the tiles are black
	PercentBlackTiles float32 `protobuf:"fixed32,10,opt,name=percent_black_tiles,json=percentBlackTiles,proto3" json:"percent_black_tiles,omitempty"`
	// precent white tiles
	PercentWhiteTiles float64 `protobuf:"fixed64,11,opt,name=percent_white_tiles,json=percentWhiteTiles,proto3" json:"percent_white_tiles,omitempty"`
	// dirtyness enum
	Dirtyness Dirtyness `protobuf:"varint,12,opt,name=dirtyness,proto3,enum=example.message.v1.Dirtyness" json:"dirtyness,omitempty"`
	// map with messages
	Furniture map[int64]*Appliance `` /* 161-byte string literal not displayed */
	// map with numbers
	Calendar map[string]int64 `` /* 159-byte string literal not displayed */
	// nested message
	WasherEngine *Engine `protobuf:"bytes,15,opt,name=washer_engine,json=washerEngine,proto3" json:"washer_engine,omitempty"`
	// extra nested message to test recursion
	ExtraKitchen *Kitchen `protobuf:"bytes,16,opt,name=extra_kitchen,json=extraKitchen,proto3" json:"extra_kitchen,omitempty"`
	// well-known Duration
	Timer *durationpb.Duration `protobuf:"bytes,17,opt,name=timer,proto3" json:"timer,omitempty"`
	// well-known Timestamp
	WallTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
	// nested list of messages
	ApplianceEngines []*Engine `protobuf:"bytes,19,rep,name=appliance_engines,json=applianceEngines,proto3" json:"appliance_engines,omitempty"`
	// repeated basic type
	OtherBrands []string `protobuf:"bytes,20,rep,name=other_brands,json=otherBrands,proto3" json:"other_brands,omitempty"`
	// well-known Any field
	SomeAny *anypb.Any `protobuf:"bytes,21,opt,name=some_any,json=someAny,proto3" json:"some_any,omitempty"`
	// well-known FieldMask field
	SomeMask *fieldmaskpb.FieldMask `protobuf:"bytes,22,opt,name=some_mask,json=someMask,proto3" json:"some_mask,omitempty"`
	// struct value
	SomeValue *structpb.Value `protobuf:"bytes,23,opt,name=some_value,json=someValue,proto3" json:"some_value,omitempty"`
	// optional string
	OptString *string `protobuf:"bytes,24,opt,name=opt_string,json=optString,proto3,oneof" json:"opt_string,omitempty"`
	// string value (other kind of optional)
	ValStr *wrapperspb.StringValue `protobuf:"bytes,25,opt,name=val_str,json=valStr,proto3" json:"val_str,omitempty"`
	// string value (other kind of optional)
	ValBytes *wrapperspb.BytesValue `protobuf:"bytes,26,opt,name=val_bytes,json=valBytes,proto3" json:"val_bytes,omitempty"`
	// list of timestamps
	ListOfTs []*timestamppb.Timestamp `protobuf:"bytes,27,rep,name=list_of_ts,json=listOfTs,proto3" json:"list_of_ts,omitempty"`
	// set of strings
	StringSet []string `protobuf:"bytes,28,rep,name=string_set,json=stringSet,proto3" json:"string_set,omitempty"`
	// set of numbers
	NumberSet []int64 `protobuf:"varint,29,rep,packed,name=number_set,json=numberSet,proto3" json:"number_set,omitempty"`
	// set of bytes
	BytesSet [][]byte `protobuf:"bytes,30,rep,name=bytes_set,json=bytesSet,proto3" json:"bytes_set,omitempty"`
	// contains filtered or unexported fields
}

Kitchen holds all possible Protobuf field types

func (*Kitchen) Descriptor deprecated

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

Deprecated: Use Kitchen.ProtoReflect.Descriptor instead.

func (*Kitchen) GetApplianceEngines

func (x *Kitchen) GetApplianceEngines() []*Engine

func (*Kitchen) GetBrand

func (x *Kitchen) GetBrand() string

func (*Kitchen) GetBytesSet added in v0.2.0

func (x *Kitchen) GetBytesSet() [][]byte

func (*Kitchen) GetCalendar

func (x *Kitchen) GetCalendar() map[string]int64

func (*Kitchen) GetDirtyness

func (x *Kitchen) GetDirtyness() Dirtyness

func (*Kitchen) GetExtraKitchen

func (x *Kitchen) GetExtraKitchen() *Kitchen

func (*Kitchen) GetFurniture

func (x *Kitchen) GetFurniture() map[int64]*Appliance

func (*Kitchen) GetIsRenovated

func (x *Kitchen) GetIsRenovated() bool

func (*Kitchen) GetListOfTs added in v0.2.0

func (x *Kitchen) GetListOfTs() []*timestamppb.Timestamp

func (*Kitchen) GetNumBluntKnifes

func (x *Kitchen) GetNumBluntKnifes() uint32

func (*Kitchen) GetNumLargeForks

func (x *Kitchen) GetNumLargeForks() uint64

func (*Kitchen) GetNumMediumForks

func (x *Kitchen) GetNumMediumForks() uint64

func (*Kitchen) GetNumSharpKnifes

func (x *Kitchen) GetNumSharpKnifes() uint32

func (*Kitchen) GetNumSmallForks

func (x *Kitchen) GetNumSmallForks() int64

func (*Kitchen) GetNumSmallKnifes

func (x *Kitchen) GetNumSmallKnifes() int32

func (*Kitchen) GetNumberSet added in v0.2.0

func (x *Kitchen) GetNumberSet() []int64

func (*Kitchen) GetOptString

func (x *Kitchen) GetOptString() string

func (*Kitchen) GetOtherBrands

func (x *Kitchen) GetOtherBrands() []string

func (*Kitchen) GetPercentBlackTiles

func (x *Kitchen) GetPercentBlackTiles() float32

func (*Kitchen) GetPercentWhiteTiles

func (x *Kitchen) GetPercentWhiteTiles() float64

func (*Kitchen) GetQrCode

func (x *Kitchen) GetQrCode() []byte

func (*Kitchen) GetSomeAny

func (x *Kitchen) GetSomeAny() *anypb.Any

func (*Kitchen) GetSomeMask

func (x *Kitchen) GetSomeMask() *fieldmaskpb.FieldMask

func (*Kitchen) GetSomeValue

func (x *Kitchen) GetSomeValue() *structpb.Value

func (*Kitchen) GetStringSet added in v0.2.0

func (x *Kitchen) GetStringSet() []string

func (*Kitchen) GetTimer

func (x *Kitchen) GetTimer() *durationpb.Duration

func (*Kitchen) GetValBytes

func (x *Kitchen) GetValBytes() *wrapperspb.BytesValue

func (*Kitchen) GetValStr

func (x *Kitchen) GetValStr() *wrapperspb.StringValue

func (*Kitchen) GetWallTime

func (x *Kitchen) GetWallTime() *timestamppb.Timestamp

func (*Kitchen) GetWasherEngine

func (x *Kitchen) GetWasherEngine() *Engine

func (*Kitchen) MarshalDynamoItem

func (x *Kitchen) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*Kitchen) MarshalDynamoKey added in v0.1.1

func (x *Kitchen) MarshalDynamoKey() (m map[string]types.AttributeValue, err error)

MarshalDynamoKey encodes only the item's key attributes into a DynamoDB attribute map

func (*Kitchen) PartitionKey added in v0.1.0

func (x *Kitchen) PartitionKey() (name string, value string)

PartitionKey returns the name of the Dynamo attribute that holds th partition key and the current value of that key in the struct

func (*Kitchen) ProtoMessage

func (*Kitchen) ProtoMessage()

func (*Kitchen) ProtoReflect

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

func (*Kitchen) Reset

func (x *Kitchen) Reset()

func (*Kitchen) SortKey added in v0.1.0

func (x *Kitchen) SortKey() (name string, value []byte)

Sortkey returns the name of the Dynamo attribute that holds the sort key and the current value of that key in the struct

func (*Kitchen) String

func (x *Kitchen) String() string

func (*Kitchen) UnmarshalDynamoItem

func (x *Kitchen) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type KitchenP added in v0.2.0

type KitchenP struct {
	ddb.P
}

KitchenP allows for constructing type-safe expression names

func KitchenPath added in v0.2.0

func KitchenPath() KitchenP

KitchenPath starts the building of an expression path into Kitchen

func (KitchenP) ApplianceEngines added in v0.2.0

func (p KitchenP) ApplianceEngines() ddb.ListP[EngineP]

ApplianceEngines returns 'p' appended with the attribute while allow indexing a nested message

func (KitchenP) Brand added in v0.2.0

func (p KitchenP) Brand() ddb.P

Brand returns 'p' with the attribute name appended

func (KitchenP) BytesSet added in v0.2.0

func (p KitchenP) BytesSet() ddb.BasicListP

BytesSet returns 'p' appended with the attribute name and allow indexing

func (KitchenP) Calendar added in v0.2.0

func (p KitchenP) Calendar() ddb.BasicMapP

Calendar returns 'p' appended with the attribute name and allow map keys to be specified

func (KitchenP) Dirtyness added in v0.2.0

func (p KitchenP) Dirtyness() ddb.P

Dirtyness returns 'p' with the attribute name appended

func (KitchenP) ExtraKitchen added in v0.2.0

func (p KitchenP) ExtraKitchen() KitchenP

ExtraKitchen returns 'p' with the attribute name appended and allow subselecting nested message

func (KitchenP) Furniture added in v0.2.0

func (p KitchenP) Furniture() ddb.MapP[ApplianceP]

Furniture returns 'p' appended with the attribute while allow map keys on a nested message

func (KitchenP) IsRenovated added in v0.2.0

func (p KitchenP) IsRenovated() ddb.P

IsRenovated returns 'p' with the attribute name appended

func (KitchenP) ListOfTs added in v0.2.0

func (p KitchenP) ListOfTs() ddb.BasicListP

ListOfTs returns 'p' appended with the attribute name and allow indexing

func (KitchenP) NumBluntKnifes added in v0.2.0

func (p KitchenP) NumBluntKnifes() ddb.P

NumBluntKnifes returns 'p' with the attribute name appended

func (KitchenP) NumLargeForks added in v0.2.0

func (p KitchenP) NumLargeForks() ddb.P

NumLargeForks returns 'p' with the attribute name appended

func (KitchenP) NumMediumForks added in v0.2.0

func (p KitchenP) NumMediumForks() ddb.P

NumMediumForks returns 'p' with the attribute name appended

func (KitchenP) NumSharpKnifes added in v0.2.0

func (p KitchenP) NumSharpKnifes() ddb.P

NumSharpKnifes returns 'p' with the attribute name appended

func (KitchenP) NumSmallForks added in v0.2.0

func (p KitchenP) NumSmallForks() ddb.P

NumSmallForks returns 'p' with the attribute name appended

func (KitchenP) NumSmallKnifes added in v0.2.0

func (p KitchenP) NumSmallKnifes() ddb.P

NumSmallKnifes returns 'p' with the attribute name appended

func (KitchenP) NumberSet added in v0.2.0

func (p KitchenP) NumberSet() ddb.BasicListP

NumberSet returns 'p' appended with the attribute name and allow indexing

func (KitchenP) OptString added in v0.2.0

func (p KitchenP) OptString() ddb.P

OptString returns 'p' with the attribute name appended

func (KitchenP) OtherBrands added in v0.2.0

func (p KitchenP) OtherBrands() ddb.BasicListP

OtherBrands returns 'p' appended with the attribute name and allow indexing

func (KitchenP) PercentBlackTiles added in v0.2.0

func (p KitchenP) PercentBlackTiles() ddb.P

PercentBlackTiles returns 'p' with the attribute name appended

func (KitchenP) PercentWhiteTiles added in v0.2.0

func (p KitchenP) PercentWhiteTiles() ddb.P

PercentWhiteTiles returns 'p' with the attribute name appended

func (KitchenP) QrCode added in v0.2.0

func (p KitchenP) QrCode() ddb.P

QrCode returns 'p' with the attribute name appended

func (KitchenP) Set added in v0.2.0

func (p KitchenP) Set(v string) KitchenP

Set allows generic list builder to replace the path value

func (KitchenP) SomeAny added in v0.2.0

func (p KitchenP) SomeAny() ddb.P

SomeAny returns 'p' with the attribute name appended

func (KitchenP) SomeMask added in v0.2.0

func (p KitchenP) SomeMask() ddb.P

SomeMask returns 'p' with the attribute name appended

func (KitchenP) SomeValue added in v0.2.0

func (p KitchenP) SomeValue() ddb.P

SomeValue returns 'p' with the attribute name appended

func (KitchenP) StringSet added in v0.2.0

func (p KitchenP) StringSet() ddb.BasicListP

StringSet returns 'p' appended with the attribute name and allow indexing

func (KitchenP) Timer added in v0.2.0

func (p KitchenP) Timer() ddb.P

Timer returns 'p' with the attribute name appended

func (KitchenP) ValBytes added in v0.2.0

func (p KitchenP) ValBytes() ddb.P

ValBytes returns 'p' with the attribute name appended

func (KitchenP) ValStr added in v0.2.0

func (p KitchenP) ValStr() ddb.P

ValStr returns 'p' with the attribute name appended

func (KitchenP) WallTime added in v0.2.0

func (p KitchenP) WallTime() ddb.P

WallTime returns 'p' with the attribute name appended

func (KitchenP) WasherEngine added in v0.2.0

func (p KitchenP) WasherEngine() EngineP

WasherEngine returns 'p' with the attribute name appended and allow subselecting nested message

type MapGalore

type MapGalore struct {

	// all supported key types
	// int64/int64
	Int64Int64 map[int64]int64 `` /* 163-byte string literal not displayed */
	// uint64/uint64
	Uint64Uint64 map[uint64]uint64 `` /* 167-byte string literal not displayed */
	// fixed64/fixed64
	Fixed64Fixed64 map[uint64]uint64 `` /* 173-byte string literal not displayed */
	// sint64/sint64
	Sint64Sint64 map[int64]int64 `` /* 171-byte string literal not displayed */
	// sfixed64/sfixed64
	Sfixed64Sfixed64 map[int64]int64 `` /* 177-byte string literal not displayed */
	// int32/int32
	Int32Int32 map[int32]int32 `` /* 163-byte string literal not displayed */
	// uint32/uint32
	Uint32Uint32 map[uint32]uint32 `` /* 167-byte string literal not displayed */
	// fixed32/fixed32
	Fixed32Fixed32 map[uint32]uint32 `` /* 173-byte string literal not displayed */
	// sint32/sint32
	Sint32Sint32 map[int32]int32 `` /* 171-byte string literal not displayed */
	// sfixed32/sfixed32
	Sfixed32Sfixed32 map[int32]int32 `` /* 178-byte string literal not displayed */
	// string/string
	Stringstring map[string]string `` /* 166-byte string literal not displayed */
	// bool/bool
	Boolbool map[bool]bool `` /* 160-byte string literal not displayed */
	// rest of supported value types
	// string/bytes
	Stringbytes map[string][]byte `` /* 164-byte string literal not displayed */
	// string/double
	Stringdouble map[string]float64 `` /* 168-byte string literal not displayed */
	// string/float
	Stringfloat map[string]float32 `` /* 166-byte string literal not displayed */
	// string/duration
	Stringduration map[string]*durationpb.Duration `` /* 170-byte string literal not displayed */
	// string/duration
	Stringtimestamp map[string]*timestamppb.Timestamp `` /* 172-byte string literal not displayed */
	// maps to messages
	Boolengine map[bool]*Engine `` /* 163-byte string literal not displayed */
	// maps to messages
	Uintengine map[uint64]*Engine `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

MapGalore holds hopefully most of the map combinations. They are in particular difficult to generate valid code for.

func (*MapGalore) Descriptor deprecated

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

Deprecated: Use MapGalore.ProtoReflect.Descriptor instead.

func (*MapGalore) GetBoolbool

func (x *MapGalore) GetBoolbool() map[bool]bool

func (*MapGalore) GetBoolengine added in v0.2.0

func (x *MapGalore) GetBoolengine() map[bool]*Engine

func (*MapGalore) GetFixed32Fixed32

func (x *MapGalore) GetFixed32Fixed32() map[uint32]uint32

func (*MapGalore) GetFixed64Fixed64

func (x *MapGalore) GetFixed64Fixed64() map[uint64]uint64

func (*MapGalore) GetInt32Int32

func (x *MapGalore) GetInt32Int32() map[int32]int32

func (*MapGalore) GetInt64Int64

func (x *MapGalore) GetInt64Int64() map[int64]int64

func (*MapGalore) GetSfixed32Sfixed32

func (x *MapGalore) GetSfixed32Sfixed32() map[int32]int32

func (*MapGalore) GetSfixed64Sfixed64

func (x *MapGalore) GetSfixed64Sfixed64() map[int64]int64

func (*MapGalore) GetSint32Sint32

func (x *MapGalore) GetSint32Sint32() map[int32]int32

func (*MapGalore) GetSint64Sint64

func (x *MapGalore) GetSint64Sint64() map[int64]int64

func (*MapGalore) GetStringbytes

func (x *MapGalore) GetStringbytes() map[string][]byte

func (*MapGalore) GetStringdouble

func (x *MapGalore) GetStringdouble() map[string]float64

func (*MapGalore) GetStringduration

func (x *MapGalore) GetStringduration() map[string]*durationpb.Duration

func (*MapGalore) GetStringfloat

func (x *MapGalore) GetStringfloat() map[string]float32

func (*MapGalore) GetStringstring

func (x *MapGalore) GetStringstring() map[string]string

func (*MapGalore) GetStringtimestamp

func (x *MapGalore) GetStringtimestamp() map[string]*timestamppb.Timestamp

func (*MapGalore) GetUint32Uint32

func (x *MapGalore) GetUint32Uint32() map[uint32]uint32

func (*MapGalore) GetUint64Uint64

func (x *MapGalore) GetUint64Uint64() map[uint64]uint64

func (*MapGalore) GetUintengine added in v0.2.0

func (x *MapGalore) GetUintengine() map[uint64]*Engine

func (*MapGalore) MarshalDynamoItem

func (x *MapGalore) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*MapGalore) ProtoMessage

func (*MapGalore) ProtoMessage()

func (*MapGalore) ProtoReflect

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

func (*MapGalore) Reset

func (x *MapGalore) Reset()

func (*MapGalore) String

func (x *MapGalore) String() string

func (*MapGalore) UnmarshalDynamoItem

func (x *MapGalore) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type MapGaloreP added in v0.2.0

type MapGaloreP struct {
	ddb.P
}

MapGaloreP allows for constructing type-safe expression names

func MapGalorePath added in v0.2.0

func MapGalorePath() MapGaloreP

MapGalorePath starts the building of an expression path into MapGalore

func (MapGaloreP) Boolbool added in v0.2.0

func (p MapGaloreP) Boolbool() ddb.BasicMapP

Boolbool returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Boolengine added in v0.2.0

func (p MapGaloreP) Boolengine() ddb.MapP[EngineP]

Boolengine returns 'p' appended with the attribute while allow map keys on a nested message

func (MapGaloreP) Fixed32Fixed32 added in v0.2.0

func (p MapGaloreP) Fixed32Fixed32() ddb.BasicMapP

Fixed32Fixed32 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Fixed64Fixed64 added in v0.2.0

func (p MapGaloreP) Fixed64Fixed64() ddb.BasicMapP

Fixed64Fixed64 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Int32Int32 added in v0.2.0

func (p MapGaloreP) Int32Int32() ddb.BasicMapP

Int32Int32 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Int64Int64 added in v0.2.0

func (p MapGaloreP) Int64Int64() ddb.BasicMapP

Int64Int64 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Set added in v0.2.0

func (p MapGaloreP) Set(v string) MapGaloreP

Set allows generic list builder to replace the path value

func (MapGaloreP) Sfixed32Sfixed32 added in v0.2.0

func (p MapGaloreP) Sfixed32Sfixed32() ddb.BasicMapP

Sfixed32Sfixed32 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Sfixed64Sfixed64 added in v0.2.0

func (p MapGaloreP) Sfixed64Sfixed64() ddb.BasicMapP

Sfixed64Sfixed64 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Sint32Sint32 added in v0.2.0

func (p MapGaloreP) Sint32Sint32() ddb.BasicMapP

Sint32Sint32 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Sint64Sint64 added in v0.2.0

func (p MapGaloreP) Sint64Sint64() ddb.BasicMapP

Sint64Sint64 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Stringbytes added in v0.2.0

func (p MapGaloreP) Stringbytes() ddb.BasicMapP

Stringbytes returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Stringdouble added in v0.2.0

func (p MapGaloreP) Stringdouble() ddb.BasicMapP

Stringdouble returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Stringduration added in v0.2.0

func (p MapGaloreP) Stringduration() ddb.BasicMapP

Stringduration returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Stringfloat added in v0.2.0

func (p MapGaloreP) Stringfloat() ddb.BasicMapP

Stringfloat returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Stringstring added in v0.2.0

func (p MapGaloreP) Stringstring() ddb.BasicMapP

Stringstring returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Stringtimestamp added in v0.2.0

func (p MapGaloreP) Stringtimestamp() ddb.BasicMapP

Stringtimestamp returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Uint32Uint32 added in v0.2.0

func (p MapGaloreP) Uint32Uint32() ddb.BasicMapP

Uint32Uint32 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Uint64Uint64 added in v0.2.0

func (p MapGaloreP) Uint64Uint64() ddb.BasicMapP

Uint64Uint64 returns 'p' appended with the attribute name and allow map keys to be specified

func (MapGaloreP) Uintengine added in v0.2.0

func (p MapGaloreP) Uintengine() ddb.MapP[EngineP]

Uintengine returns 'p' appended with the attribute while allow map keys on a nested message

type OtherKitchen

type OtherKitchen struct {

	// extra nested message to test recursion
	AnotherKitchen *Kitchen `protobuf:"bytes,16,opt,name=another_kitchen,json=anotherKitchen,proto3" json:"another_kitchen,omitempty"`
	// well-known imported messages
	OtherTimer *durationpb.Duration `protobuf:"bytes,17,opt,name=other_timer,json=otherTimer,proto3" json:"other_timer,omitempty"`
	// contains filtered or unexported fields
}

OtherKitchen holds fields that are similar to the first kitchen. To test name collisions for identifiers

func (*OtherKitchen) Descriptor deprecated

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

Deprecated: Use OtherKitchen.ProtoReflect.Descriptor instead.

func (*OtherKitchen) GetAnotherKitchen

func (x *OtherKitchen) GetAnotherKitchen() *Kitchen

func (*OtherKitchen) GetOtherTimer

func (x *OtherKitchen) GetOtherTimer() *durationpb.Duration

func (*OtherKitchen) MarshalDynamoItem

func (x *OtherKitchen) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*OtherKitchen) ProtoMessage

func (*OtherKitchen) ProtoMessage()

func (*OtherKitchen) ProtoReflect

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

func (*OtherKitchen) Reset

func (x *OtherKitchen) Reset()

func (*OtherKitchen) String

func (x *OtherKitchen) String() string

func (*OtherKitchen) UnmarshalDynamoItem

func (x *OtherKitchen) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type OtherKitchenP added in v0.2.0

type OtherKitchenP struct {
	ddb.P
}

OtherKitchenP allows for constructing type-safe expression names

func OtherKitchenPath added in v0.2.0

func OtherKitchenPath() OtherKitchenP

OtherKitchenPath starts the building of an expression path into OtherKitchen

func (OtherKitchenP) AnotherKitchen added in v0.2.0

func (p OtherKitchenP) AnotherKitchen() KitchenP

AnotherKitchen returns 'p' with the attribute name appended and allow subselecting nested message

func (OtherKitchenP) OtherTimer added in v0.2.0

func (p OtherKitchenP) OtherTimer() ddb.P

OtherTimer returns 'p' with the attribute name appended

func (OtherKitchenP) Set added in v0.2.0

Set allows generic list builder to replace the path value

type ValueGalore

type ValueGalore struct {

	// struct value
	SomeValue *structpb.Value `protobuf:"bytes,1,opt,name=some_value,json=someValue,proto3" json:"some_value,omitempty"`
	// contains filtered or unexported fields
}

Message for testing structpb value marshalling

func (*ValueGalore) Descriptor deprecated

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

Deprecated: Use ValueGalore.ProtoReflect.Descriptor instead.

func (*ValueGalore) GetSomeValue

func (x *ValueGalore) GetSomeValue() *structpb.Value

func (*ValueGalore) MarshalDynamoItem

func (x *ValueGalore) MarshalDynamoItem() (m map[string]types.AttributeValue, err error)

MarshalDynamoItem marshals data into a dynamodb attribute map

func (*ValueGalore) ProtoMessage

func (*ValueGalore) ProtoMessage()

func (*ValueGalore) ProtoReflect

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

func (*ValueGalore) Reset

func (x *ValueGalore) Reset()

func (*ValueGalore) String

func (x *ValueGalore) String() string

func (*ValueGalore) UnmarshalDynamoItem

func (x *ValueGalore) UnmarshalDynamoItem(m map[string]types.AttributeValue) (err error)

UnmarshalDynamoItem unmarshals data from a dynamodb attribute map

type ValueGaloreP added in v0.2.0

type ValueGaloreP struct {
	ddb.P
}

ValueGaloreP allows for constructing type-safe expression names

func ValueGalorePath added in v0.2.0

func ValueGalorePath() ValueGaloreP

ValueGalorePath starts the building of an expression path into ValueGalore

func (ValueGaloreP) Set added in v0.2.0

func (p ValueGaloreP) Set(v string) ValueGaloreP

Set allows generic list builder to replace the path value

func (ValueGaloreP) SomeValue added in v0.2.0

func (p ValueGaloreP) SomeValue() ddb.P

SomeValue returns 'p' with the attribute name appended

Jump to

Keyboard shortcuts

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