Documentation ¶
Index ¶
- Variables
- type DynamoFieldOptions
- func (*DynamoFieldOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DynamoFieldOptions) GetExpose() bool
- func (x *DynamoFieldOptions) GetName() string
- func (x *DynamoFieldOptions) GetType() *Types
- func (*DynamoFieldOptions) ProtoMessage()
- func (x *DynamoFieldOptions) ProtoReflect() protoreflect.Message
- func (x *DynamoFieldOptions) Reset()
- func (x *DynamoFieldOptions) String() string
- type DynamoMessageOptions
- func (*DynamoMessageOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DynamoMessageOptions) GetDisabled() bool
- func (x *DynamoMessageOptions) GetKey() []*Key
- func (*DynamoMessageOptions) ProtoMessage()
- func (x *DynamoMessageOptions) ProtoReflect() protoreflect.Message
- func (x *DynamoMessageOptions) Reset()
- func (x *DynamoMessageOptions) String() string
- type Key
- type Types
- func (*Types) Descriptor() ([]byte, []int)deprecated
- func (x *Types) GetSet() bool
- func (x *Types) GetUnixMilli() bool
- func (x *Types) GetUnixNano() bool
- func (x *Types) GetUnixSecond() bool
- func (*Types) ProtoMessage()
- func (x *Types) ProtoReflect() protoreflect.Message
- func (x *Types) Reset()
- func (x *Types) String() string
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) GetPkFields ¶
func (*Key) GetSkConst ¶
func (*Key) GetSkFields ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
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) GetUnixMilli ¶
func (*Types) GetUnixNano ¶
func (*Types) GetUnixSecond ¶
func (*Types) ProtoMessage ¶
func (*Types) ProtoMessage()
func (*Types) ProtoReflect ¶
func (x *Types) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.