Versions in this module Expand all Collapse all v1 v1.0.0 Jan 24, 2023 Changes in this version + var AnEnum_name = map[int32]string + var AnEnum_value = map[string]int32 + var Enum_ANestedEnum_name = map[int32]string + var Enum_ANestedEnum_value = map[string]int32 + var File_converters_converters_proto protoreflect.FileDescriptor + type AnEnum int32 + const AnEnum_AN_ENUM_UNSPECIFIED + const AnEnum_AN_ENUM_VALUE + func (AnEnum) Descriptor() protoreflect.EnumDescriptor + func (AnEnum) EnumDescriptor() ([]byte, []int) + func (AnEnum) Type() protoreflect.EnumType + func (x AnEnum) Enum() *AnEnum + func (x AnEnum) Number() protoreflect.EnumNumber + func (x AnEnum) String() string + type Enum struct + EnumField AnEnum + NestedEnumField Enum_ANestedEnum + func (*Enum) Descriptor() ([]byte, []int) + func (*Enum) ProtoMessage() + func (x *Enum) AsModel() (*EnumModel, error) + func (x *Enum) GetEnumField() AnEnum + func (x *Enum) GetNestedEnumField() Enum_ANestedEnum + func (x *Enum) ProtoReflect() protoreflect.Message + func (x *Enum) Reset() + func (x *Enum) String() string + type EnumModel struct + EnumField int32 + NestedEnumField int32 + func (m *EnumModel) AsProto() (*Enum, error) + type Enum_ANestedEnum int32 + const Enum_A_NESTED_ENUM_UNSPECIFIED + const Enum_A_NESTED_ENUM_VALUE + func (Enum_ANestedEnum) Descriptor() protoreflect.EnumDescriptor + func (Enum_ANestedEnum) EnumDescriptor() ([]byte, []int) + func (Enum_ANestedEnum) Type() protoreflect.EnumType + func (x Enum_ANestedEnum) Enum() *Enum_ANestedEnum + func (x Enum_ANestedEnum) Number() protoreflect.EnumNumber + func (x Enum_ANestedEnum) String() string + type Json struct + MapField map[string]string + func (*Json) Descriptor() ([]byte, []int) + func (*Json) ProtoMessage() + func (x *Json) AsModel() (*JsonModel, error) + func (x *Json) GetMapField() map[string]string + func (x *Json) ProtoReflect() protoreflect.Message + func (x *Json) Reset() + func (x *Json) String() string + type JsonModel struct + MapField []byte + func (m *JsonModel) AsProto() (*Json, error) + type KnownTypes struct + TimestampField *timestamppb.Timestamp + func (*KnownTypes) Descriptor() ([]byte, []int) + func (*KnownTypes) ProtoMessage() + func (x *KnownTypes) AsModel() (*KnownTypesModel, error) + func (x *KnownTypes) GetTimestampField() *timestamppb.Timestamp + func (x *KnownTypes) ProtoReflect() protoreflect.Message + func (x *KnownTypes) Reset() + func (x *KnownTypes) String() string + type KnownTypesModel struct + TimestampField time.Time + func (m *KnownTypesModel) AsProto() (*KnownTypes, error) + type Scalars struct + BoolField bool + BytesField []byte + DoubleField float64 + Fixed32Field uint32 + Fixed64Field uint64 + FloatField float32 + Int32Field int32 + Int64Field int64 + Sfixed32Field int32 + Sfixed64Field int64 + Sint32Field int32 + Sint64Field int64 + StringField string + Uint32Field uint32 + Uint64Field uint64 + func (*Scalars) Descriptor() ([]byte, []int) + func (*Scalars) ProtoMessage() + func (x *Scalars) AsModel() (*ScalarsModel, error) + func (x *Scalars) GetBoolField() bool + func (x *Scalars) GetBytesField() []byte + func (x *Scalars) GetDoubleField() float64 + func (x *Scalars) GetFixed32Field() uint32 + func (x *Scalars) GetFixed64Field() uint64 + func (x *Scalars) GetFloatField() float32 + func (x *Scalars) GetInt32Field() int32 + func (x *Scalars) GetInt64Field() int64 + func (x *Scalars) GetSfixed32Field() int32 + func (x *Scalars) GetSfixed64Field() int64 + func (x *Scalars) GetSint32Field() int32 + func (x *Scalars) GetSint64Field() int64 + func (x *Scalars) GetStringField() string + func (x *Scalars) GetUint32Field() uint32 + func (x *Scalars) GetUint64Field() uint64 + func (x *Scalars) ProtoReflect() protoreflect.Message + func (x *Scalars) Reset() + func (x *Scalars) String() string + type ScalarsModel struct + BoolField bool + BytesField []byte + DoubleField float64 + Fixed32Field uint32 + Fixed64Field uint64 + FloatField float32 + Int32Field int32 + Int64Field int64 + Sfixed32Field int32 + Sfixed64Field int64 + Sint32Field int32 + Sint64Field int64 + StringField string + Uint32Field uint32 + Uint64Field uint64 + func (m *ScalarsModel) AsProto() (*Scalars, error)