Versions in this module Expand all Collapse all v0 v0.1.1 Feb 10, 2022 v0.1.0 Feb 10, 2022 Changes in this version + var EnumType_name = map[int32]string + var EnumType_value = map[string]int32 + var ErrDirectSet = errors.New("field should be accessed directly") + var File_test_proto protoreflect.FileDescriptor + var TProtoDuration = reflect.TypeOf(&durationpb.Duration{}) + var TProtoEmpty = reflect.TypeOf(&emptypb.Empty{}) + var TProtoEnum = reflect.TypeOf((*protoreflect.Enum)(nil)).Elem() + var TProtoList = reflect.TypeOf((*protoreflect.List)(nil)).Elem() + var TProtoMap = reflect.TypeOf((*protoreflect.Map)(nil)).Elem() + var TProtoMessage = reflect.TypeOf((*protoreflect.ProtoMessage)(nil)).Elem() + var TProtoStruct = reflect.TypeOf(&structpb.Struct{}) + var TProtoStructListValue = reflect.TypeOf(&structpb.ListValue{}) + var TProtoStructValue = reflect.TypeOf(&structpb.Value{}) + var TProtoTimestamp = reflect.TypeOf(×tamppb.Timestamp{}) + var TProtoWrappedBool = reflect.TypeOf(&wrapperspb.BoolValue{}) + var TProtoWrappedBytes = reflect.TypeOf(&wrapperspb.BytesValue{}) + var TProtoWrappedDouble = reflect.TypeOf(&wrapperspb.DoubleValue{}) + var TProtoWrappedFloat = reflect.TypeOf(&wrapperspb.FloatValue{}) + var TProtoWrappedInt32 = reflect.TypeOf(&wrapperspb.Int32Value{}) + var TProtoWrappedInt64 = reflect.TypeOf(&wrapperspb.Int64Value{}) + var TProtoWrappedString = reflect.TypeOf(&wrapperspb.StringValue{}) + var TProtoWrappedUInt32 = reflect.TypeOf(&wrapperspb.UInt32Value{}) + var TProtoWrappedUInt64 = reflect.TypeOf(&wrapperspb.UInt64Value{}) + var TTime = reflect.TypeOf(time.Time{}) + func GetRWValue(rv protoreflect.Value, protoMsg protoreflect.ProtoMessage, name string) (reflect.Value, error) + func NewDecodeError(key string, original error) error + func PrepareInterfaceForDecode(where string, val reflect.Value, t reflect.Type) (reflect.Value, error) + func PrepareInterfaceForEncode(where string, val reflect.Value, t reflect.Type) (reflect.Value, error) + func PrepareValueForDecode(where string, val reflect.Value, t reflect.Type) (reflect.Value, error) + func PrepareValueForEncode(where string, val reflect.Value, t reflect.Type) (reflect.Value, error) + func ReflectIntoStd(sfv protoreflect.Value, useEnumNumbers bool) reflect.Type + func ReflectToProtoValue(field reflect.Value) (protoreflect.Value, error) + type DecodeError struct + func (de *DecodeError) Error() string + func (de *DecodeError) Keys() []string + func (de *DecodeError) Unwrap() error + type Embed struct + Text string + func (*Embed) Descriptor() ([]byte, []int) + func (*Embed) ProtoMessage() + func (x *Embed) GetText() string + func (x *Embed) ProtoReflect() protoreflect.Message + func (x *Embed) Reset() + func (x *Embed) String() string + type EnumType int32 + const EnumType_ANOTHER + const EnumType_TEST + func (EnumType) Descriptor() protoreflect.EnumDescriptor + func (EnumType) EnumDescriptor() ([]byte, []int) + func (EnumType) Type() protoreflect.EnumType + func (x EnumType) Enum() *EnumType + func (x EnumType) Number() protoreflect.EnumNumber + func (x EnumType) String() string + type Msg struct + En EnumType + Field *Embed + MapEnum map[uint32]EnumType + MapField map[string]*Embed + RepEnum []EnumType + RepField []*Embed + Variant isMsg_Variant + func (*Msg) Descriptor() ([]byte, []int) + func (*Msg) ProtoMessage() + func (m *Msg) GetVariant() isMsg_Variant + func (x *Msg) GetA() string + func (x *Msg) GetB() string + func (x *Msg) GetC() *Embed + func (x *Msg) GetEn() EnumType + func (x *Msg) GetField() *Embed + func (x *Msg) GetMapEnum() map[uint32]EnumType + func (x *Msg) GetMapField() map[string]*Embed + func (x *Msg) GetRepEnum() []EnumType + func (x *Msg) GetRepField() []*Embed + func (x *Msg) ProtoReflect() protoreflect.Message + func (x *Msg) Reset() + func (x *Msg) String() string + type Msg_A struct + A string + type Msg_B struct + B string + type Msg_C struct + C *Embed + type WKT struct + BoolField *wrapperspb.BoolValue + BytesField *wrapperspb.BytesValue + DoubleField *wrapperspb.DoubleValue + DurationField *durationpb.Duration + EmptyField *emptypb.Empty + FloatField *wrapperspb.FloatValue + Int32Field *wrapperspb.Int32Value + Int64Field *wrapperspb.Int64Value + RepBoolField []*wrapperspb.BoolValue + RepBytesField []*wrapperspb.BytesValue + RepDoubleField []*wrapperspb.DoubleValue + RepDurationField []*durationpb.Duration + RepEmptyField []*emptypb.Empty + RepFloatField []*wrapperspb.FloatValue + RepInt32Field []*wrapperspb.Int32Value + RepInt64Field []*wrapperspb.Int64Value + RepStringField []*wrapperspb.StringValue + RepStructField []*structpb.Struct + RepTimestampField []*timestamppb.Timestamp + RepUInt32Field []*wrapperspb.UInt32Value + RepUInt64Field []*wrapperspb.UInt64Value + RepValueField []*structpb.Value + StringField *wrapperspb.StringValue + StructField *structpb.Struct + TimestampField *timestamppb.Timestamp + UInt32Field *wrapperspb.UInt32Value + UInt64Field *wrapperspb.UInt64Value + ValueField *structpb.Value + func (*WKT) Descriptor() ([]byte, []int) + func (*WKT) ProtoMessage() + func (x *WKT) GetBoolField() *wrapperspb.BoolValue + func (x *WKT) GetBytesField() *wrapperspb.BytesValue + func (x *WKT) GetDoubleField() *wrapperspb.DoubleValue + func (x *WKT) GetDurationField() *durationpb.Duration + func (x *WKT) GetEmptyField() *emptypb.Empty + func (x *WKT) GetFloatField() *wrapperspb.FloatValue + func (x *WKT) GetInt32Field() *wrapperspb.Int32Value + func (x *WKT) GetInt64Field() *wrapperspb.Int64Value + func (x *WKT) GetRepBoolField() []*wrapperspb.BoolValue + func (x *WKT) GetRepBytesField() []*wrapperspb.BytesValue + func (x *WKT) GetRepDoubleField() []*wrapperspb.DoubleValue + func (x *WKT) GetRepDurationField() []*durationpb.Duration + func (x *WKT) GetRepEmptyField() []*emptypb.Empty + func (x *WKT) GetRepFloatField() []*wrapperspb.FloatValue + func (x *WKT) GetRepInt32Field() []*wrapperspb.Int32Value + func (x *WKT) GetRepInt64Field() []*wrapperspb.Int64Value + func (x *WKT) GetRepStringField() []*wrapperspb.StringValue + func (x *WKT) GetRepStructField() []*structpb.Struct + func (x *WKT) GetRepTimestampField() []*timestamppb.Timestamp + func (x *WKT) GetRepUInt32Field() []*wrapperspb.UInt32Value + func (x *WKT) GetRepUInt64Field() []*wrapperspb.UInt64Value + func (x *WKT) GetRepValueField() []*structpb.Value + func (x *WKT) GetStringField() *wrapperspb.StringValue + func (x *WKT) GetStructField() *structpb.Struct + func (x *WKT) GetTimestampField() *timestamppb.Timestamp + func (x *WKT) GetUInt32Field() *wrapperspb.UInt32Value + func (x *WKT) GetUInt64Field() *wrapperspb.UInt64Value + func (x *WKT) GetValueField() *structpb.Value + func (x *WKT) ProtoReflect() protoreflect.Message + func (x *WKT) Reset() + func (x *WKT) String() string