Versions in this module Expand all Collapse all v1 v1.1.1 Jul 17, 2018 Changes in this version + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + type KnownTypes struct + Bool *types.BoolValue + Bytes *types.BytesValue + Dbl *types.DoubleValue + Dur *types.Duration + Flt *types.FloatValue + I32 *types.Int32Value + I64 *types.Int64Value + Str *types.StringValue + Ts *types.Timestamp + U32 *types.UInt32Value + U64 *types.UInt64Value + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedKnownTypes(r randyTypes, easy bool) *KnownTypes + func (*KnownTypes) Descriptor() ([]byte, []int) + func (*KnownTypes) ProtoMessage() + func (dst *KnownTypes) XXX_Merge(src proto.Message) + func (m *KnownTypes) GetBool() *types.BoolValue + func (m *KnownTypes) GetBytes() *types.BytesValue + func (m *KnownTypes) GetDbl() *types.DoubleValue + func (m *KnownTypes) GetDur() *types.Duration + func (m *KnownTypes) GetFlt() *types.FloatValue + func (m *KnownTypes) GetI32() *types.Int32Value + func (m *KnownTypes) GetI64() *types.Int64Value + func (m *KnownTypes) GetStr() *types.StringValue + func (m *KnownTypes) GetTs() *types.Timestamp + func (m *KnownTypes) GetU32() *types.UInt32Value + func (m *KnownTypes) GetU64() *types.UInt64Value + func (m *KnownTypes) Marshal() (dAtA []byte, err error) + func (m *KnownTypes) MarshalTo(dAtA []byte) (int, error) + func (m *KnownTypes) Reset() + func (m *KnownTypes) Size() (n int) + func (m *KnownTypes) String() string + func (m *KnownTypes) Unmarshal(dAtA []byte) error + func (m *KnownTypes) XXX_DiscardUnknown() + func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *KnownTypes) XXX_Size() int + func (m *KnownTypes) XXX_Unmarshal(b []byte) error + func (this *KnownTypes) Compare(that interface{}) int + func (this *KnownTypes) Equal(that interface{}) bool + func (this *KnownTypes) VerboseEqual(that interface{}) error + type MapProtoTypes struct + Duration map[int32]types.Duration + NullableDuration map[int32]*types.Duration + NullableTimestamp map[int32]*types.Timestamp + Timestamp map[int32]types.Timestamp + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedMapProtoTypes(r randyTypes, easy bool) *MapProtoTypes + func (*MapProtoTypes) Descriptor() ([]byte, []int) + func (*MapProtoTypes) ProtoMessage() + func (dst *MapProtoTypes) XXX_Merge(src proto.Message) + func (m *MapProtoTypes) GetDuration() map[int32]types.Duration + func (m *MapProtoTypes) GetNullableDuration() map[int32]*types.Duration + func (m *MapProtoTypes) GetNullableTimestamp() map[int32]*types.Timestamp + func (m *MapProtoTypes) GetTimestamp() map[int32]types.Timestamp + func (m *MapProtoTypes) Marshal() (dAtA []byte, err error) + func (m *MapProtoTypes) MarshalTo(dAtA []byte) (int, error) + func (m *MapProtoTypes) Reset() + func (m *MapProtoTypes) Size() (n int) + func (m *MapProtoTypes) String() string + func (m *MapProtoTypes) Unmarshal(dAtA []byte) error + func (m *MapProtoTypes) XXX_DiscardUnknown() + func (m *MapProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MapProtoTypes) XXX_Size() int + func (m *MapProtoTypes) XXX_Unmarshal(b []byte) error + func (this *MapProtoTypes) Equal(that interface{}) bool + func (this *MapProtoTypes) VerboseEqual(that interface{}) error + type MapStdTypes struct + Duration map[int32]time.Duration + NullableDuration map[int32]*time.Duration + NullableTimestamp map[int32]*time.Time + Timestamp map[int32]time.Time + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedMapStdTypes(r randyTypes, easy bool) *MapStdTypes + func (*MapStdTypes) Descriptor() ([]byte, []int) + func (*MapStdTypes) ProtoMessage() + func (dst *MapStdTypes) XXX_Merge(src proto.Message) + func (m *MapStdTypes) GetDuration() map[int32]time.Duration + func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration + func (m *MapStdTypes) GetNullableTimestamp() map[int32]*time.Time + func (m *MapStdTypes) GetTimestamp() map[int32]time.Time + func (m *MapStdTypes) Marshal() (dAtA []byte, err error) + func (m *MapStdTypes) MarshalTo(dAtA []byte) (int, error) + func (m *MapStdTypes) Reset() + func (m *MapStdTypes) Size() (n int) + func (m *MapStdTypes) String() string + func (m *MapStdTypes) Unmarshal(dAtA []byte) error + func (m *MapStdTypes) XXX_DiscardUnknown() + func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MapStdTypes) XXX_Size() int + func (m *MapStdTypes) XXX_Unmarshal(b []byte) error + func (this *MapStdTypes) Equal(that interface{}) bool + func (this *MapStdTypes) VerboseEqual(that interface{}) error + type OneofProtoTypes struct + OneOfProtoTimes isOneofProtoTypes_OneOfProtoTimes + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedOneofProtoTypes(r randyTypes, easy bool) *OneofProtoTypes + func (*OneofProtoTypes) Descriptor() ([]byte, []int) + func (*OneofProtoTypes) ProtoMessage() + func (*OneofProtoTypes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (dst *OneofProtoTypes) XXX_Merge(src proto.Message) + func (m *OneofProtoTypes) GetDuration() *types.Duration + func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes + func (m *OneofProtoTypes) GetTimestamp() *types.Timestamp + func (m *OneofProtoTypes) Marshal() (dAtA []byte, err error) + func (m *OneofProtoTypes) MarshalTo(dAtA []byte) (int, error) + func (m *OneofProtoTypes) Reset() + func (m *OneofProtoTypes) Size() (n int) + func (m *OneofProtoTypes) String() string + func (m *OneofProtoTypes) Unmarshal(dAtA []byte) error + func (m *OneofProtoTypes) XXX_DiscardUnknown() + func (m *OneofProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *OneofProtoTypes) XXX_Size() int + func (m *OneofProtoTypes) XXX_Unmarshal(b []byte) error + func (this *OneofProtoTypes) Equal(that interface{}) bool + func (this *OneofProtoTypes) VerboseEqual(that interface{}) error + type OneofProtoTypes_Duration struct + Duration *types.Duration + func NewPopulatedOneofProtoTypes_Duration(r randyTypes, easy bool) *OneofProtoTypes_Duration + func (m *OneofProtoTypes_Duration) MarshalTo(dAtA []byte) (int, error) + func (m *OneofProtoTypes_Duration) Size() (n int) + func (this *OneofProtoTypes_Duration) Equal(that interface{}) bool + func (this *OneofProtoTypes_Duration) VerboseEqual(that interface{}) error + type OneofProtoTypes_Timestamp struct + Timestamp *types.Timestamp + func NewPopulatedOneofProtoTypes_Timestamp(r randyTypes, easy bool) *OneofProtoTypes_Timestamp + func (m *OneofProtoTypes_Timestamp) MarshalTo(dAtA []byte) (int, error) + func (m *OneofProtoTypes_Timestamp) Size() (n int) + func (this *OneofProtoTypes_Timestamp) Equal(that interface{}) bool + func (this *OneofProtoTypes_Timestamp) VerboseEqual(that interface{}) error + type OneofStdTypes struct + OneOfStdTimes isOneofStdTypes_OneOfStdTimes + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedOneofStdTypes(r randyTypes, easy bool) *OneofStdTypes + func (*OneofStdTypes) Descriptor() ([]byte, []int) + func (*OneofStdTypes) ProtoMessage() + func (*OneofStdTypes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (dst *OneofStdTypes) XXX_Merge(src proto.Message) + func (m *OneofStdTypes) GetDuration() *time.Duration + func (m *OneofStdTypes) GetOneOfStdTimes() isOneofStdTypes_OneOfStdTimes + func (m *OneofStdTypes) GetTimestamp() *time.Time + func (m *OneofStdTypes) Marshal() (dAtA []byte, err error) + func (m *OneofStdTypes) MarshalTo(dAtA []byte) (int, error) + func (m *OneofStdTypes) Reset() + func (m *OneofStdTypes) Size() (n int) + func (m *OneofStdTypes) String() string + func (m *OneofStdTypes) Unmarshal(dAtA []byte) error + func (m *OneofStdTypes) XXX_DiscardUnknown() + func (m *OneofStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *OneofStdTypes) XXX_Size() int + func (m *OneofStdTypes) XXX_Unmarshal(b []byte) error + func (this *OneofStdTypes) Equal(that interface{}) bool + func (this *OneofStdTypes) VerboseEqual(that interface{}) error + type OneofStdTypes_Duration struct + Duration *time.Duration + func NewPopulatedOneofStdTypes_Duration(r randyTypes, easy bool) *OneofStdTypes_Duration + func (m *OneofStdTypes_Duration) MarshalTo(dAtA []byte) (int, error) + func (m *OneofStdTypes_Duration) Size() (n int) + func (this *OneofStdTypes_Duration) Equal(that interface{}) bool + func (this *OneofStdTypes_Duration) VerboseEqual(that interface{}) error + type OneofStdTypes_Timestamp struct + Timestamp *time.Time + func NewPopulatedOneofStdTypes_Timestamp(r randyTypes, easy bool) *OneofStdTypes_Timestamp + func (m *OneofStdTypes_Timestamp) MarshalTo(dAtA []byte) (int, error) + func (m *OneofStdTypes_Timestamp) Size() (n int) + func (this *OneofStdTypes_Timestamp) Equal(that interface{}) bool + func (this *OneofStdTypes_Timestamp) VerboseEqual(that interface{}) error + type ProtoTypes struct + Duration types.Duration + NullableDuration *types.Duration + NullableTimestamp *types.Timestamp + Timestamp types.Timestamp + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedProtoTypes(r randyTypes, easy bool) *ProtoTypes + func (*ProtoTypes) Descriptor() ([]byte, []int) + func (*ProtoTypes) ProtoMessage() + func (dst *ProtoTypes) XXX_Merge(src proto.Message) + func (m *ProtoTypes) GetDuration() types.Duration + func (m *ProtoTypes) GetNullableDuration() *types.Duration + func (m *ProtoTypes) GetNullableTimestamp() *types.Timestamp + func (m *ProtoTypes) GetTimestamp() types.Timestamp + func (m *ProtoTypes) Marshal() (dAtA []byte, err error) + func (m *ProtoTypes) MarshalTo(dAtA []byte) (int, error) + func (m *ProtoTypes) Reset() + func (m *ProtoTypes) Size() (n int) + func (m *ProtoTypes) String() string + func (m *ProtoTypes) Unmarshal(dAtA []byte) error + func (m *ProtoTypes) XXX_DiscardUnknown() + func (m *ProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ProtoTypes) XXX_Size() int + func (m *ProtoTypes) XXX_Unmarshal(b []byte) error + func (this *ProtoTypes) Compare(that interface{}) int + func (this *ProtoTypes) Equal(that interface{}) bool + func (this *ProtoTypes) VerboseEqual(that interface{}) error + type RepProtoTypes struct + Durations []types.Duration + NullableDurations []*types.Duration + NullableTimestamps []*types.Timestamp + Timestamps []types.Timestamp + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedRepProtoTypes(r randyTypes, easy bool) *RepProtoTypes + func (*RepProtoTypes) Descriptor() ([]byte, []int) + func (*RepProtoTypes) ProtoMessage() + func (dst *RepProtoTypes) XXX_Merge(src proto.Message) + func (m *RepProtoTypes) GetDurations() []types.Duration + func (m *RepProtoTypes) GetNullableDurations() []*types.Duration + func (m *RepProtoTypes) GetNullableTimestamps() []*types.Timestamp + func (m *RepProtoTypes) GetTimestamps() []types.Timestamp + func (m *RepProtoTypes) Marshal() (dAtA []byte, err error) + func (m *RepProtoTypes) MarshalTo(dAtA []byte) (int, error) + func (m *RepProtoTypes) Reset() + func (m *RepProtoTypes) Size() (n int) + func (m *RepProtoTypes) String() string + func (m *RepProtoTypes) Unmarshal(dAtA []byte) error + func (m *RepProtoTypes) XXX_DiscardUnknown() + func (m *RepProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RepProtoTypes) XXX_Size() int + func (m *RepProtoTypes) XXX_Unmarshal(b []byte) error + func (this *RepProtoTypes) Compare(that interface{}) int + func (this *RepProtoTypes) Equal(that interface{}) bool + func (this *RepProtoTypes) VerboseEqual(that interface{}) error + type RepStdTypes struct + Durations []time.Duration + NullableDurations []*time.Duration + NullableTimestamps []*time.Time + Timestamps []time.Time + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedRepStdTypes(r randyTypes, easy bool) *RepStdTypes + func (*RepStdTypes) Descriptor() ([]byte, []int) + func (*RepStdTypes) ProtoMessage() + func (dst *RepStdTypes) XXX_Merge(src proto.Message) + func (m *RepStdTypes) GetDurations() []time.Duration + func (m *RepStdTypes) GetNullableDurations() []*time.Duration + func (m *RepStdTypes) GetNullableTimestamps() []*time.Time + func (m *RepStdTypes) GetTimestamps() []time.Time + func (m *RepStdTypes) Marshal() (dAtA []byte, err error) + func (m *RepStdTypes) MarshalTo(dAtA []byte) (int, error) + func (m *RepStdTypes) Reset() + func (m *RepStdTypes) Size() (n int) + func (m *RepStdTypes) String() string + func (m *RepStdTypes) Unmarshal(dAtA []byte) error + func (m *RepStdTypes) XXX_DiscardUnknown() + func (m *RepStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RepStdTypes) XXX_Size() int + func (m *RepStdTypes) XXX_Unmarshal(b []byte) error + func (this *RepStdTypes) Equal(that interface{}) bool + func (this *RepStdTypes) VerboseEqual(that interface{}) error + type StdTypes struct + Duration time.Duration + NullableDuration *time.Duration + NullableTimestamp *time.Time + Timestamp time.Time + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedStdTypes(r randyTypes, easy bool) *StdTypes + func (*StdTypes) Descriptor() ([]byte, []int) + func (*StdTypes) ProtoMessage() + func (dst *StdTypes) XXX_Merge(src proto.Message) + func (m *StdTypes) GetDuration() time.Duration + func (m *StdTypes) GetNullableDuration() *time.Duration + func (m *StdTypes) GetNullableTimestamp() *time.Time + func (m *StdTypes) GetTimestamp() time.Time + func (m *StdTypes) Marshal() (dAtA []byte, err error) + func (m *StdTypes) MarshalTo(dAtA []byte) (int, error) + func (m *StdTypes) Reset() + func (m *StdTypes) Size() (n int) + func (m *StdTypes) String() string + func (m *StdTypes) Unmarshal(dAtA []byte) error + func (m *StdTypes) XXX_DiscardUnknown() + func (m *StdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StdTypes) XXX_Size() int + func (m *StdTypes) XXX_Unmarshal(b []byte) error + func (this *StdTypes) Equal(that interface{}) bool + func (this *StdTypes) VerboseEqual(that interface{}) error