v1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional dynamo.v1.DynamoFieldOptions field = 6000;
	E_Field = &file_dynamo_v1_dynamo_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional dynamo.v1.DynamoMessageOptions msg = 6000;
	E_Msg = &file_dynamo_v1_dynamo_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_dynamo_v1_dynamo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DynamoFieldOptions

type DynamoFieldOptions struct {
	Expose bool   `protobuf:"varint,1,opt,name=expose,proto3" json:"expose,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type   *Types `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoFieldOptions) Descriptor deprecated

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

Deprecated: Use DynamoFieldOptions.ProtoReflect.Descriptor instead.

func (*DynamoFieldOptions) GetExpose

func (x *DynamoFieldOptions) GetExpose() bool

func (*DynamoFieldOptions) GetName

func (x *DynamoFieldOptions) GetName() string

func (*DynamoFieldOptions) GetType

func (x *DynamoFieldOptions) GetType() *Types

func (*DynamoFieldOptions) ProtoMessage

func (*DynamoFieldOptions) ProtoMessage()

func (*DynamoFieldOptions) ProtoReflect

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

func (*DynamoFieldOptions) Reset

func (x *DynamoFieldOptions) Reset()

func (*DynamoFieldOptions) String

func (x *DynamoFieldOptions) String() string

type DynamoMessageOptions

type DynamoMessageOptions struct {

	// Disables generation for this message
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// A compound value that can be used as a partition and sort key. Multiple
	// keys will be added as gsi keys after the first.
	Key []*Key `protobuf:"bytes,2,rep,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoMessageOptions) Descriptor deprecated

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

Deprecated: Use DynamoMessageOptions.ProtoReflect.Descriptor instead.

func (*DynamoMessageOptions) GetDisabled

func (x *DynamoMessageOptions) GetDisabled() bool

func (*DynamoMessageOptions) GetKey

func (x *DynamoMessageOptions) GetKey() []*Key

func (*DynamoMessageOptions) ProtoMessage

func (*DynamoMessageOptions) ProtoMessage()

func (*DynamoMessageOptions) ProtoReflect

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

func (*DynamoMessageOptions) Reset

func (x *DynamoMessageOptions) Reset()

func (*DynamoMessageOptions) String

func (x *DynamoMessageOptions) String() string

type Key

type Key struct {
	PkFields []string `protobuf:"bytes,1,rep,name=pk_fields,json=pkFields,proto3" json:"pk_fields,omitempty"`
	SkFields []string `protobuf:"bytes,2,rep,name=sk_fields,json=skFields,proto3" json:"sk_fields,omitempty"`
	// If set, the value of sort key is set to a constant string.  In this case
	// sk_fields is ignored.
	SkConst string `protobuf:"bytes,3,opt,name=sk_const,json=skConst,proto3" json:"sk_const,omitempty"`
	// contains filtered or unexported fields
}

func (*Key) Descriptor deprecated

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

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetPkFields

func (x *Key) GetPkFields() []string

func (*Key) GetSkConst

func (x *Key) GetSkConst() string

func (*Key) GetSkFields

func (x *Key) GetSkFields() []string

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) ProtoReflect

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

func (*Key) Reset

func (x *Key) Reset()

func (*Key) String

func (x *Key) String() string

type Types

type Types struct {
	Set        bool `protobuf:"varint,200,opt,name=set,proto3" json:"set,omitempty"`
	UnixSecond bool `protobuf:"varint,300,opt,name=unix_second,json=unixSecond,proto3" json:"unix_second,omitempty"`
	UnixMilli  bool `protobuf:"varint,301,opt,name=unix_milli,json=unixMilli,proto3" json:"unix_milli,omitempty"`
	UnixNano   bool `protobuf:"varint,302,opt,name=unix_nano,json=unixNano,proto3" json:"unix_nano,omitempty"`
	// contains filtered or unexported fields
}

func (*Types) Descriptor deprecated

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

Deprecated: Use Types.ProtoReflect.Descriptor instead.

func (*Types) GetSet

func (x *Types) GetSet() bool

func (*Types) GetUnixMilli

func (x *Types) GetUnixMilli() bool

func (*Types) GetUnixNano

func (x *Types) GetUnixNano() bool

func (*Types) GetUnixSecond

func (x *Types) GetUnixSecond() bool

func (*Types) ProtoMessage

func (*Types) ProtoMessage()

func (*Types) ProtoReflect

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

func (*Types) Reset

func (x *Types) Reset()

func (*Types) String

func (x *Types) String() string

Jump to

Keyboard shortcuts

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