Documentation ¶
Index ¶
- Variables
- type EnumOptions
- type EnumValueOptions
- type FieldOptions
- func (*FieldOptions) Descriptor() ([]byte, []int)deprecated
- func (x *FieldOptions) GetAttribute() string
- func (x *FieldOptions) GetPartitionKey() bool
- func (x *FieldOptions) GetSortKey() bool
- func (*FieldOptions) ProtoMessage()
- func (x *FieldOptions) ProtoReflect() protoreflect.Message
- func (x *FieldOptions) Reset()
- func (x *FieldOptions) String() string
- type FileOptions
- type MessageOptions
- type MethodOptions
- type OneofOptions
- type ServiceOptions
Constants ¶
This section is empty.
Variables ¶
var (
// optional dynamodb.EnumOptions enum = 50304;
E_Enum = &file_dynamodb_options_proto_extTypes[0]
)
Extension fields to descriptorpb.EnumOptions.
var (
// optional dynamodb.EnumValueOptions enum_value = 50305;
E_EnumValue = &file_dynamodb_options_proto_extTypes[1]
)
Extension fields to descriptorpb.EnumValueOptions.
var (
// optional dynamodb.FieldOptions field = 50302;
E_Field = &file_dynamodb_options_proto_extTypes[2]
)
Extension fields to descriptorpb.FieldOptions.
var (
// optional dynamodb.FileOptions file = 50300;
E_File = &file_dynamodb_options_proto_extTypes[3]
)
Extension fields to descriptorpb.FileOptions.
var (
// optional dynamodb.MessageOptions message = 50301;
E_Message = &file_dynamodb_options_proto_extTypes[4]
)
Extension fields to descriptorpb.MessageOptions.
var (
// optional dynamodb.MethodOptions method = 50307;
E_Method = &file_dynamodb_options_proto_extTypes[5]
)
Extension fields to descriptorpb.MethodOptions.
var (
// optional dynamodb.OneofOptions oneof = 50303;
E_Oneof = &file_dynamodb_options_proto_extTypes[6]
)
Extension fields to descriptorpb.OneofOptions.
var (
// optional dynamodb.ServiceOptions service = 50306;
E_Service = &file_dynamodb_options_proto_extTypes[7]
)
Extension fields to descriptorpb.ServiceOptions.
var File_dynamodb_options_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EnumOptions ¶
type EnumOptions struct {
// contains filtered or unexported fields
}
func (*EnumOptions) Descriptor
deprecated
func (*EnumOptions) Descriptor() ([]byte, []int)
Deprecated: Use EnumOptions.ProtoReflect.Descriptor instead.
func (*EnumOptions) ProtoMessage ¶
func (*EnumOptions) ProtoMessage()
func (*EnumOptions) ProtoReflect ¶
func (x *EnumOptions) ProtoReflect() protoreflect.Message
func (*EnumOptions) Reset ¶
func (x *EnumOptions) Reset()
func (*EnumOptions) String ¶
func (x *EnumOptions) String() string
type EnumValueOptions ¶
type EnumValueOptions struct {
// contains filtered or unexported fields
}
func (*EnumValueOptions) Descriptor
deprecated
func (*EnumValueOptions) Descriptor() ([]byte, []int)
Deprecated: Use EnumValueOptions.ProtoReflect.Descriptor instead.
func (*EnumValueOptions) ProtoMessage ¶
func (*EnumValueOptions) ProtoMessage()
func (*EnumValueOptions) ProtoReflect ¶
func (x *EnumValueOptions) ProtoReflect() protoreflect.Message
func (*EnumValueOptions) Reset ¶
func (x *EnumValueOptions) Reset()
func (*EnumValueOptions) String ¶
func (x *EnumValueOptions) String() string
type FieldOptions ¶
type FieldOptions struct { // Marks the field as the DynamoDB partition key. // Exactly one field in a message must be marked as a partition key. PartitionKey bool `protobuf:"varint,1,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"` // Marks the field as the DynamoDB sort key. // Only one field in a message can be marked as a sort key. SortKey bool `protobuf:"varint,2,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"` // Sets the DynamoDB attribute name for this field. Attribute string `protobuf:"bytes,3,opt,name=attribute,proto3" json:"attribute,omitempty"` // contains filtered or unexported fields }
func (*FieldOptions) Descriptor
deprecated
func (*FieldOptions) Descriptor() ([]byte, []int)
Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.
func (*FieldOptions) GetAttribute ¶
func (x *FieldOptions) GetAttribute() string
func (*FieldOptions) GetPartitionKey ¶
func (x *FieldOptions) GetPartitionKey() bool
func (*FieldOptions) GetSortKey ¶
func (x *FieldOptions) GetSortKey() bool
func (*FieldOptions) ProtoMessage ¶
func (*FieldOptions) ProtoMessage()
func (*FieldOptions) ProtoReflect ¶
func (x *FieldOptions) ProtoReflect() protoreflect.Message
func (*FieldOptions) Reset ¶
func (x *FieldOptions) Reset()
func (*FieldOptions) String ¶
func (x *FieldOptions) String() string
type FileOptions ¶
type FileOptions struct {
// contains filtered or unexported fields
}
func (*FileOptions) Descriptor
deprecated
func (*FileOptions) Descriptor() ([]byte, []int)
Deprecated: Use FileOptions.ProtoReflect.Descriptor instead.
func (*FileOptions) ProtoMessage ¶
func (*FileOptions) ProtoMessage()
func (*FileOptions) ProtoReflect ¶
func (x *FileOptions) ProtoReflect() protoreflect.Message
func (*FileOptions) Reset ¶
func (x *FileOptions) Reset()
func (*FileOptions) String ¶
func (x *FileOptions) String() string
type MessageOptions ¶
type MessageOptions struct { // Set to true to indicate that this message represents a DynamoDB document // and protoc-gen-dynamodb should generate code for you. Document bool `protobuf:"varint,1,opt,name=document,proto3" json:"document,omitempty"` // contains filtered or unexported fields }
func (*MessageOptions) Descriptor
deprecated
func (*MessageOptions) Descriptor() ([]byte, []int)
Deprecated: Use MessageOptions.ProtoReflect.Descriptor instead.
func (*MessageOptions) GetDocument ¶
func (x *MessageOptions) GetDocument() bool
func (*MessageOptions) ProtoMessage ¶
func (*MessageOptions) ProtoMessage()
func (*MessageOptions) ProtoReflect ¶
func (x *MessageOptions) ProtoReflect() protoreflect.Message
func (*MessageOptions) Reset ¶
func (x *MessageOptions) Reset()
func (*MessageOptions) String ¶
func (x *MessageOptions) String() string
type MethodOptions ¶
type MethodOptions struct {
// contains filtered or unexported fields
}
func (*MethodOptions) Descriptor
deprecated
func (*MethodOptions) Descriptor() ([]byte, []int)
Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead.
func (*MethodOptions) ProtoMessage ¶
func (*MethodOptions) ProtoMessage()
func (*MethodOptions) ProtoReflect ¶
func (x *MethodOptions) ProtoReflect() protoreflect.Message
func (*MethodOptions) Reset ¶
func (x *MethodOptions) Reset()
func (*MethodOptions) String ¶
func (x *MethodOptions) String() string
type OneofOptions ¶
type OneofOptions struct {
// contains filtered or unexported fields
}
func (*OneofOptions) Descriptor
deprecated
func (*OneofOptions) Descriptor() ([]byte, []int)
Deprecated: Use OneofOptions.ProtoReflect.Descriptor instead.
func (*OneofOptions) ProtoMessage ¶
func (*OneofOptions) ProtoMessage()
func (*OneofOptions) ProtoReflect ¶
func (x *OneofOptions) ProtoReflect() protoreflect.Message
func (*OneofOptions) Reset ¶
func (x *OneofOptions) Reset()
func (*OneofOptions) String ¶
func (x *OneofOptions) String() string
type ServiceOptions ¶
type ServiceOptions struct {
// contains filtered or unexported fields
}
func (*ServiceOptions) Descriptor
deprecated
func (*ServiceOptions) Descriptor() ([]byte, []int)
Deprecated: Use ServiceOptions.ProtoReflect.Descriptor instead.
func (*ServiceOptions) ProtoMessage ¶
func (*ServiceOptions) ProtoMessage()
func (*ServiceOptions) ProtoReflect ¶
func (x *ServiceOptions) ProtoReflect() protoreflect.Message
func (*ServiceOptions) Reset ¶
func (x *ServiceOptions) Reset()
func (*ServiceOptions) String ¶
func (x *ServiceOptions) String() string