Documentation ¶
Index ¶
- Variables
- type ColumnToFieldMapping
- func (*ColumnToFieldMapping) Descriptor() ([]byte, []int)deprecated
- func (x *ColumnToFieldMapping) GetColName() string
- func (x *ColumnToFieldMapping) GetColumnIndex() int32
- func (x *ColumnToFieldMapping) GetComment() string
- func (x *ColumnToFieldMapping) GetDurationFormat() *DurationFormat
- func (x *ColumnToFieldMapping) GetIgnored() bool
- func (m *ColumnToFieldMapping) GetParsingInfo() isColumnToFieldMapping_ParsingInfo
- func (x *ColumnToFieldMapping) GetProtoImports() []string
- func (x *ColumnToFieldMapping) GetProtoName() string
- func (x *ColumnToFieldMapping) GetProtoTag() int32
- func (x *ColumnToFieldMapping) GetProtoType() string
- func (x *ColumnToFieldMapping) GetTimeFormat() *TimeFormat
- func (*ColumnToFieldMapping) ProtoMessage()
- func (x *ColumnToFieldMapping) ProtoReflect() protoreflect.Message
- func (x *ColumnToFieldMapping) Reset()
- func (x *ColumnToFieldMapping) String() string
- type ColumnToFieldMapping_DurationFormat
- type ColumnToFieldMapping_TimeFormat
- type DurationFormat
- type FieldDefinition
- func (*FieldDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDefinition) GetComment() string
- func (x *FieldDefinition) GetProtoImports() []string
- func (x *FieldDefinition) GetProtoName() string
- func (x *FieldDefinition) GetProtoTag() int32
- func (x *FieldDefinition) GetProtoType() string
- func (*FieldDefinition) ProtoMessage()
- func (x *FieldDefinition) ProtoReflect() protoreflect.Message
- func (x *FieldDefinition) Reset()
- func (x *FieldDefinition) String() string
- type GoOptions
- type RecordProtoMapping
- func (*RecordProtoMapping) Descriptor() ([]byte, []int)deprecated
- func (x *RecordProtoMapping) GetColumnToFieldMappings() []*ColumnToFieldMapping
- func (x *RecordProtoMapping) GetExtraFieldDefinitions() []*FieldDefinition
- func (x *RecordProtoMapping) GetGoOptions() *GoOptions
- func (x *RecordProtoMapping) GetMessageName() string
- func (x *RecordProtoMapping) GetPackageName() string
- func (*RecordProtoMapping) ProtoMessage()
- func (x *RecordProtoMapping) ProtoReflect() protoreflect.Message
- func (x *RecordProtoMapping) Reset()
- func (x *RecordProtoMapping) String() string
- type TimeFormat
- func (*TimeFormat) Descriptor() ([]byte, []int)deprecated
- func (x *TimeFormat) GetGoLayout() string
- func (x *TimeFormat) GetTimeZoneName() string
- func (*TimeFormat) ProtoMessage()
- func (x *TimeFormat) ProtoReflect() protoreflect.Message
- func (x *TimeFormat) Reset()
- func (x *TimeFormat) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_google_xtoproto_proto_recordtoproto_recordtoproto_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ColumnToFieldMapping ¶
type ColumnToFieldMapping struct { ColumnIndex int32 `protobuf:"varint,1,opt,name=column_index,json=columnIndex,proto3" json:"column_index,omitempty"` ColName string `protobuf:"bytes,2,opt,name=col_name,json=colName,proto3" json:"col_name,omitempty"` ProtoName string `protobuf:"bytes,3,opt,name=proto_name,json=protoName,proto3" json:"proto_name,omitempty"` ProtoType string `protobuf:"bytes,4,opt,name=proto_type,json=protoType,proto3" json:"proto_type,omitempty"` ProtoTag int32 `protobuf:"varint,5,opt,name=proto_tag,json=protoTag,proto3" json:"proto_tag,omitempty"` Ignored bool `protobuf:"varint,6,opt,name=ignored,proto3" json:"ignored,omitempty"` ProtoImports []string `protobuf:"bytes,7,rep,name=proto_imports,json=protoImports,proto3" json:"proto_imports,omitempty"` Comment string `protobuf:"bytes,9,opt,name=comment,proto3" json:"comment,omitempty"` // Types that are assignable to ParsingInfo: // *ColumnToFieldMapping_TimeFormat // *ColumnToFieldMapping_DurationFormat ParsingInfo isColumnToFieldMapping_ParsingInfo `protobuf_oneof:"parsing_info"` // contains filtered or unexported fields }
func (*ColumnToFieldMapping) Descriptor
deprecated
func (*ColumnToFieldMapping) Descriptor() ([]byte, []int)
Deprecated: Use ColumnToFieldMapping.ProtoReflect.Descriptor instead.
func (*ColumnToFieldMapping) GetColName ¶
func (x *ColumnToFieldMapping) GetColName() string
func (*ColumnToFieldMapping) GetColumnIndex ¶
func (x *ColumnToFieldMapping) GetColumnIndex() int32
func (*ColumnToFieldMapping) GetComment ¶
func (x *ColumnToFieldMapping) GetComment() string
func (*ColumnToFieldMapping) GetDurationFormat ¶ added in v0.0.7
func (x *ColumnToFieldMapping) GetDurationFormat() *DurationFormat
func (*ColumnToFieldMapping) GetIgnored ¶
func (x *ColumnToFieldMapping) GetIgnored() bool
func (*ColumnToFieldMapping) GetParsingInfo ¶
func (m *ColumnToFieldMapping) GetParsingInfo() isColumnToFieldMapping_ParsingInfo
func (*ColumnToFieldMapping) GetProtoImports ¶
func (x *ColumnToFieldMapping) GetProtoImports() []string
func (*ColumnToFieldMapping) GetProtoName ¶
func (x *ColumnToFieldMapping) GetProtoName() string
func (*ColumnToFieldMapping) GetProtoTag ¶
func (x *ColumnToFieldMapping) GetProtoTag() int32
func (*ColumnToFieldMapping) GetProtoType ¶
func (x *ColumnToFieldMapping) GetProtoType() string
func (*ColumnToFieldMapping) GetTimeFormat ¶
func (x *ColumnToFieldMapping) GetTimeFormat() *TimeFormat
func (*ColumnToFieldMapping) ProtoMessage ¶
func (*ColumnToFieldMapping) ProtoMessage()
func (*ColumnToFieldMapping) ProtoReflect ¶
func (x *ColumnToFieldMapping) ProtoReflect() protoreflect.Message
func (*ColumnToFieldMapping) Reset ¶
func (x *ColumnToFieldMapping) Reset()
func (*ColumnToFieldMapping) String ¶
func (x *ColumnToFieldMapping) String() string
type ColumnToFieldMapping_DurationFormat ¶ added in v0.0.7
type ColumnToFieldMapping_DurationFormat struct {
DurationFormat *DurationFormat `protobuf:"bytes,10,opt,name=duration_format,json=durationFormat,proto3,oneof"`
}
type ColumnToFieldMapping_TimeFormat ¶
type ColumnToFieldMapping_TimeFormat struct {
TimeFormat *TimeFormat `protobuf:"bytes,8,opt,name=time_format,json=timeFormat,proto3,oneof"`
}
type DurationFormat ¶ added in v0.0.7
type DurationFormat struct { GoUnitSuffix string `protobuf:"bytes,1,opt,name=go_unit_suffix,json=goUnitSuffix,proto3" json:"go_unit_suffix,omitempty"` // contains filtered or unexported fields }
func (*DurationFormat) Descriptor
deprecated
added in
v0.0.7
func (*DurationFormat) Descriptor() ([]byte, []int)
Deprecated: Use DurationFormat.ProtoReflect.Descriptor instead.
func (*DurationFormat) GetGoUnitSuffix ¶ added in v0.0.7
func (x *DurationFormat) GetGoUnitSuffix() string
func (*DurationFormat) ProtoMessage ¶ added in v0.0.7
func (*DurationFormat) ProtoMessage()
func (*DurationFormat) ProtoReflect ¶ added in v0.0.7
func (x *DurationFormat) ProtoReflect() protoreflect.Message
func (*DurationFormat) Reset ¶ added in v0.0.7
func (x *DurationFormat) Reset()
func (*DurationFormat) String ¶ added in v0.0.7
func (x *DurationFormat) String() string
type FieldDefinition ¶
type FieldDefinition struct { ProtoName string `protobuf:"bytes,1,opt,name=proto_name,json=protoName,proto3" json:"proto_name,omitempty"` ProtoType string `protobuf:"bytes,2,opt,name=proto_type,json=protoType,proto3" json:"proto_type,omitempty"` ProtoTag int32 `protobuf:"varint,3,opt,name=proto_tag,json=protoTag,proto3" json:"proto_tag,omitempty"` ProtoImports []string `protobuf:"bytes,4,rep,name=proto_imports,json=protoImports,proto3" json:"proto_imports,omitempty"` Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*FieldDefinition) Descriptor
deprecated
func (*FieldDefinition) Descriptor() ([]byte, []int)
Deprecated: Use FieldDefinition.ProtoReflect.Descriptor instead.
func (*FieldDefinition) GetComment ¶
func (x *FieldDefinition) GetComment() string
func (*FieldDefinition) GetProtoImports ¶
func (x *FieldDefinition) GetProtoImports() []string
func (*FieldDefinition) GetProtoName ¶
func (x *FieldDefinition) GetProtoName() string
func (*FieldDefinition) GetProtoTag ¶
func (x *FieldDefinition) GetProtoTag() int32
func (*FieldDefinition) GetProtoType ¶
func (x *FieldDefinition) GetProtoType() string
func (*FieldDefinition) ProtoMessage ¶
func (*FieldDefinition) ProtoMessage()
func (*FieldDefinition) ProtoReflect ¶
func (x *FieldDefinition) ProtoReflect() protoreflect.Message
func (*FieldDefinition) Reset ¶
func (x *FieldDefinition) Reset()
func (*FieldDefinition) String ¶
func (x *FieldDefinition) String() string
type GoOptions ¶
type GoOptions struct { GoPackageName string `protobuf:"bytes,1,opt,name=go_package_name,json=goPackageName,proto3" json:"go_package_name,omitempty"` ProtoImport string `protobuf:"bytes,2,opt,name=proto_import,json=protoImport,proto3" json:"proto_import,omitempty"` // contains filtered or unexported fields }
func (*GoOptions) Descriptor
deprecated
func (*GoOptions) GetGoPackageName ¶
func (*GoOptions) GetProtoImport ¶
func (*GoOptions) ProtoMessage ¶
func (*GoOptions) ProtoMessage()
func (*GoOptions) ProtoReflect ¶
func (x *GoOptions) ProtoReflect() protoreflect.Message
type RecordProtoMapping ¶
type RecordProtoMapping struct { PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` MessageName string `protobuf:"bytes,2,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"` ColumnToFieldMappings []*ColumnToFieldMapping `` /* 128-byte string literal not displayed */ GoOptions *GoOptions `protobuf:"bytes,4,opt,name=go_options,json=goOptions,proto3" json:"go_options,omitempty"` ExtraFieldDefinitions []*FieldDefinition `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RecordProtoMapping) Descriptor
deprecated
func (*RecordProtoMapping) Descriptor() ([]byte, []int)
Deprecated: Use RecordProtoMapping.ProtoReflect.Descriptor instead.
func (*RecordProtoMapping) GetColumnToFieldMappings ¶
func (x *RecordProtoMapping) GetColumnToFieldMappings() []*ColumnToFieldMapping
func (*RecordProtoMapping) GetExtraFieldDefinitions ¶
func (x *RecordProtoMapping) GetExtraFieldDefinitions() []*FieldDefinition
func (*RecordProtoMapping) GetGoOptions ¶
func (x *RecordProtoMapping) GetGoOptions() *GoOptions
func (*RecordProtoMapping) GetMessageName ¶
func (x *RecordProtoMapping) GetMessageName() string
func (*RecordProtoMapping) GetPackageName ¶
func (x *RecordProtoMapping) GetPackageName() string
func (*RecordProtoMapping) ProtoMessage ¶
func (*RecordProtoMapping) ProtoMessage()
func (*RecordProtoMapping) ProtoReflect ¶
func (x *RecordProtoMapping) ProtoReflect() protoreflect.Message
func (*RecordProtoMapping) Reset ¶
func (x *RecordProtoMapping) Reset()
func (*RecordProtoMapping) String ¶
func (x *RecordProtoMapping) String() string
type TimeFormat ¶
type TimeFormat struct { GoLayout string `protobuf:"bytes,1,opt,name=go_layout,json=goLayout,proto3" json:"go_layout,omitempty"` TimeZoneName string `protobuf:"bytes,2,opt,name=time_zone_name,json=timeZoneName,proto3" json:"time_zone_name,omitempty"` // contains filtered or unexported fields }
func (*TimeFormat) Descriptor
deprecated
func (*TimeFormat) Descriptor() ([]byte, []int)
Deprecated: Use TimeFormat.ProtoReflect.Descriptor instead.
func (*TimeFormat) GetGoLayout ¶
func (x *TimeFormat) GetGoLayout() string
func (*TimeFormat) GetTimeZoneName ¶
func (x *TimeFormat) GetTimeZoneName() string
func (*TimeFormat) ProtoMessage ¶
func (*TimeFormat) ProtoMessage()
func (*TimeFormat) ProtoReflect ¶
func (x *TimeFormat) ProtoReflect() protoreflect.Message
func (*TimeFormat) Reset ¶
func (x *TimeFormat) Reset()
func (*TimeFormat) String ¶
func (x *TimeFormat) String() string
Click to show internal directories.
Click to hide internal directories.